From d9dfd669a6c3fb9ed489895b144b1da247386f65 Mon Sep 17 00:00:00 2001 From: ocobleseqx Date: Fri, 3 Nov 2023 16:02:25 +0100 Subject: [PATCH] upgrade java gen, pulumi sdk, tf upstream, add patch for user agent Signed-off-by: ocobleseqx --- .goreleaser.yml | 1 + .upgrade-config.yml | 2 +- Makefile | 54 +- go.work.sum | 10 +- patches/0001-user-agent.patch | 49 + patches/README.md | 0 .../cmd/pulumi-resource-equinix/schema.json | 18 + provider/go.mod | 10 +- provider/go.sum | 17 +- scripts/upstream.sh | 7 +- sdk/dotnet/Metal/Device.cs | 12 + sdk/dotnet/Metal/GetDevice.cs | 7 + .../Metal/Outputs/GetDevicesDeviceResult.cs | 4 + sdk/go.mod | 2 +- sdk/go.sum | 325 - sdk/go/equinix/metal/device.go | 11 + sdk/go/equinix/metal/getDevice.go | 7 + sdk/go/equinix/metal/pulumiTypes.go | 6 + sdk/java/build.gradle | 16 +- .../java/com/equinix/pulumi/Utilities.java | 1 - .../fabric/outputs/CloudRouterAccount.java | 6 +- .../fabric/outputs/CloudRouterChangeLog.java | 28 +- .../fabric/outputs/CloudRouterLocation.java | 12 +- .../outputs/CloudRouterNotification.java | 10 +- .../fabric/outputs/CloudRouterOrder.java | 12 +- .../fabric/outputs/CloudRouterPackage.java | 6 +- .../fabric/outputs/CloudRouterProject.java | 8 +- .../fabric/outputs/ConnectionASide.java | 10 +- .../outputs/ConnectionASideAccessPoint.java | 36 +- .../ConnectionASideAccessPointAccount.java | 18 +- .../ConnectionASideAccessPointGateway.java | 8 +- .../ConnectionASideAccessPointInterface.java | 10 +- ...onnectionASideAccessPointLinkProtocol.java | 12 +- .../ConnectionASideAccessPointLocation.java | 12 +- .../ConnectionASideAccessPointNetwork.java | 8 +- .../ConnectionASideAccessPointPort.java | 12 +- ...nectionASideAccessPointPortRedundancy.java | 6 +- .../ConnectionASideAccessPointProfile.java | 16 +- ...cessPointProfileAccessPointTypeConfig.java | 8 +- .../ConnectionASideAccessPointRouter.java | 8 +- ...ectionASideAccessPointRoutingProtocol.java | 10 +- ...nnectionASideAccessPointVirtualDevice.java | 10 +- .../ConnectionASideAdditionalInfo.java | 8 +- .../outputs/ConnectionASideServiceToken.java | 12 +- .../fabric/outputs/ConnectionAccount.java | 18 +- .../fabric/outputs/ConnectionChangeLog.java | 28 +- .../outputs/ConnectionNotification.java | 10 +- .../fabric/outputs/ConnectionOperation.java | 10 +- .../outputs/ConnectionOperationError.java | 16 +- ...onnectionOperationErrorAdditionalInfo.java | 8 +- .../fabric/outputs/ConnectionOrder.java | 12 +- .../fabric/outputs/ConnectionProject.java | 8 +- .../fabric/outputs/ConnectionRedundancy.java | 8 +- .../fabric/outputs/ConnectionZSide.java | 10 +- .../outputs/ConnectionZSideAccessPoint.java | 36 +- .../ConnectionZSideAccessPointAccount.java | 18 +- .../ConnectionZSideAccessPointGateway.java | 8 +- .../ConnectionZSideAccessPointInterface.java | 10 +- ...onnectionZSideAccessPointLinkProtocol.java | 12 +- .../ConnectionZSideAccessPointLocation.java | 12 +- .../ConnectionZSideAccessPointNetwork.java | 8 +- .../ConnectionZSideAccessPointPort.java | 12 +- ...nectionZSideAccessPointPortRedundancy.java | 6 +- .../ConnectionZSideAccessPointProfile.java | 16 +- ...cessPointProfileAccessPointTypeConfig.java | 8 +- .../ConnectionZSideAccessPointRouter.java | 8 +- ...ectionZSideAccessPointRoutingProtocol.java | 10 +- ...nnectionZSideAccessPointVirtualDevice.java | 10 +- .../ConnectionZSideAdditionalInfo.java | 8 +- .../outputs/ConnectionZSideServiceToken.java | 12 +- .../fabric/outputs/GetCloudRouterAccount.java | 18 +- .../outputs/GetCloudRouterChangeLog.java | 28 +- .../outputs/GetCloudRouterLocation.java | 14 +- .../outputs/GetCloudRouterNotification.java | 10 +- .../fabric/outputs/GetCloudRouterOrder.java | 12 +- .../fabric/outputs/GetCloudRouterPackage.java | 6 +- .../fabric/outputs/GetCloudRouterProject.java | 8 +- .../fabric/outputs/GetCloudRouterResult.java | 40 +- .../fabric/outputs/GetConnectionASide.java | 8 +- .../GetConnectionASideAccessPoint.java | 32 +- .../GetConnectionASideAccessPointAccount.java | 18 +- .../GetConnectionASideAccessPointGateway.java | 10 +- ...etConnectionASideAccessPointInterface.java | 10 +- ...onnectionASideAccessPointLinkProtocol.java | 12 +- ...GetConnectionASideAccessPointLocation.java | 14 +- .../GetConnectionASideAccessPointPort.java | 12 +- ...nectionASideAccessPointPortRedundancy.java | 6 +- .../GetConnectionASideAccessPointProfile.java | 16 +- ...cessPointProfileAccessPointTypeConfig.java | 32 +- ...ProfileAccessPointTypeConfigApiConfig.java | 18 +- ...ccessPointTypeConfigAuthenticationKey.java | 10 +- ...cessPointTypeConfigLinkProtocolConfig.java | 10 +- .../GetConnectionASideAccessPointRouter.java | 10 +- ...nnectionASideAccessPointVirtualDevice.java | 10 +- .../GetConnectionASideServiceToken.java | 12 +- .../fabric/outputs/GetConnectionAccount.java | 18 +- .../outputs/GetConnectionAdditionalInfo.java | 8 +- .../outputs/GetConnectionChangeLog.java | 28 +- .../outputs/GetConnectionNotification.java | 10 +- .../outputs/GetConnectionOperation.java | 10 +- .../outputs/GetConnectionOperationError.java | 16 +- ...onnectionOperationErrorAdditionalInfo.java | 8 +- .../fabric/outputs/GetConnectionOrder.java | 12 +- .../fabric/outputs/GetConnectionProject.java | 8 +- .../outputs/GetConnectionRedundancy.java | 8 +- .../fabric/outputs/GetConnectionResult.java | 44 +- .../fabric/outputs/GetConnectionZSide.java | 8 +- .../GetConnectionZSideAccessPoint.java | 32 +- .../GetConnectionZSideAccessPointAccount.java | 18 +- .../GetConnectionZSideAccessPointGateway.java | 10 +- ...etConnectionZSideAccessPointInterface.java | 10 +- ...onnectionZSideAccessPointLinkProtocol.java | 12 +- ...GetConnectionZSideAccessPointLocation.java | 14 +- .../GetConnectionZSideAccessPointPort.java | 12 +- ...nectionZSideAccessPointPortRedundancy.java | 6 +- .../GetConnectionZSideAccessPointProfile.java | 16 +- ...cessPointProfileAccessPointTypeConfig.java | 32 +- ...ProfileAccessPointTypeConfigApiConfig.java | 18 +- ...ccessPointTypeConfigAuthenticationKey.java | 10 +- ...cessPointTypeConfigLinkProtocolConfig.java | 10 +- .../GetConnectionZSideAccessPointRouter.java | 10 +- ...nnectionZSideAccessPointVirtualDevice.java | 10 +- .../GetConnectionZSideServiceToken.java | 12 +- .../pulumi/fabric/outputs/GetPortAccount.java | 18 +- .../fabric/outputs/GetPortChangeLog.java | 28 +- .../pulumi/fabric/outputs/GetPortDevice.java | 8 +- .../outputs/GetPortDeviceRedundancy.java | 8 +- .../fabric/outputs/GetPortEncapsulation.java | 8 +- .../fabric/outputs/GetPortLocation.java | 14 +- .../fabric/outputs/GetPortOperation.java | 10 +- .../fabric/outputs/GetPortRedundancy.java | 10 +- .../pulumi/fabric/outputs/GetPortResult.java | 42 +- .../pulumi/fabric/outputs/GetPortsDatum.java | 40 +- .../fabric/outputs/GetPortsDatumAccount.java | 18 +- .../outputs/GetPortsDatumChangeLog.java | 28 +- .../fabric/outputs/GetPortsDatumDevice.java | 8 +- .../GetPortsDatumDeviceRedundancy.java | 8 +- .../outputs/GetPortsDatumEncapsulation.java | 8 +- .../fabric/outputs/GetPortsDatumLocation.java | 14 +- .../outputs/GetPortsDatumOperation.java | 10 +- .../outputs/GetPortsDatumRedundancy.java | 10 +- .../pulumi/fabric/outputs/GetPortsFilter.java | 6 +- .../pulumi/fabric/outputs/GetPortsResult.java | 10 +- .../fabric/outputs/GetRoutingProtocolBfd.java | 8 +- .../outputs/GetRoutingProtocolBgpIpv4.java | 10 +- .../outputs/GetRoutingProtocolBgpIpv6.java | 10 +- .../outputs/GetRoutingProtocolChange.java | 10 +- .../outputs/GetRoutingProtocolChangeLog.java | 28 +- .../outputs/GetRoutingProtocolDirectIpv4.java | 6 +- .../outputs/GetRoutingProtocolDirectIpv6.java | 6 +- .../outputs/GetRoutingProtocolOperation.java | 6 +- .../GetRoutingProtocolOperationError.java | 16 +- ...gProtocolOperationErrorAdditionalInfo.java | 8 +- .../outputs/GetRoutingProtocolResult.java | 42 +- ...etServiceProfileAccessPointTypeConfig.java | 32 +- ...ProfileAccessPointTypeConfigApiConfig.java | 18 +- ...ccessPointTypeConfigAuthenticationKey.java | 10 +- ...cessPointTypeConfigLinkProtocolConfig.java | 10 +- .../outputs/GetServiceProfileAccount.java | 20 +- .../outputs/GetServiceProfileChangeLog.java | 28 +- .../outputs/GetServiceProfileCustomField.java | 16 +- .../GetServiceProfileMarketingInfo.java | 10 +- ...erviceProfileMarketingInfoProcessStep.java | 10 +- .../outputs/GetServiceProfileMetro.java | 16 +- .../GetServiceProfileNotification.java | 10 +- .../fabric/outputs/GetServiceProfilePort.java | 16 +- .../GetServiceProfilePortLocation.java | 12 +- .../outputs/GetServiceProfileProject.java | 8 +- .../outputs/GetServiceProfileResult.java | 44 +- .../outputs/GetServiceProfilesDatum.java | 42 +- ...iceProfilesDatumAccessPointTypeConfig.java | 32 +- ...esDatumAccessPointTypeConfigApiConfig.java | 18 +- ...ccessPointTypeConfigAuthenticationKey.java | 10 +- ...cessPointTypeConfigLinkProtocolConfig.java | 10 +- .../GetServiceProfilesDatumAccount.java | 20 +- .../GetServiceProfilesDatumChangeLog.java | 28 +- .../GetServiceProfilesDatumCustomField.java | 16 +- .../GetServiceProfilesDatumMarketingInfo.java | 10 +- ...ProfilesDatumMarketingInfoProcessStep.java | 10 +- .../outputs/GetServiceProfilesDatumMetro.java | 16 +- .../GetServiceProfilesDatumNotification.java | 10 +- .../outputs/GetServiceProfilesDatumPort.java | 16 +- .../GetServiceProfilesDatumPortLocation.java | 12 +- .../GetServiceProfilesDatumProject.java | 8 +- .../outputs/GetServiceProfilesFilter.java | 10 +- .../outputs/GetServiceProfilesResult.java | 14 +- .../outputs/GetServiceProfilesSort.java | 8 +- .../fabric/outputs/RoutingProtocolBfd.java | 8 +- .../outputs/RoutingProtocolBgpIpv4.java | 10 +- .../outputs/RoutingProtocolBgpIpv6.java | 10 +- .../fabric/outputs/RoutingProtocolChange.java | 10 +- .../outputs/RoutingProtocolChangeLog.java | 28 +- .../outputs/RoutingProtocolDirectIpv4.java | 6 +- .../outputs/RoutingProtocolDirectIpv6.java | 6 +- .../outputs/RoutingProtocolOperation.java | 6 +- .../RoutingProtocolOperationError.java | 16 +- ...gProtocolOperationErrorAdditionalInfo.java | 8 +- .../ServiceProfileAccessPointTypeConfig.java | 32 +- ...ProfileAccessPointTypeConfigApiConfig.java | 18 +- ...ccessPointTypeConfigAuthenticationKey.java | 10 +- ...cessPointTypeConfigLinkProtocolConfig.java | 10 +- .../fabric/outputs/ServiceProfileAccount.java | 20 +- .../outputs/ServiceProfileChangeLog.java | 28 +- .../outputs/ServiceProfileCustomField.java | 16 +- .../outputs/ServiceProfileMarketingInfo.java | 10 +- ...erviceProfileMarketingInfoProcessStep.java | 10 +- .../fabric/outputs/ServiceProfileMetro.java | 16 +- .../outputs/ServiceProfileNotification.java | 10 +- .../fabric/outputs/ServiceProfilePort.java | 16 +- .../outputs/ServiceProfilePortLocation.java | 12 +- .../fabric/outputs/ServiceProfileProject.java | 8 +- .../outputs/ServiceProfileVirtualDevice.java | 12 +- .../ServiceProfileVirtualDeviceLocation.java | 12 +- .../java/com/equinix/pulumi/metal/Device.java | 14 + .../pulumi/metal/inputs/DeviceState.java | 37 + .../pulumi/metal/outputs/DeviceBehavior.java | 6 +- .../pulumi/metal/outputs/DeviceIpAddress.java | 10 +- .../pulumi/metal/outputs/DeviceNetwork.java | 14 +- .../pulumi/metal/outputs/DevicePort.java | 14 +- .../pulumi/metal/outputs/DeviceReinstall.java | 10 +- .../GetDeviceBgpNeighborsBgpNeighbor.java | 24 +- ...DeviceBgpNeighborsBgpNeighborRoutesIn.java | 8 +- ...eviceBgpNeighborsBgpNeighborRoutesOut.java | 8 +- .../outputs/GetDeviceBgpNeighborsResult.java | 10 +- .../metal/outputs/GetDeviceNetwork.java | 14 +- .../pulumi/metal/outputs/GetDevicePort.java | 14 +- .../pulumi/metal/outputs/GetDeviceResult.java | 72 +- .../metal/outputs/GetDevicesDevice.java | 62 +- .../outputs/GetDevicesDeviceNetwork.java | 14 +- .../metal/outputs/GetDevicesDevicePort.java | 14 +- .../metal/outputs/GetDevicesFilter.java | 12 +- .../metal/outputs/GetDevicesResult.java | 18 +- .../pulumi/metal/outputs/GetDevicesSort.java | 8 +- .../metal/outputs/GetFacilityCapacity.java | 8 +- .../metal/outputs/GetFacilityResult.java | 18 +- .../metal/outputs/GetGatewayResult.java | 20 +- .../outputs/GetHardwareReservationResult.java | 22 +- .../metal/outputs/GetInterconnectionPort.java | 18 +- .../outputs/GetInterconnectionResult.java | 44 +- .../GetInterconnectionServiceToken.java | 16 +- .../metal/outputs/GetIpBlockRangesResult.java | 20 +- .../metal/outputs/GetMetroCapacity.java | 8 +- .../pulumi/metal/outputs/GetMetroResult.java | 14 +- .../outputs/GetOperatingSystemResult.java | 16 +- .../metal/outputs/GetOrganizationAddress.java | 14 +- .../metal/outputs/GetOrganizationResult.java | 22 +- .../pulumi/metal/outputs/GetPlansFilter.java | 12 +- .../pulumi/metal/outputs/GetPlansPlan.java | 28 +- .../pulumi/metal/outputs/GetPlansResult.java | 12 +- .../pulumi/metal/outputs/GetPlansSort.java | 8 +- .../pulumi/metal/outputs/GetPortResult.java | 34 +- .../outputs/GetPrecreatedIpBlockResult.java | 40 +- .../metal/outputs/GetProjectBgpConfig.java | 14 +- .../metal/outputs/GetProjectResult.java | 24 +- .../metal/outputs/GetProjectSshKeyResult.java | 22 +- .../outputs/GetReservedIpBlockResult.java | 42 +- .../outputs/GetSpotMarketPriceResult.java | 14 +- .../outputs/GetSpotMarketRequestResult.java | 26 +- .../outputs/GetVirtualCircuitResult.java | 44 +- .../pulumi/metal/outputs/GetVlanResult.java | 20 +- .../pulumi/metal/outputs/GetVrfResult.java | 20 +- .../metal/outputs/InterconnectionPort.java | 18 +- .../outputs/InterconnectionServiceToken.java | 16 +- .../metal/outputs/OrganizationAddress.java | 14 +- .../metal/outputs/ProjectBgpConfig.java | 14 +- .../SpotMarketRequestInstanceParameters.java | 36 +- .../outputs/AclTemplateDeviceDetail.java | 10 +- .../outputs/AclTemplateInboundRule.java | 20 +- .../outputs/DeviceClusterDetails.java | 14 +- .../outputs/DeviceClusterDetailsNode0.java | 14 +- ...lusterDetailsNode0VendorConfiguration.java | 16 +- .../outputs/DeviceClusterDetailsNode1.java | 14 +- ...lusterDetailsNode1VendorConfiguration.java | 16 +- .../networkedge/outputs/DeviceInterface.java | 20 +- .../networkedge/outputs/DeviceLinkDevice.java | 14 +- .../networkedge/outputs/DeviceLinkLink.java | 18 +- .../outputs/DeviceSecondaryDevice.java | 58 +- .../DeviceSecondaryDeviceInterface.java | 20 +- .../outputs/DeviceSecondaryDeviceSshKey.java | 8 +- .../networkedge/outputs/DeviceSshKey.java | 8 +- .../networkedge/outputs/GetAccountResult.java | 16 +- .../outputs/GetDeviceClusterDetail.java | 14 +- .../outputs/GetDeviceClusterDetailNode0.java | 14 +- ...ClusterDetailNode0VendorConfiguration.java | 16 +- .../outputs/GetDeviceClusterDetailNode1.java | 14 +- ...ClusterDetailNode1VendorConfiguration.java | 16 +- .../outputs/GetDeviceInterface.java | 20 +- .../outputs/GetDevicePlatformResult.java | 22 +- .../networkedge/outputs/GetDeviceResult.java | 90 +- .../outputs/GetDeviceSecondaryDevice.java | 58 +- .../GetDeviceSecondaryDeviceInterface.java | 20 +- .../GetDeviceSecondaryDeviceSshKey.java | 8 +- .../outputs/GetDeviceSoftwareResult.java | 26 +- .../networkedge/outputs/GetDeviceSshKey.java | 8 +- .../outputs/GetDeviceTypeResult.java | 18 +- sdk/nodejs/metal/device.ts | 10 + sdk/nodejs/metal/getDevice.ts | 4 + sdk/nodejs/types/output.ts | 1 + sdk/python/pulumi_equinix/config/__init__.pyi | 2 +- sdk/python/pulumi_equinix/config/vars.py | 2 +- sdk/python/pulumi_equinix/fabric/_inputs.py | 2598 +----- .../pulumi_equinix/fabric/cloud_router.py | 144 +- .../pulumi_equinix/fabric/connection.py | 183 +- .../pulumi_equinix/fabric/get_cloud_router.py | 2 +- .../pulumi_equinix/fabric/get_connection.py | 2 +- sdk/python/pulumi_equinix/fabric/get_port.py | 2 +- sdk/python/pulumi_equinix/fabric/get_ports.py | 2 +- .../fabric/get_routing_protocol.py | 2 +- .../fabric/get_service_profile.py | 2 +- .../fabric/get_service_profiles.py | 2 +- sdk/python/pulumi_equinix/fabric/outputs.py | 7374 ++--------------- .../pulumi_equinix/fabric/routing_protocol.py | 203 +- .../pulumi_equinix/fabric/service_profile.py | 217 +- sdk/python/pulumi_equinix/metal/_inputs.py | 514 +- .../pulumi_equinix/metal/bgp_session.py | 68 +- sdk/python/pulumi_equinix/metal/device.py | 380 +- .../metal/device_network_type.py | 48 +- sdk/python/pulumi_equinix/metal/gateway.py | 86 +- sdk/python/pulumi_equinix/metal/get_device.py | 17 +- .../metal/get_device_bgp_neighbors.py | 2 +- .../pulumi_equinix/metal/get_devices.py | 2 +- .../pulumi_equinix/metal/get_facility.py | 2 +- .../pulumi_equinix/metal/get_gateway.py | 2 +- .../metal/get_hardware_reservation.py | 2 +- .../metal/get_interconnection.py | 2 +- .../metal/get_ip_block_ranges.py | 2 +- sdk/python/pulumi_equinix/metal/get_metro.py | 2 +- .../metal/get_operating_system.py | 2 +- .../pulumi_equinix/metal/get_organization.py | 2 +- sdk/python/pulumi_equinix/metal/get_plans.py | 2 +- sdk/python/pulumi_equinix/metal/get_port.py | 2 +- .../metal/get_precreated_ip_block.py | 2 +- .../pulumi_equinix/metal/get_project.py | 2 +- .../metal/get_project_ssh_key.py | 2 +- .../metal/get_reserved_ip_block.py | 2 +- .../metal/get_spot_market_price.py | 2 +- .../metal/get_spot_market_request.py | 2 +- .../metal/get_virtual_circuit.py | 2 +- sdk/python/pulumi_equinix/metal/get_vlan.py | 2 +- sdk/python/pulumi_equinix/metal/get_vrf.py | 2 +- .../pulumi_equinix/metal/interconnection.py | 174 +- .../pulumi_equinix/metal/ip_attachment.py | 102 +- .../pulumi_equinix/metal/organization.py | 87 +- .../metal/organization_member.py | 102 +- sdk/python/pulumi_equinix/metal/outputs.py | 1256 +-- sdk/python/pulumi_equinix/metal/port.py | 140 +- .../metal/port_vlan_attachment.py | 98 +- sdk/python/pulumi_equinix/metal/project.py | 93 +- .../pulumi_equinix/metal/project_api_key.py | 66 +- .../pulumi_equinix/metal/project_ssh_key.py | 78 +- .../pulumi_equinix/metal/reserved_ip_block.py | 180 +- .../metal/spot_market_request.py | 127 +- sdk/python/pulumi_equinix/metal/ssh_key.py | 64 +- .../pulumi_equinix/metal/user_api_key.py | 58 +- .../pulumi_equinix/metal/virtual_circuit.py | 200 +- sdk/python/pulumi_equinix/metal/vlan.py | 70 +- sdk/python/pulumi_equinix/metal/vrf.py | 88 +- .../pulumi_equinix/networkedge/_inputs.py | 672 +- .../networkedge/acl_template.py | 88 +- sdk/python/pulumi_equinix/networkedge/bgp.py | 126 +- .../pulumi_equinix/networkedge/device.py | 447 +- .../pulumi_equinix/networkedge/device_link.py | 66 +- .../pulumi_equinix/networkedge/get_account.py | 2 +- .../pulumi_equinix/networkedge/get_device.py | 2 +- .../networkedge/get_device_platform.py | 2 +- .../networkedge/get_device_software.py | 2 +- .../networkedge/get_device_type.py | 2 +- .../networkedge/network_file.py | 122 +- .../pulumi_equinix/networkedge/outputs.py | 1296 +-- .../pulumi_equinix/networkedge/ssh_key.py | 58 +- .../pulumi_equinix/networkedge/ssh_user.py | 62 +- sdk/python/pulumi_equinix/provider.py | 65 +- 372 files changed, 4915 insertions(+), 17985 deletions(-) create mode 100644 patches/0001-user-agent.patch delete mode 100644 patches/README.md diff --git a/.goreleaser.yml b/.goreleaser.yml index b63b2042..b743053f 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -19,6 +19,7 @@ builds: ldflags: # The line below MUST align with the module in current provider/go.mod - -X github.com/equinix/pulumi-equinix/provider/pkg/version.Version={{.Tag }} + - -X github.com/equinix/terraform-provider-equinix/version.ProviderVersion|={{.Tag}} main: ./cmd/pulumi-resource-equinix/ changelog: skip: true diff --git a/.upgrade-config.yml b/.upgrade-config.yml index c247cdd0..9b0a1727 100644 --- a/.upgrade-config.yml +++ b/.upgrade-config.yml @@ -5,4 +5,4 @@ upstream-provider-name: terraform-provider-equinix remove-plugins: true pr-reviewers: equinix/governor-devrel-engineering -javaVersion: "v0.9.5" \ No newline at end of file +javaVersion: "v0.9.8" \ No newline at end of file diff --git a/Makefile b/Makefile index fd5f49a3..35e3702f 100644 --- a/Makefile +++ b/Makefile @@ -15,7 +15,7 @@ TFGEN := pulumi-tfgen-${PACK} PROVIDER := pulumi-resource-${PACK} VERSION := $(shell pulumictl get version) JAVA_GEN := pulumi-java-gen -JAVA_GEN_VERSION := v0.7.1 +JAVA_GEN_VERSION := v0.9.8 JAVA_GROUP_ID := com.${ORG}.pulumi JAVA_ARTIFACT_ID := ${PACK} TESTPARALLELISM := 4 @@ -40,15 +40,19 @@ bin/pulumi-java-gen: pulumictl download-binary -n pulumi-language-java -v $(JAVA_GEN_VERSION) -r pulumi/pulumi-java provider: tfgen install_plugins # build the provider binary - (cd provider && go build -o $(WORKING_DIR)/bin/${PROVIDER} -ldflags "-X ${PROJECT}/${VERSION_PATH}=${VERSION}" ${PROJECT}/${PROVIDER_PATH}/cmd/${PROVIDER}) + (cd provider && go build -o $(WORKING_DIR)/bin/${PROVIDER} -ldflags "-X ${PROJECT}/${VERSION_PATH}=${VERSION} -X github.com/equinix/terraform-provider-equinix/version.ProviderVersion=${VERSION}" ${PROJECT}/${PROVIDER_PATH}/cmd/${PROVIDER}) build_sdks: build_nodejs build_python build_go build_dotnet build_java # build all the sdks build_nodejs: VERSION := $(shell pulumictl get version --language javascript) build_nodejs: upstream $(WORKING_DIR)/bin/$(TFGEN) nodejs --overlays provider/overlays/nodejs --out sdk/nodejs/ -build_nodejs: patch_nodejs # fix generated files -build_nodejs: + echo "patch_nodejs: find and replace wrong imports in examples" && \ + find ./sdk/nodejs/ -type f -name "*.ts" -not \( -path "*/bin/*" -o -path "*/node_modules/*" -o -path "*/@types/*" \) -print -exec sed -i.bak 's/import \* as ${PACK} from "@pulumi\/${PACK}"/import \* as ${PACK} from "@${ORG}-labs\/${NODE_PACK}"/g; s/import \* as ${NODE_PACK_ALIAS} from "@${ORG}\/${NODE_PACK}"/import \* as ${PACK} from "@${ORG}-labs\/${NODE_PACK}"/g' {} \; + echo "patch_nodejs: delete duplicate imports in examples" && \ + find ./sdk/nodejs/ -type f -name "*.ts" -not \( -path "*/bin/*" -o -path "*/node_modules/*" -o -path "*/@types/*" \) -exec sed -i.bak '/@${ORG}-labs\/${NODE_PACK}/N;/^\(.*\)\n\1$$/!P; D' {} \; + echo "patch_nodejs: remove backup files" && \ + find ./sdk/nodejs/ -type f -name "*.ts.bak" -not \( -path "*/bin/*" -o -path "*/node_modules/*" -o -path "*/@types/*" \) -print -exec /bin/rm {} \; cd sdk/nodejs/ && \ printf "module fake_nodejs_module // Exclude this directory from Go tools\n\ngo 1.17\n" > go.mod && \ yarn install && \ @@ -56,13 +60,7 @@ build_nodejs: cp ../../README.md ../../LICENSE package.json yarn.lock ./bin/ && \ sed -i.bak -e "s/\$${VERSION}/$(VERSION)/g" ./bin/package.json -patch_nodejs: - echo "patch_nodejs: find and replace wrong imports in examples" && \ - find ./sdk/nodejs/ -type f -name "*.ts" -not \( -path "*/bin/*" -o -path "*/node_modules/*" -o -path "*/@types/*" \) -print -exec sed -i.bak 's/import \* as ${PACK} from "@pulumi\/${PACK}"/import \* as ${PACK} from "@${ORG}-labs\/${NODE_PACK}"/g; s/import \* as ${NODE_PACK_ALIAS} from "@${ORG}\/${NODE_PACK}"/import \* as ${PACK} from "@${ORG}-labs\/${NODE_PACK}"/g' {} \; - echo "patch_nodejs: delete duplicate imports in examples" && \ - find ./sdk/nodejs/ -type f -name "*.ts" -not \( -path "*/bin/*" -o -path "*/node_modules/*" -o -path "*/@types/*" \) -exec sed -i.bak '/@${ORG}-labs\/${NODE_PACK}/N;/^\(.*\)\n\1$$/!P; D' {} \; - echo "patch_nodejs: remove backup files" && \ - find ./sdk/nodejs/ -type f -name "*.ts.bak" -not \( -path "*/bin/*" -o -path "*/node_modules/*" -o -path "*/@types/*" \) -print -exec /bin/rm {} \; + build_python: PYPI_VERSION := $(shell pulumictl get version --language python) build_python: upstream @@ -93,29 +91,10 @@ build_java: PACKAGE_VERSION := $(shell pulumictl get version --language generic) build_java: bin/pulumi-java-gen patch_java_schema upstream $(WORKING_DIR)/bin/$(JAVA_GEN) generate --schema provider/cmd/$(PROVIDER)/schema-java.json --out sdk/java --build gradle-nexus rm -f ./provider/cmd/$(PROVIDER)/schema-java.json -build_java: patch_java - cd sdk/java/ && \ - 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: - echo "patch_java_schema: copy schema.json to schema-java.json " && \ - cp provider/cmd/$(PROVIDER)/schema.json provider/cmd/$(PROVIDER)/schema-java.json - echo "patch_java_schema: update schema-java.json to generate the SDK with pulumi as root package" && \ - sed -i.bak -e 's/"name": "equinix",/"name": "pulumi",/g' \ - -e 's/equinix:index/pulumi:index/g' \ - -e 's/"equinix": "Equinix",/"pulumi": "Pulumi",/g' \ - -e 's/equinix:metal/pulumi:metal/g' \ - -e 's/equinix:fabric/pulumi:fabric/g' \ - -e 's/equinix:networkedge/pulumi:networkedge/g' ./provider/cmd/$(PROVIDER)/schema-java.json && \ - rm -f ./provider/cmd/$(PROVIDER)/schema-java.json.bak - -patch_java: echo "patch_java: find and replace invocations of pulumi:fabric/metal/networkedge" && \ find ./sdk/java/src/main/java/com/equinix/pulumi -type f -name "*.java" -print -exec sed -i.bak 's/pulumi:fabric/equinix:fabric/g; s/pulumi:metal/equinix:metal/g; s/pulumi:networkedge/equinix:networkedge/g' {} \; echo "patch_java: remove backup files" && \ find ./sdk/java/src/main/java/com/equinix/pulumi -type f -name "*.java.bak" -exec /bin/rm {} \; - echo "patch_java: replace pulumi provider refs added in patch_java_schema" && \ cd sdk/java/src/main/java/com/equinix/pulumi/ && \ sed -i.bak -e 's/pulumi:providers:pulumi/pulumi:providers:equinix/g' \ @@ -136,6 +115,21 @@ patch_java: -e 's/description = .*/description = "A Pulumi package for creating and managing equinix cloud resources."/g' ./build.gradle && \ sed -i.bak -E '/inceptionYear/,/packaging/s/(name = ).*/\1"$(PACK)"/' ./build.gradle && \ rm -f build.gradle.bak + cd sdk/java/ && \ + 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: + echo "patch_java_schema: copy schema.json to schema-java.json " && \ + cp provider/cmd/$(PROVIDER)/schema.json provider/cmd/$(PROVIDER)/schema-java.json + echo "patch_java_schema: update schema-java.json to generate the SDK with pulumi as root package" && \ + sed -i.bak -e 's/"name": "equinix",/"name": "pulumi",/g' \ + -e 's/equinix:index/pulumi:index/g' \ + -e 's/"equinix": "Equinix",/"pulumi": "Pulumi",/g' \ + -e 's/equinix:metal/pulumi:metal/g' \ + -e 's/equinix:fabric/pulumi:fabric/g' \ + -e 's/equinix:networkedge/pulumi:networkedge/g' ./provider/cmd/$(PROVIDER)/schema-java.json && \ + rm -f ./provider/cmd/$(PROVIDER)/schema-java.json.bak lint_provider: provider # lint the provider code cd provider && golangci-lint run -c ../.golangci.yml diff --git a/go.work.sum b/go.work.sum index 73ae22ae..50b10849 100644 --- a/go.work.sum +++ b/go.work.sum @@ -123,17 +123,19 @@ github.com/creack/pty v1.1.17/go.mod h1:MOBLtS5ELjhRRrroQr9kyvTxUAFNvYEK993ew/Vr 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/frankban/quicktest v1.14.3/go.mod h1:mgiwOwqx65TmIk1wJ6Q7wvnVMocbUorkibMOrVTHZps= 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/hashicorp/go-cty v1.4.1-0.20200414143053-d3edf31b6320 h1:1/D3zfFHttUKaCaGKZ/dR2roBXv0vKbSCnssIldfQdI= +github.com/hinshun/vt10x v0.0.0-20220119200601-820417d04eec/go.mod h1:Q48J4R4DvxnHolD5P8pOtXigYlRuPLGl6moFx3ulM68= 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-colorable v0.1.2/go.mod h1:U0ppj6V5qS13XJ6of8GYAs25YV2eR4EVcfRqFIhoBtE= 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= @@ -148,10 +150,16 @@ github.com/petar-dambovaliev/aho-corasick v0.0.0-20230725210150-fb29fc3c913e/go. 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-terraform-bridge/v3 v3.63.0/go.mod h1:6YVbDo019OeHkQWo9MnUbBy6cCgCQeoXZDjmR9SYmUA= github.com/pulumi/pulumi/pkg/v3 v3.78.2-0.20231010213836-fd8c4dd81928/go.mod h1:6Fcjl5pVXv4ctBuluuDIYdq8DHc9da3erQJ1NI+ha94= +github.com/pulumi/pulumi/pkg/v3 v3.90.1/go.mod h1:J+WbfN30g3FfQifpLjQPI0UhPsC9ASEePLK8Nix06A8= +github.com/pulumi/pulumi/pkg/v3 v3.91.0/go.mod h1:sbx8Y+s6PJAronV8cs+V2OuRmUPGBLZzn9ciHumm9kw= github.com/pulumi/pulumi/sdk/v3 v3.88.1-0.20231010213836-fd8c4dd81928/go.mod h1:M2j1xLl93+NYHtyprVK9Tdyxbnjs4AivPuAKqm5goCo= +github.com/pulumi/pulumi/sdk/v3 v3.90.1/go.mod h1:zYaQQibB2pYKy/uG4c4YkX7lQIBpZ0KsuMaq/3HsIBQ= +github.com/pulumi/pulumi/sdk/v3 v3.91.0/go.mod h1:zYaQQibB2pYKy/uG4c4YkX7lQIBpZ0KsuMaq/3HsIBQ= 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/spf13/cast v1.4.1/go.mod h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkUJE= 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= diff --git a/patches/0001-user-agent.patch b/patches/0001-user-agent.patch new file mode 100644 index 00000000..d3d131f9 --- /dev/null +++ b/patches/0001-user-agent.patch @@ -0,0 +1,49 @@ +From 66f7739b91be84f7034d8232078d8313ec9be094 Mon Sep 17 00:00:00 2001 +From: ocobleseqx +Date: Tue, 31 Oct 2023 17:13:45 +0100 +Subject: [PATCH] user agent + +Signed-off-by: ocobleseqx +--- + equinix/config.go | 12 ++++++------ + 1 file changed, 6 insertions(+), 6 deletions(-) + +diff --git a/equinix/config.go b/equinix/config.go +index 085100e..ebe0192 100644 +--- a/equinix/config.go ++++ b/equinix/config.go +@@ -23,7 +23,6 @@ import ( + "github.com/hashicorp/go-retryablehttp" + "github.com/hashicorp/terraform-plugin-sdk/v2/helper/logging" + "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" +- "github.com/hashicorp/terraform-plugin-sdk/v2/meta" + "github.com/packethost/packngo" + xoauth2 "golang.org/x/oauth2" + ) +@@ -266,9 +265,8 @@ func MetalRetryPolicy(ctx context.Context, resp *http.Response, err error) (bool + return false, nil + } + +-func terraformUserAgent(version string) string { +- ua := fmt.Sprintf("HashiCorp Terraform/%s (+https://www.terraform.io) Terraform Plugin SDK/%s", +- version, meta.SDKVersionString()) ++func pulumiUserAgent(version string) string { ++ ua := fmt.Sprintf("Pulumi/%s (+https://www.pulumi.com)", version) + + if add := os.Getenv(uaEnvVar); add != "" { + add = strings.TrimSpace(add) +@@ -323,7 +321,9 @@ func generateModuleUserAgentString(d *schema.ResourceData, baseUserAgent string) + } + + func (c *Config) fullUserAgent(suffix string) string { +- tfUserAgent := terraformUserAgent(c.terraformVersion) +- userAgent := fmt.Sprintf("%s terraform-provider-equinix/%s %s", tfUserAgent, version.ProviderVersion, suffix) ++ // FORK: this gives us the ability to add a Pulumi Specific user agent ++ // TODO (ocobles) override pulumi sdk version with ldflags ++ pulumiUserAgent := pulumiUserAgent("3.0") ++ userAgent := fmt.Sprintf("%s pulumi-equinix/%s %s", pulumiUserAgent, version.ProviderVersion, suffix) + return strings.TrimSpace(userAgent) + } +-- +2.39.1 + diff --git a/patches/README.md b/patches/README.md deleted file mode 100644 index e69de29b..00000000 diff --git a/provider/cmd/pulumi-resource-equinix/schema.json b/provider/cmd/pulumi-resource-equinix/schema.json index aebfee90..fd9e33a9 100644 --- a/provider/cmd/pulumi-resource-equinix/schema.json +++ b/provider/cmd/pulumi-resource-equinix/schema.json @@ -7468,6 +7468,9 @@ "type": "string", "secret": true }, + "sosHostname": { + "type": "string" + }, "sshKeyIds": { "type": "array", "items": { @@ -7508,6 +7511,7 @@ "ports", "projectId", "rootPassword", + "sosHostname", "sshKeyIds", "state", "storage", @@ -10926,6 +10930,10 @@ "description": "Root password to the server (disabled after 24 hours).\n", "secret": true }, + "sosHostname": { + "type": "string", + "description": "The hostname to use for [Serial over SSH](https://deploy.equinix.com/developers/docs/metal/resilience-recovery/serial-over-ssh/) access to the device\n" + }, "sshKeyIds": { "type": "array", "items": { @@ -10990,6 +10998,7 @@ "ports", "projectId", "rootPassword", + "sosHostname", "sshKeyIds", "state", "updated" @@ -11343,6 +11352,10 @@ "description": "Root password to the server (disabled after 24 hours).\n", "secret": true }, + "sosHostname": { + "type": "string", + "description": "The hostname to use for [Serial over SSH](https://deploy.equinix.com/developers/docs/metal/resilience-recovery/serial-over-ssh/) access to the device\n" + }, "sshKeyIds": { "type": "array", "items": { @@ -16063,6 +16076,10 @@ "description": "Root password to the server (if still available).\n", "secret": true }, + "sosHostname": { + "type": "string", + "description": "The hostname to use for [Serial over SSH](https://deploy.equinix.com/developers/docs/metal/resilience-recovery/serial-over-ssh/) access to the device\n" + }, "sshKeyIds": { "type": "array", "items": { @@ -16106,6 +16123,7 @@ "ports", "projectId", "rootPassword", + "sosHostname", "sshKeyIds", "state", "storage", diff --git a/provider/go.mod b/provider/go.mod index aaaa2b19..734df9eb 100644 --- a/provider/go.mod +++ b/provider/go.mod @@ -3,16 +3,16 @@ module github.com/equinix/pulumi-equinix/provider go 1.21 replace ( + github.com/equinix/terraform-provider-equinix => ../upstream github.com/hashicorp/go-cty => github.com/hashicorp/go-cty v1.4.1-0.20200414143053-d3edf31b6320 github.com/hashicorp/terraform-plugin-sdk/v2 => github.com/pulumi/terraform-plugin-sdk/v2 v2.0.0-20230912190043-e6d96b3b8f7e - github.com/equinix/terraform-provider-equinix => ../upstream ) 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.90.0 - github.com/pulumi/pulumi/sdk/v3 v3.90.0 + github.com/equinix/terraform-provider-equinix v1.18.2 + github.com/pulumi/pulumi-terraform-bridge/v3 v3.63.2 + github.com/pulumi/pulumi/pkg/v3 v3.91.1 + github.com/pulumi/pulumi/sdk/v3 v3.91.1 ) require ( diff --git a/provider/go.sum b/provider/go.sum index fa3893f9..2c287059 100644 --- a/provider/go.sum +++ b/provider/go.sum @@ -1176,8 +1176,6 @@ github.com/equinix/oauth2-go v1.0.0 h1:fHtAPGq82PdgtK5vEThs8Vwz6f7D/8SX4tE3NJu+K 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.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= @@ -1558,9 +1556,8 @@ 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.1 h1:SWiSWN/42qdpR0MdhaOc/bLR48PLuP1ZQtYLRlM69uY= github.com/hashicorp/go-getter v1.7.1/go.mod h1:W7TalhMmbPmsSMdNjD0ZskARur/9GJ17cfHTRtXV744= @@ -2177,16 +2174,16 @@ github.com/pulumi/pulumi-java/pkg v0.9.8 h1:c8mYsalnRXA2Ibgvv6scefOn6mW1Vb0UT0mc 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/v3 v3.63.2 h1:6JRJz3Wk7O9OhNFbxCrNvPVQAK+prBm6XBuSlIVqRnU= +github.com/pulumi/pulumi-terraform-bridge/v3 v3.63.2/go.mod h1:ye7JUFqTNbBh6ohcr1KpyXNv+kYFYvZAIqXqts4Ialc= 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.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/pulumi/pkg/v3 v3.91.1 h1:xHnyEwJO9we2zCiM9gHTkJxjZ6a6yi5vYCwWHCYRj9Y= +github.com/pulumi/pulumi/pkg/v3 v3.91.1/go.mod h1:dzBQDJyCOEhtBVN5INA5/i9yG9DZlsStl/mAkrhs9II= +github.com/pulumi/pulumi/sdk/v3 v3.91.1 h1:6I9GMmHv23X+G6hoduU1XE6hBWSNtB+zcb1MX17YvlA= +github.com/pulumi/pulumi/sdk/v3 v3.91.1/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= diff --git a/scripts/upstream.sh b/scripts/upstream.sh index 798cbe4f..2b9e5316 100755 --- a/scripts/upstream.sh +++ b/scripts/upstream.sh @@ -142,7 +142,12 @@ apply() { # Iterating over the patches folder in sorted order, # apply the patch using a 3-way merge strategy. This mirrors the default behavior of 'git merge' cd upstream - for patch in ../patches/*.patch; do + patch_folder="../patches" + if [ -z "$(ls -A $patch_folder/*.patch 2>/dev/null)" ]; then + echo "No patches found in $patch_folder. Exiting..." + exit 0 + fi + for patch in $patch_folder/*.patch; do if ! git apply --3way "$patch"; then cat < RootPassword { get; private set; } = null!; + /// + /// The hostname to use for [Serial over SSH](https://deploy.equinix.com/developers/docs/metal/resilience-recovery/serial-over-ssh/) access to the device + /// + [Output("sosHostname")] + public Output SosHostname { get; private set; } = null!; + /// /// List of IDs of SSH keys deployed in the device, can be both user and project SSH keys. /// @@ -822,6 +828,12 @@ public Input? RootPassword } } + /// + /// The hostname to use for [Serial over SSH](https://deploy.equinix.com/developers/docs/metal/resilience-recovery/serial-over-ssh/) access to the device + /// + [Input("sosHostname")] + public Input? SosHostname { get; set; } + [Input("sshKeyIds")] private InputList? _sshKeyIds; diff --git a/sdk/dotnet/Metal/GetDevice.cs b/sdk/dotnet/Metal/GetDevice.cs index e796f34b..08f24c63 100644 --- a/sdk/dotnet/Metal/GetDevice.cs +++ b/sdk/dotnet/Metal/GetDevice.cs @@ -260,6 +260,10 @@ public sealed class GetDeviceResult /// public readonly string RootPassword; /// + /// The hostname to use for [Serial over SSH](https://deploy.equinix.com/developers/docs/metal/resilience-recovery/serial-over-ssh/) access to the device + /// + public readonly string SosHostname; + /// /// List of IDs of SSH keys deployed in the device, can be both user or project SSH keys. /// public readonly ImmutableArray SshKeyIds; @@ -315,6 +319,8 @@ private GetDeviceResult( string rootPassword, + string sosHostname, + ImmutableArray sshKeyIds, string state, @@ -343,6 +349,7 @@ private GetDeviceResult( Ports = ports; ProjectId = projectId; RootPassword = rootPassword; + SosHostname = sosHostname; SshKeyIds = sshKeyIds; State = state; Storage = storage; diff --git a/sdk/dotnet/Metal/Outputs/GetDevicesDeviceResult.cs b/sdk/dotnet/Metal/Outputs/GetDevicesDeviceResult.cs index 1b921bcd..f0f971c0 100644 --- a/sdk/dotnet/Metal/Outputs/GetDevicesDeviceResult.cs +++ b/sdk/dotnet/Metal/Outputs/GetDevicesDeviceResult.cs @@ -35,6 +35,7 @@ public sealed class GetDevicesDeviceResult /// public readonly string ProjectId; public readonly string RootPassword; + public readonly string SosHostname; public readonly ImmutableArray SshKeyIds; public readonly string State; public readonly string Storage; @@ -80,6 +81,8 @@ private GetDevicesDeviceResult( string rootPassword, + string sosHostname, + ImmutableArray sshKeyIds, string state, @@ -107,6 +110,7 @@ private GetDevicesDeviceResult( Ports = ports; ProjectId = projectId; RootPassword = rootPassword; + SosHostname = sosHostname; SshKeyIds = sshKeyIds; State = state; Storage = storage; diff --git a/sdk/go.mod b/sdk/go.mod index 2fc9d86d..99fbbc65 100644 --- a/sdk/go.mod +++ b/sdk/go.mod @@ -4,7 +4,7 @@ go 1.21 require ( github.com/blang/semver v3.5.1+incompatible - github.com/pulumi/pulumi/sdk/v3 v3.90.0 + github.com/pulumi/pulumi/sdk/v3 v3.91.1 ) require ( diff --git a/sdk/go.sum b/sdk/go.sum index fe4795ff..e69de29b 100644 --- a/sdk/go.sum +++ b/sdk/go.sum @@ -1,325 +0,0 @@ -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/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/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/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= -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.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= -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.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/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.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= -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.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/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/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= -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.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= -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/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/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.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= -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.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.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/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.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= -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.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/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-20220622213112-05595931fe9d/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= -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= -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.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= -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.2.0/go.mod h1:KqCZLdyyvdV855qA2rE3GC2aiw5xGR5TEjj8smXukLY= -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.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-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-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-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-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.2.0/go.mod h1:TVmDHMZPmdnySmBfhjOoOdhjzdE1h4u1VwSiw2l1Nuc= -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.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= -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.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= -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-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.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.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.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/go/equinix/metal/device.go b/sdk/go/equinix/metal/device.go index 2c777134..f5355fe1 100644 --- a/sdk/go/equinix/metal/device.go +++ b/sdk/go/equinix/metal/device.go @@ -153,6 +153,8 @@ type Device struct { Reinstall DeviceReinstallPtrOutput `pulumi:"reinstall"` // Root password to the server (disabled after 24 hours). RootPassword pulumi.StringOutput `pulumi:"rootPassword"` + // The hostname to use for [Serial over SSH](https://deploy.equinix.com/developers/docs/metal/resilience-recovery/serial-over-ssh/) access to the device + SosHostname pulumi.StringOutput `pulumi:"sosHostname"` // List of IDs of SSH keys deployed in the device, can be both user and project SSH keys. SshKeyIds pulumi.StringArrayOutput `pulumi:"sshKeyIds"` // The status of the device. @@ -318,6 +320,8 @@ type deviceState struct { Reinstall *DeviceReinstall `pulumi:"reinstall"` // Root password to the server (disabled after 24 hours). RootPassword *string `pulumi:"rootPassword"` + // The hostname to use for [Serial over SSH](https://deploy.equinix.com/developers/docs/metal/resilience-recovery/serial-over-ssh/) access to the device + SosHostname *string `pulumi:"sosHostname"` // List of IDs of SSH keys deployed in the device, can be both user and project SSH keys. SshKeyIds []string `pulumi:"sshKeyIds"` // The status of the device. @@ -433,6 +437,8 @@ type DeviceState struct { Reinstall DeviceReinstallPtrInput // Root password to the server (disabled after 24 hours). RootPassword pulumi.StringPtrInput + // The hostname to use for [Serial over SSH](https://deploy.equinix.com/developers/docs/metal/resilience-recovery/serial-over-ssh/) access to the device + SosHostname pulumi.StringPtrInput // List of IDs of SSH keys deployed in the device, can be both user and project SSH keys. SshKeyIds pulumi.StringArrayInput // The status of the device. @@ -895,6 +901,11 @@ func (o DeviceOutput) RootPassword() pulumi.StringOutput { return o.ApplyT(func(v *Device) pulumi.StringOutput { return v.RootPassword }).(pulumi.StringOutput) } +// The hostname to use for [Serial over SSH](https://deploy.equinix.com/developers/docs/metal/resilience-recovery/serial-over-ssh/) access to the device +func (o DeviceOutput) SosHostname() pulumi.StringOutput { + return o.ApplyT(func(v *Device) pulumi.StringOutput { return v.SosHostname }).(pulumi.StringOutput) +} + // List of IDs of SSH keys deployed in the device, can be both user and project SSH keys. func (o DeviceOutput) SshKeyIds() pulumi.StringArrayOutput { return o.ApplyT(func(v *Device) pulumi.StringArrayOutput { return v.SshKeyIds }).(pulumi.StringArrayOutput) diff --git a/sdk/go/equinix/metal/getDevice.go b/sdk/go/equinix/metal/getDevice.go index 8d2a52bf..2dd78cba 100644 --- a/sdk/go/equinix/metal/getDevice.go +++ b/sdk/go/equinix/metal/getDevice.go @@ -138,6 +138,8 @@ type LookupDeviceResult struct { ProjectId string `pulumi:"projectId"` // Root password to the server (if still available). RootPassword string `pulumi:"rootPassword"` + // The hostname to use for [Serial over SSH](https://deploy.equinix.com/developers/docs/metal/resilience-recovery/serial-over-ssh/) access to the device + SosHostname string `pulumi:"sosHostname"` // List of IDs of SSH keys deployed in the device, can be both user or project SSH keys. SshKeyIds []string `pulumi:"sshKeyIds"` // The state of the device. @@ -297,6 +299,11 @@ func (o LookupDeviceResultOutput) RootPassword() pulumi.StringOutput { return o.ApplyT(func(v LookupDeviceResult) string { return v.RootPassword }).(pulumi.StringOutput) } +// The hostname to use for [Serial over SSH](https://deploy.equinix.com/developers/docs/metal/resilience-recovery/serial-over-ssh/) access to the device +func (o LookupDeviceResultOutput) SosHostname() pulumi.StringOutput { + return o.ApplyT(func(v LookupDeviceResult) string { return v.SosHostname }).(pulumi.StringOutput) +} + // List of IDs of SSH keys deployed in the device, can be both user or project SSH keys. func (o LookupDeviceResultOutput) SshKeyIds() pulumi.StringArrayOutput { return o.ApplyT(func(v LookupDeviceResult) []string { return v.SshKeyIds }).(pulumi.StringArrayOutput) diff --git a/sdk/go/equinix/metal/pulumiTypes.go b/sdk/go/equinix/metal/pulumiTypes.go index 2d075655..f41741a5 100644 --- a/sdk/go/equinix/metal/pulumiTypes.go +++ b/sdk/go/equinix/metal/pulumiTypes.go @@ -2844,6 +2844,7 @@ type GetDevicesDevice struct { // ID of project containing the devices. Exactly one of `projectId` and `organizationId` must be set. ProjectId string `pulumi:"projectId"` RootPassword string `pulumi:"rootPassword"` + SosHostname string `pulumi:"sosHostname"` SshKeyIds []string `pulumi:"sshKeyIds"` State string `pulumi:"state"` Storage string `pulumi:"storage"` @@ -2883,6 +2884,7 @@ type GetDevicesDeviceArgs struct { // 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"` + SosHostname pulumi.StringInput `pulumi:"sosHostname"` SshKeyIds pulumi.StringArrayInput `pulumi:"sshKeyIds"` State pulumi.StringInput `pulumi:"state"` Storage pulumi.StringInput `pulumi:"storage"` @@ -3036,6 +3038,10 @@ func (o GetDevicesDeviceOutput) RootPassword() pulumi.StringOutput { return o.ApplyT(func(v GetDevicesDevice) string { return v.RootPassword }).(pulumi.StringOutput) } +func (o GetDevicesDeviceOutput) SosHostname() pulumi.StringOutput { + return o.ApplyT(func(v GetDevicesDevice) string { return v.SosHostname }).(pulumi.StringOutput) +} + func (o GetDevicesDeviceOutput) SshKeyIds() pulumi.StringArrayOutput { return o.ApplyT(func(v GetDevicesDevice) []string { return v.SshKeyIds }).(pulumi.StringArrayOutput) } diff --git a/sdk/java/build.gradle b/sdk/java/build.gradle index ff6dd95d..6b544b0c 100644 --- a/sdk/java/build.gradle +++ b/sdk/java/build.gradle @@ -8,6 +8,8 @@ plugins { id("io.github.gradle-nexus.publish-plugin") version "1.1.0" } +group = "com.equinix" + group = "com.equinix.pulumi" def resolvedVersion = System.getenv("PACKAGE_VERSION") ?: @@ -29,7 +31,8 @@ java { compileJava { options.fork = true - options.forkOptions.jvmArgs.addAll(["-Xmx4g"]) + options.forkOptions.jvmArgs.addAll(["-Xmx16g"]) + options.encoding = "UTF-8" } repositories { @@ -43,17 +46,18 @@ repositories { dependencies { implementation("com.google.code.findbugs:jsr305:3.0.2") implementation("com.google.code.gson:gson:2.8.9") - implementation("com.pulumi:pulumi:0.7.1") + implementation("com.pulumi:pulumi:0.9.8") } task sourcesJar(type: Jar) { from sourceSets.main.allJava - classifier = 'sources' + archiveClassifier.set('sources') } task javadocJar(type: Jar) { from javadoc - classifier = 'javadoc' + archiveClassifier.set('javadoc') + zip64 = true } def genPulumiResources = tasks.register('genPulumiResources') { @@ -126,6 +130,10 @@ javadoc { options.jFlags("-Xmx8g", "-Xms512m") } +jar { + zip64 = true +} + if (publishRepoUsername) { nexusPublishing { repositories { diff --git a/sdk/java/src/main/java/com/equinix/pulumi/Utilities.java b/sdk/java/src/main/java/com/equinix/pulumi/Utilities.java index 526500b6..2cdc9cf0 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/Utilities.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/Utilities.java @@ -57,7 +57,6 @@ public static Optional getEnvDouble(String... names) { return Optional.empty(); } - // TODO: this probably should be done via a mutator on the InvokeOptions public static InvokeOptions withVersion(@Nullable InvokeOptions options) { if (options != null && options.getVersion().isPresent()) { return options; diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/CloudRouterAccount.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/CloudRouterAccount.java index 9df0df8e..fe2dce95 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/CloudRouterAccount.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/CloudRouterAccount.java @@ -48,9 +48,9 @@ public Builder accountNumber(@Nullable Integer accountNumber) { return this; } public CloudRouterAccount build() { - final var o = new CloudRouterAccount(); - o.accountNumber = accountNumber; - return o; + final var _resultValue = new CloudRouterAccount(); + _resultValue.accountNumber = accountNumber; + return _resultValue; } } } 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 index 4d32abd3..d51624da 100644 --- 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 @@ -161,20 +161,20 @@ public Builder updatedDateTime(@Nullable String 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; + final var _resultValue = new CloudRouterChangeLog(); + _resultValue.createdBy = createdBy; + _resultValue.createdByEmail = createdByEmail; + _resultValue.createdByFullName = createdByFullName; + _resultValue.createdDateTime = createdDateTime; + _resultValue.deletedBy = deletedBy; + _resultValue.deletedByEmail = deletedByEmail; + _resultValue.deletedByFullName = deletedByFullName; + _resultValue.deletedDateTime = deletedDateTime; + _resultValue.updatedBy = updatedBy; + _resultValue.updatedByEmail = updatedByEmail; + _resultValue.updatedByFullName = updatedByFullName; + _resultValue.updatedDateTime = updatedDateTime; + return _resultValue; } } } 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 index 8ec4b6ba..02b4b20b 100644 --- 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 @@ -105,12 +105,12 @@ public Builder region(@Nullable String 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; + final var _resultValue = new CloudRouterLocation(); + _resultValue.ibx = ibx; + _resultValue.metroCode = metroCode; + _resultValue.metroName = metroName; + _resultValue.region = region; + return _resultValue; } } } 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 index a4b0ca96..9a697820 100644 --- 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 @@ -90,11 +90,11 @@ public Builder type(String type) { return this; } public CloudRouterNotification build() { - final var o = new CloudRouterNotification(); - o.emails = emails; - o.sendInterval = sendInterval; - o.type = type; - return o; + final var _resultValue = new CloudRouterNotification(); + _resultValue.emails = emails; + _resultValue.sendInterval = sendInterval; + _resultValue.type = type; + return _resultValue; } } } 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 index fad46dee..fe1e85c6 100644 --- 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 @@ -105,12 +105,12 @@ public Builder purchaseOrderNumber(@Nullable String 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; + final var _resultValue = new CloudRouterOrder(); + _resultValue.billingTier = billingTier; + _resultValue.orderId = orderId; + _resultValue.orderNumber = orderNumber; + _resultValue.purchaseOrderNumber = purchaseOrderNumber; + return _resultValue; } } } 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 index 346bbe2f..ab82f3b1 100644 --- 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 @@ -46,9 +46,9 @@ public Builder code(String code) { return this; } public CloudRouterPackage build() { - final var o = new CloudRouterPackage(); - o.code = code; - return o; + final var _resultValue = new CloudRouterPackage(); + _resultValue.code = code; + return _resultValue; } } } 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 index 2ff07acb..584d7efc 100644 --- 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 @@ -67,10 +67,10 @@ public Builder projectId(@Nullable String projectId) { return this; } public CloudRouterProject build() { - final var o = new CloudRouterProject(); - o.href = href; - o.projectId = projectId; - return o; + final var _resultValue = new CloudRouterProject(); + _resultValue.href = href; + _resultValue.projectId = projectId; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionASide.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionASide.java index b5751761..c2153f97 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionASide.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionASide.java @@ -92,11 +92,11 @@ public Builder serviceToken(@Nullable ConnectionASideServiceToken serviceToken) return this; } public ConnectionASide build() { - final var o = new ConnectionASide(); - o.accessPoint = accessPoint; - o.additionalInfo = additionalInfo; - o.serviceToken = serviceToken; - return o; + final var _resultValue = new ConnectionASide(); + _resultValue.accessPoint = accessPoint; + _resultValue.additionalInfo = additionalInfo; + _resultValue.serviceToken = serviceToken; + return _resultValue; } } } 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 c99fe30e..ce14dff4 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 @@ -344,24 +344,24 @@ public Builder virtualDevice(@Nullable ConnectionASideAccessPointVirtualDevice v return this; } public ConnectionASideAccessPoint build() { - final var o = new ConnectionASideAccessPoint(); - o.account = account; - o.authenticationKey = authenticationKey; - o.gateway = gateway; - 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; - o.virtualDevice = virtualDevice; - return o; + final var _resultValue = new ConnectionASideAccessPoint(); + _resultValue.account = account; + _resultValue.authenticationKey = authenticationKey; + _resultValue.gateway = gateway; + _resultValue.interface_ = interface_; + _resultValue.linkProtocol = linkProtocol; + _resultValue.location = location; + _resultValue.network = network; + _resultValue.peeringType = peeringType; + _resultValue.port = port; + _resultValue.profile = profile; + _resultValue.providerConnectionId = providerConnectionId; + _resultValue.router = router; + _resultValue.routingProtocols = routingProtocols; + _resultValue.sellerRegion = sellerRegion; + _resultValue.type = type; + _resultValue.virtualDevice = virtualDevice; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionASideAccessPointAccount.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionASideAccessPointAccount.java index 678159d0..122a0f94 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionASideAccessPointAccount.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionASideAccessPointAccount.java @@ -107,15 +107,15 @@ public Builder organizationName(@Nullable String organizationName) { return this; } public ConnectionASideAccessPointAccount build() { - final var o = new ConnectionASideAccessPointAccount(); - o.accountName = accountName; - o.accountNumber = accountNumber; - o.globalCustId = globalCustId; - o.globalOrgId = globalOrgId; - o.globalOrganizationName = globalOrganizationName; - o.orgId = orgId; - o.organizationName = organizationName; - return o; + final var _resultValue = new ConnectionASideAccessPointAccount(); + _resultValue.accountName = accountName; + _resultValue.accountNumber = accountNumber; + _resultValue.globalCustId = globalCustId; + _resultValue.globalOrgId = globalOrgId; + _resultValue.globalOrganizationName = globalOrganizationName; + _resultValue.orgId = orgId; + _resultValue.organizationName = organizationName; + return _resultValue; } } } 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 f6e76fdd..9634b14d 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 @@ -67,10 +67,10 @@ public Builder uuid(@Nullable String uuid) { return this; } public ConnectionASideAccessPointGateway build() { - final var o = new ConnectionASideAccessPointGateway(); - o.href = href; - o.uuid = uuid; - return o; + final var _resultValue = new ConnectionASideAccessPointGateway(); + _resultValue.href = href; + _resultValue.uuid = uuid; + return _resultValue; } } } 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 2d5f644b..e6960b15 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 @@ -86,11 +86,11 @@ public Builder uuid(@Nullable String uuid) { return this; } public ConnectionASideAccessPointInterface build() { - final var o = new ConnectionASideAccessPointInterface(); - o.id = id; - o.type = type; - o.uuid = uuid; - return o; + final var _resultValue = new ConnectionASideAccessPointInterface(); + _resultValue.id = id; + _resultValue.type = type; + _resultValue.uuid = uuid; + return _resultValue; } } } 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 708a4e40..e11e2703 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 @@ -106,12 +106,12 @@ public Builder vlanTag(@Nullable Integer vlanTag) { return this; } public ConnectionASideAccessPointLinkProtocol build() { - final var o = new ConnectionASideAccessPointLinkProtocol(); - o.type = type; - o.vlanCTag = vlanCTag; - o.vlanSTag = vlanSTag; - o.vlanTag = vlanTag; - return o; + final var _resultValue = new ConnectionASideAccessPointLinkProtocol(); + _resultValue.type = type; + _resultValue.vlanCTag = vlanCTag; + _resultValue.vlanSTag = vlanSTag; + _resultValue.vlanTag = vlanTag; + return _resultValue; } } } 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 f0bc95c8..3cb502c0 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 @@ -105,12 +105,12 @@ public Builder region(@Nullable String region) { return this; } public ConnectionASideAccessPointLocation build() { - final var o = new ConnectionASideAccessPointLocation(); - o.ibx = ibx; - o.metroCode = metroCode; - o.metroName = metroName; - o.region = region; - return o; + final var _resultValue = new ConnectionASideAccessPointLocation(); + _resultValue.ibx = ibx; + _resultValue.metroCode = metroCode; + _resultValue.metroName = metroName; + _resultValue.region = region; + return _resultValue; } } } 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 index 14bdcd49..9f7e08c9 100644 --- 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 @@ -67,10 +67,10 @@ public Builder uuid(@Nullable String uuid) { return this; } public ConnectionASideAccessPointNetwork build() { - final var o = new ConnectionASideAccessPointNetwork(); - o.href = href; - o.uuid = uuid; - return o; + final var _resultValue = new ConnectionASideAccessPointNetwork(); + _resultValue.href = href; + _resultValue.uuid = uuid; + return _resultValue; } } } 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 c6286a7a..e0226116 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 @@ -110,12 +110,12 @@ public Builder uuid(@Nullable String uuid) { return this; } public ConnectionASideAccessPointPort build() { - final var o = new ConnectionASideAccessPointPort(); - o.href = href; - o.name = name; - o.redundancies = redundancies; - o.uuid = uuid; - return o; + final var _resultValue = new ConnectionASideAccessPointPort(); + _resultValue.href = href; + _resultValue.name = name; + _resultValue.redundancies = redundancies; + _resultValue.uuid = uuid; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionASideAccessPointPortRedundancy.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionASideAccessPointPortRedundancy.java index ef182558..7ff51be2 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionASideAccessPointPortRedundancy.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionASideAccessPointPortRedundancy.java @@ -48,9 +48,9 @@ public Builder priority(@Nullable String priority) { return this; } public ConnectionASideAccessPointPortRedundancy build() { - final var o = new ConnectionASideAccessPointPortRedundancy(); - o.priority = priority; - return o; + final var _resultValue = new ConnectionASideAccessPointPortRedundancy(); + _resultValue.priority = priority; + return _resultValue; } } } 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 be3a7b56..6b600dec 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 @@ -148,14 +148,14 @@ public Builder uuid(String uuid) { return this; } public ConnectionASideAccessPointProfile build() { - final var o = new ConnectionASideAccessPointProfile(); - o.accessPointTypeConfigs = accessPointTypeConfigs; - o.description = description; - o.href = href; - o.name = name; - o.type = type; - o.uuid = uuid; - return o; + final var _resultValue = new ConnectionASideAccessPointProfile(); + _resultValue.accessPointTypeConfigs = accessPointTypeConfigs; + _resultValue.description = description; + _resultValue.href = href; + _resultValue.name = name; + _resultValue.type = type; + _resultValue.uuid = uuid; + return _resultValue; } } } 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 94f0a8ee..650b4dce 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 @@ -67,10 +67,10 @@ public Builder uuid(@Nullable String uuid) { return this; } public ConnectionASideAccessPointProfileAccessPointTypeConfig build() { - final var o = new ConnectionASideAccessPointProfileAccessPointTypeConfig(); - o.type = type; - o.uuid = uuid; - return o; + final var _resultValue = new ConnectionASideAccessPointProfileAccessPointTypeConfig(); + _resultValue.type = type; + _resultValue.uuid = uuid; + return _resultValue; } } } 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 index f286070b..a254604f 100644 --- 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 @@ -67,10 +67,10 @@ public Builder uuid(@Nullable String uuid) { return this; } public ConnectionASideAccessPointRouter build() { - final var o = new ConnectionASideAccessPointRouter(); - o.href = href; - o.uuid = uuid; - return o; + final var _resultValue = new ConnectionASideAccessPointRouter(); + _resultValue.href = href; + _resultValue.uuid = uuid; + return _resultValue; } } } 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 6c279c22..fa657ac7 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 @@ -86,11 +86,11 @@ public Builder uuid(@Nullable String uuid) { return this; } public ConnectionASideAccessPointRoutingProtocol build() { - final var o = new ConnectionASideAccessPointRoutingProtocol(); - o.state = state; - o.type = type; - o.uuid = uuid; - return o; + final var _resultValue = new ConnectionASideAccessPointRoutingProtocol(); + _resultValue.state = state; + _resultValue.type = type; + _resultValue.uuid = uuid; + return _resultValue; } } } 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 4fd25aa3..29bfbc59 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 @@ -86,11 +86,11 @@ public Builder uuid(@Nullable String uuid) { return this; } public ConnectionASideAccessPointVirtualDevice build() { - final var o = new ConnectionASideAccessPointVirtualDevice(); - o.href = href; - o.type = type; - o.uuid = uuid; - return o; + final var _resultValue = new ConnectionASideAccessPointVirtualDevice(); + _resultValue.href = href; + _resultValue.type = type; + _resultValue.uuid = uuid; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionASideAdditionalInfo.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionASideAdditionalInfo.java index e820c7eb..16c10a4d 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionASideAdditionalInfo.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionASideAdditionalInfo.java @@ -67,10 +67,10 @@ public Builder value(@Nullable String value) { return this; } public ConnectionASideAdditionalInfo build() { - final var o = new ConnectionASideAdditionalInfo(); - o.key = key; - o.value = value; - return o; + final var _resultValue = new ConnectionASideAdditionalInfo(); + _resultValue.key = key; + _resultValue.value = value; + return _resultValue; } } } 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 0a43f354..0c6d0c91 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 @@ -105,12 +105,12 @@ public Builder uuid(@Nullable String uuid) { return this; } public ConnectionASideServiceToken build() { - final var o = new ConnectionASideServiceToken(); - o.description = description; - o.href = href; - o.type = type; - o.uuid = uuid; - return o; + final var _resultValue = new ConnectionASideServiceToken(); + _resultValue.description = description; + _resultValue.href = href; + _resultValue.type = type; + _resultValue.uuid = uuid; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionAccount.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionAccount.java index 5733637a..18c5db40 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionAccount.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionAccount.java @@ -107,15 +107,15 @@ public Builder organizationName(@Nullable String organizationName) { return this; } public ConnectionAccount build() { - final var o = new ConnectionAccount(); - o.accountName = accountName; - o.accountNumber = accountNumber; - o.globalCustId = globalCustId; - o.globalOrgId = globalOrgId; - o.globalOrganizationName = globalOrganizationName; - o.orgId = orgId; - o.organizationName = organizationName; - return o; + final var _resultValue = new ConnectionAccount(); + _resultValue.accountName = accountName; + _resultValue.accountNumber = accountNumber; + _resultValue.globalCustId = globalCustId; + _resultValue.globalOrgId = globalOrgId; + _resultValue.globalOrganizationName = globalOrganizationName; + _resultValue.orgId = orgId; + _resultValue.organizationName = organizationName; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionChangeLog.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionChangeLog.java index 9fc3d306..967ab432 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionChangeLog.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionChangeLog.java @@ -161,20 +161,20 @@ public Builder updatedDateTime(@Nullable String updatedDateTime) { return this; } public ConnectionChangeLog build() { - final var o = new ConnectionChangeLog(); - 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; + final var _resultValue = new ConnectionChangeLog(); + _resultValue.createdBy = createdBy; + _resultValue.createdByEmail = createdByEmail; + _resultValue.createdByFullName = createdByFullName; + _resultValue.createdDateTime = createdDateTime; + _resultValue.deletedBy = deletedBy; + _resultValue.deletedByEmail = deletedByEmail; + _resultValue.deletedByFullName = deletedByFullName; + _resultValue.deletedDateTime = deletedDateTime; + _resultValue.updatedBy = updatedBy; + _resultValue.updatedByEmail = updatedByEmail; + _resultValue.updatedByFullName = updatedByFullName; + _resultValue.updatedDateTime = updatedDateTime; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionNotification.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionNotification.java index 187e6816..3a162da0 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionNotification.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionNotification.java @@ -90,11 +90,11 @@ public Builder type(String type) { return this; } public ConnectionNotification build() { - final var o = new ConnectionNotification(); - o.emails = emails; - o.sendInterval = sendInterval; - o.type = type; - return o; + final var _resultValue = new ConnectionNotification(); + _resultValue.emails = emails; + _resultValue.sendInterval = sendInterval; + _resultValue.type = type; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionOperation.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionOperation.java index 85ea1e1b..70d82c0e 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionOperation.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionOperation.java @@ -67,11 +67,11 @@ public Builder providerStatus(@Nullable String providerStatus) { return this; } public ConnectionOperation build() { - final var o = new ConnectionOperation(); - o.equinixStatus = equinixStatus; - o.errors = errors; - o.providerStatus = providerStatus; - return o; + final var _resultValue = new ConnectionOperation(); + _resultValue.equinixStatus = equinixStatus; + _resultValue.errors = errors; + _resultValue.providerStatus = providerStatus; + return _resultValue; } } } 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 ce729bf0..6e84f6eb 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 @@ -108,14 +108,14 @@ public Builder help(@Nullable String help) { return this; } public ConnectionOperationError build() { - final var o = new ConnectionOperationError(); - o.additionalInfo = additionalInfo; - o.correlationId = correlationId; - o.details = details; - o.errorCode = errorCode; - o.errorMessage = errorMessage; - o.help = help; - return o; + final var _resultValue = new ConnectionOperationError(); + _resultValue.additionalInfo = additionalInfo; + _resultValue.correlationId = correlationId; + _resultValue.details = details; + _resultValue.errorCode = errorCode; + _resultValue.errorMessage = errorMessage; + _resultValue.help = help; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionOperationErrorAdditionalInfo.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionOperationErrorAdditionalInfo.java index 74a47a02..e713ef2f 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionOperationErrorAdditionalInfo.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionOperationErrorAdditionalInfo.java @@ -51,10 +51,10 @@ public Builder reason(@Nullable String reason) { return this; } public ConnectionOperationErrorAdditionalInfo build() { - final var o = new ConnectionOperationErrorAdditionalInfo(); - o.property = property; - o.reason = reason; - return o; + final var _resultValue = new ConnectionOperationErrorAdditionalInfo(); + _resultValue.property = property; + _resultValue.reason = reason; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionOrder.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionOrder.java index 64f5c893..2449a3f8 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionOrder.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionOrder.java @@ -105,12 +105,12 @@ public Builder purchaseOrderNumber(@Nullable String purchaseOrderNumber) { return this; } public ConnectionOrder build() { - final var o = new ConnectionOrder(); - o.billingTier = billingTier; - o.orderId = orderId; - o.orderNumber = orderNumber; - o.purchaseOrderNumber = purchaseOrderNumber; - return o; + final var _resultValue = new ConnectionOrder(); + _resultValue.billingTier = billingTier; + _resultValue.orderId = orderId; + _resultValue.orderNumber = orderNumber; + _resultValue.purchaseOrderNumber = purchaseOrderNumber; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionProject.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionProject.java index 69ee52c2..d4982b90 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionProject.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionProject.java @@ -67,10 +67,10 @@ public Builder projectId(@Nullable String projectId) { return this; } public ConnectionProject build() { - final var o = new ConnectionProject(); - o.href = href; - o.projectId = projectId; - return o; + final var _resultValue = new ConnectionProject(); + _resultValue.href = href; + _resultValue.projectId = projectId; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionRedundancy.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionRedundancy.java index 8e241b32..c3d419cc 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionRedundancy.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionRedundancy.java @@ -67,10 +67,10 @@ public Builder priority(@Nullable String priority) { return this; } public ConnectionRedundancy build() { - final var o = new ConnectionRedundancy(); - o.group = group; - o.priority = priority; - return o; + final var _resultValue = new ConnectionRedundancy(); + _resultValue.group = group; + _resultValue.priority = priority; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionZSide.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionZSide.java index 47be6e6b..363f0902 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionZSide.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionZSide.java @@ -92,11 +92,11 @@ public Builder serviceToken(@Nullable ConnectionZSideServiceToken serviceToken) return this; } public ConnectionZSide build() { - final var o = new ConnectionZSide(); - o.accessPoint = accessPoint; - o.additionalInfo = additionalInfo; - o.serviceToken = serviceToken; - return o; + final var _resultValue = new ConnectionZSide(); + _resultValue.accessPoint = accessPoint; + _resultValue.additionalInfo = additionalInfo; + _resultValue.serviceToken = serviceToken; + return _resultValue; } } } 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 ff050007..d8bab88f 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 @@ -344,24 +344,24 @@ public Builder virtualDevice(@Nullable ConnectionZSideAccessPointVirtualDevice v return this; } public ConnectionZSideAccessPoint build() { - final var o = new ConnectionZSideAccessPoint(); - o.account = account; - o.authenticationKey = authenticationKey; - o.gateway = gateway; - 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; - o.virtualDevice = virtualDevice; - return o; + final var _resultValue = new ConnectionZSideAccessPoint(); + _resultValue.account = account; + _resultValue.authenticationKey = authenticationKey; + _resultValue.gateway = gateway; + _resultValue.interface_ = interface_; + _resultValue.linkProtocol = linkProtocol; + _resultValue.location = location; + _resultValue.network = network; + _resultValue.peeringType = peeringType; + _resultValue.port = port; + _resultValue.profile = profile; + _resultValue.providerConnectionId = providerConnectionId; + _resultValue.router = router; + _resultValue.routingProtocols = routingProtocols; + _resultValue.sellerRegion = sellerRegion; + _resultValue.type = type; + _resultValue.virtualDevice = virtualDevice; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionZSideAccessPointAccount.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionZSideAccessPointAccount.java index 113c86f6..ed0a1cb2 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionZSideAccessPointAccount.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionZSideAccessPointAccount.java @@ -107,15 +107,15 @@ public Builder organizationName(@Nullable String organizationName) { return this; } public ConnectionZSideAccessPointAccount build() { - final var o = new ConnectionZSideAccessPointAccount(); - o.accountName = accountName; - o.accountNumber = accountNumber; - o.globalCustId = globalCustId; - o.globalOrgId = globalOrgId; - o.globalOrganizationName = globalOrganizationName; - o.orgId = orgId; - o.organizationName = organizationName; - return o; + final var _resultValue = new ConnectionZSideAccessPointAccount(); + _resultValue.accountName = accountName; + _resultValue.accountNumber = accountNumber; + _resultValue.globalCustId = globalCustId; + _resultValue.globalOrgId = globalOrgId; + _resultValue.globalOrganizationName = globalOrganizationName; + _resultValue.orgId = orgId; + _resultValue.organizationName = organizationName; + return _resultValue; } } } 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 9a83acb3..a6ea78ef 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 @@ -67,10 +67,10 @@ public Builder uuid(@Nullable String uuid) { return this; } public ConnectionZSideAccessPointGateway build() { - final var o = new ConnectionZSideAccessPointGateway(); - o.href = href; - o.uuid = uuid; - return o; + final var _resultValue = new ConnectionZSideAccessPointGateway(); + _resultValue.href = href; + _resultValue.uuid = uuid; + return _resultValue; } } } 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 488002ff..76f96cce 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 @@ -86,11 +86,11 @@ public Builder uuid(@Nullable String uuid) { return this; } public ConnectionZSideAccessPointInterface build() { - final var o = new ConnectionZSideAccessPointInterface(); - o.id = id; - o.type = type; - o.uuid = uuid; - return o; + final var _resultValue = new ConnectionZSideAccessPointInterface(); + _resultValue.id = id; + _resultValue.type = type; + _resultValue.uuid = uuid; + return _resultValue; } } } 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 ded2a6e3..dbea5741 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 @@ -106,12 +106,12 @@ public Builder vlanTag(@Nullable Integer vlanTag) { return this; } public ConnectionZSideAccessPointLinkProtocol build() { - final var o = new ConnectionZSideAccessPointLinkProtocol(); - o.type = type; - o.vlanCTag = vlanCTag; - o.vlanSTag = vlanSTag; - o.vlanTag = vlanTag; - return o; + final var _resultValue = new ConnectionZSideAccessPointLinkProtocol(); + _resultValue.type = type; + _resultValue.vlanCTag = vlanCTag; + _resultValue.vlanSTag = vlanSTag; + _resultValue.vlanTag = vlanTag; + return _resultValue; } } } 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 48a6f001..259846c3 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 @@ -105,12 +105,12 @@ public Builder region(@Nullable String region) { return this; } public ConnectionZSideAccessPointLocation build() { - final var o = new ConnectionZSideAccessPointLocation(); - o.ibx = ibx; - o.metroCode = metroCode; - o.metroName = metroName; - o.region = region; - return o; + final var _resultValue = new ConnectionZSideAccessPointLocation(); + _resultValue.ibx = ibx; + _resultValue.metroCode = metroCode; + _resultValue.metroName = metroName; + _resultValue.region = region; + return _resultValue; } } } 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 index f8453a85..4b583ae0 100644 --- 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 @@ -67,10 +67,10 @@ public Builder uuid(@Nullable String uuid) { return this; } public ConnectionZSideAccessPointNetwork build() { - final var o = new ConnectionZSideAccessPointNetwork(); - o.href = href; - o.uuid = uuid; - return o; + final var _resultValue = new ConnectionZSideAccessPointNetwork(); + _resultValue.href = href; + _resultValue.uuid = uuid; + return _resultValue; } } } 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 db3408f1..a734b35f 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 @@ -110,12 +110,12 @@ public Builder uuid(@Nullable String uuid) { return this; } public ConnectionZSideAccessPointPort build() { - final var o = new ConnectionZSideAccessPointPort(); - o.href = href; - o.name = name; - o.redundancies = redundancies; - o.uuid = uuid; - return o; + final var _resultValue = new ConnectionZSideAccessPointPort(); + _resultValue.href = href; + _resultValue.name = name; + _resultValue.redundancies = redundancies; + _resultValue.uuid = uuid; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionZSideAccessPointPortRedundancy.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionZSideAccessPointPortRedundancy.java index 9af3e534..659a3bd5 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionZSideAccessPointPortRedundancy.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionZSideAccessPointPortRedundancy.java @@ -48,9 +48,9 @@ public Builder priority(@Nullable String priority) { return this; } public ConnectionZSideAccessPointPortRedundancy build() { - final var o = new ConnectionZSideAccessPointPortRedundancy(); - o.priority = priority; - return o; + final var _resultValue = new ConnectionZSideAccessPointPortRedundancy(); + _resultValue.priority = priority; + return _resultValue; } } } 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 0c8216cc..c306fc93 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 @@ -148,14 +148,14 @@ public Builder uuid(String uuid) { return this; } public ConnectionZSideAccessPointProfile build() { - final var o = new ConnectionZSideAccessPointProfile(); - o.accessPointTypeConfigs = accessPointTypeConfigs; - o.description = description; - o.href = href; - o.name = name; - o.type = type; - o.uuid = uuid; - return o; + final var _resultValue = new ConnectionZSideAccessPointProfile(); + _resultValue.accessPointTypeConfigs = accessPointTypeConfigs; + _resultValue.description = description; + _resultValue.href = href; + _resultValue.name = name; + _resultValue.type = type; + _resultValue.uuid = uuid; + return _resultValue; } } } 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 63e699e9..f01a9096 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 @@ -67,10 +67,10 @@ public Builder uuid(@Nullable String uuid) { return this; } public ConnectionZSideAccessPointProfileAccessPointTypeConfig build() { - final var o = new ConnectionZSideAccessPointProfileAccessPointTypeConfig(); - o.type = type; - o.uuid = uuid; - return o; + final var _resultValue = new ConnectionZSideAccessPointProfileAccessPointTypeConfig(); + _resultValue.type = type; + _resultValue.uuid = uuid; + return _resultValue; } } } 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 index 8051c643..3e8a1167 100644 --- 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 @@ -67,10 +67,10 @@ public Builder uuid(@Nullable String uuid) { return this; } public ConnectionZSideAccessPointRouter build() { - final var o = new ConnectionZSideAccessPointRouter(); - o.href = href; - o.uuid = uuid; - return o; + final var _resultValue = new ConnectionZSideAccessPointRouter(); + _resultValue.href = href; + _resultValue.uuid = uuid; + return _resultValue; } } } 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 5f0e1244..746ca3c6 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 @@ -86,11 +86,11 @@ public Builder uuid(@Nullable String uuid) { return this; } public ConnectionZSideAccessPointRoutingProtocol build() { - final var o = new ConnectionZSideAccessPointRoutingProtocol(); - o.state = state; - o.type = type; - o.uuid = uuid; - return o; + final var _resultValue = new ConnectionZSideAccessPointRoutingProtocol(); + _resultValue.state = state; + _resultValue.type = type; + _resultValue.uuid = uuid; + return _resultValue; } } } 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 174c6f1d..e8225b37 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 @@ -86,11 +86,11 @@ public Builder uuid(@Nullable String uuid) { return this; } public ConnectionZSideAccessPointVirtualDevice build() { - final var o = new ConnectionZSideAccessPointVirtualDevice(); - o.href = href; - o.type = type; - o.uuid = uuid; - return o; + final var _resultValue = new ConnectionZSideAccessPointVirtualDevice(); + _resultValue.href = href; + _resultValue.type = type; + _resultValue.uuid = uuid; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionZSideAdditionalInfo.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionZSideAdditionalInfo.java index 774aea8d..4271b5ce 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionZSideAdditionalInfo.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ConnectionZSideAdditionalInfo.java @@ -67,10 +67,10 @@ public Builder value(@Nullable String value) { return this; } public ConnectionZSideAdditionalInfo build() { - final var o = new ConnectionZSideAdditionalInfo(); - o.key = key; - o.value = value; - return o; + final var _resultValue = new ConnectionZSideAdditionalInfo(); + _resultValue.key = key; + _resultValue.value = value; + return _resultValue; } } } 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 8bb3b29e..1fe98bf6 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 @@ -105,12 +105,12 @@ public Builder uuid(@Nullable String uuid) { return this; } public ConnectionZSideServiceToken build() { - final var o = new ConnectionZSideServiceToken(); - o.description = description; - o.href = href; - o.type = type; - o.uuid = uuid; - return o; + final var _resultValue = new ConnectionZSideServiceToken(); + _resultValue.description = description; + _resultValue.href = href; + _resultValue.type = type; + _resultValue.uuid = uuid; + return _resultValue; } } } 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 index 09aa323d..b6f0e4ae 100644 --- 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 @@ -105,15 +105,15 @@ public Builder organizationName(String 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; + final var _resultValue = new GetCloudRouterAccount(); + _resultValue.accountName = accountName; + _resultValue.accountNumber = accountNumber; + _resultValue.globalCustId = globalCustId; + _resultValue.globalOrgId = globalOrgId; + _resultValue.globalOrganizationName = globalOrganizationName; + _resultValue.orgId = orgId; + _resultValue.organizationName = organizationName; + return _resultValue; } } } 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 index 54fc0996..1ab4bf6e 100644 --- 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 @@ -159,20 +159,20 @@ public Builder updatedDateTime(String 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; + final var _resultValue = new GetCloudRouterChangeLog(); + _resultValue.createdBy = createdBy; + _resultValue.createdByEmail = createdByEmail; + _resultValue.createdByFullName = createdByFullName; + _resultValue.createdDateTime = createdDateTime; + _resultValue.deletedBy = deletedBy; + _resultValue.deletedByEmail = deletedByEmail; + _resultValue.deletedByFullName = deletedByFullName; + _resultValue.deletedDateTime = deletedDateTime; + _resultValue.updatedBy = updatedBy; + _resultValue.updatedByEmail = updatedByEmail; + _resultValue.updatedByFullName = updatedByFullName; + _resultValue.updatedDateTime = updatedDateTime; + return _resultValue; } } } 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 index 600b3cbb..466f07a7 100644 --- 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 @@ -82,13 +82,13 @@ public Builder region(String 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; + final var _resultValue = new GetCloudRouterLocation(); + _resultValue.href = href; + _resultValue.ibx = ibx; + _resultValue.metroCode = metroCode; + _resultValue.metroName = metroName; + _resultValue.region = region; + return _resultValue; } } } 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 index 74c8201a..ad2ad2dc 100644 --- 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 @@ -64,11 +64,11 @@ public Builder type(String type) { return this; } public GetCloudRouterNotification build() { - final var o = new GetCloudRouterNotification(); - o.emails = emails; - o.sendInterval = sendInterval; - o.type = type; - return o; + final var _resultValue = new GetCloudRouterNotification(); + _resultValue.emails = emails; + _resultValue.sendInterval = sendInterval; + _resultValue.type = type; + return _resultValue; } } } 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 index b644e1af..16f299dd 100644 --- 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 @@ -71,12 +71,12 @@ public Builder purchaseOrderNumber(String 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; + final var _resultValue = new GetCloudRouterOrder(); + _resultValue.billingTier = billingTier; + _resultValue.orderId = orderId; + _resultValue.orderNumber = orderNumber; + _resultValue.purchaseOrderNumber = purchaseOrderNumber; + return _resultValue; } } } 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 index fbba891b..78469d88 100644 --- 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 @@ -38,9 +38,9 @@ public Builder code(String code) { return this; } public GetCloudRouterPackage build() { - final var o = new GetCloudRouterPackage(); - o.code = code; - return o; + final var _resultValue = new GetCloudRouterPackage(); + _resultValue.code = code; + return _resultValue; } } } 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 index 67f90bcb..4d6406e8 100644 --- 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 @@ -65,10 +65,10 @@ public Builder projectId(String projectId) { return this; } public GetCloudRouterProject build() { - final var o = new GetCloudRouterProject(); - o.href = href; - o.projectId = projectId; - return o; + final var _resultValue = new GetCloudRouterProject(); + _resultValue.href = href; + _resultValue.projectId = projectId; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetCloudRouterResult.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetCloudRouterResult.java index bd80ec31..ab3da089 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetCloudRouterResult.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetCloudRouterResult.java @@ -377,26 +377,26 @@ public Builder uuid(@Nullable String 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; + final var _resultValue = new GetCloudRouterResult(); + _resultValue.accounts = accounts; + _resultValue.bgpIpv4RoutesCount = bgpIpv4RoutesCount; + _resultValue.bgpIpv6RoutesCount = bgpIpv6RoutesCount; + _resultValue.changeLogs = changeLogs; + _resultValue.connectionsCount = connectionsCount; + _resultValue.description = description; + _resultValue.equinixAsn = equinixAsn; + _resultValue.href = href; + _resultValue.id = id; + _resultValue.locations = locations; + _resultValue.name = name; + _resultValue.notifications = notifications; + _resultValue.orders = orders; + _resultValue.packages = packages; + _resultValue.projects = projects; + _resultValue.state = state; + _resultValue.type = type; + _resultValue.uuid = uuid; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionASide.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionASide.java index 20c20ba0..b807d8dc 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionASide.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionASide.java @@ -50,10 +50,10 @@ public Builder serviceToken(GetConnectionASideServiceToken serviceToken) { return this; } public GetConnectionASide build() { - final var o = new GetConnectionASide(); - o.accessPoint = accessPoint; - o.serviceToken = serviceToken; - return o; + final var _resultValue = new GetConnectionASide(); + _resultValue.accessPoint = accessPoint; + _resultValue.serviceToken = serviceToken; + return _resultValue; } } } 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 310b6f5d..0a67d733 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 @@ -238,22 +238,22 @@ public Builder virtualDevices(GetConnectionASideAccessPointVirtualDevice... virt return virtualDevices(List.of(virtualDevices)); } public GetConnectionASideAccessPoint build() { - final var o = new GetConnectionASideAccessPoint(); - o.accounts = accounts; - o.authenticationKey = authenticationKey; - o.gateways = gateways; - o.interfaces = interfaces; - o.linkProtocols = linkProtocols; - o.locations = locations; - o.peeringType = peeringType; - o.ports = ports; - o.profiles = profiles; - o.providerConnectionId = providerConnectionId; - o.routers = routers; - o.sellerRegion = sellerRegion; - o.type = type; - o.virtualDevices = virtualDevices; - return o; + final var _resultValue = new GetConnectionASideAccessPoint(); + _resultValue.accounts = accounts; + _resultValue.authenticationKey = authenticationKey; + _resultValue.gateways = gateways; + _resultValue.interfaces = interfaces; + _resultValue.linkProtocols = linkProtocols; + _resultValue.locations = locations; + _resultValue.peeringType = peeringType; + _resultValue.ports = ports; + _resultValue.profiles = profiles; + _resultValue.providerConnectionId = providerConnectionId; + _resultValue.routers = routers; + _resultValue.sellerRegion = sellerRegion; + _resultValue.type = type; + _resultValue.virtualDevices = virtualDevices; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionASideAccessPointAccount.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionASideAccessPointAccount.java index c2ee57eb..4f543d0b 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionASideAccessPointAccount.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionASideAccessPointAccount.java @@ -105,15 +105,15 @@ public Builder organizationName(String organizationName) { return this; } public GetConnectionASideAccessPointAccount build() { - final var o = new GetConnectionASideAccessPointAccount(); - o.accountName = accountName; - o.accountNumber = accountNumber; - o.globalCustId = globalCustId; - o.globalOrgId = globalOrgId; - o.globalOrganizationName = globalOrganizationName; - o.orgId = orgId; - o.organizationName = organizationName; - return o; + final var _resultValue = new GetConnectionASideAccessPointAccount(); + _resultValue.accountName = accountName; + _resultValue.accountNumber = accountNumber; + _resultValue.globalCustId = globalCustId; + _resultValue.globalOrgId = globalOrgId; + _resultValue.globalOrganizationName = globalOrganizationName; + _resultValue.orgId = orgId; + _resultValue.organizationName = organizationName; + return _resultValue; } } } 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 5215aafa..99486830 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 @@ -60,11 +60,11 @@ public Builder uuid(String uuid) { return this; } public GetConnectionASideAccessPointGateway build() { - final var o = new GetConnectionASideAccessPointGateway(); - o.href = href; - o.state = state; - o.uuid = uuid; - return o; + final var _resultValue = new GetConnectionASideAccessPointGateway(); + _resultValue.href = href; + _resultValue.state = state; + _resultValue.uuid = uuid; + return _resultValue; } } } 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 45ea791c..b1be855c 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 @@ -60,11 +60,11 @@ public Builder uuid(String uuid) { return this; } public GetConnectionASideAccessPointInterface build() { - final var o = new GetConnectionASideAccessPointInterface(); - o.id = id; - o.type = type; - o.uuid = uuid; - return o; + final var _resultValue = new GetConnectionASideAccessPointInterface(); + _resultValue.id = id; + _resultValue.type = type; + _resultValue.uuid = uuid; + return _resultValue; } } } 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 a720a042..76de9aa2 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 @@ -72,12 +72,12 @@ public Builder vlanTag(Integer vlanTag) { return this; } public GetConnectionASideAccessPointLinkProtocol build() { - final var o = new GetConnectionASideAccessPointLinkProtocol(); - o.type = type; - o.vlanCTag = vlanCTag; - o.vlanSTag = vlanSTag; - o.vlanTag = vlanTag; - return o; + final var _resultValue = new GetConnectionASideAccessPointLinkProtocol(); + _resultValue.type = type; + _resultValue.vlanCTag = vlanCTag; + _resultValue.vlanSTag = vlanSTag; + _resultValue.vlanTag = vlanTag; + return _resultValue; } } } 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 ae5fa6f9..aa5d60be 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 @@ -82,13 +82,13 @@ public Builder region(String region) { return this; } public GetConnectionASideAccessPointLocation build() { - final var o = new GetConnectionASideAccessPointLocation(); - o.href = href; - o.ibx = ibx; - o.metroCode = metroCode; - o.metroName = metroName; - o.region = region; - return o; + final var _resultValue = new GetConnectionASideAccessPointLocation(); + _resultValue.href = href; + _resultValue.ibx = ibx; + _resultValue.metroCode = metroCode; + _resultValue.metroName = metroName; + _resultValue.region = region; + return _resultValue; } } } 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 4fd9af58..758bbec3 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 @@ -76,12 +76,12 @@ public Builder uuid(String uuid) { return this; } public GetConnectionASideAccessPointPort build() { - final var o = new GetConnectionASideAccessPointPort(); - o.href = href; - o.name = name; - o.redundancies = redundancies; - o.uuid = uuid; - return o; + final var _resultValue = new GetConnectionASideAccessPointPort(); + _resultValue.href = href; + _resultValue.name = name; + _resultValue.redundancies = redundancies; + _resultValue.uuid = uuid; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionASideAccessPointPortRedundancy.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionASideAccessPointPortRedundancy.java index 07db1146..3d5aad3b 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionASideAccessPointPortRedundancy.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionASideAccessPointPortRedundancy.java @@ -38,9 +38,9 @@ public Builder priority(String priority) { return this; } public GetConnectionASideAccessPointPortRedundancy build() { - final var o = new GetConnectionASideAccessPointPortRedundancy(); - o.priority = priority; - return o; + final var _resultValue = new GetConnectionASideAccessPointPortRedundancy(); + _resultValue.priority = priority; + return _resultValue; } } } 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 d837a902..7166f408 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 @@ -98,14 +98,14 @@ public Builder uuid(String uuid) { return this; } public GetConnectionASideAccessPointProfile build() { - final var o = new GetConnectionASideAccessPointProfile(); - o.accessPointTypeConfigs = accessPointTypeConfigs; - o.description = description; - o.href = href; - o.name = name; - o.type = type; - o.uuid = uuid; - return o; + final var _resultValue = new GetConnectionASideAccessPointProfile(); + _resultValue.accessPointTypeConfigs = accessPointTypeConfigs; + _resultValue.description = description; + _resultValue.href = href; + _resultValue.name = name; + _resultValue.type = type; + _resultValue.uuid = uuid; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionASideAccessPointProfileAccessPointTypeConfig.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionASideAccessPointProfileAccessPointTypeConfig.java index de1aa09a..9f464841 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 @@ -200,22 +200,22 @@ public Builder uuid(String uuid) { return this; } public GetConnectionASideAccessPointProfileAccessPointTypeConfig build() { - final var o = new GetConnectionASideAccessPointProfileAccessPointTypeConfig(); - o.allowBandwidthAutoApproval = allowBandwidthAutoApproval; - o.allowBandwidthUpgrade = allowBandwidthUpgrade; - o.allowCustomBandwidth = allowCustomBandwidth; - o.allowRemoteConnections = allowRemoteConnections; - o.apiConfigs = apiConfigs; - o.authenticationKeys = authenticationKeys; - o.bandwidthAlertThreshold = bandwidthAlertThreshold; - o.connectionLabel = connectionLabel; - o.connectionRedundancyRequired = connectionRedundancyRequired; - o.enableAutoGenerateServiceKey = enableAutoGenerateServiceKey; - o.linkProtocolConfigs = linkProtocolConfigs; - o.supportedBandwidths = supportedBandwidths; - o.type = type; - o.uuid = uuid; - return o; + final var _resultValue = new GetConnectionASideAccessPointProfileAccessPointTypeConfig(); + _resultValue.allowBandwidthAutoApproval = allowBandwidthAutoApproval; + _resultValue.allowBandwidthUpgrade = allowBandwidthUpgrade; + _resultValue.allowCustomBandwidth = allowCustomBandwidth; + _resultValue.allowRemoteConnections = allowRemoteConnections; + _resultValue.apiConfigs = apiConfigs; + _resultValue.authenticationKeys = authenticationKeys; + _resultValue.bandwidthAlertThreshold = bandwidthAlertThreshold; + _resultValue.connectionLabel = connectionLabel; + _resultValue.connectionRedundancyRequired = connectionRedundancyRequired; + _resultValue.enableAutoGenerateServiceKey = enableAutoGenerateServiceKey; + _resultValue.linkProtocolConfigs = linkProtocolConfigs; + _resultValue.supportedBandwidths = supportedBandwidths; + _resultValue.type = type; + _resultValue.uuid = uuid; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfig.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfig.java index bf61169f..c8c5558f 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfig.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfig.java @@ -106,15 +106,15 @@ public Builder overSubscriptionLimit(Integer overSubscriptionLimit) { return this; } public GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfig build() { - final var o = new GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfig(); - o.allowOverSubscription = allowOverSubscription; - o.apiAvailable = apiAvailable; - o.bandwidthFromApi = bandwidthFromApi; - o.equinixManagedPort = equinixManagedPort; - o.equinixManagedVlan = equinixManagedVlan; - o.integrationId = integrationId; - o.overSubscriptionLimit = overSubscriptionLimit; - return o; + final var _resultValue = new GetConnectionASideAccessPointProfileAccessPointTypeConfigApiConfig(); + _resultValue.allowOverSubscription = allowOverSubscription; + _resultValue.apiAvailable = apiAvailable; + _resultValue.bandwidthFromApi = bandwidthFromApi; + _resultValue.equinixManagedPort = equinixManagedPort; + _resultValue.equinixManagedVlan = equinixManagedVlan; + _resultValue.integrationId = integrationId; + _resultValue.overSubscriptionLimit = overSubscriptionLimit; + return _resultValue; } } } 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 eea764a2..3e9cfbef 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 @@ -61,11 +61,11 @@ public Builder required(Boolean required) { return this; } public GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKey build() { - final var o = new GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKey(); - o.description = description; - o.label = label; - o.required = required; - return o; + final var _resultValue = new GetConnectionASideAccessPointProfileAccessPointTypeConfigAuthenticationKey(); + _resultValue.description = description; + _resultValue.label = label; + _resultValue.required = required; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfig.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfig.java index 96396ca1..95e75bfc 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfig.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfig.java @@ -61,11 +61,11 @@ public Builder reuseVlanSTag(Boolean reuseVlanSTag) { return this; } public GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfig build() { - final var o = new GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfig(); - o.encapsulation = encapsulation; - o.encapsulationStrategy = encapsulationStrategy; - o.reuseVlanSTag = reuseVlanSTag; - return o; + final var _resultValue = new GetConnectionASideAccessPointProfileAccessPointTypeConfigLinkProtocolConfig(); + _resultValue.encapsulation = encapsulation; + _resultValue.encapsulationStrategy = encapsulationStrategy; + _resultValue.reuseVlanSTag = reuseVlanSTag; + return _resultValue; } } } 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 index 93a9677c..8785ee12 100644 --- 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 @@ -60,11 +60,11 @@ public Builder uuid(String uuid) { return this; } public GetConnectionASideAccessPointRouter build() { - final var o = new GetConnectionASideAccessPointRouter(); - o.href = href; - o.state = state; - o.uuid = uuid; - return o; + final var _resultValue = new GetConnectionASideAccessPointRouter(); + _resultValue.href = href; + _resultValue.state = state; + _resultValue.uuid = uuid; + return _resultValue; } } } 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 43a79d96..289ae53a 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 @@ -60,11 +60,11 @@ public Builder uuid(String uuid) { return this; } public GetConnectionASideAccessPointVirtualDevice build() { - final var o = new GetConnectionASideAccessPointVirtualDevice(); - o.href = href; - o.type = type; - o.uuid = uuid; - return o; + final var _resultValue = new GetConnectionASideAccessPointVirtualDevice(); + _resultValue.href = href; + _resultValue.type = type; + _resultValue.uuid = uuid; + return _resultValue; } } } 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 e78260fe..6cfa7fc4 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 @@ -71,12 +71,12 @@ public Builder uuid(String uuid) { return this; } public GetConnectionASideServiceToken build() { - final var o = new GetConnectionASideServiceToken(); - o.description = description; - o.href = href; - o.type = type; - o.uuid = uuid; - return o; + final var _resultValue = new GetConnectionASideServiceToken(); + _resultValue.description = description; + _resultValue.href = href; + _resultValue.type = type; + _resultValue.uuid = uuid; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionAccount.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionAccount.java index c44e5f2e..b6b53bd1 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionAccount.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionAccount.java @@ -105,15 +105,15 @@ public Builder organizationName(String organizationName) { return this; } public GetConnectionAccount build() { - final var o = new GetConnectionAccount(); - o.accountName = accountName; - o.accountNumber = accountNumber; - o.globalCustId = globalCustId; - o.globalOrgId = globalOrgId; - o.globalOrganizationName = globalOrganizationName; - o.orgId = orgId; - o.organizationName = organizationName; - return o; + final var _resultValue = new GetConnectionAccount(); + _resultValue.accountName = accountName; + _resultValue.accountNumber = accountNumber; + _resultValue.globalCustId = globalCustId; + _resultValue.globalOrgId = globalOrgId; + _resultValue.globalOrganizationName = globalOrganizationName; + _resultValue.orgId = orgId; + _resultValue.organizationName = organizationName; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionAdditionalInfo.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionAdditionalInfo.java index 886424d7..259917e4 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionAdditionalInfo.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionAdditionalInfo.java @@ -49,10 +49,10 @@ public Builder value(String value) { return this; } public GetConnectionAdditionalInfo build() { - final var o = new GetConnectionAdditionalInfo(); - o.key = key; - o.value = value; - return o; + final var _resultValue = new GetConnectionAdditionalInfo(); + _resultValue.key = key; + _resultValue.value = value; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionChangeLog.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionChangeLog.java index fb9ebd00..6ecb5c71 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionChangeLog.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionChangeLog.java @@ -159,20 +159,20 @@ public Builder updatedDateTime(String updatedDateTime) { return this; } public GetConnectionChangeLog build() { - final var o = new GetConnectionChangeLog(); - 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; + final var _resultValue = new GetConnectionChangeLog(); + _resultValue.createdBy = createdBy; + _resultValue.createdByEmail = createdByEmail; + _resultValue.createdByFullName = createdByFullName; + _resultValue.createdDateTime = createdDateTime; + _resultValue.deletedBy = deletedBy; + _resultValue.deletedByEmail = deletedByEmail; + _resultValue.deletedByFullName = deletedByFullName; + _resultValue.deletedDateTime = deletedDateTime; + _resultValue.updatedBy = updatedBy; + _resultValue.updatedByEmail = updatedByEmail; + _resultValue.updatedByFullName = updatedByFullName; + _resultValue.updatedDateTime = updatedDateTime; + return _resultValue; } } } 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 1e82d7f9..7998670d 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 @@ -64,11 +64,11 @@ public Builder type(String type) { return this; } public GetConnectionNotification build() { - final var o = new GetConnectionNotification(); - o.emails = emails; - o.sendInterval = sendInterval; - o.type = type; - return o; + final var _resultValue = new GetConnectionNotification(); + _resultValue.emails = emails; + _resultValue.sendInterval = sendInterval; + _resultValue.type = type; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionOperation.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionOperation.java index b0eea539..08c67adc 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionOperation.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionOperation.java @@ -65,11 +65,11 @@ public Builder providerStatus(String providerStatus) { return this; } public GetConnectionOperation build() { - final var o = new GetConnectionOperation(); - o.equinixStatus = equinixStatus; - o.errors = errors; - o.providerStatus = providerStatus; - return o; + final var _resultValue = new GetConnectionOperation(); + _resultValue.equinixStatus = equinixStatus; + _resultValue.errors = errors; + _resultValue.providerStatus = providerStatus; + return _resultValue; } } } 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 7cb8fa15..88227f18 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 @@ -98,14 +98,14 @@ public Builder help(String help) { return this; } public GetConnectionOperationError build() { - final var o = new GetConnectionOperationError(); - o.additionalInfos = additionalInfos; - o.correlationId = correlationId; - o.details = details; - o.errorCode = errorCode; - o.errorMessage = errorMessage; - o.help = help; - return o; + final var _resultValue = new GetConnectionOperationError(); + _resultValue.additionalInfos = additionalInfos; + _resultValue.correlationId = correlationId; + _resultValue.details = details; + _resultValue.errorCode = errorCode; + _resultValue.errorMessage = errorMessage; + _resultValue.help = help; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionOperationErrorAdditionalInfo.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionOperationErrorAdditionalInfo.java index 27e17d96..51f12d40 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionOperationErrorAdditionalInfo.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionOperationErrorAdditionalInfo.java @@ -49,10 +49,10 @@ public Builder reason(String reason) { return this; } public GetConnectionOperationErrorAdditionalInfo build() { - final var o = new GetConnectionOperationErrorAdditionalInfo(); - o.property = property; - o.reason = reason; - return o; + final var _resultValue = new GetConnectionOperationErrorAdditionalInfo(); + _resultValue.property = property; + _resultValue.reason = reason; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionOrder.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionOrder.java index 101d754d..e717d400 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionOrder.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionOrder.java @@ -71,12 +71,12 @@ public Builder purchaseOrderNumber(String purchaseOrderNumber) { return this; } public GetConnectionOrder build() { - final var o = new GetConnectionOrder(); - o.billingTier = billingTier; - o.orderId = orderId; - o.orderNumber = orderNumber; - o.purchaseOrderNumber = purchaseOrderNumber; - return o; + final var _resultValue = new GetConnectionOrder(); + _resultValue.billingTier = billingTier; + _resultValue.orderId = orderId; + _resultValue.orderNumber = orderNumber; + _resultValue.purchaseOrderNumber = purchaseOrderNumber; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionProject.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionProject.java index fe4b8a76..8d34949d 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionProject.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionProject.java @@ -65,10 +65,10 @@ public Builder projectId(String projectId) { return this; } public GetConnectionProject build() { - final var o = new GetConnectionProject(); - o.href = href; - o.projectId = projectId; - return o; + final var _resultValue = new GetConnectionProject(); + _resultValue.href = href; + _resultValue.projectId = projectId; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionRedundancy.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionRedundancy.java index e9b6e3d1..d22f446b 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionRedundancy.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionRedundancy.java @@ -49,10 +49,10 @@ public Builder priority(String priority) { return this; } public GetConnectionRedundancy build() { - final var o = new GetConnectionRedundancy(); - o.group = group; - o.priority = priority; - return o; + final var _resultValue = new GetConnectionRedundancy(); + _resultValue.group = group; + _resultValue.priority = priority; + return _resultValue; } } } 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 fb6b78a7..95a12c9c 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 @@ -428,28 +428,28 @@ public Builder zSide(GetConnectionZSide zSide) { return this; } public GetConnectionResult build() { - final var o = new GetConnectionResult(); - o.aSide = aSide; - o.account = account; - o.additionalInfo = additionalInfo; - o.bandwidth = bandwidth; - o.changeLog = changeLog; - o.description = description; - o.direction = direction; - o.href = href; - o.id = id; - o.isRemote = isRemote; - o.name = name; - o.notifications = notifications; - o.operation = operation; - o.order = order; - o.project = project; - o.redundancy = redundancy; - o.state = state; - o.type = type; - o.uuid = uuid; - o.zSide = zSide; - return o; + final var _resultValue = new GetConnectionResult(); + _resultValue.aSide = aSide; + _resultValue.account = account; + _resultValue.additionalInfo = additionalInfo; + _resultValue.bandwidth = bandwidth; + _resultValue.changeLog = changeLog; + _resultValue.description = description; + _resultValue.direction = direction; + _resultValue.href = href; + _resultValue.id = id; + _resultValue.isRemote = isRemote; + _resultValue.name = name; + _resultValue.notifications = notifications; + _resultValue.operation = operation; + _resultValue.order = order; + _resultValue.project = project; + _resultValue.redundancy = redundancy; + _resultValue.state = state; + _resultValue.type = type; + _resultValue.uuid = uuid; + _resultValue.zSide = zSide; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionZSide.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionZSide.java index 5a06035f..8bbdaa29 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionZSide.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionZSide.java @@ -50,10 +50,10 @@ public Builder serviceToken(GetConnectionZSideServiceToken serviceToken) { return this; } public GetConnectionZSide build() { - final var o = new GetConnectionZSide(); - o.accessPoint = accessPoint; - o.serviceToken = serviceToken; - return o; + final var _resultValue = new GetConnectionZSide(); + _resultValue.accessPoint = accessPoint; + _resultValue.serviceToken = serviceToken; + return _resultValue; } } } 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 f80a816c..40233fa4 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 @@ -238,22 +238,22 @@ public Builder virtualDevices(GetConnectionZSideAccessPointVirtualDevice... virt return virtualDevices(List.of(virtualDevices)); } public GetConnectionZSideAccessPoint build() { - final var o = new GetConnectionZSideAccessPoint(); - o.accounts = accounts; - o.authenticationKey = authenticationKey; - o.gateways = gateways; - o.interfaces = interfaces; - o.linkProtocols = linkProtocols; - o.locations = locations; - o.peeringType = peeringType; - o.ports = ports; - o.profiles = profiles; - o.providerConnectionId = providerConnectionId; - o.routers = routers; - o.sellerRegion = sellerRegion; - o.type = type; - o.virtualDevices = virtualDevices; - return o; + final var _resultValue = new GetConnectionZSideAccessPoint(); + _resultValue.accounts = accounts; + _resultValue.authenticationKey = authenticationKey; + _resultValue.gateways = gateways; + _resultValue.interfaces = interfaces; + _resultValue.linkProtocols = linkProtocols; + _resultValue.locations = locations; + _resultValue.peeringType = peeringType; + _resultValue.ports = ports; + _resultValue.profiles = profiles; + _resultValue.providerConnectionId = providerConnectionId; + _resultValue.routers = routers; + _resultValue.sellerRegion = sellerRegion; + _resultValue.type = type; + _resultValue.virtualDevices = virtualDevices; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionZSideAccessPointAccount.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionZSideAccessPointAccount.java index b452f253..35e926a9 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionZSideAccessPointAccount.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionZSideAccessPointAccount.java @@ -105,15 +105,15 @@ public Builder organizationName(String organizationName) { return this; } public GetConnectionZSideAccessPointAccount build() { - final var o = new GetConnectionZSideAccessPointAccount(); - o.accountName = accountName; - o.accountNumber = accountNumber; - o.globalCustId = globalCustId; - o.globalOrgId = globalOrgId; - o.globalOrganizationName = globalOrganizationName; - o.orgId = orgId; - o.organizationName = organizationName; - return o; + final var _resultValue = new GetConnectionZSideAccessPointAccount(); + _resultValue.accountName = accountName; + _resultValue.accountNumber = accountNumber; + _resultValue.globalCustId = globalCustId; + _resultValue.globalOrgId = globalOrgId; + _resultValue.globalOrganizationName = globalOrganizationName; + _resultValue.orgId = orgId; + _resultValue.organizationName = organizationName; + return _resultValue; } } } 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 fdc02b20..9955540f 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 @@ -60,11 +60,11 @@ public Builder uuid(String uuid) { return this; } public GetConnectionZSideAccessPointGateway build() { - final var o = new GetConnectionZSideAccessPointGateway(); - o.href = href; - o.state = state; - o.uuid = uuid; - return o; + final var _resultValue = new GetConnectionZSideAccessPointGateway(); + _resultValue.href = href; + _resultValue.state = state; + _resultValue.uuid = uuid; + return _resultValue; } } } 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 420c8d6b..ede9b108 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 @@ -60,11 +60,11 @@ public Builder uuid(String uuid) { return this; } public GetConnectionZSideAccessPointInterface build() { - final var o = new GetConnectionZSideAccessPointInterface(); - o.id = id; - o.type = type; - o.uuid = uuid; - return o; + final var _resultValue = new GetConnectionZSideAccessPointInterface(); + _resultValue.id = id; + _resultValue.type = type; + _resultValue.uuid = uuid; + return _resultValue; } } } 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 ab9a57e6..dce2a172 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 @@ -72,12 +72,12 @@ public Builder vlanTag(Integer vlanTag) { return this; } public GetConnectionZSideAccessPointLinkProtocol build() { - final var o = new GetConnectionZSideAccessPointLinkProtocol(); - o.type = type; - o.vlanCTag = vlanCTag; - o.vlanSTag = vlanSTag; - o.vlanTag = vlanTag; - return o; + final var _resultValue = new GetConnectionZSideAccessPointLinkProtocol(); + _resultValue.type = type; + _resultValue.vlanCTag = vlanCTag; + _resultValue.vlanSTag = vlanSTag; + _resultValue.vlanTag = vlanTag; + return _resultValue; } } } 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 fa539581..89bfa4a9 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 @@ -82,13 +82,13 @@ public Builder region(String region) { return this; } public GetConnectionZSideAccessPointLocation build() { - final var o = new GetConnectionZSideAccessPointLocation(); - o.href = href; - o.ibx = ibx; - o.metroCode = metroCode; - o.metroName = metroName; - o.region = region; - return o; + final var _resultValue = new GetConnectionZSideAccessPointLocation(); + _resultValue.href = href; + _resultValue.ibx = ibx; + _resultValue.metroCode = metroCode; + _resultValue.metroName = metroName; + _resultValue.region = region; + return _resultValue; } } } 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 b4b35e59..84bcf053 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 @@ -76,12 +76,12 @@ public Builder uuid(String uuid) { return this; } public GetConnectionZSideAccessPointPort build() { - final var o = new GetConnectionZSideAccessPointPort(); - o.href = href; - o.name = name; - o.redundancies = redundancies; - o.uuid = uuid; - return o; + final var _resultValue = new GetConnectionZSideAccessPointPort(); + _resultValue.href = href; + _resultValue.name = name; + _resultValue.redundancies = redundancies; + _resultValue.uuid = uuid; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionZSideAccessPointPortRedundancy.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionZSideAccessPointPortRedundancy.java index 12e37c49..58ba4ed7 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionZSideAccessPointPortRedundancy.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionZSideAccessPointPortRedundancy.java @@ -38,9 +38,9 @@ public Builder priority(String priority) { return this; } public GetConnectionZSideAccessPointPortRedundancy build() { - final var o = new GetConnectionZSideAccessPointPortRedundancy(); - o.priority = priority; - return o; + final var _resultValue = new GetConnectionZSideAccessPointPortRedundancy(); + _resultValue.priority = priority; + return _resultValue; } } } 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 7228f33f..2891d8c4 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 @@ -98,14 +98,14 @@ public Builder uuid(String uuid) { return this; } public GetConnectionZSideAccessPointProfile build() { - final var o = new GetConnectionZSideAccessPointProfile(); - o.accessPointTypeConfigs = accessPointTypeConfigs; - o.description = description; - o.href = href; - o.name = name; - o.type = type; - o.uuid = uuid; - return o; + final var _resultValue = new GetConnectionZSideAccessPointProfile(); + _resultValue.accessPointTypeConfigs = accessPointTypeConfigs; + _resultValue.description = description; + _resultValue.href = href; + _resultValue.name = name; + _resultValue.type = type; + _resultValue.uuid = uuid; + return _resultValue; } } } 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 83df298b..ea82549d 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 @@ -200,22 +200,22 @@ public Builder uuid(String uuid) { return this; } public GetConnectionZSideAccessPointProfileAccessPointTypeConfig build() { - final var o = new GetConnectionZSideAccessPointProfileAccessPointTypeConfig(); - o.allowBandwidthAutoApproval = allowBandwidthAutoApproval; - o.allowBandwidthUpgrade = allowBandwidthUpgrade; - o.allowCustomBandwidth = allowCustomBandwidth; - o.allowRemoteConnections = allowRemoteConnections; - o.apiConfigs = apiConfigs; - o.authenticationKeys = authenticationKeys; - o.bandwidthAlertThreshold = bandwidthAlertThreshold; - o.connectionLabel = connectionLabel; - o.connectionRedundancyRequired = connectionRedundancyRequired; - o.enableAutoGenerateServiceKey = enableAutoGenerateServiceKey; - o.linkProtocolConfigs = linkProtocolConfigs; - o.supportedBandwidths = supportedBandwidths; - o.type = type; - o.uuid = uuid; - return o; + final var _resultValue = new GetConnectionZSideAccessPointProfileAccessPointTypeConfig(); + _resultValue.allowBandwidthAutoApproval = allowBandwidthAutoApproval; + _resultValue.allowBandwidthUpgrade = allowBandwidthUpgrade; + _resultValue.allowCustomBandwidth = allowCustomBandwidth; + _resultValue.allowRemoteConnections = allowRemoteConnections; + _resultValue.apiConfigs = apiConfigs; + _resultValue.authenticationKeys = authenticationKeys; + _resultValue.bandwidthAlertThreshold = bandwidthAlertThreshold; + _resultValue.connectionLabel = connectionLabel; + _resultValue.connectionRedundancyRequired = connectionRedundancyRequired; + _resultValue.enableAutoGenerateServiceKey = enableAutoGenerateServiceKey; + _resultValue.linkProtocolConfigs = linkProtocolConfigs; + _resultValue.supportedBandwidths = supportedBandwidths; + _resultValue.type = type; + _resultValue.uuid = uuid; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfig.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfig.java index c2b8b629..e0e8c1a8 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfig.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfig.java @@ -106,15 +106,15 @@ public Builder overSubscriptionLimit(Integer overSubscriptionLimit) { return this; } public GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfig build() { - final var o = new GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfig(); - o.allowOverSubscription = allowOverSubscription; - o.apiAvailable = apiAvailable; - o.bandwidthFromApi = bandwidthFromApi; - o.equinixManagedPort = equinixManagedPort; - o.equinixManagedVlan = equinixManagedVlan; - o.integrationId = integrationId; - o.overSubscriptionLimit = overSubscriptionLimit; - return o; + final var _resultValue = new GetConnectionZSideAccessPointProfileAccessPointTypeConfigApiConfig(); + _resultValue.allowOverSubscription = allowOverSubscription; + _resultValue.apiAvailable = apiAvailable; + _resultValue.bandwidthFromApi = bandwidthFromApi; + _resultValue.equinixManagedPort = equinixManagedPort; + _resultValue.equinixManagedVlan = equinixManagedVlan; + _resultValue.integrationId = integrationId; + _resultValue.overSubscriptionLimit = overSubscriptionLimit; + return _resultValue; } } } 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 c7d52669..aa77866f 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 @@ -61,11 +61,11 @@ public Builder required(Boolean required) { return this; } public GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKey build() { - final var o = new GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKey(); - o.description = description; - o.label = label; - o.required = required; - return o; + final var _resultValue = new GetConnectionZSideAccessPointProfileAccessPointTypeConfigAuthenticationKey(); + _resultValue.description = description; + _resultValue.label = label; + _resultValue.required = required; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfig.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfig.java index fc4ea61e..c43fb321 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfig.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfig.java @@ -61,11 +61,11 @@ public Builder reuseVlanSTag(Boolean reuseVlanSTag) { return this; } public GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfig build() { - final var o = new GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfig(); - o.encapsulation = encapsulation; - o.encapsulationStrategy = encapsulationStrategy; - o.reuseVlanSTag = reuseVlanSTag; - return o; + final var _resultValue = new GetConnectionZSideAccessPointProfileAccessPointTypeConfigLinkProtocolConfig(); + _resultValue.encapsulation = encapsulation; + _resultValue.encapsulationStrategy = encapsulationStrategy; + _resultValue.reuseVlanSTag = reuseVlanSTag; + return _resultValue; } } } 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 index c59938fb..667300e9 100644 --- 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 @@ -60,11 +60,11 @@ public Builder uuid(String uuid) { return this; } public GetConnectionZSideAccessPointRouter build() { - final var o = new GetConnectionZSideAccessPointRouter(); - o.href = href; - o.state = state; - o.uuid = uuid; - return o; + final var _resultValue = new GetConnectionZSideAccessPointRouter(); + _resultValue.href = href; + _resultValue.state = state; + _resultValue.uuid = uuid; + return _resultValue; } } } 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 090159af..253cb22c 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 @@ -60,11 +60,11 @@ public Builder uuid(String uuid) { return this; } public GetConnectionZSideAccessPointVirtualDevice build() { - final var o = new GetConnectionZSideAccessPointVirtualDevice(); - o.href = href; - o.type = type; - o.uuid = uuid; - return o; + final var _resultValue = new GetConnectionZSideAccessPointVirtualDevice(); + _resultValue.href = href; + _resultValue.type = type; + _resultValue.uuid = uuid; + return _resultValue; } } } 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 80838397..63deabb8 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 @@ -71,12 +71,12 @@ public Builder uuid(String uuid) { return this; } public GetConnectionZSideServiceToken build() { - final var o = new GetConnectionZSideServiceToken(); - o.description = description; - o.href = href; - o.type = type; - o.uuid = uuid; - return o; + final var _resultValue = new GetConnectionZSideServiceToken(); + _resultValue.description = description; + _resultValue.href = href; + _resultValue.type = type; + _resultValue.uuid = uuid; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetPortAccount.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetPortAccount.java index 579ad44c..e8685849 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetPortAccount.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetPortAccount.java @@ -105,15 +105,15 @@ public Builder organizationName(String organizationName) { return this; } public GetPortAccount build() { - final var o = new GetPortAccount(); - o.accountName = accountName; - o.accountNumber = accountNumber; - o.globalCustId = globalCustId; - o.globalOrgId = globalOrgId; - o.globalOrganizationName = globalOrganizationName; - o.orgId = orgId; - o.organizationName = organizationName; - return o; + final var _resultValue = new GetPortAccount(); + _resultValue.accountName = accountName; + _resultValue.accountNumber = accountNumber; + _resultValue.globalCustId = globalCustId; + _resultValue.globalOrgId = globalOrgId; + _resultValue.globalOrganizationName = globalOrganizationName; + _resultValue.orgId = orgId; + _resultValue.organizationName = organizationName; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetPortChangeLog.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetPortChangeLog.java index f9fedf05..179ea084 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetPortChangeLog.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetPortChangeLog.java @@ -159,20 +159,20 @@ public Builder updatedDateTime(String updatedDateTime) { return this; } public GetPortChangeLog build() { - final var o = new GetPortChangeLog(); - 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; + final var _resultValue = new GetPortChangeLog(); + _resultValue.createdBy = createdBy; + _resultValue.createdByEmail = createdByEmail; + _resultValue.createdByFullName = createdByFullName; + _resultValue.createdDateTime = createdDateTime; + _resultValue.deletedBy = deletedBy; + _resultValue.deletedByEmail = deletedByEmail; + _resultValue.deletedByFullName = deletedByFullName; + _resultValue.deletedDateTime = deletedDateTime; + _resultValue.updatedBy = updatedBy; + _resultValue.updatedByEmail = updatedByEmail; + _resultValue.updatedByFullName = updatedByFullName; + _resultValue.updatedDateTime = updatedDateTime; + return _resultValue; } } } 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 79d4da07..f27a853f 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 @@ -54,10 +54,10 @@ public Builder redundancies(GetPortDeviceRedundancy... redundancies) { return redundancies(List.of(redundancies)); } public GetPortDevice build() { - final var o = new GetPortDevice(); - o.name = name; - o.redundancies = redundancies; - return o; + final var _resultValue = new GetPortDevice(); + _resultValue.name = name; + _resultValue.redundancies = redundancies; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetPortDeviceRedundancy.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetPortDeviceRedundancy.java index c29df0c1..5883d9d5 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetPortDeviceRedundancy.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetPortDeviceRedundancy.java @@ -49,10 +49,10 @@ public Builder priority(String priority) { return this; } public GetPortDeviceRedundancy build() { - final var o = new GetPortDeviceRedundancy(); - o.group = group; - o.priority = priority; - return o; + final var _resultValue = new GetPortDeviceRedundancy(); + _resultValue.group = group; + _resultValue.priority = priority; + return _resultValue; } } } 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 7d293f78..4212f06d 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 @@ -49,10 +49,10 @@ public Builder type(String type) { return this; } public GetPortEncapsulation build() { - final var o = new GetPortEncapsulation(); - o.tagProtocolId = tagProtocolId; - o.type = type; - return o; + final var _resultValue = new GetPortEncapsulation(); + _resultValue.tagProtocolId = tagProtocolId; + _resultValue.type = type; + return _resultValue; } } } 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 a456d590..95778643 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 @@ -82,13 +82,13 @@ public Builder region(String region) { return this; } public GetPortLocation build() { - final var o = new GetPortLocation(); - o.href = href; - o.ibx = ibx; - o.metroCode = metroCode; - o.metroName = metroName; - o.region = region; - return o; + final var _resultValue = new GetPortLocation(); + _resultValue.href = href; + _resultValue.ibx = ibx; + _resultValue.metroCode = metroCode; + _resultValue.metroName = metroName; + _resultValue.region = region; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetPortOperation.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetPortOperation.java index fea6769e..9598bfb1 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetPortOperation.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetPortOperation.java @@ -61,11 +61,11 @@ public Builder operationalStatus(String operationalStatus) { return this; } public GetPortOperation build() { - final var o = new GetPortOperation(); - o.connectionCount = connectionCount; - o.opStatusChangedAt = opStatusChangedAt; - o.operationalStatus = operationalStatus; - return o; + final var _resultValue = new GetPortOperation(); + _resultValue.connectionCount = connectionCount; + _resultValue.opStatusChangedAt = opStatusChangedAt; + _resultValue.operationalStatus = operationalStatus; + return _resultValue; } } } 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 5a0d86ab..4eacbb68 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 @@ -61,11 +61,11 @@ public Builder priority(String priority) { return this; } public GetPortRedundancy build() { - final var o = new GetPortRedundancy(); - o.enabled = enabled; - o.group = group; - o.priority = priority; - return o; + final var _resultValue = new GetPortRedundancy(); + _resultValue.enabled = enabled; + _resultValue.group = group; + _resultValue.priority = priority; + return _resultValue; } } } 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 824606f6..2cfae4a4 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 @@ -389,27 +389,27 @@ public Builder uuid(String uuid) { return this; } public GetPortResult build() { - final var o = new GetPortResult(); - o.account = account; - o.availableBandwidth = availableBandwidth; - o.bandwidth = bandwidth; - o.changeLog = changeLog; - o.description = description; - o.device = device; - o.encapsulation = encapsulation; - o.href = href; - o.id = id; - o.lagEnabled = lagEnabled; - o.location = location; - o.name = name; - o.operation = operation; - o.redundancy = redundancy; - o.serviceType = serviceType; - o.state = state; - o.type = type; - o.usedBandwidth = usedBandwidth; - o.uuid = uuid; - return o; + final var _resultValue = new GetPortResult(); + _resultValue.account = account; + _resultValue.availableBandwidth = availableBandwidth; + _resultValue.bandwidth = bandwidth; + _resultValue.changeLog = changeLog; + _resultValue.description = description; + _resultValue.device = device; + _resultValue.encapsulation = encapsulation; + _resultValue.href = href; + _resultValue.id = id; + _resultValue.lagEnabled = lagEnabled; + _resultValue.location = location; + _resultValue.name = name; + _resultValue.operation = operation; + _resultValue.redundancy = redundancy; + _resultValue.serviceType = serviceType; + _resultValue.state = state; + _resultValue.type = type; + _resultValue.usedBandwidth = usedBandwidth; + _resultValue.uuid = uuid; + return _resultValue; } } } 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 39dc9adb..6996663d 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 @@ -258,26 +258,26 @@ public Builder uuid(@Nullable String uuid) { return this; } public GetPortsDatum build() { - final var o = new GetPortsDatum(); - o.accounts = accounts; - o.availableBandwidth = availableBandwidth; - o.bandwidth = bandwidth; - o.changeLogs = changeLogs; - o.description = description; - o.devices = devices; - o.encapsulations = encapsulations; - o.href = href; - o.lagEnabled = lagEnabled; - o.locations = locations; - o.name = name; - o.operations = operations; - o.redundancies = redundancies; - o.serviceType = serviceType; - o.state = state; - o.type = type; - o.usedBandwidth = usedBandwidth; - o.uuid = uuid; - return o; + final var _resultValue = new GetPortsDatum(); + _resultValue.accounts = accounts; + _resultValue.availableBandwidth = availableBandwidth; + _resultValue.bandwidth = bandwidth; + _resultValue.changeLogs = changeLogs; + _resultValue.description = description; + _resultValue.devices = devices; + _resultValue.encapsulations = encapsulations; + _resultValue.href = href; + _resultValue.lagEnabled = lagEnabled; + _resultValue.locations = locations; + _resultValue.name = name; + _resultValue.operations = operations; + _resultValue.redundancies = redundancies; + _resultValue.serviceType = serviceType; + _resultValue.state = state; + _resultValue.type = type; + _resultValue.usedBandwidth = usedBandwidth; + _resultValue.uuid = uuid; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetPortsDatumAccount.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetPortsDatumAccount.java index 642a6fe2..dcf77734 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetPortsDatumAccount.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetPortsDatumAccount.java @@ -105,15 +105,15 @@ public Builder organizationName(String organizationName) { return this; } public GetPortsDatumAccount build() { - final var o = new GetPortsDatumAccount(); - o.accountName = accountName; - o.accountNumber = accountNumber; - o.globalCustId = globalCustId; - o.globalOrgId = globalOrgId; - o.globalOrganizationName = globalOrganizationName; - o.orgId = orgId; - o.organizationName = organizationName; - return o; + final var _resultValue = new GetPortsDatumAccount(); + _resultValue.accountName = accountName; + _resultValue.accountNumber = accountNumber; + _resultValue.globalCustId = globalCustId; + _resultValue.globalOrgId = globalOrgId; + _resultValue.globalOrganizationName = globalOrganizationName; + _resultValue.orgId = orgId; + _resultValue.organizationName = organizationName; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetPortsDatumChangeLog.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetPortsDatumChangeLog.java index a56258ed..353dd2df 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetPortsDatumChangeLog.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetPortsDatumChangeLog.java @@ -159,20 +159,20 @@ public Builder updatedDateTime(String updatedDateTime) { return this; } public GetPortsDatumChangeLog build() { - final var o = new GetPortsDatumChangeLog(); - 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; + final var _resultValue = new GetPortsDatumChangeLog(); + _resultValue.createdBy = createdBy; + _resultValue.createdByEmail = createdByEmail; + _resultValue.createdByFullName = createdByFullName; + _resultValue.createdDateTime = createdDateTime; + _resultValue.deletedBy = deletedBy; + _resultValue.deletedByEmail = deletedByEmail; + _resultValue.deletedByFullName = deletedByFullName; + _resultValue.deletedDateTime = deletedDateTime; + _resultValue.updatedBy = updatedBy; + _resultValue.updatedByEmail = updatedByEmail; + _resultValue.updatedByFullName = updatedByFullName; + _resultValue.updatedDateTime = updatedDateTime; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetPortsDatumDevice.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetPortsDatumDevice.java index a9c1e958..1467e05a 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetPortsDatumDevice.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetPortsDatumDevice.java @@ -54,10 +54,10 @@ public Builder redundancies(GetPortsDatumDeviceRedundancy... redundancies) { return redundancies(List.of(redundancies)); } public GetPortsDatumDevice build() { - final var o = new GetPortsDatumDevice(); - o.name = name; - o.redundancies = redundancies; - return o; + final var _resultValue = new GetPortsDatumDevice(); + _resultValue.name = name; + _resultValue.redundancies = redundancies; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetPortsDatumDeviceRedundancy.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetPortsDatumDeviceRedundancy.java index 20a1bb58..46ddf247 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetPortsDatumDeviceRedundancy.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetPortsDatumDeviceRedundancy.java @@ -49,10 +49,10 @@ public Builder priority(String priority) { return this; } public GetPortsDatumDeviceRedundancy build() { - final var o = new GetPortsDatumDeviceRedundancy(); - o.group = group; - o.priority = priority; - return o; + final var _resultValue = new GetPortsDatumDeviceRedundancy(); + _resultValue.group = group; + _resultValue.priority = priority; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetPortsDatumEncapsulation.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetPortsDatumEncapsulation.java index 15e193fc..50460b63 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetPortsDatumEncapsulation.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetPortsDatumEncapsulation.java @@ -49,10 +49,10 @@ public Builder type(String type) { return this; } public GetPortsDatumEncapsulation build() { - final var o = new GetPortsDatumEncapsulation(); - o.tagProtocolId = tagProtocolId; - o.type = type; - return o; + final var _resultValue = new GetPortsDatumEncapsulation(); + _resultValue.tagProtocolId = tagProtocolId; + _resultValue.type = type; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetPortsDatumLocation.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetPortsDatumLocation.java index 4a918f7e..34ce98d2 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetPortsDatumLocation.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetPortsDatumLocation.java @@ -82,13 +82,13 @@ public Builder region(String region) { return this; } public GetPortsDatumLocation build() { - final var o = new GetPortsDatumLocation(); - o.href = href; - o.ibx = ibx; - o.metroCode = metroCode; - o.metroName = metroName; - o.region = region; - return o; + final var _resultValue = new GetPortsDatumLocation(); + _resultValue.href = href; + _resultValue.ibx = ibx; + _resultValue.metroCode = metroCode; + _resultValue.metroName = metroName; + _resultValue.region = region; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetPortsDatumOperation.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetPortsDatumOperation.java index ae5188a3..4e4a954b 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetPortsDatumOperation.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetPortsDatumOperation.java @@ -61,11 +61,11 @@ public Builder operationalStatus(String operationalStatus) { return this; } public GetPortsDatumOperation build() { - final var o = new GetPortsDatumOperation(); - o.connectionCount = connectionCount; - o.opStatusChangedAt = opStatusChangedAt; - o.operationalStatus = operationalStatus; - return o; + final var _resultValue = new GetPortsDatumOperation(); + _resultValue.connectionCount = connectionCount; + _resultValue.opStatusChangedAt = opStatusChangedAt; + _resultValue.operationalStatus = operationalStatus; + return _resultValue; } } } 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 17a17474..c5169566 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 @@ -61,11 +61,11 @@ public Builder priority(String priority) { return this; } public GetPortsDatumRedundancy build() { - final var o = new GetPortsDatumRedundancy(); - o.enabled = enabled; - o.group = group; - o.priority = priority; - return o; + final var _resultValue = new GetPortsDatumRedundancy(); + _resultValue.enabled = enabled; + _resultValue.group = group; + _resultValue.priority = priority; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetPortsFilter.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetPortsFilter.java index c4039fba..5684acc4 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetPortsFilter.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetPortsFilter.java @@ -48,9 +48,9 @@ public Builder name(@Nullable String name) { return this; } public GetPortsFilter build() { - final var o = new GetPortsFilter(); - o.name = name; - return o; + final var _resultValue = new GetPortsFilter(); + _resultValue.name = name; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetPortsResult.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetPortsResult.java index 2aa86f4a..f5e0ed76 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetPortsResult.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetPortsResult.java @@ -92,11 +92,11 @@ public Builder id(String id) { return this; } public GetPortsResult build() { - final var o = new GetPortsResult(); - o.data = data; - o.filter = filter; - o.id = id; - return o; + final var _resultValue = new GetPortsResult(); + _resultValue.data = data; + _resultValue.filter = filter; + _resultValue.id = id; + return _resultValue; } } } 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 index 042c4268..cadcd5da 100644 --- 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 @@ -68,10 +68,10 @@ public Builder interval(@Nullable String interval) { return this; } public GetRoutingProtocolBfd build() { - final var o = new GetRoutingProtocolBfd(); - o.enabled = enabled; - o.interval = interval; - return o; + final var _resultValue = new GetRoutingProtocolBfd(); + _resultValue.enabled = enabled; + _resultValue.interval = interval; + return _resultValue; } } } 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 index de40b77d..31b200bf 100644 --- 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 @@ -87,11 +87,11 @@ public Builder equinixPeerIp(String equinixPeerIp) { return this; } public GetRoutingProtocolBgpIpv4 build() { - final var o = new GetRoutingProtocolBgpIpv4(); - o.customerPeerIp = customerPeerIp; - o.enabled = enabled; - o.equinixPeerIp = equinixPeerIp; - return o; + final var _resultValue = new GetRoutingProtocolBgpIpv4(); + _resultValue.customerPeerIp = customerPeerIp; + _resultValue.enabled = enabled; + _resultValue.equinixPeerIp = equinixPeerIp; + return _resultValue; } } } 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 index 64d5fbff..9d083856 100644 --- 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 @@ -87,11 +87,11 @@ public Builder equinixPeerIp(String equinixPeerIp) { return this; } public GetRoutingProtocolBgpIpv6 build() { - final var o = new GetRoutingProtocolBgpIpv6(); - o.customerPeerIp = customerPeerIp; - o.enabled = enabled; - o.equinixPeerIp = equinixPeerIp; - return o; + final var _resultValue = new GetRoutingProtocolBgpIpv6(); + _resultValue.customerPeerIp = customerPeerIp; + _resultValue.enabled = enabled; + _resultValue.equinixPeerIp = equinixPeerIp; + return _resultValue; } } } 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 index 313db880..c420846e 100644 --- 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 @@ -60,11 +60,11 @@ public Builder uuid(String uuid) { return this; } public GetRoutingProtocolChange build() { - final var o = new GetRoutingProtocolChange(); - o.href = href; - o.type = type; - o.uuid = uuid; - return o; + final var _resultValue = new GetRoutingProtocolChange(); + _resultValue.href = href; + _resultValue.type = type; + _resultValue.uuid = uuid; + return _resultValue; } } } 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 index 119d04ab..f519f4e7 100644 --- 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 @@ -159,20 +159,20 @@ public Builder updatedDateTime(String 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; + final var _resultValue = new GetRoutingProtocolChangeLog(); + _resultValue.createdBy = createdBy; + _resultValue.createdByEmail = createdByEmail; + _resultValue.createdByFullName = createdByFullName; + _resultValue.createdDateTime = createdDateTime; + _resultValue.deletedBy = deletedBy; + _resultValue.deletedByEmail = deletedByEmail; + _resultValue.deletedByFullName = deletedByFullName; + _resultValue.deletedDateTime = deletedDateTime; + _resultValue.updatedBy = updatedBy; + _resultValue.updatedByEmail = updatedByEmail; + _resultValue.updatedByFullName = updatedByFullName; + _resultValue.updatedDateTime = updatedDateTime; + return _resultValue; } } } 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 index 8b662a44..ea75869f 100644 --- 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 @@ -46,9 +46,9 @@ public Builder equinixIfaceIp(String equinixIfaceIp) { return this; } public GetRoutingProtocolDirectIpv4 build() { - final var o = new GetRoutingProtocolDirectIpv4(); - o.equinixIfaceIp = equinixIfaceIp; - return o; + final var _resultValue = new GetRoutingProtocolDirectIpv4(); + _resultValue.equinixIfaceIp = equinixIfaceIp; + return _resultValue; } } } 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 index 818fbba0..5908d203 100644 --- 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 @@ -48,9 +48,9 @@ public Builder equinixIfaceIp(@Nullable String equinixIfaceIp) { return this; } public GetRoutingProtocolDirectIpv6 build() { - final var o = new GetRoutingProtocolDirectIpv6(); - o.equinixIfaceIp = equinixIfaceIp; - return o; + final var _resultValue = new GetRoutingProtocolDirectIpv6(); + _resultValue.equinixIfaceIp = equinixIfaceIp; + return _resultValue; } } } 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 index 9e9f6f3d..ed54d698 100644 --- 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 @@ -42,9 +42,9 @@ public Builder errors(GetRoutingProtocolOperationError... errors) { return errors(List.of(errors)); } public GetRoutingProtocolOperation build() { - final var o = new GetRoutingProtocolOperation(); - o.errors = errors; - return o; + final var _resultValue = new GetRoutingProtocolOperation(); + _resultValue.errors = errors; + return _resultValue; } } } 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 index fb8e546d..d8998963 100644 --- 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 @@ -98,14 +98,14 @@ public Builder help(String 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; + final var _resultValue = new GetRoutingProtocolOperationError(); + _resultValue.additionalInfos = additionalInfos; + _resultValue.correlationId = correlationId; + _resultValue.details = details; + _resultValue.errorCode = errorCode; + _resultValue.errorMessage = errorMessage; + _resultValue.help = help; + return _resultValue; } } } 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 index 1cd2b0ad..8c61b60f 100644 --- 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 @@ -49,10 +49,10 @@ public Builder reason(String reason) { return this; } public GetRoutingProtocolOperationErrorAdditionalInfo build() { - final var o = new GetRoutingProtocolOperationErrorAdditionalInfo(); - o.property = property; - o.reason = reason; - return o; + final var _resultValue = new GetRoutingProtocolOperationErrorAdditionalInfo(); + _resultValue.property = property; + _resultValue.reason = reason; + return _resultValue; } } } 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 index 03bcd4f1..61bfe446 100644 --- 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 @@ -409,27 +409,27 @@ public Builder uuid(String 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; + final var _resultValue = new GetRoutingProtocolResult(); + _resultValue.bfd = bfd; + _resultValue.bgpAuthKey = bgpAuthKey; + _resultValue.bgpIpv4 = bgpIpv4; + _resultValue.bgpIpv6 = bgpIpv6; + _resultValue.changeLogs = changeLogs; + _resultValue.changes = changes; + _resultValue.connectionUuid = connectionUuid; + _resultValue.customerAsn = customerAsn; + _resultValue.description = description; + _resultValue.directIpv4 = directIpv4; + _resultValue.directIpv6 = directIpv6; + _resultValue.equinixAsn = equinixAsn; + _resultValue.href = href; + _resultValue.id = id; + _resultValue.name = name; + _resultValue.operations = operations; + _resultValue.state = state; + _resultValue.type = type; + _resultValue.uuid = uuid; + return _resultValue; } } } 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 39b805f8..74715135 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 @@ -200,22 +200,22 @@ public Builder uuid(String uuid) { return this; } public GetServiceProfileAccessPointTypeConfig build() { - final var o = new GetServiceProfileAccessPointTypeConfig(); - o.allowBandwidthAutoApproval = allowBandwidthAutoApproval; - o.allowBandwidthUpgrade = allowBandwidthUpgrade; - o.allowCustomBandwidth = allowCustomBandwidth; - o.allowRemoteConnections = allowRemoteConnections; - o.apiConfigs = apiConfigs; - o.authenticationKeys = authenticationKeys; - o.bandwidthAlertThreshold = bandwidthAlertThreshold; - o.connectionLabel = connectionLabel; - o.connectionRedundancyRequired = connectionRedundancyRequired; - o.enableAutoGenerateServiceKey = enableAutoGenerateServiceKey; - o.linkProtocolConfigs = linkProtocolConfigs; - o.supportedBandwidths = supportedBandwidths; - o.type = type; - o.uuid = uuid; - return o; + final var _resultValue = new GetServiceProfileAccessPointTypeConfig(); + _resultValue.allowBandwidthAutoApproval = allowBandwidthAutoApproval; + _resultValue.allowBandwidthUpgrade = allowBandwidthUpgrade; + _resultValue.allowCustomBandwidth = allowCustomBandwidth; + _resultValue.allowRemoteConnections = allowRemoteConnections; + _resultValue.apiConfigs = apiConfigs; + _resultValue.authenticationKeys = authenticationKeys; + _resultValue.bandwidthAlertThreshold = bandwidthAlertThreshold; + _resultValue.connectionLabel = connectionLabel; + _resultValue.connectionRedundancyRequired = connectionRedundancyRequired; + _resultValue.enableAutoGenerateServiceKey = enableAutoGenerateServiceKey; + _resultValue.linkProtocolConfigs = linkProtocolConfigs; + _resultValue.supportedBandwidths = supportedBandwidths; + _resultValue.type = type; + _resultValue.uuid = uuid; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetServiceProfileAccessPointTypeConfigApiConfig.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetServiceProfileAccessPointTypeConfigApiConfig.java index fa56e5e9..9d816ed2 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetServiceProfileAccessPointTypeConfigApiConfig.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetServiceProfileAccessPointTypeConfigApiConfig.java @@ -106,15 +106,15 @@ public Builder overSubscriptionLimit(Integer overSubscriptionLimit) { return this; } public GetServiceProfileAccessPointTypeConfigApiConfig build() { - final var o = new GetServiceProfileAccessPointTypeConfigApiConfig(); - o.allowOverSubscription = allowOverSubscription; - o.apiAvailable = apiAvailable; - o.bandwidthFromApi = bandwidthFromApi; - o.equinixManagedPort = equinixManagedPort; - o.equinixManagedVlan = equinixManagedVlan; - o.integrationId = integrationId; - o.overSubscriptionLimit = overSubscriptionLimit; - return o; + final var _resultValue = new GetServiceProfileAccessPointTypeConfigApiConfig(); + _resultValue.allowOverSubscription = allowOverSubscription; + _resultValue.apiAvailable = apiAvailable; + _resultValue.bandwidthFromApi = bandwidthFromApi; + _resultValue.equinixManagedPort = equinixManagedPort; + _resultValue.equinixManagedVlan = equinixManagedVlan; + _resultValue.integrationId = integrationId; + _resultValue.overSubscriptionLimit = overSubscriptionLimit; + return _resultValue; } } } 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 48df6411..603fe361 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 @@ -61,11 +61,11 @@ public Builder required(Boolean required) { return this; } public GetServiceProfileAccessPointTypeConfigAuthenticationKey build() { - final var o = new GetServiceProfileAccessPointTypeConfigAuthenticationKey(); - o.description = description; - o.label = label; - o.required = required; - return o; + final var _resultValue = new GetServiceProfileAccessPointTypeConfigAuthenticationKey(); + _resultValue.description = description; + _resultValue.label = label; + _resultValue.required = required; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetServiceProfileAccessPointTypeConfigLinkProtocolConfig.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetServiceProfileAccessPointTypeConfigLinkProtocolConfig.java index 2efca252..06c6b2c0 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetServiceProfileAccessPointTypeConfigLinkProtocolConfig.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetServiceProfileAccessPointTypeConfigLinkProtocolConfig.java @@ -61,11 +61,11 @@ public Builder reuseVlanSTag(Boolean reuseVlanSTag) { return this; } public GetServiceProfileAccessPointTypeConfigLinkProtocolConfig build() { - final var o = new GetServiceProfileAccessPointTypeConfigLinkProtocolConfig(); - o.encapsulation = encapsulation; - o.encapsulationStrategy = encapsulationStrategy; - o.reuseVlanSTag = reuseVlanSTag; - return o; + final var _resultValue = new GetServiceProfileAccessPointTypeConfigLinkProtocolConfig(); + _resultValue.encapsulation = encapsulation; + _resultValue.encapsulationStrategy = encapsulationStrategy; + _resultValue.reuseVlanSTag = reuseVlanSTag; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetServiceProfileAccount.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetServiceProfileAccount.java index d6995b00..9955952a 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetServiceProfileAccount.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetServiceProfileAccount.java @@ -116,16 +116,16 @@ public Builder ucmId(String ucmId) { return this; } public GetServiceProfileAccount build() { - final var o = new GetServiceProfileAccount(); - o.accountName = accountName; - o.accountNumber = accountNumber; - o.globalCustId = globalCustId; - o.globalOrgId = globalOrgId; - o.globalOrganizationName = globalOrganizationName; - o.orgId = orgId; - o.organizationName = organizationName; - o.ucmId = ucmId; - return o; + final var _resultValue = new GetServiceProfileAccount(); + _resultValue.accountName = accountName; + _resultValue.accountNumber = accountNumber; + _resultValue.globalCustId = globalCustId; + _resultValue.globalOrgId = globalOrgId; + _resultValue.globalOrganizationName = globalOrganizationName; + _resultValue.orgId = orgId; + _resultValue.organizationName = organizationName; + _resultValue.ucmId = ucmId; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetServiceProfileChangeLog.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetServiceProfileChangeLog.java index fd887726..0173c844 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetServiceProfileChangeLog.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetServiceProfileChangeLog.java @@ -159,20 +159,20 @@ public Builder updatedDateTime(String updatedDateTime) { return this; } public GetServiceProfileChangeLog build() { - final var o = new GetServiceProfileChangeLog(); - 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; + final var _resultValue = new GetServiceProfileChangeLog(); + _resultValue.createdBy = createdBy; + _resultValue.createdByEmail = createdByEmail; + _resultValue.createdByFullName = createdByFullName; + _resultValue.createdDateTime = createdDateTime; + _resultValue.deletedBy = deletedBy; + _resultValue.deletedByEmail = deletedByEmail; + _resultValue.deletedByFullName = deletedByFullName; + _resultValue.deletedDateTime = deletedDateTime; + _resultValue.updatedBy = updatedBy; + _resultValue.updatedByEmail = updatedByEmail; + _resultValue.updatedByFullName = updatedByFullName; + _resultValue.updatedDateTime = updatedDateTime; + return _resultValue; } } } 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 9de2fe67..3e36de35 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 @@ -98,14 +98,14 @@ public Builder required(Boolean required) { return this; } public GetServiceProfileCustomField build() { - final var o = new GetServiceProfileCustomField(); - o.captureInEmail = captureInEmail; - o.dataType = dataType; - o.description = description; - o.label = label; - o.options = options; - o.required = required; - return o; + final var _resultValue = new GetServiceProfileCustomField(); + _resultValue.captureInEmail = captureInEmail; + _resultValue.dataType = dataType; + _resultValue.description = description; + _resultValue.label = label; + _resultValue.options = options; + _resultValue.required = required; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetServiceProfileMarketingInfo.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetServiceProfileMarketingInfo.java index c3d277d0..af3486d9 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetServiceProfileMarketingInfo.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetServiceProfileMarketingInfo.java @@ -66,11 +66,11 @@ public Builder promotion(Boolean promotion) { return this; } public GetServiceProfileMarketingInfo build() { - final var o = new GetServiceProfileMarketingInfo(); - o.logo = logo; - o.processSteps = processSteps; - o.promotion = promotion; - return o; + final var _resultValue = new GetServiceProfileMarketingInfo(); + _resultValue.logo = logo; + _resultValue.processSteps = processSteps; + _resultValue.promotion = promotion; + return _resultValue; } } } 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 6e73976b..985162c6 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 @@ -60,11 +60,11 @@ public Builder title(String title) { return this; } public GetServiceProfileMarketingInfoProcessStep build() { - final var o = new GetServiceProfileMarketingInfoProcessStep(); - o.description = description; - o.subTitle = subTitle; - o.title = title; - return o; + final var _resultValue = new GetServiceProfileMarketingInfoProcessStep(); + _resultValue.description = description; + _resultValue.subTitle = subTitle; + _resultValue.title = title; + return _resultValue; } } } 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 b494ce90..2bf1eb99 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 @@ -99,14 +99,14 @@ public Builder sellerRegions(Map sellerRegions) { return this; } public GetServiceProfileMetro build() { - final var o = new GetServiceProfileMetro(); - o.code = code; - o.displayName = displayName; - o.ibxs = ibxs; - o.inTrail = inTrail; - o.name = name; - o.sellerRegions = sellerRegions; - return o; + final var _resultValue = new GetServiceProfileMetro(); + _resultValue.code = code; + _resultValue.displayName = displayName; + _resultValue.ibxs = ibxs; + _resultValue.inTrail = inTrail; + _resultValue.name = name; + _resultValue.sellerRegions = sellerRegions; + return _resultValue; } } } 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 5d46ca52..57437dd0 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 @@ -64,11 +64,11 @@ public Builder type(String type) { return this; } public GetServiceProfileNotification build() { - final var o = new GetServiceProfileNotification(); - o.emails = emails; - o.sendInterval = sendInterval; - o.type = type; - return o; + final var _resultValue = new GetServiceProfileNotification(); + _resultValue.emails = emails; + _resultValue.sendInterval = sendInterval; + _resultValue.type = type; + return _resultValue; } } } 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 1b9cd642..fc0df7d0 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 @@ -98,14 +98,14 @@ public Builder uuid(String uuid) { return this; } public GetServiceProfilePort build() { - final var o = new GetServiceProfilePort(); - o.crossConnectId = crossConnectId; - o.locations = locations; - o.sellerRegion = sellerRegion; - o.sellerRegionDescription = sellerRegionDescription; - o.type = type; - o.uuid = uuid; - return o; + final var _resultValue = new GetServiceProfilePort(); + _resultValue.crossConnectId = crossConnectId; + _resultValue.locations = locations; + _resultValue.sellerRegion = sellerRegion; + _resultValue.sellerRegionDescription = sellerRegionDescription; + _resultValue.type = type; + _resultValue.uuid = uuid; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetServiceProfilePortLocation.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetServiceProfilePortLocation.java index 48d9958d..c3ecc39f 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetServiceProfilePortLocation.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetServiceProfilePortLocation.java @@ -71,12 +71,12 @@ public Builder region(String region) { return this; } public GetServiceProfilePortLocation build() { - final var o = new GetServiceProfilePortLocation(); - o.ibx = ibx; - o.metroCode = metroCode; - o.metroName = metroName; - o.region = region; - return o; + final var _resultValue = new GetServiceProfilePortLocation(); + _resultValue.ibx = ibx; + _resultValue.metroCode = metroCode; + _resultValue.metroName = metroName; + _resultValue.region = region; + return _resultValue; } } } 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 c27568ac..f2b4d5d9 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 @@ -49,10 +49,10 @@ public Builder projectId(String projectId) { return this; } public GetServiceProfileProject build() { - final var o = new GetServiceProfileProject(); - o.href = href; - o.projectId = projectId; - return o; + final var _resultValue = new GetServiceProfileProject(); + _resultValue.href = href; + _resultValue.projectId = projectId; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetServiceProfileResult.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetServiceProfileResult.java index 9057675c..7559b39a 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetServiceProfileResult.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetServiceProfileResult.java @@ -441,28 +441,28 @@ public Builder visibility(String visibility) { return this; } public GetServiceProfileResult build() { - final var o = new GetServiceProfileResult(); - o.accessPointTypeConfigs = accessPointTypeConfigs; - o.account = account; - o.allowedEmails = allowedEmails; - o.changeLog = changeLog; - o.customFields = customFields; - o.description = description; - o.href = href; - o.id = id; - o.marketingInfo = marketingInfo; - o.metros = metros; - o.name = name; - o.notifications = notifications; - o.ports = ports; - o.project = project; - o.selfProfile = selfProfile; - o.state = state; - o.tags = tags; - o.type = type; - o.uuid = uuid; - o.visibility = visibility; - return o; + final var _resultValue = new GetServiceProfileResult(); + _resultValue.accessPointTypeConfigs = accessPointTypeConfigs; + _resultValue.account = account; + _resultValue.allowedEmails = allowedEmails; + _resultValue.changeLog = changeLog; + _resultValue.customFields = customFields; + _resultValue.description = description; + _resultValue.href = href; + _resultValue.id = id; + _resultValue.marketingInfo = marketingInfo; + _resultValue.metros = metros; + _resultValue.name = name; + _resultValue.notifications = notifications; + _resultValue.ports = ports; + _resultValue.project = project; + _resultValue.selfProfile = selfProfile; + _resultValue.state = state; + _resultValue.tags = tags; + _resultValue.type = type; + _resultValue.uuid = uuid; + _resultValue.visibility = visibility; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetServiceProfilesDatum.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetServiceProfilesDatum.java index bf264b3a..8a70fc2a 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetServiceProfilesDatum.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetServiceProfilesDatum.java @@ -282,27 +282,27 @@ public Builder visibility(String visibility) { return this; } public GetServiceProfilesDatum build() { - final var o = new GetServiceProfilesDatum(); - o.accessPointTypeConfigs = accessPointTypeConfigs; - o.accounts = accounts; - o.allowedEmails = allowedEmails; - o.changeLogs = changeLogs; - o.customFields = customFields; - o.description = description; - o.href = href; - o.marketingInfos = marketingInfos; - o.metros = metros; - o.name = name; - o.notifications = notifications; - o.ports = ports; - o.projects = projects; - o.selfProfile = selfProfile; - o.state = state; - o.tags = tags; - o.type = type; - o.uuid = uuid; - o.visibility = visibility; - return o; + final var _resultValue = new GetServiceProfilesDatum(); + _resultValue.accessPointTypeConfigs = accessPointTypeConfigs; + _resultValue.accounts = accounts; + _resultValue.allowedEmails = allowedEmails; + _resultValue.changeLogs = changeLogs; + _resultValue.customFields = customFields; + _resultValue.description = description; + _resultValue.href = href; + _resultValue.marketingInfos = marketingInfos; + _resultValue.metros = metros; + _resultValue.name = name; + _resultValue.notifications = notifications; + _resultValue.ports = ports; + _resultValue.projects = projects; + _resultValue.selfProfile = selfProfile; + _resultValue.state = state; + _resultValue.tags = tags; + _resultValue.type = type; + _resultValue.uuid = uuid; + _resultValue.visibility = visibility; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetServiceProfilesDatumAccessPointTypeConfig.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetServiceProfilesDatumAccessPointTypeConfig.java index 60db8ba6..3f2ff8f0 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetServiceProfilesDatumAccessPointTypeConfig.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetServiceProfilesDatumAccessPointTypeConfig.java @@ -200,22 +200,22 @@ public Builder uuid(String uuid) { return this; } public GetServiceProfilesDatumAccessPointTypeConfig build() { - final var o = new GetServiceProfilesDatumAccessPointTypeConfig(); - o.allowBandwidthAutoApproval = allowBandwidthAutoApproval; - o.allowBandwidthUpgrade = allowBandwidthUpgrade; - o.allowCustomBandwidth = allowCustomBandwidth; - o.allowRemoteConnections = allowRemoteConnections; - o.apiConfigs = apiConfigs; - o.authenticationKeys = authenticationKeys; - o.bandwidthAlertThreshold = bandwidthAlertThreshold; - o.connectionLabel = connectionLabel; - o.connectionRedundancyRequired = connectionRedundancyRequired; - o.enableAutoGenerateServiceKey = enableAutoGenerateServiceKey; - o.linkProtocolConfigs = linkProtocolConfigs; - o.supportedBandwidths = supportedBandwidths; - o.type = type; - o.uuid = uuid; - return o; + final var _resultValue = new GetServiceProfilesDatumAccessPointTypeConfig(); + _resultValue.allowBandwidthAutoApproval = allowBandwidthAutoApproval; + _resultValue.allowBandwidthUpgrade = allowBandwidthUpgrade; + _resultValue.allowCustomBandwidth = allowCustomBandwidth; + _resultValue.allowRemoteConnections = allowRemoteConnections; + _resultValue.apiConfigs = apiConfigs; + _resultValue.authenticationKeys = authenticationKeys; + _resultValue.bandwidthAlertThreshold = bandwidthAlertThreshold; + _resultValue.connectionLabel = connectionLabel; + _resultValue.connectionRedundancyRequired = connectionRedundancyRequired; + _resultValue.enableAutoGenerateServiceKey = enableAutoGenerateServiceKey; + _resultValue.linkProtocolConfigs = linkProtocolConfigs; + _resultValue.supportedBandwidths = supportedBandwidths; + _resultValue.type = type; + _resultValue.uuid = uuid; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetServiceProfilesDatumAccessPointTypeConfigApiConfig.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetServiceProfilesDatumAccessPointTypeConfigApiConfig.java index 4ab43b3d..329431ec 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetServiceProfilesDatumAccessPointTypeConfigApiConfig.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetServiceProfilesDatumAccessPointTypeConfigApiConfig.java @@ -106,15 +106,15 @@ public Builder overSubscriptionLimit(Integer overSubscriptionLimit) { return this; } public GetServiceProfilesDatumAccessPointTypeConfigApiConfig build() { - final var o = new GetServiceProfilesDatumAccessPointTypeConfigApiConfig(); - o.allowOverSubscription = allowOverSubscription; - o.apiAvailable = apiAvailable; - o.bandwidthFromApi = bandwidthFromApi; - o.equinixManagedPort = equinixManagedPort; - o.equinixManagedVlan = equinixManagedVlan; - o.integrationId = integrationId; - o.overSubscriptionLimit = overSubscriptionLimit; - return o; + final var _resultValue = new GetServiceProfilesDatumAccessPointTypeConfigApiConfig(); + _resultValue.allowOverSubscription = allowOverSubscription; + _resultValue.apiAvailable = apiAvailable; + _resultValue.bandwidthFromApi = bandwidthFromApi; + _resultValue.equinixManagedPort = equinixManagedPort; + _resultValue.equinixManagedVlan = equinixManagedVlan; + _resultValue.integrationId = integrationId; + _resultValue.overSubscriptionLimit = overSubscriptionLimit; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetServiceProfilesDatumAccessPointTypeConfigAuthenticationKey.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetServiceProfilesDatumAccessPointTypeConfigAuthenticationKey.java index 4d7e8ccc..b3173ea9 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetServiceProfilesDatumAccessPointTypeConfigAuthenticationKey.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetServiceProfilesDatumAccessPointTypeConfigAuthenticationKey.java @@ -61,11 +61,11 @@ public Builder required(Boolean required) { return this; } public GetServiceProfilesDatumAccessPointTypeConfigAuthenticationKey build() { - final var o = new GetServiceProfilesDatumAccessPointTypeConfigAuthenticationKey(); - o.description = description; - o.label = label; - o.required = required; - return o; + final var _resultValue = new GetServiceProfilesDatumAccessPointTypeConfigAuthenticationKey(); + _resultValue.description = description; + _resultValue.label = label; + _resultValue.required = required; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetServiceProfilesDatumAccessPointTypeConfigLinkProtocolConfig.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetServiceProfilesDatumAccessPointTypeConfigLinkProtocolConfig.java index 1ab423c5..8857a0fd 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetServiceProfilesDatumAccessPointTypeConfigLinkProtocolConfig.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetServiceProfilesDatumAccessPointTypeConfigLinkProtocolConfig.java @@ -61,11 +61,11 @@ public Builder reuseVlanSTag(Boolean reuseVlanSTag) { return this; } public GetServiceProfilesDatumAccessPointTypeConfigLinkProtocolConfig build() { - final var o = new GetServiceProfilesDatumAccessPointTypeConfigLinkProtocolConfig(); - o.encapsulation = encapsulation; - o.encapsulationStrategy = encapsulationStrategy; - o.reuseVlanSTag = reuseVlanSTag; - return o; + final var _resultValue = new GetServiceProfilesDatumAccessPointTypeConfigLinkProtocolConfig(); + _resultValue.encapsulation = encapsulation; + _resultValue.encapsulationStrategy = encapsulationStrategy; + _resultValue.reuseVlanSTag = reuseVlanSTag; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetServiceProfilesDatumAccount.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetServiceProfilesDatumAccount.java index 710d4b7f..ccc7fc5b 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetServiceProfilesDatumAccount.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetServiceProfilesDatumAccount.java @@ -116,16 +116,16 @@ public Builder ucmId(String ucmId) { return this; } public GetServiceProfilesDatumAccount build() { - final var o = new GetServiceProfilesDatumAccount(); - o.accountName = accountName; - o.accountNumber = accountNumber; - o.globalCustId = globalCustId; - o.globalOrgId = globalOrgId; - o.globalOrganizationName = globalOrganizationName; - o.orgId = orgId; - o.organizationName = organizationName; - o.ucmId = ucmId; - return o; + final var _resultValue = new GetServiceProfilesDatumAccount(); + _resultValue.accountName = accountName; + _resultValue.accountNumber = accountNumber; + _resultValue.globalCustId = globalCustId; + _resultValue.globalOrgId = globalOrgId; + _resultValue.globalOrganizationName = globalOrganizationName; + _resultValue.orgId = orgId; + _resultValue.organizationName = organizationName; + _resultValue.ucmId = ucmId; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetServiceProfilesDatumChangeLog.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetServiceProfilesDatumChangeLog.java index eee803fd..c66834e8 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetServiceProfilesDatumChangeLog.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetServiceProfilesDatumChangeLog.java @@ -159,20 +159,20 @@ public Builder updatedDateTime(String updatedDateTime) { return this; } public GetServiceProfilesDatumChangeLog build() { - final var o = new GetServiceProfilesDatumChangeLog(); - 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; + final var _resultValue = new GetServiceProfilesDatumChangeLog(); + _resultValue.createdBy = createdBy; + _resultValue.createdByEmail = createdByEmail; + _resultValue.createdByFullName = createdByFullName; + _resultValue.createdDateTime = createdDateTime; + _resultValue.deletedBy = deletedBy; + _resultValue.deletedByEmail = deletedByEmail; + _resultValue.deletedByFullName = deletedByFullName; + _resultValue.deletedDateTime = deletedDateTime; + _resultValue.updatedBy = updatedBy; + _resultValue.updatedByEmail = updatedByEmail; + _resultValue.updatedByFullName = updatedByFullName; + _resultValue.updatedDateTime = updatedDateTime; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetServiceProfilesDatumCustomField.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetServiceProfilesDatumCustomField.java index d45d5edc..6d828c90 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetServiceProfilesDatumCustomField.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetServiceProfilesDatumCustomField.java @@ -98,14 +98,14 @@ public Builder required(Boolean required) { return this; } public GetServiceProfilesDatumCustomField build() { - final var o = new GetServiceProfilesDatumCustomField(); - o.captureInEmail = captureInEmail; - o.dataType = dataType; - o.description = description; - o.label = label; - o.options = options; - o.required = required; - return o; + final var _resultValue = new GetServiceProfilesDatumCustomField(); + _resultValue.captureInEmail = captureInEmail; + _resultValue.dataType = dataType; + _resultValue.description = description; + _resultValue.label = label; + _resultValue.options = options; + _resultValue.required = required; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetServiceProfilesDatumMarketingInfo.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetServiceProfilesDatumMarketingInfo.java index 2645c499..c9fc458a 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetServiceProfilesDatumMarketingInfo.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetServiceProfilesDatumMarketingInfo.java @@ -66,11 +66,11 @@ public Builder promotion(Boolean promotion) { return this; } public GetServiceProfilesDatumMarketingInfo build() { - final var o = new GetServiceProfilesDatumMarketingInfo(); - o.logo = logo; - o.processSteps = processSteps; - o.promotion = promotion; - return o; + final var _resultValue = new GetServiceProfilesDatumMarketingInfo(); + _resultValue.logo = logo; + _resultValue.processSteps = processSteps; + _resultValue.promotion = promotion; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetServiceProfilesDatumMarketingInfoProcessStep.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetServiceProfilesDatumMarketingInfoProcessStep.java index 8ab194d3..3371a8ee 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetServiceProfilesDatumMarketingInfoProcessStep.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetServiceProfilesDatumMarketingInfoProcessStep.java @@ -60,11 +60,11 @@ public Builder title(String title) { return this; } public GetServiceProfilesDatumMarketingInfoProcessStep build() { - final var o = new GetServiceProfilesDatumMarketingInfoProcessStep(); - o.description = description; - o.subTitle = subTitle; - o.title = title; - return o; + final var _resultValue = new GetServiceProfilesDatumMarketingInfoProcessStep(); + _resultValue.description = description; + _resultValue.subTitle = subTitle; + _resultValue.title = title; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetServiceProfilesDatumMetro.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetServiceProfilesDatumMetro.java index 33cb4d38..01dfb135 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetServiceProfilesDatumMetro.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetServiceProfilesDatumMetro.java @@ -99,14 +99,14 @@ public Builder sellerRegions(Map sellerRegions) { return this; } public GetServiceProfilesDatumMetro build() { - final var o = new GetServiceProfilesDatumMetro(); - o.code = code; - o.displayName = displayName; - o.ibxs = ibxs; - o.inTrail = inTrail; - o.name = name; - o.sellerRegions = sellerRegions; - return o; + final var _resultValue = new GetServiceProfilesDatumMetro(); + _resultValue.code = code; + _resultValue.displayName = displayName; + _resultValue.ibxs = ibxs; + _resultValue.inTrail = inTrail; + _resultValue.name = name; + _resultValue.sellerRegions = sellerRegions; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetServiceProfilesDatumNotification.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetServiceProfilesDatumNotification.java index 18505c1f..313d66dd 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetServiceProfilesDatumNotification.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetServiceProfilesDatumNotification.java @@ -64,11 +64,11 @@ public Builder type(String type) { return this; } public GetServiceProfilesDatumNotification build() { - final var o = new GetServiceProfilesDatumNotification(); - o.emails = emails; - o.sendInterval = sendInterval; - o.type = type; - return o; + final var _resultValue = new GetServiceProfilesDatumNotification(); + _resultValue.emails = emails; + _resultValue.sendInterval = sendInterval; + _resultValue.type = type; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetServiceProfilesDatumPort.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetServiceProfilesDatumPort.java index 95325f33..73624c1f 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetServiceProfilesDatumPort.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetServiceProfilesDatumPort.java @@ -98,14 +98,14 @@ public Builder uuid(String uuid) { return this; } public GetServiceProfilesDatumPort build() { - final var o = new GetServiceProfilesDatumPort(); - o.crossConnectId = crossConnectId; - o.locations = locations; - o.sellerRegion = sellerRegion; - o.sellerRegionDescription = sellerRegionDescription; - o.type = type; - o.uuid = uuid; - return o; + final var _resultValue = new GetServiceProfilesDatumPort(); + _resultValue.crossConnectId = crossConnectId; + _resultValue.locations = locations; + _resultValue.sellerRegion = sellerRegion; + _resultValue.sellerRegionDescription = sellerRegionDescription; + _resultValue.type = type; + _resultValue.uuid = uuid; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetServiceProfilesDatumPortLocation.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetServiceProfilesDatumPortLocation.java index 7c9ccedc..9b2bd342 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetServiceProfilesDatumPortLocation.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetServiceProfilesDatumPortLocation.java @@ -71,12 +71,12 @@ public Builder region(String region) { return this; } public GetServiceProfilesDatumPortLocation build() { - final var o = new GetServiceProfilesDatumPortLocation(); - o.ibx = ibx; - o.metroCode = metroCode; - o.metroName = metroName; - o.region = region; - return o; + final var _resultValue = new GetServiceProfilesDatumPortLocation(); + _resultValue.ibx = ibx; + _resultValue.metroCode = metroCode; + _resultValue.metroName = metroName; + _resultValue.region = region; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetServiceProfilesDatumProject.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetServiceProfilesDatumProject.java index 9a60b8fd..090f92ad 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetServiceProfilesDatumProject.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetServiceProfilesDatumProject.java @@ -49,10 +49,10 @@ public Builder projectId(String projectId) { return this; } public GetServiceProfilesDatumProject build() { - final var o = new GetServiceProfilesDatumProject(); - o.href = href; - o.projectId = projectId; - return o; + final var _resultValue = new GetServiceProfilesDatumProject(); + _resultValue.href = href; + _resultValue.projectId = projectId; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetServiceProfilesFilter.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetServiceProfilesFilter.java index f773d73c..d7f96b0d 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetServiceProfilesFilter.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetServiceProfilesFilter.java @@ -90,11 +90,11 @@ public Builder values(String... values) { return values(List.of(values)); } public GetServiceProfilesFilter build() { - final var o = new GetServiceProfilesFilter(); - o.operator = operator; - o.property = property; - o.values = values; - return o; + final var _resultValue = new GetServiceProfilesFilter(); + _resultValue.operator = operator; + _resultValue.property = property; + _resultValue.values = values; + return _resultValue; } } } 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 211bc875..96b48caf 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 @@ -134,13 +134,13 @@ public Builder viewPoint(@Nullable String 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; + final var _resultValue = new GetServiceProfilesResult(); + _resultValue.data = data; + _resultValue.filter = filter; + _resultValue.id = id; + _resultValue.sort = sort; + _resultValue.viewPoint = viewPoint; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetServiceProfilesSort.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetServiceProfilesSort.java index 2312e718..9473927e 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetServiceProfilesSort.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/GetServiceProfilesSort.java @@ -67,10 +67,10 @@ public Builder property(@Nullable String property) { return this; } public GetServiceProfilesSort build() { - final var o = new GetServiceProfilesSort(); - o.direction = direction; - o.property = property; - return o; + final var _resultValue = new GetServiceProfilesSort(); + _resultValue.direction = direction; + _resultValue.property = property; + return _resultValue; } } } 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 index 09114fcc..44691318 100644 --- 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 @@ -68,10 +68,10 @@ public Builder interval(@Nullable String interval) { return this; } public RoutingProtocolBfd build() { - final var o = new RoutingProtocolBfd(); - o.enabled = enabled; - o.interval = interval; - return o; + final var _resultValue = new RoutingProtocolBfd(); + _resultValue.enabled = enabled; + _resultValue.interval = interval; + return _resultValue; } } } 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 index a66297de..4fcfc7c7 100644 --- 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 @@ -87,11 +87,11 @@ public Builder equinixPeerIp(@Nullable String equinixPeerIp) { return this; } public RoutingProtocolBgpIpv4 build() { - final var o = new RoutingProtocolBgpIpv4(); - o.customerPeerIp = customerPeerIp; - o.enabled = enabled; - o.equinixPeerIp = equinixPeerIp; - return o; + final var _resultValue = new RoutingProtocolBgpIpv4(); + _resultValue.customerPeerIp = customerPeerIp; + _resultValue.enabled = enabled; + _resultValue.equinixPeerIp = equinixPeerIp; + return _resultValue; } } } 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 index 9b4a98e5..b2db06a8 100644 --- 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 @@ -87,11 +87,11 @@ public Builder equinixPeerIp(@Nullable String equinixPeerIp) { return this; } public RoutingProtocolBgpIpv6 build() { - final var o = new RoutingProtocolBgpIpv6(); - o.customerPeerIp = customerPeerIp; - o.enabled = enabled; - o.equinixPeerIp = equinixPeerIp; - return o; + final var _resultValue = new RoutingProtocolBgpIpv6(); + _resultValue.customerPeerIp = customerPeerIp; + _resultValue.enabled = enabled; + _resultValue.equinixPeerIp = equinixPeerIp; + return _resultValue; } } } 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 index 089f244e..b5a8f5ac 100644 --- 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 @@ -62,11 +62,11 @@ public Builder uuid(@Nullable String uuid) { return this; } public RoutingProtocolChange build() { - final var o = new RoutingProtocolChange(); - o.href = href; - o.type = type; - o.uuid = uuid; - return o; + final var _resultValue = new RoutingProtocolChange(); + _resultValue.href = href; + _resultValue.type = type; + _resultValue.uuid = uuid; + return _resultValue; } } } 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 index c90e6081..6ff3085a 100644 --- 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 @@ -161,20 +161,20 @@ public Builder updatedDateTime(@Nullable String 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; + final var _resultValue = new RoutingProtocolChangeLog(); + _resultValue.createdBy = createdBy; + _resultValue.createdByEmail = createdByEmail; + _resultValue.createdByFullName = createdByFullName; + _resultValue.createdDateTime = createdDateTime; + _resultValue.deletedBy = deletedBy; + _resultValue.deletedByEmail = deletedByEmail; + _resultValue.deletedByFullName = deletedByFullName; + _resultValue.deletedDateTime = deletedDateTime; + _resultValue.updatedBy = updatedBy; + _resultValue.updatedByEmail = updatedByEmail; + _resultValue.updatedByFullName = updatedByFullName; + _resultValue.updatedDateTime = updatedDateTime; + return _resultValue; } } } 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 index c806be09..4bacfe99 100644 --- 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 @@ -46,9 +46,9 @@ public Builder equinixIfaceIp(String equinixIfaceIp) { return this; } public RoutingProtocolDirectIpv4 build() { - final var o = new RoutingProtocolDirectIpv4(); - o.equinixIfaceIp = equinixIfaceIp; - return o; + final var _resultValue = new RoutingProtocolDirectIpv4(); + _resultValue.equinixIfaceIp = equinixIfaceIp; + return _resultValue; } } } 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 index 55a89973..5d8224a1 100644 --- 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 @@ -48,9 +48,9 @@ public Builder equinixIfaceIp(@Nullable String equinixIfaceIp) { return this; } public RoutingProtocolDirectIpv6 build() { - final var o = new RoutingProtocolDirectIpv6(); - o.equinixIfaceIp = equinixIfaceIp; - return o; + final var _resultValue = new RoutingProtocolDirectIpv6(); + _resultValue.equinixIfaceIp = equinixIfaceIp; + return _resultValue; } } } 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 index c977256e..471404a0 100644 --- 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 @@ -43,9 +43,9 @@ public Builder errors(RoutingProtocolOperationError... errors) { return errors(List.of(errors)); } public RoutingProtocolOperation build() { - final var o = new RoutingProtocolOperation(); - o.errors = errors; - return o; + final var _resultValue = new RoutingProtocolOperation(); + _resultValue.errors = errors; + return _resultValue; } } } 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 index fd271754..b7422250 100644 --- 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 @@ -100,14 +100,14 @@ public Builder help(@Nullable String 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; + final var _resultValue = new RoutingProtocolOperationError(); + _resultValue.additionalInfos = additionalInfos; + _resultValue.correlationId = correlationId; + _resultValue.details = details; + _resultValue.errorCode = errorCode; + _resultValue.errorMessage = errorMessage; + _resultValue.help = help; + return _resultValue; } } } 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 index 7bccb574..5e4f0318 100644 --- 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 @@ -51,10 +51,10 @@ public Builder reason(@Nullable String reason) { return this; } public RoutingProtocolOperationErrorAdditionalInfo build() { - final var o = new RoutingProtocolOperationErrorAdditionalInfo(); - o.property = property; - o.reason = reason; - return o; + final var _resultValue = new RoutingProtocolOperationErrorAdditionalInfo(); + _resultValue.property = property; + _resultValue.reason = reason; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ServiceProfileAccessPointTypeConfig.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ServiceProfileAccessPointTypeConfig.java index 90d1cfa4..00913532 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ServiceProfileAccessPointTypeConfig.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ServiceProfileAccessPointTypeConfig.java @@ -305,22 +305,22 @@ public Builder uuid(@Nullable String uuid) { return this; } public ServiceProfileAccessPointTypeConfig build() { - final var o = new ServiceProfileAccessPointTypeConfig(); - o.allowBandwidthAutoApproval = allowBandwidthAutoApproval; - o.allowBandwidthUpgrade = allowBandwidthUpgrade; - o.allowCustomBandwidth = allowCustomBandwidth; - o.allowRemoteConnections = allowRemoteConnections; - o.apiConfig = apiConfig; - o.authenticationKey = authenticationKey; - o.bandwidthAlertThreshold = bandwidthAlertThreshold; - o.connectionLabel = connectionLabel; - o.connectionRedundancyRequired = connectionRedundancyRequired; - o.enableAutoGenerateServiceKey = enableAutoGenerateServiceKey; - o.linkProtocolConfig = linkProtocolConfig; - o.supportedBandwidths = supportedBandwidths; - o.type = type; - o.uuid = uuid; - return o; + final var _resultValue = new ServiceProfileAccessPointTypeConfig(); + _resultValue.allowBandwidthAutoApproval = allowBandwidthAutoApproval; + _resultValue.allowBandwidthUpgrade = allowBandwidthUpgrade; + _resultValue.allowCustomBandwidth = allowCustomBandwidth; + _resultValue.allowRemoteConnections = allowRemoteConnections; + _resultValue.apiConfig = apiConfig; + _resultValue.authenticationKey = authenticationKey; + _resultValue.bandwidthAlertThreshold = bandwidthAlertThreshold; + _resultValue.connectionLabel = connectionLabel; + _resultValue.connectionRedundancyRequired = connectionRedundancyRequired; + _resultValue.enableAutoGenerateServiceKey = enableAutoGenerateServiceKey; + _resultValue.linkProtocolConfig = linkProtocolConfig; + _resultValue.supportedBandwidths = supportedBandwidths; + _resultValue.type = type; + _resultValue.uuid = uuid; + return _resultValue; } } } 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 a1502532..6d4fe574 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 @@ -164,15 +164,15 @@ public Builder overSubscriptionLimit(@Nullable Integer overSubscriptionLimit) { return this; } public ServiceProfileAccessPointTypeConfigApiConfig build() { - final var o = new ServiceProfileAccessPointTypeConfigApiConfig(); - o.allowOverSubscription = allowOverSubscription; - o.apiAvailable = apiAvailable; - o.bandwidthFromApi = bandwidthFromApi; - o.equinixManagedPort = equinixManagedPort; - o.equinixManagedVlan = equinixManagedVlan; - o.integrationId = integrationId; - o.overSubscriptionLimit = overSubscriptionLimit; - return o; + final var _resultValue = new ServiceProfileAccessPointTypeConfigApiConfig(); + _resultValue.allowOverSubscription = allowOverSubscription; + _resultValue.apiAvailable = apiAvailable; + _resultValue.bandwidthFromApi = bandwidthFromApi; + _resultValue.equinixManagedPort = equinixManagedPort; + _resultValue.equinixManagedVlan = equinixManagedVlan; + _resultValue.integrationId = integrationId; + _resultValue.overSubscriptionLimit = overSubscriptionLimit; + return _resultValue; } } } 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 0b643767..717d1542 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 @@ -87,11 +87,11 @@ public Builder required(@Nullable Boolean required) { return this; } public ServiceProfileAccessPointTypeConfigAuthenticationKey build() { - final var o = new ServiceProfileAccessPointTypeConfigAuthenticationKey(); - o.description = description; - o.label = label; - o.required = required; - return o; + final var _resultValue = new ServiceProfileAccessPointTypeConfigAuthenticationKey(); + _resultValue.description = description; + _resultValue.label = label; + _resultValue.required = required; + return _resultValue; } } } 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 7b302577..1be0c722 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 @@ -87,11 +87,11 @@ public Builder reuseVlanSTag(@Nullable Boolean reuseVlanSTag) { return this; } public ServiceProfileAccessPointTypeConfigLinkProtocolConfig build() { - final var o = new ServiceProfileAccessPointTypeConfigLinkProtocolConfig(); - o.encapsulation = encapsulation; - o.encapsulationStrategy = encapsulationStrategy; - o.reuseVlanSTag = reuseVlanSTag; - return o; + final var _resultValue = new ServiceProfileAccessPointTypeConfigLinkProtocolConfig(); + _resultValue.encapsulation = encapsulation; + _resultValue.encapsulationStrategy = encapsulationStrategy; + _resultValue.reuseVlanSTag = reuseVlanSTag; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ServiceProfileAccount.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ServiceProfileAccount.java index 4f94c38a..3df9f134 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ServiceProfileAccount.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ServiceProfileAccount.java @@ -182,16 +182,16 @@ public Builder ucmId(@Nullable String ucmId) { return this; } public ServiceProfileAccount build() { - final var o = new ServiceProfileAccount(); - o.accountName = accountName; - o.accountNumber = accountNumber; - o.globalCustId = globalCustId; - o.globalOrgId = globalOrgId; - o.globalOrganizationName = globalOrganizationName; - o.orgId = orgId; - o.organizationName = organizationName; - o.ucmId = ucmId; - return o; + final var _resultValue = new ServiceProfileAccount(); + _resultValue.accountName = accountName; + _resultValue.accountNumber = accountNumber; + _resultValue.globalCustId = globalCustId; + _resultValue.globalOrgId = globalOrgId; + _resultValue.globalOrganizationName = globalOrganizationName; + _resultValue.orgId = orgId; + _resultValue.organizationName = organizationName; + _resultValue.ucmId = ucmId; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ServiceProfileChangeLog.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ServiceProfileChangeLog.java index 716fc9de..971f40b4 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ServiceProfileChangeLog.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ServiceProfileChangeLog.java @@ -161,20 +161,20 @@ public Builder updatedDateTime(@Nullable String updatedDateTime) { return this; } public ServiceProfileChangeLog build() { - final var o = new ServiceProfileChangeLog(); - 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; + final var _resultValue = new ServiceProfileChangeLog(); + _resultValue.createdBy = createdBy; + _resultValue.createdByEmail = createdByEmail; + _resultValue.createdByFullName = createdByFullName; + _resultValue.createdDateTime = createdDateTime; + _resultValue.deletedBy = deletedBy; + _resultValue.deletedByEmail = deletedByEmail; + _resultValue.deletedByFullName = deletedByFullName; + _resultValue.deletedDateTime = deletedDateTime; + _resultValue.updatedBy = updatedBy; + _resultValue.updatedByEmail = updatedByEmail; + _resultValue.updatedByFullName = updatedByFullName; + _resultValue.updatedDateTime = updatedDateTime; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ServiceProfileCustomField.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ServiceProfileCustomField.java index 6683c73b..6246011e 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ServiceProfileCustomField.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ServiceProfileCustomField.java @@ -148,14 +148,14 @@ public Builder required(Boolean required) { return this; } public ServiceProfileCustomField build() { - final var o = new ServiceProfileCustomField(); - o.captureInEmail = captureInEmail; - o.dataType = dataType; - o.description = description; - o.label = label; - o.options = options; - o.required = required; - return o; + final var _resultValue = new ServiceProfileCustomField(); + _resultValue.captureInEmail = captureInEmail; + _resultValue.dataType = dataType; + _resultValue.description = description; + _resultValue.label = label; + _resultValue.options = options; + _resultValue.required = required; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ServiceProfileMarketingInfo.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ServiceProfileMarketingInfo.java index 4c1cd4e8..e1792fd0 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ServiceProfileMarketingInfo.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ServiceProfileMarketingInfo.java @@ -92,11 +92,11 @@ public Builder promotion(@Nullable Boolean promotion) { return this; } public ServiceProfileMarketingInfo build() { - final var o = new ServiceProfileMarketingInfo(); - o.logo = logo; - o.processSteps = processSteps; - o.promotion = promotion; - return o; + final var _resultValue = new ServiceProfileMarketingInfo(); + _resultValue.logo = logo; + _resultValue.processSteps = processSteps; + _resultValue.promotion = promotion; + return _resultValue; } } } 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 bdbbfe96..0cd24713 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 @@ -86,11 +86,11 @@ public Builder title(@Nullable String title) { return this; } public ServiceProfileMarketingInfoProcessStep build() { - final var o = new ServiceProfileMarketingInfoProcessStep(); - o.description = description; - o.subTitle = subTitle; - o.title = title; - return o; + final var _resultValue = new ServiceProfileMarketingInfoProcessStep(); + _resultValue.description = description; + _resultValue.subTitle = subTitle; + _resultValue.title = title; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ServiceProfileMetro.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ServiceProfileMetro.java index 9351c0e4..c60bac6d 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ServiceProfileMetro.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ServiceProfileMetro.java @@ -149,14 +149,14 @@ public Builder sellerRegions(@Nullable Map sellerRegions) { return this; } public ServiceProfileMetro build() { - final var o = new ServiceProfileMetro(); - o.code = code; - o.displayName = displayName; - o.ibxs = ibxs; - o.inTrail = inTrail; - o.name = name; - o.sellerRegions = sellerRegions; - return o; + final var _resultValue = new ServiceProfileMetro(); + _resultValue.code = code; + _resultValue.displayName = displayName; + _resultValue.ibxs = ibxs; + _resultValue.inTrail = inTrail; + _resultValue.name = name; + _resultValue.sellerRegions = sellerRegions; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ServiceProfileNotification.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ServiceProfileNotification.java index 8f7361ac..4f41f254 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ServiceProfileNotification.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ServiceProfileNotification.java @@ -90,11 +90,11 @@ public Builder type(String type) { return this; } public ServiceProfileNotification build() { - final var o = new ServiceProfileNotification(); - o.emails = emails; - o.sendInterval = sendInterval; - o.type = type; - return o; + final var _resultValue = new ServiceProfileNotification(); + _resultValue.emails = emails; + _resultValue.sendInterval = sendInterval; + _resultValue.type = type; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ServiceProfilePort.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ServiceProfilePort.java index 32618014..fd18fcc6 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ServiceProfilePort.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ServiceProfilePort.java @@ -144,14 +144,14 @@ public Builder uuid(String uuid) { return this; } public ServiceProfilePort build() { - final var o = new ServiceProfilePort(); - o.crossConnectId = crossConnectId; - o.location = location; - o.sellerRegion = sellerRegion; - o.sellerRegionDescription = sellerRegionDescription; - o.type = type; - o.uuid = uuid; - return o; + final var _resultValue = new ServiceProfilePort(); + _resultValue.crossConnectId = crossConnectId; + _resultValue.location = location; + _resultValue.sellerRegion = sellerRegion; + _resultValue.sellerRegionDescription = sellerRegionDescription; + _resultValue.type = type; + _resultValue.uuid = uuid; + return _resultValue; } } } 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 33ccfb60..de6c51c4 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 @@ -105,12 +105,12 @@ public Builder region(@Nullable String region) { return this; } public ServiceProfilePortLocation build() { - final var o = new ServiceProfilePortLocation(); - o.ibx = ibx; - o.metroCode = metroCode; - o.metroName = metroName; - o.region = region; - return o; + final var _resultValue = new ServiceProfilePortLocation(); + _resultValue.ibx = ibx; + _resultValue.metroCode = metroCode; + _resultValue.metroName = metroName; + _resultValue.region = region; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ServiceProfileProject.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ServiceProfileProject.java index c89bfb7c..21a26ad9 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ServiceProfileProject.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ServiceProfileProject.java @@ -67,10 +67,10 @@ public Builder projectId(@Nullable String projectId) { return this; } public ServiceProfileProject build() { - final var o = new ServiceProfileProject(); - o.href = href; - o.projectId = projectId; - return o; + final var _resultValue = new ServiceProfileProject(); + _resultValue.href = href; + _resultValue.projectId = projectId; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ServiceProfileVirtualDevice.java b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ServiceProfileVirtualDevice.java index a30d57e3..1683769c 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ServiceProfileVirtualDevice.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/fabric/outputs/ServiceProfileVirtualDevice.java @@ -106,12 +106,12 @@ public Builder uuid(String uuid) { return this; } public ServiceProfileVirtualDevice build() { - final var o = new ServiceProfileVirtualDevice(); - o.interfaceUuid = interfaceUuid; - o.location = location; - o.type = type; - o.uuid = uuid; - return o; + final var _resultValue = new ServiceProfileVirtualDevice(); + _resultValue.interfaceUuid = interfaceUuid; + _resultValue.location = location; + _resultValue.type = type; + _resultValue.uuid = uuid; + return _resultValue; } } } 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 7146a2ec..eae0f377 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 @@ -105,12 +105,12 @@ public Builder region(@Nullable String region) { return this; } public ServiceProfileVirtualDeviceLocation build() { - final var o = new ServiceProfileVirtualDeviceLocation(); - o.ibx = ibx; - o.metroCode = metroCode; - o.metroName = metroName; - o.region = region; - return o; + final var _resultValue = new ServiceProfileVirtualDeviceLocation(); + _resultValue.ibx = ibx; + _resultValue.metroCode = metroCode; + _resultValue.metroName = metroName; + _resultValue.region = region; + return _resultValue; } } } 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 19fa1a21..1cf107e4 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 @@ -521,6 +521,20 @@ public Output> reinstall() { public Output rootPassword() { return this.rootPassword; } + /** + * The hostname to use for [Serial over SSH](https://deploy.equinix.com/developers/docs/metal/resilience-recovery/serial-over-ssh/) access to the device + * + */ + @Export(name="sosHostname", refs={String.class}, tree="[0]") + private Output sosHostname; + + /** + * @return The hostname to use for [Serial over SSH](https://deploy.equinix.com/developers/docs/metal/resilience-recovery/serial-over-ssh/) access to the device + * + */ + public Output sosHostname() { + return this.sosHostname; + } /** * List of IDs of SSH keys deployed in the device, can be both user and project SSH keys. * 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 d7d7b9f1..6a3754f0 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 @@ -522,6 +522,21 @@ public Optional> rootPassword() { return Optional.ofNullable(this.rootPassword); } + /** + * The hostname to use for [Serial over SSH](https://deploy.equinix.com/developers/docs/metal/resilience-recovery/serial-over-ssh/) access to the device + * + */ + @Import(name="sosHostname") + private @Nullable Output sosHostname; + + /** + * @return The hostname to use for [Serial over SSH](https://deploy.equinix.com/developers/docs/metal/resilience-recovery/serial-over-ssh/) access to the device + * + */ + public Optional> sosHostname() { + return Optional.ofNullable(this.sosHostname); + } + /** * List of IDs of SSH keys deployed in the device, can be both user and project SSH keys. * @@ -702,6 +717,7 @@ private DeviceState(DeviceState $) { this.projectSshKeyIds = $.projectSshKeyIds; this.reinstall = $.reinstall; this.rootPassword = $.rootPassword; + this.sosHostname = $.sosHostname; this.sshKeyIds = $.sshKeyIds; this.state = $.state; this.storage = $.storage; @@ -1562,6 +1578,27 @@ public Builder rootPassword(String rootPassword) { return rootPassword(Output.of(rootPassword)); } + /** + * @param sosHostname The hostname to use for [Serial over SSH](https://deploy.equinix.com/developers/docs/metal/resilience-recovery/serial-over-ssh/) access to the device + * + * @return builder + * + */ + public Builder sosHostname(@Nullable Output sosHostname) { + $.sosHostname = sosHostname; + return this; + } + + /** + * @param sosHostname The hostname to use for [Serial over SSH](https://deploy.equinix.com/developers/docs/metal/resilience-recovery/serial-over-ssh/) access to the device + * + * @return builder + * + */ + public Builder sosHostname(String sosHostname) { + return sosHostname(Output.of(sosHostname)); + } + /** * @param sshKeyIds List of IDs of SSH keys deployed in the device, can be both user and project SSH keys. * diff --git a/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/DeviceBehavior.java b/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/DeviceBehavior.java index a0cbf4fa..b695b465 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/DeviceBehavior.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/DeviceBehavior.java @@ -51,9 +51,9 @@ public Builder allowChanges(String... allowChanges) { return allowChanges(List.of(allowChanges)); } public DeviceBehavior build() { - final var o = new DeviceBehavior(); - o.allowChanges = allowChanges; - return o; + final var _resultValue = new DeviceBehavior(); + _resultValue.allowChanges = allowChanges; + return _resultValue; } } } 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 44856b21..8dadb303 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 @@ -105,11 +105,11 @@ public Builder type(String type) { return this; } public DeviceIpAddress build() { - final var o = new DeviceIpAddress(); - o.cidr = cidr; - o.reservationIds = reservationIds; - o.type = type; - return o; + final var _resultValue = new DeviceIpAddress(); + _resultValue.cidr = cidr; + _resultValue.reservationIds = reservationIds; + _resultValue.type = type; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/DeviceNetwork.java b/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/DeviceNetwork.java index 5b939fd9..caf840d5 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/DeviceNetwork.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/DeviceNetwork.java @@ -126,13 +126,13 @@ public Builder public_(@Nullable Boolean public_) { return this; } public DeviceNetwork build() { - final var o = new DeviceNetwork(); - o.address = address; - o.cidr = cidr; - o.family = family; - o.gateway = gateway; - o.public_ = public_; - return o; + final var _resultValue = new DeviceNetwork(); + _resultValue.address = address; + _resultValue.cidr = cidr; + _resultValue.family = family; + _resultValue.gateway = gateway; + _resultValue.public_ = public_; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/DevicePort.java b/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/DevicePort.java index 1c00c65e..4f48d08d 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/DevicePort.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/DevicePort.java @@ -125,13 +125,13 @@ public Builder type(@Nullable String type) { return this; } public DevicePort build() { - final var o = new DevicePort(); - o.bonded = bonded; - o.id = id; - o.mac = mac; - o.name = name; - o.type = type; - return o; + final var _resultValue = new DevicePort(); + _resultValue.bonded = bonded; + _resultValue.id = id; + _resultValue.mac = mac; + _resultValue.name = name; + _resultValue.type = type; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/DeviceReinstall.java b/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/DeviceReinstall.java index eb0a3412..368d671a 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/DeviceReinstall.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/DeviceReinstall.java @@ -92,11 +92,11 @@ public Builder preserveData(@Nullable Boolean preserveData) { return this; } public DeviceReinstall build() { - final var o = new DeviceReinstall(); - o.deprovisionFast = deprovisionFast; - o.enabled = enabled; - o.preserveData = preserveData; - return o; + final var _resultValue = new DeviceReinstall(); + _resultValue.deprovisionFast = deprovisionFast; + _resultValue.enabled = enabled; + _resultValue.preserveData = preserveData; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetDeviceBgpNeighborsBgpNeighbor.java b/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetDeviceBgpNeighborsBgpNeighbor.java index 2268465c..c3d73f90 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetDeviceBgpNeighborsBgpNeighbor.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetDeviceBgpNeighborsBgpNeighbor.java @@ -232,18 +232,18 @@ public Builder routesOuts(GetDeviceBgpNeighborsBgpNeighborRoutesOut... routesOut return routesOuts(List.of(routesOuts)); } public GetDeviceBgpNeighborsBgpNeighbor build() { - final var o = new GetDeviceBgpNeighborsBgpNeighbor(); - o.addressFamily = addressFamily; - o.customerAs = customerAs; - o.customerIp = customerIp; - o.md5Enabled = md5Enabled; - o.md5Password = md5Password; - o.multihop = multihop; - o.peerAs = peerAs; - o.peerIps = peerIps; - o.routesIns = routesIns; - o.routesOuts = routesOuts; - return o; + final var _resultValue = new GetDeviceBgpNeighborsBgpNeighbor(); + _resultValue.addressFamily = addressFamily; + _resultValue.customerAs = customerAs; + _resultValue.customerIp = customerIp; + _resultValue.md5Enabled = md5Enabled; + _resultValue.md5Password = md5Password; + _resultValue.multihop = multihop; + _resultValue.peerAs = peerAs; + _resultValue.peerIps = peerIps; + _resultValue.routesIns = routesIns; + _resultValue.routesOuts = routesOuts; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetDeviceBgpNeighborsBgpNeighborRoutesIn.java b/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetDeviceBgpNeighborsBgpNeighborRoutesIn.java index 18ea3234..292d3434 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetDeviceBgpNeighborsBgpNeighborRoutesIn.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetDeviceBgpNeighborsBgpNeighborRoutesIn.java @@ -66,10 +66,10 @@ public Builder route(String route) { return this; } public GetDeviceBgpNeighborsBgpNeighborRoutesIn build() { - final var o = new GetDeviceBgpNeighborsBgpNeighborRoutesIn(); - o.exact = exact; - o.route = route; - return o; + final var _resultValue = new GetDeviceBgpNeighborsBgpNeighborRoutesIn(); + _resultValue.exact = exact; + _resultValue.route = route; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetDeviceBgpNeighborsBgpNeighborRoutesOut.java b/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetDeviceBgpNeighborsBgpNeighborRoutesOut.java index ecbbf0fe..41886dc3 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetDeviceBgpNeighborsBgpNeighborRoutesOut.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetDeviceBgpNeighborsBgpNeighborRoutesOut.java @@ -66,10 +66,10 @@ public Builder route(String route) { return this; } public GetDeviceBgpNeighborsBgpNeighborRoutesOut build() { - final var o = new GetDeviceBgpNeighborsBgpNeighborRoutesOut(); - o.exact = exact; - o.route = route; - return o; + final var _resultValue = new GetDeviceBgpNeighborsBgpNeighborRoutesOut(); + _resultValue.exact = exact; + _resultValue.route = route; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetDeviceBgpNeighborsResult.java b/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetDeviceBgpNeighborsResult.java index bf87d7b5..202d838e 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetDeviceBgpNeighborsResult.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetDeviceBgpNeighborsResult.java @@ -81,11 +81,11 @@ public Builder id(String id) { return this; } public GetDeviceBgpNeighborsResult build() { - final var o = new GetDeviceBgpNeighborsResult(); - o.bgpNeighbors = bgpNeighbors; - o.deviceId = deviceId; - o.id = id; - return o; + final var _resultValue = new GetDeviceBgpNeighborsResult(); + _resultValue.bgpNeighbors = bgpNeighbors; + _resultValue.deviceId = deviceId; + _resultValue.id = id; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetDeviceNetwork.java b/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetDeviceNetwork.java index 9f2e9eb0..025a13a5 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetDeviceNetwork.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetDeviceNetwork.java @@ -124,13 +124,13 @@ public Builder public_(Boolean public_) { return this; } public GetDeviceNetwork build() { - final var o = new GetDeviceNetwork(); - o.address = address; - o.cidr = cidr; - o.family = family; - o.gateway = gateway; - o.public_ = public_; - return o; + final var _resultValue = new GetDeviceNetwork(); + _resultValue.address = address; + _resultValue.cidr = cidr; + _resultValue.family = family; + _resultValue.gateway = gateway; + _resultValue.public_ = public_; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetDevicePort.java b/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetDevicePort.java index 9ed5c2ed..3b047d1d 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetDevicePort.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetDevicePort.java @@ -123,13 +123,13 @@ public Builder type(String type) { return this; } public GetDevicePort build() { - final var o = new GetDevicePort(); - o.bonded = bonded; - o.id = id; - o.mac = mac; - o.name = name; - o.type = type; - return o; + final var _resultValue = new GetDevicePort(); + _resultValue.bonded = bonded; + _resultValue.id = id; + _resultValue.mac = mac; + _resultValue.name = name; + _resultValue.type = type; + return _resultValue; } } } 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 0331b9d3..2ffb19e4 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 @@ -100,6 +100,11 @@ public final class GetDeviceResult { * */ private String rootPassword; + /** + * @return The hostname to use for [Serial over SSH](https://deploy.equinix.com/developers/docs/metal/resilience-recovery/serial-over-ssh/) access to the device + * + */ + private String sosHostname; /** * @return List of IDs of SSH keys deployed in the device, can be both user or project SSH keys. * @@ -245,6 +250,13 @@ public String projectId() { public String rootPassword() { return this.rootPassword; } + /** + * @return The hostname to use for [Serial over SSH](https://deploy.equinix.com/developers/docs/metal/resilience-recovery/serial-over-ssh/) access to the device + * + */ + public String sosHostname() { + return this.sosHostname; + } /** * @return List of IDs of SSH keys deployed in the device, can be both user or project SSH keys. * @@ -299,6 +311,7 @@ public static final class Builder { private List ports; private String projectId; private String rootPassword; + private String sosHostname; private List sshKeyIds; private String state; private String storage; @@ -326,6 +339,7 @@ public Builder(GetDeviceResult defaults) { this.ports = defaults.ports; this.projectId = defaults.projectId; this.rootPassword = defaults.rootPassword; + this.sosHostname = defaults.sosHostname; this.sshKeyIds = defaults.sshKeyIds; this.state = defaults.state; this.storage = defaults.storage; @@ -439,6 +453,11 @@ public Builder rootPassword(String rootPassword) { return this; } @CustomType.Setter + public Builder sosHostname(String sosHostname) { + this.sosHostname = Objects.requireNonNull(sosHostname); + return this; + } + @CustomType.Setter public Builder sshKeyIds(List sshKeyIds) { this.sshKeyIds = Objects.requireNonNull(sshKeyIds); return this; @@ -465,32 +484,33 @@ public Builder tags(String... tags) { return tags(List.of(tags)); } public GetDeviceResult build() { - final var o = new GetDeviceResult(); - 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.id = id; - 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; + final var _resultValue = new GetDeviceResult(); + _resultValue.accessPrivateIpv4 = accessPrivateIpv4; + _resultValue.accessPublicIpv4 = accessPublicIpv4; + _resultValue.accessPublicIpv6 = accessPublicIpv6; + _resultValue.alwaysPxe = alwaysPxe; + _resultValue.billingCycle = billingCycle; + _resultValue.description = description; + _resultValue.deviceId = deviceId; + _resultValue.facility = facility; + _resultValue.hardwareReservationId = hardwareReservationId; + _resultValue.hostname = hostname; + _resultValue.id = id; + _resultValue.ipxeScriptUrl = ipxeScriptUrl; + _resultValue.metro = metro; + _resultValue.networkType = networkType; + _resultValue.networks = networks; + _resultValue.operatingSystem = operatingSystem; + _resultValue.plan = plan; + _resultValue.ports = ports; + _resultValue.projectId = projectId; + _resultValue.rootPassword = rootPassword; + _resultValue.sosHostname = sosHostname; + _resultValue.sshKeyIds = sshKeyIds; + _resultValue.state = state; + _resultValue.storage = storage; + _resultValue.tags = tags; + return _resultValue; } } } 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 index b92bc0a1..fd8e977a 100644 --- 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 @@ -42,6 +42,7 @@ public final class GetDevicesDevice { */ private String projectId; private String rootPassword; + private String sosHostname; private List sshKeyIds; private String state; private String storage; @@ -115,6 +116,9 @@ public String projectId() { public String rootPassword() { return this.rootPassword; } + public String sosHostname() { + return this.sosHostname; + } public List sshKeyIds() { return this.sshKeyIds; } @@ -156,6 +160,7 @@ public static final class Builder { private List ports; private String projectId; private String rootPassword; + private String sosHostname; private List sshKeyIds; private String state; private String storage; @@ -182,6 +187,7 @@ public Builder(GetDevicesDevice defaults) { this.ports = defaults.ports; this.projectId = defaults.projectId; this.rootPassword = defaults.rootPassword; + this.sosHostname = defaults.sosHostname; this.sshKeyIds = defaults.sshKeyIds; this.state = defaults.state; this.storage = defaults.storage; @@ -290,6 +296,11 @@ public Builder rootPassword(String rootPassword) { return this; } @CustomType.Setter + public Builder sosHostname(String sosHostname) { + this.sosHostname = Objects.requireNonNull(sosHostname); + return this; + } + @CustomType.Setter public Builder sshKeyIds(List sshKeyIds) { this.sshKeyIds = Objects.requireNonNull(sshKeyIds); return this; @@ -316,31 +327,32 @@ 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; + final var _resultValue = new GetDevicesDevice(); + _resultValue.accessPrivateIpv4 = accessPrivateIpv4; + _resultValue.accessPublicIpv4 = accessPublicIpv4; + _resultValue.accessPublicIpv6 = accessPublicIpv6; + _resultValue.alwaysPxe = alwaysPxe; + _resultValue.billingCycle = billingCycle; + _resultValue.description = description; + _resultValue.deviceId = deviceId; + _resultValue.facility = facility; + _resultValue.hardwareReservationId = hardwareReservationId; + _resultValue.hostname = hostname; + _resultValue.ipxeScriptUrl = ipxeScriptUrl; + _resultValue.metro = metro; + _resultValue.networkType = networkType; + _resultValue.networks = networks; + _resultValue.operatingSystem = operatingSystem; + _resultValue.plan = plan; + _resultValue.ports = ports; + _resultValue.projectId = projectId; + _resultValue.rootPassword = rootPassword; + _resultValue.sosHostname = sosHostname; + _resultValue.sshKeyIds = sshKeyIds; + _resultValue.state = state; + _resultValue.storage = storage; + _resultValue.tags = tags; + return _resultValue; } } } 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 index 76f8b870..4c6eea64 100644 --- 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 @@ -84,13 +84,13 @@ public Builder public_(Boolean 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; + final var _resultValue = new GetDevicesDeviceNetwork(); + _resultValue.address = address; + _resultValue.cidr = cidr; + _resultValue.family = family; + _resultValue.gateway = gateway; + _resultValue.public_ = public_; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetDevicesDevicePort.java b/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetDevicesDevicePort.java index 189ca341..0455b47d 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetDevicesDevicePort.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetDevicesDevicePort.java @@ -83,13 +83,13 @@ public Builder type(String type) { return this; } public GetDevicesDevicePort build() { - final var o = new GetDevicesDevicePort(); - o.bonded = bonded; - o.id = id; - o.mac = mac; - o.name = name; - o.type = type; - return o; + final var _resultValue = new GetDevicesDevicePort(); + _resultValue.bonded = bonded; + _resultValue.id = id; + _resultValue.mac = mac; + _resultValue.name = name; + _resultValue.type = type; + return _resultValue; } } } 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 index dcec3609..13d01058 100644 --- 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 @@ -114,12 +114,12 @@ 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; + final var _resultValue = new GetDevicesFilter(); + _resultValue.all = all; + _resultValue.attribute = attribute; + _resultValue.matchBy = matchBy; + _resultValue.values = values; + return _resultValue; } } } 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 index ebf4c692..a1831b91 100644 --- 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 @@ -135,15 +135,15 @@ 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; + final var _resultValue = new GetDevicesResult(); + _resultValue.devices = devices; + _resultValue.filters = filters; + _resultValue.id = id; + _resultValue.organizationId = organizationId; + _resultValue.projectId = projectId; + _resultValue.search = search; + _resultValue.sorts = sorts; + return _resultValue; } } } 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 index 241426e7..102e6409 100644 --- 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 @@ -59,10 +59,10 @@ public Builder direction(@Nullable String direction) { return this; } public GetDevicesSort build() { - final var o = new GetDevicesSort(); - o.attribute = attribute; - o.direction = direction; - return o; + final var _resultValue = new GetDevicesSort(); + _resultValue.attribute = attribute; + _resultValue.direction = direction; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetFacilityCapacity.java b/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetFacilityCapacity.java index ffecfad9..da999b23 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetFacilityCapacity.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetFacilityCapacity.java @@ -70,10 +70,10 @@ public Builder quantity(@Nullable Integer quantity) { return this; } public GetFacilityCapacity build() { - final var o = new GetFacilityCapacity(); - o.plan = plan; - o.quantity = quantity; - return o; + final var _resultValue = new GetFacilityCapacity(); + _resultValue.plan = plan; + _resultValue.quantity = quantity; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetFacilityResult.java b/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetFacilityResult.java index a9468a39..933adc49 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetFacilityResult.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetFacilityResult.java @@ -148,15 +148,15 @@ public Builder name(String name) { return this; } public GetFacilityResult build() { - final var o = new GetFacilityResult(); - o.capacities = capacities; - o.code = code; - o.features = features; - o.featuresRequireds = featuresRequireds; - o.id = id; - o.metro = metro; - o.name = name; - return o; + final var _resultValue = new GetFacilityResult(); + _resultValue.capacities = capacities; + _resultValue.code = code; + _resultValue.features = features; + _resultValue.featuresRequireds = featuresRequireds; + _resultValue.id = id; + _resultValue.metro = metro; + _resultValue.name = name; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetGatewayResult.java b/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetGatewayResult.java index 5fcf23bf..0d9e17ec 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetGatewayResult.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetGatewayResult.java @@ -174,16 +174,16 @@ public Builder vrfId(String vrfId) { return this; } public GetGatewayResult build() { - final var o = new GetGatewayResult(); - o.gatewayId = gatewayId; - o.id = id; - o.ipReservationId = ipReservationId; - o.privateIpv4SubnetSize = privateIpv4SubnetSize; - o.projectId = projectId; - o.state = state; - o.vlanId = vlanId; - o.vrfId = vrfId; - return o; + final var _resultValue = new GetGatewayResult(); + _resultValue.gatewayId = gatewayId; + _resultValue.id = id; + _resultValue.ipReservationId = ipReservationId; + _resultValue.privateIpv4SubnetSize = privateIpv4SubnetSize; + _resultValue.projectId = projectId; + _resultValue.state = state; + _resultValue.vlanId = vlanId; + _resultValue.vrfId = vrfId; + return _resultValue; } } } 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 2a262256..c50dcb13 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 @@ -213,17 +213,17 @@ public Builder switchUuid(String switchUuid) { return this; } public GetHardwareReservationResult build() { - final var o = new GetHardwareReservationResult(); - o.deviceId = deviceId; - o.facility = facility; - o.id = id; - o.plan = plan; - o.projectId = projectId; - o.provisionable = provisionable; - o.shortId = shortId; - o.spare = spare; - o.switchUuid = switchUuid; - return o; + final var _resultValue = new GetHardwareReservationResult(); + _resultValue.deviceId = deviceId; + _resultValue.facility = facility; + _resultValue.id = id; + _resultValue.plan = plan; + _resultValue.projectId = projectId; + _resultValue.provisionable = provisionable; + _resultValue.shortId = shortId; + _resultValue.spare = spare; + _resultValue.switchUuid = switchUuid; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetInterconnectionPort.java b/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetInterconnectionPort.java index 44d5f0b2..99e71e45 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetInterconnectionPort.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetInterconnectionPort.java @@ -166,15 +166,15 @@ public Builder virtualCircuitIds(Object... virtualCircuitIds) { return virtualCircuitIds(List.of(virtualCircuitIds)); } public GetInterconnectionPort build() { - final var o = new GetInterconnectionPort(); - o.id = id; - o.linkStatus = linkStatus; - o.name = name; - o.role = role; - o.speed = speed; - o.status = status; - o.virtualCircuitIds = virtualCircuitIds; - return o; + final var _resultValue = new GetInterconnectionPort(); + _resultValue.id = id; + _resultValue.linkStatus = linkStatus; + _resultValue.name = name; + _resultValue.role = role; + _resultValue.speed = speed; + _resultValue.status = status; + _resultValue.virtualCircuitIds = virtualCircuitIds; + return _resultValue; } } } 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 23017ca3..838cb785 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 @@ -431,28 +431,28 @@ public Builder vlans(Integer... vlans) { return vlans(List.of(vlans)); } public GetInterconnectionResult build() { - final var o = new GetInterconnectionResult(); - o.connectionId = connectionId; - o.contactEmail = contactEmail; - o.description = description; - o.facility = facility; - o.id = id; - o.metro = metro; - o.mode = mode; - o.name = name; - o.organizationId = organizationId; - o.ports = ports; - o.projectId = projectId; - o.redundancy = redundancy; - o.serviceTokenType = serviceTokenType; - o.serviceTokens = serviceTokens; - o.speed = speed; - o.status = status; - o.tags = tags; - o.token = token; - o.type = type; - o.vlans = vlans; - return o; + final var _resultValue = new GetInterconnectionResult(); + _resultValue.connectionId = connectionId; + _resultValue.contactEmail = contactEmail; + _resultValue.description = description; + _resultValue.facility = facility; + _resultValue.id = id; + _resultValue.metro = metro; + _resultValue.mode = mode; + _resultValue.name = name; + _resultValue.organizationId = organizationId; + _resultValue.ports = ports; + _resultValue.projectId = projectId; + _resultValue.redundancy = redundancy; + _resultValue.serviceTokenType = serviceTokenType; + _resultValue.serviceTokens = serviceTokens; + _resultValue.speed = speed; + _resultValue.status = status; + _resultValue.tags = tags; + _resultValue.token = token; + _resultValue.type = type; + _resultValue.vlans = vlans; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetInterconnectionServiceToken.java b/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetInterconnectionServiceToken.java index b4ecdf08..e46df6f4 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetInterconnectionServiceToken.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetInterconnectionServiceToken.java @@ -133,14 +133,14 @@ public Builder type(String type) { return this; } public GetInterconnectionServiceToken build() { - final var o = new GetInterconnectionServiceToken(); - o.expiresAt = expiresAt; - o.id = id; - o.maxAllowedSpeed = maxAllowedSpeed; - o.role = role; - o.state = state; - o.type = type; - return o; + final var _resultValue = new GetInterconnectionServiceToken(); + _resultValue.expiresAt = expiresAt; + _resultValue.id = id; + _resultValue.maxAllowedSpeed = maxAllowedSpeed; + _resultValue.role = role; + _resultValue.state = state; + _resultValue.type = type; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetIpBlockRangesResult.java b/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetIpBlockRangesResult.java index 334fbc6a..50da27c8 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetIpBlockRangesResult.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetIpBlockRangesResult.java @@ -182,16 +182,16 @@ public Builder publicIpv4s(String... publicIpv4s) { return publicIpv4s(List.of(publicIpv4s)); } public GetIpBlockRangesResult build() { - final var o = new GetIpBlockRangesResult(); - o.facility = facility; - o.globalIpv4s = globalIpv4s; - o.id = id; - o.ipv6s = ipv6s; - o.metro = metro; - o.privateIpv4s = privateIpv4s; - o.projectId = projectId; - o.publicIpv4s = publicIpv4s; - return o; + final var _resultValue = new GetIpBlockRangesResult(); + _resultValue.facility = facility; + _resultValue.globalIpv4s = globalIpv4s; + _resultValue.id = id; + _resultValue.ipv6s = ipv6s; + _resultValue.metro = metro; + _resultValue.privateIpv4s = privateIpv4s; + _resultValue.projectId = projectId; + _resultValue.publicIpv4s = publicIpv4s; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetMetroCapacity.java b/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetMetroCapacity.java index d0df6104..83877695 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetMetroCapacity.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetMetroCapacity.java @@ -70,10 +70,10 @@ public Builder quantity(@Nullable Integer quantity) { return this; } public GetMetroCapacity build() { - final var o = new GetMetroCapacity(); - o.plan = plan; - o.quantity = quantity; - return o; + final var _resultValue = new GetMetroCapacity(); + _resultValue.plan = plan; + _resultValue.quantity = quantity; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetMetroResult.java b/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetMetroResult.java index 845a095e..ce7cf1aa 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetMetroResult.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetMetroResult.java @@ -112,13 +112,13 @@ public Builder name(String name) { return this; } public GetMetroResult build() { - final var o = new GetMetroResult(); - o.capacities = capacities; - o.code = code; - o.country = country; - o.id = id; - o.name = name; - return o; + final var _resultValue = new GetMetroResult(); + _resultValue.capacities = capacities; + _resultValue.code = code; + _resultValue.country = country; + _resultValue.id = id; + _resultValue.name = name; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetOperatingSystemResult.java b/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetOperatingSystemResult.java index b31d07ab..beb6557f 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetOperatingSystemResult.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetOperatingSystemResult.java @@ -111,14 +111,14 @@ public Builder version(@Nullable String version) { return this; } public GetOperatingSystemResult build() { - final var o = new GetOperatingSystemResult(); - o.distro = distro; - o.id = id; - o.name = name; - o.provisionableOn = provisionableOn; - o.slug = slug; - o.version = version; - return o; + final var _resultValue = new GetOperatingSystemResult(); + _resultValue.distro = distro; + _resultValue.id = id; + _resultValue.name = name; + _resultValue.provisionableOn = provisionableOn; + _resultValue.slug = slug; + _resultValue.version = version; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetOrganizationAddress.java b/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetOrganizationAddress.java index 945eded1..bbbb3d8f 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetOrganizationAddress.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetOrganizationAddress.java @@ -122,13 +122,13 @@ public Builder zipCode(String zipCode) { return this; } public GetOrganizationAddress build() { - final var o = new GetOrganizationAddress(); - o.address = address; - o.city = city; - o.country = country; - o.state = state; - o.zipCode = zipCode; - return o; + final var _resultValue = new GetOrganizationAddress(); + _resultValue.address = address; + _resultValue.city = city; + _resultValue.country = country; + _resultValue.state = state; + _resultValue.zipCode = zipCode; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetOrganizationResult.java b/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetOrganizationResult.java index 9e65c8e8..0e0e2832 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetOrganizationResult.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetOrganizationResult.java @@ -187,17 +187,17 @@ public Builder website(String website) { return this; } public GetOrganizationResult build() { - final var o = new GetOrganizationResult(); - o.address = address; - o.description = description; - o.id = id; - o.logo = logo; - o.name = name; - o.organizationId = organizationId; - o.projectIds = projectIds; - o.twitter = twitter; - o.website = website; - return o; + final var _resultValue = new GetOrganizationResult(); + _resultValue.address = address; + _resultValue.description = description; + _resultValue.id = id; + _resultValue.logo = logo; + _resultValue.name = name; + _resultValue.organizationId = organizationId; + _resultValue.projectIds = projectIds; + _resultValue.twitter = twitter; + _resultValue.website = website; + return _resultValue; } } } 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 d958b7c3..0179bd63 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 @@ -114,12 +114,12 @@ public Builder values(String... values) { return values(List.of(values)); } public GetPlansFilter build() { - final var o = new GetPlansFilter(); - o.all = all; - o.attribute = attribute; - o.matchBy = matchBy; - o.values = values; - return o; + final var _resultValue = new GetPlansFilter(); + _resultValue.all = all; + _resultValue.attribute = attribute; + _resultValue.matchBy = matchBy; + _resultValue.values = values; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetPlansPlan.java b/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetPlansPlan.java index 519d7f22..181b42fc 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetPlansPlan.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetPlansPlan.java @@ -275,20 +275,20 @@ public Builder slug(String slug) { return this; } public GetPlansPlan build() { - final var o = new GetPlansPlan(); - o.availableInMetros = availableInMetros; - o.availableIns = availableIns; - o.class_ = class_; - o.deploymentTypes = deploymentTypes; - o.description = description; - o.id = id; - o.legacy = legacy; - o.line = line; - o.name = name; - o.pricingHour = pricingHour; - o.pricingMonth = pricingMonth; - o.slug = slug; - return o; + final var _resultValue = new GetPlansPlan(); + _resultValue.availableInMetros = availableInMetros; + _resultValue.availableIns = availableIns; + _resultValue.class_ = class_; + _resultValue.deploymentTypes = deploymentTypes; + _resultValue.description = description; + _resultValue.id = id; + _resultValue.legacy = legacy; + _resultValue.line = line; + _resultValue.name = name; + _resultValue.pricingHour = pricingHour; + _resultValue.pricingMonth = pricingMonth; + _resultValue.slug = slug; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetPlansResult.java b/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetPlansResult.java index 0529afab..91a0f1e9 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetPlansResult.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetPlansResult.java @@ -93,12 +93,12 @@ public Builder sorts(GetPlansSort... sorts) { return sorts(List.of(sorts)); } public GetPlansResult build() { - final var o = new GetPlansResult(); - o.filters = filters; - o.id = id; - o.plans = plans; - o.sorts = sorts; - return o; + final var _resultValue = new GetPlansResult(); + _resultValue.filters = filters; + _resultValue.id = id; + _resultValue.plans = plans; + _resultValue.sorts = sorts; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetPlansSort.java b/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetPlansSort.java index a7c4671a..bcddbf47 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetPlansSort.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetPlansSort.java @@ -67,10 +67,10 @@ public Builder direction(@Nullable String direction) { return this; } public GetPlansSort build() { - final var o = new GetPlansSort(); - o.attribute = attribute; - o.direction = direction; - return o; + final var _resultValue = new GetPlansSort(); + _resultValue.attribute = attribute; + _resultValue.direction = direction; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetPortResult.java b/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetPortResult.java index 49bdc208..e2821ff0 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetPortResult.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetPortResult.java @@ -291,23 +291,23 @@ public Builder vxlanIds(Integer... vxlanIds) { return vxlanIds(List.of(vxlanIds)); } public GetPortResult build() { - final var o = new GetPortResult(); - o.bondId = bondId; - o.bondName = bondName; - o.bonded = bonded; - o.deviceId = deviceId; - o.disbondSupported = disbondSupported; - o.id = id; - o.layer2 = layer2; - o.mac = mac; - o.name = name; - o.nativeVlanId = nativeVlanId; - o.networkType = networkType; - o.portId = portId; - o.type = type; - o.vlanIds = vlanIds; - o.vxlanIds = vxlanIds; - return o; + final var _resultValue = new GetPortResult(); + _resultValue.bondId = bondId; + _resultValue.bondName = bondName; + _resultValue.bonded = bonded; + _resultValue.deviceId = deviceId; + _resultValue.disbondSupported = disbondSupported; + _resultValue.id = id; + _resultValue.layer2 = layer2; + _resultValue.mac = mac; + _resultValue.name = name; + _resultValue.nativeVlanId = nativeVlanId; + _resultValue.networkType = networkType; + _resultValue.portId = portId; + _resultValue.type = type; + _resultValue.vlanIds = vlanIds; + _resultValue.vxlanIds = vxlanIds; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetPrecreatedIpBlockResult.java b/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetPrecreatedIpBlockResult.java index e696fb19..cd86cc01 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetPrecreatedIpBlockResult.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetPrecreatedIpBlockResult.java @@ -245,26 +245,26 @@ public Builder vrfId(String vrfId) { return this; } public GetPrecreatedIpBlockResult build() { - final var o = new GetPrecreatedIpBlockResult(); - o.address = address; - o.addressFamily = addressFamily; - o.cidr = cidr; - o.cidrNotation = cidrNotation; - o.facility = facility; - o.gateway = gateway; - o.global = global; - o.id = id; - o.manageable = manageable; - o.management = management; - o.metro = metro; - o.netmask = netmask; - o.network = network; - o.projectId = projectId; - o.public_ = public_; - o.quantity = quantity; - o.type = type; - o.vrfId = vrfId; - return o; + final var _resultValue = new GetPrecreatedIpBlockResult(); + _resultValue.address = address; + _resultValue.addressFamily = addressFamily; + _resultValue.cidr = cidr; + _resultValue.cidrNotation = cidrNotation; + _resultValue.facility = facility; + _resultValue.gateway = gateway; + _resultValue.global = global; + _resultValue.id = id; + _resultValue.manageable = manageable; + _resultValue.management = management; + _resultValue.metro = metro; + _resultValue.netmask = netmask; + _resultValue.network = network; + _resultValue.projectId = projectId; + _resultValue.public_ = public_; + _resultValue.quantity = quantity; + _resultValue.type = type; + _resultValue.vrfId = vrfId; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetProjectBgpConfig.java b/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetProjectBgpConfig.java index 16855da4..f418aa9b 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetProjectBgpConfig.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetProjectBgpConfig.java @@ -125,13 +125,13 @@ public Builder status(String status) { return this; } public GetProjectBgpConfig build() { - final var o = new GetProjectBgpConfig(); - o.asn = asn; - o.deploymentType = deploymentType; - o.maxPrefix = maxPrefix; - o.md5 = md5; - o.status = status; - return o; + final var _resultValue = new GetProjectBgpConfig(); + _resultValue.asn = asn; + _resultValue.deploymentType = deploymentType; + _resultValue.maxPrefix = maxPrefix; + _resultValue.md5 = md5; + _resultValue.status = status; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetProjectResult.java b/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetProjectResult.java index e12bd06b..5616a7db 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetProjectResult.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetProjectResult.java @@ -207,18 +207,18 @@ public Builder userIds(String... userIds) { return userIds(List.of(userIds)); } public GetProjectResult build() { - final var o = new GetProjectResult(); - o.backendTransfer = backendTransfer; - o.bgpConfig = bgpConfig; - o.created = created; - o.id = id; - o.name = name; - o.organizationId = organizationId; - o.paymentMethodId = paymentMethodId; - o.projectId = projectId; - o.updated = updated; - o.userIds = userIds; - return o; + final var _resultValue = new GetProjectResult(); + _resultValue.backendTransfer = backendTransfer; + _resultValue.bgpConfig = bgpConfig; + _resultValue.created = created; + _resultValue.id = id; + _resultValue.name = name; + _resultValue.organizationId = organizationId; + _resultValue.paymentMethodId = paymentMethodId; + _resultValue.projectId = projectId; + _resultValue.updated = updated; + _resultValue.userIds = userIds; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetProjectSshKeyResult.java b/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetProjectSshKeyResult.java index 6c1f6ed8..96d292e0 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetProjectSshKeyResult.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetProjectSshKeyResult.java @@ -192,17 +192,17 @@ public Builder updated(String updated) { return this; } public GetProjectSshKeyResult build() { - final var o = new GetProjectSshKeyResult(); - o.created = created; - o.fingerprint = fingerprint; - o.id = id; - o.name = name; - o.ownerId = ownerId; - o.projectId = projectId; - o.publicKey = publicKey; - o.search = search; - o.updated = updated; - return o; + final var _resultValue = new GetProjectSshKeyResult(); + _resultValue.created = created; + _resultValue.fingerprint = fingerprint; + _resultValue.id = id; + _resultValue.name = name; + _resultValue.ownerId = ownerId; + _resultValue.projectId = projectId; + _resultValue.publicKey = publicKey; + _resultValue.search = search; + _resultValue.updated = updated; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetReservedIpBlockResult.java b/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetReservedIpBlockResult.java index b0f4ce8d..d7f94e98 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetReservedIpBlockResult.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetReservedIpBlockResult.java @@ -260,27 +260,27 @@ public Builder vrfId(Integer vrfId) { return this; } public GetReservedIpBlockResult build() { - final var o = new GetReservedIpBlockResult(); - o.address = address; - o.addressFamily = addressFamily; - o.cidr = cidr; - o.cidrNotation = cidrNotation; - o.facility = facility; - o.gateway = gateway; - o.global = global; - o.id = id; - o.ipAddress = ipAddress; - o.manageable = manageable; - o.management = management; - o.metro = metro; - o.netmask = netmask; - o.network = network; - o.projectId = projectId; - o.public_ = public_; - o.quantity = quantity; - o.type = type; - o.vrfId = vrfId; - return o; + final var _resultValue = new GetReservedIpBlockResult(); + _resultValue.address = address; + _resultValue.addressFamily = addressFamily; + _resultValue.cidr = cidr; + _resultValue.cidrNotation = cidrNotation; + _resultValue.facility = facility; + _resultValue.gateway = gateway; + _resultValue.global = global; + _resultValue.id = id; + _resultValue.ipAddress = ipAddress; + _resultValue.manageable = manageable; + _resultValue.management = management; + _resultValue.metro = metro; + _resultValue.netmask = netmask; + _resultValue.network = network; + _resultValue.projectId = projectId; + _resultValue.public_ = public_; + _resultValue.quantity = quantity; + _resultValue.type = type; + _resultValue.vrfId = vrfId; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetSpotMarketPriceResult.java b/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetSpotMarketPriceResult.java index 05af0a6e..f2b085be 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetSpotMarketPriceResult.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetSpotMarketPriceResult.java @@ -113,13 +113,13 @@ public Builder price(Double price) { return this; } public GetSpotMarketPriceResult build() { - final var o = new GetSpotMarketPriceResult(); - o.facility = facility; - o.id = id; - o.metro = metro; - o.plan = plan; - o.price = price; - return o; + final var _resultValue = new GetSpotMarketPriceResult(); + _resultValue.facility = facility; + _resultValue.id = id; + _resultValue.metro = metro; + _resultValue.plan = plan; + _resultValue.price = price; + return _resultValue; } } } 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 c33c4d81..80e133f8 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 @@ -245,19 +245,19 @@ public Builder requestId(String requestId) { return this; } public GetSpotMarketRequestResult build() { - final var o = new GetSpotMarketRequestResult(); - o.deviceIds = deviceIds; - o.devicesMax = devicesMax; - o.devicesMin = devicesMin; - o.endAt = endAt; - o.facilities = facilities; - o.id = id; - o.maxBidPrice = maxBidPrice; - o.metro = metro; - o.plan = plan; - o.projectId = projectId; - o.requestId = requestId; - return o; + final var _resultValue = new GetSpotMarketRequestResult(); + _resultValue.deviceIds = deviceIds; + _resultValue.devicesMax = devicesMax; + _resultValue.devicesMin = devicesMin; + _resultValue.endAt = endAt; + _resultValue.facilities = facilities; + _resultValue.id = id; + _resultValue.maxBidPrice = maxBidPrice; + _resultValue.metro = metro; + _resultValue.plan = plan; + _resultValue.projectId = projectId; + _resultValue.requestId = requestId; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetVirtualCircuitResult.java b/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetVirtualCircuitResult.java index b5d9c2d8..340d2970 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetVirtualCircuitResult.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetVirtualCircuitResult.java @@ -390,28 +390,28 @@ public Builder vrfId(String vrfId) { return this; } public GetVirtualCircuitResult build() { - final var o = new GetVirtualCircuitResult(); - o.connectionId = connectionId; - o.customerIp = customerIp; - o.description = description; - o.id = id; - o.md5 = md5; - o.metalIp = metalIp; - o.name = name; - o.nniVlan = nniVlan; - o.nniVnid = nniVnid; - o.peerAsn = peerAsn; - o.portId = portId; - o.projectId = projectId; - o.speed = speed; - o.status = status; - o.subnet = subnet; - o.tags = tags; - o.virtualCircuitId = virtualCircuitId; - o.vlanId = vlanId; - o.vnid = vnid; - o.vrfId = vrfId; - return o; + final var _resultValue = new GetVirtualCircuitResult(); + _resultValue.connectionId = connectionId; + _resultValue.customerIp = customerIp; + _resultValue.description = description; + _resultValue.id = id; + _resultValue.md5 = md5; + _resultValue.metalIp = metalIp; + _resultValue.name = name; + _resultValue.nniVlan = nniVlan; + _resultValue.nniVnid = nniVnid; + _resultValue.peerAsn = peerAsn; + _resultValue.portId = portId; + _resultValue.projectId = projectId; + _resultValue.speed = speed; + _resultValue.status = status; + _resultValue.subnet = subnet; + _resultValue.tags = tags; + _resultValue.virtualCircuitId = virtualCircuitId; + _resultValue.vlanId = vlanId; + _resultValue.vnid = vnid; + _resultValue.vrfId = vrfId; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetVlanResult.java b/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetVlanResult.java index bc4f7a0c..3f1f0c5e 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetVlanResult.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetVlanResult.java @@ -156,16 +156,16 @@ public Builder vxlan(Integer vxlan) { return this; } public GetVlanResult build() { - final var o = new GetVlanResult(); - o.assignedDevicesIds = assignedDevicesIds; - o.description = description; - o.facility = facility; - o.id = id; - o.metro = metro; - o.projectId = projectId; - o.vlanId = vlanId; - o.vxlan = vxlan; - return o; + final var _resultValue = new GetVlanResult(); + _resultValue.assignedDevicesIds = assignedDevicesIds; + _resultValue.description = description; + _resultValue.facility = facility; + _resultValue.id = id; + _resultValue.metro = metro; + _resultValue.projectId = projectId; + _resultValue.vlanId = vlanId; + _resultValue.vxlan = vxlan; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetVrfResult.java b/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetVrfResult.java index 644d9253..7ba702de 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetVrfResult.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/GetVrfResult.java @@ -176,16 +176,16 @@ public Builder vrfId(String vrfId) { return this; } public GetVrfResult build() { - final var o = new GetVrfResult(); - o.description = description; - o.id = id; - o.ipRanges = ipRanges; - o.localAsn = localAsn; - o.metro = metro; - o.name = name; - o.projectId = projectId; - o.vrfId = vrfId; - return o; + final var _resultValue = new GetVrfResult(); + _resultValue.description = description; + _resultValue.id = id; + _resultValue.ipRanges = ipRanges; + _resultValue.localAsn = localAsn; + _resultValue.metro = metro; + _resultValue.name = name; + _resultValue.projectId = projectId; + _resultValue.vrfId = vrfId; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/InterconnectionPort.java b/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/InterconnectionPort.java index cb3017ea..7713a592 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/InterconnectionPort.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/InterconnectionPort.java @@ -136,15 +136,15 @@ public Builder virtualCircuitIds(Object... virtualCircuitIds) { return virtualCircuitIds(List.of(virtualCircuitIds)); } public InterconnectionPort build() { - final var o = new InterconnectionPort(); - o.id = id; - o.linkStatus = linkStatus; - o.name = name; - o.role = role; - o.speed = speed; - o.status = status; - o.virtualCircuitIds = virtualCircuitIds; - return o; + final var _resultValue = new InterconnectionPort(); + _resultValue.id = id; + _resultValue.linkStatus = linkStatus; + _resultValue.name = name; + _resultValue.role = role; + _resultValue.speed = speed; + _resultValue.status = status; + _resultValue.virtualCircuitIds = virtualCircuitIds; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/InterconnectionServiceToken.java b/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/InterconnectionServiceToken.java index ed6f88bf..7f0b62af 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/InterconnectionServiceToken.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/InterconnectionServiceToken.java @@ -103,14 +103,14 @@ public Builder type(@Nullable String type) { return this; } public InterconnectionServiceToken build() { - final var o = new InterconnectionServiceToken(); - o.expiresAt = expiresAt; - o.id = id; - o.maxAllowedSpeed = maxAllowedSpeed; - o.role = role; - o.state = state; - o.type = type; - return o; + final var _resultValue = new InterconnectionServiceToken(); + _resultValue.expiresAt = expiresAt; + _resultValue.id = id; + _resultValue.maxAllowedSpeed = maxAllowedSpeed; + _resultValue.role = role; + _resultValue.state = state; + _resultValue.type = type; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/OrganizationAddress.java b/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/OrganizationAddress.java index 416b1042..df01ac67 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/OrganizationAddress.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/OrganizationAddress.java @@ -124,13 +124,13 @@ public Builder zipCode(String zipCode) { return this; } public OrganizationAddress build() { - final var o = new OrganizationAddress(); - o.address = address; - o.city = city; - o.country = country; - o.state = state; - o.zipCode = zipCode; - return o; + final var _resultValue = new OrganizationAddress(); + _resultValue.address = address; + _resultValue.city = city; + _resultValue.country = country; + _resultValue.state = state; + _resultValue.zipCode = zipCode; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/ProjectBgpConfig.java b/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/ProjectBgpConfig.java index 251b4088..aead89a9 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/ProjectBgpConfig.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/metal/outputs/ProjectBgpConfig.java @@ -127,13 +127,13 @@ public Builder status(@Nullable String status) { return this; } public ProjectBgpConfig build() { - final var o = new ProjectBgpConfig(); - o.asn = asn; - o.deploymentType = deploymentType; - o.maxPrefix = maxPrefix; - o.md5 = md5; - o.status = status; - return o; + final var _resultValue = new ProjectBgpConfig(); + _resultValue.asn = asn; + _resultValue.deploymentType = deploymentType; + _resultValue.maxPrefix = maxPrefix; + _resultValue.md5 = md5; + _resultValue.status = status; + return _resultValue; } } } 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 300cfcd8..e0fe6156 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 @@ -239,24 +239,24 @@ public Builder userdata(@Nullable String userdata) { return this; } public SpotMarketRequestInstanceParameters build() { - final var o = new SpotMarketRequestInstanceParameters(); - o.alwaysPxe = alwaysPxe; - o.billingCycle = billingCycle; - o.customdata = customdata; - o.description = description; - o.features = features; - o.hostname = hostname; - o.ipxeScriptUrl = ipxeScriptUrl; - o.locked = locked; - o.operatingSystem = operatingSystem; - o.plan = plan; - o.projectSshKeys = projectSshKeys; - o.tags = tags; - o.terminationTime = terminationTime; - o.termintationTime = termintationTime; - o.userSshKeys = userSshKeys; - o.userdata = userdata; - return o; + final var _resultValue = new SpotMarketRequestInstanceParameters(); + _resultValue.alwaysPxe = alwaysPxe; + _resultValue.billingCycle = billingCycle; + _resultValue.customdata = customdata; + _resultValue.description = description; + _resultValue.features = features; + _resultValue.hostname = hostname; + _resultValue.ipxeScriptUrl = ipxeScriptUrl; + _resultValue.locked = locked; + _resultValue.operatingSystem = operatingSystem; + _resultValue.plan = plan; + _resultValue.projectSshKeys = projectSshKeys; + _resultValue.tags = tags; + _resultValue.terminationTime = terminationTime; + _resultValue.termintationTime = termintationTime; + _resultValue.userSshKeys = userSshKeys; + _resultValue.userdata = userdata; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/networkedge/outputs/AclTemplateDeviceDetail.java b/sdk/java/src/main/java/com/equinix/pulumi/networkedge/outputs/AclTemplateDeviceDetail.java index e4fabc09..b88e3ccb 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/networkedge/outputs/AclTemplateDeviceDetail.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/networkedge/outputs/AclTemplateDeviceDetail.java @@ -88,11 +88,11 @@ public Builder uuid(@Nullable String uuid) { return this; } public AclTemplateDeviceDetail build() { - final var o = new AclTemplateDeviceDetail(); - o.aclStatus = aclStatus; - o.name = name; - o.uuid = uuid; - return o; + final var _resultValue = new AclTemplateDeviceDetail(); + _resultValue.aclStatus = aclStatus; + _resultValue.name = name; + _resultValue.uuid = uuid; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/networkedge/outputs/AclTemplateInboundRule.java b/sdk/java/src/main/java/com/equinix/pulumi/networkedge/outputs/AclTemplateInboundRule.java index 4486f27f..681457a6 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/networkedge/outputs/AclTemplateInboundRule.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/networkedge/outputs/AclTemplateInboundRule.java @@ -194,16 +194,16 @@ public Builder subnets(String... subnets) { return subnets(List.of(subnets)); } public AclTemplateInboundRule build() { - final var o = new AclTemplateInboundRule(); - o.description = description; - o.dstPort = dstPort; - o.protocol = protocol; - o.sequenceNumber = sequenceNumber; - o.sourceType = sourceType; - o.srcPort = srcPort; - o.subnet = subnet; - o.subnets = subnets; - return o; + final var _resultValue = new AclTemplateInboundRule(); + _resultValue.description = description; + _resultValue.dstPort = dstPort; + _resultValue.protocol = protocol; + _resultValue.sequenceNumber = sequenceNumber; + _resultValue.sourceType = sourceType; + _resultValue.srcPort = srcPort; + _resultValue.subnet = subnet; + _resultValue.subnets = subnets; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/networkedge/outputs/DeviceClusterDetails.java b/sdk/java/src/main/java/com/equinix/pulumi/networkedge/outputs/DeviceClusterDetails.java index 7165e8bd..d957feed 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/networkedge/outputs/DeviceClusterDetails.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/networkedge/outputs/DeviceClusterDetails.java @@ -131,13 +131,13 @@ public Builder numOfNodes(@Nullable Integer numOfNodes) { return this; } public DeviceClusterDetails build() { - final var o = new DeviceClusterDetails(); - o.clusterId = clusterId; - o.clusterName = clusterName; - o.node0 = node0; - o.node1 = node1; - o.numOfNodes = numOfNodes; - return o; + final var _resultValue = new DeviceClusterDetails(); + _resultValue.clusterId = clusterId; + _resultValue.clusterName = clusterName; + _resultValue.node0 = node0; + _resultValue.node1 = node1; + _resultValue.numOfNodes = numOfNodes; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/networkedge/outputs/DeviceClusterDetailsNode0.java b/sdk/java/src/main/java/com/equinix/pulumi/networkedge/outputs/DeviceClusterDetailsNode0.java index f5807474..c5769955 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/networkedge/outputs/DeviceClusterDetailsNode0.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/networkedge/outputs/DeviceClusterDetailsNode0.java @@ -133,13 +133,13 @@ public Builder vendorConfiguration(@Nullable DeviceClusterDetailsNode0VendorConf return this; } public DeviceClusterDetailsNode0 build() { - final var o = new DeviceClusterDetailsNode0(); - o.licenseFileId = licenseFileId; - o.licenseToken = licenseToken; - o.name = name; - o.uuid = uuid; - o.vendorConfiguration = vendorConfiguration; - return o; + final var _resultValue = new DeviceClusterDetailsNode0(); + _resultValue.licenseFileId = licenseFileId; + _resultValue.licenseToken = licenseToken; + _resultValue.name = name; + _resultValue.uuid = uuid; + _resultValue.vendorConfiguration = vendorConfiguration; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/networkedge/outputs/DeviceClusterDetailsNode0VendorConfiguration.java b/sdk/java/src/main/java/com/equinix/pulumi/networkedge/outputs/DeviceClusterDetailsNode0VendorConfiguration.java index 02960848..9c8525f4 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/networkedge/outputs/DeviceClusterDetailsNode0VendorConfiguration.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/networkedge/outputs/DeviceClusterDetailsNode0VendorConfiguration.java @@ -147,14 +147,14 @@ public Builder rootPassword(@Nullable String rootPassword) { return this; } public DeviceClusterDetailsNode0VendorConfiguration build() { - final var o = new DeviceClusterDetailsNode0VendorConfiguration(); - o.activationKey = activationKey; - o.adminPassword = adminPassword; - o.controller1 = controller1; - o.controllerFqdn = controllerFqdn; - o.hostname = hostname; - o.rootPassword = rootPassword; - return o; + final var _resultValue = new DeviceClusterDetailsNode0VendorConfiguration(); + _resultValue.activationKey = activationKey; + _resultValue.adminPassword = adminPassword; + _resultValue.controller1 = controller1; + _resultValue.controllerFqdn = controllerFqdn; + _resultValue.hostname = hostname; + _resultValue.rootPassword = rootPassword; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/networkedge/outputs/DeviceClusterDetailsNode1.java b/sdk/java/src/main/java/com/equinix/pulumi/networkedge/outputs/DeviceClusterDetailsNode1.java index ab58ddb6..c0f107b1 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/networkedge/outputs/DeviceClusterDetailsNode1.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/networkedge/outputs/DeviceClusterDetailsNode1.java @@ -133,13 +133,13 @@ public Builder vendorConfiguration(@Nullable DeviceClusterDetailsNode1VendorConf return this; } public DeviceClusterDetailsNode1 build() { - final var o = new DeviceClusterDetailsNode1(); - o.licenseFileId = licenseFileId; - o.licenseToken = licenseToken; - o.name = name; - o.uuid = uuid; - o.vendorConfiguration = vendorConfiguration; - return o; + final var _resultValue = new DeviceClusterDetailsNode1(); + _resultValue.licenseFileId = licenseFileId; + _resultValue.licenseToken = licenseToken; + _resultValue.name = name; + _resultValue.uuid = uuid; + _resultValue.vendorConfiguration = vendorConfiguration; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/networkedge/outputs/DeviceClusterDetailsNode1VendorConfiguration.java b/sdk/java/src/main/java/com/equinix/pulumi/networkedge/outputs/DeviceClusterDetailsNode1VendorConfiguration.java index d119ccda..51e1676c 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/networkedge/outputs/DeviceClusterDetailsNode1VendorConfiguration.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/networkedge/outputs/DeviceClusterDetailsNode1VendorConfiguration.java @@ -147,14 +147,14 @@ public Builder rootPassword(@Nullable String rootPassword) { return this; } public DeviceClusterDetailsNode1VendorConfiguration build() { - final var o = new DeviceClusterDetailsNode1VendorConfiguration(); - o.activationKey = activationKey; - o.adminPassword = adminPassword; - o.controller1 = controller1; - o.controllerFqdn = controllerFqdn; - o.hostname = hostname; - o.rootPassword = rootPassword; - return o; + final var _resultValue = new DeviceClusterDetailsNode1VendorConfiguration(); + _resultValue.activationKey = activationKey; + _resultValue.adminPassword = adminPassword; + _resultValue.controller1 = controller1; + _resultValue.controllerFqdn = controllerFqdn; + _resultValue.hostname = hostname; + _resultValue.rootPassword = rootPassword; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/networkedge/outputs/DeviceInterface.java b/sdk/java/src/main/java/com/equinix/pulumi/networkedge/outputs/DeviceInterface.java index 3b7eb195..f859b746 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/networkedge/outputs/DeviceInterface.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/networkedge/outputs/DeviceInterface.java @@ -182,16 +182,16 @@ public Builder type(@Nullable String type) { return this; } public DeviceInterface build() { - final var o = new DeviceInterface(); - o.assignedType = assignedType; - o.id = id; - o.ipAddress = ipAddress; - o.macAddress = macAddress; - o.name = name; - o.operationalStatus = operationalStatus; - o.status = status; - o.type = type; - return o; + final var _resultValue = new DeviceInterface(); + _resultValue.assignedType = assignedType; + _resultValue.id = id; + _resultValue.ipAddress = ipAddress; + _resultValue.macAddress = macAddress; + _resultValue.name = name; + _resultValue.operationalStatus = operationalStatus; + _resultValue.status = status; + _resultValue.type = type; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/networkedge/outputs/DeviceLinkDevice.java b/sdk/java/src/main/java/com/equinix/pulumi/networkedge/outputs/DeviceLinkDevice.java index 9d667ec0..bbe592d2 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/networkedge/outputs/DeviceLinkDevice.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/networkedge/outputs/DeviceLinkDevice.java @@ -129,13 +129,13 @@ public Builder status(@Nullable String status) { return this; } public DeviceLinkDevice build() { - final var o = new DeviceLinkDevice(); - o.asn = asn; - o.id = id; - o.interfaceId = interfaceId; - o.ipAddress = ipAddress; - o.status = status; - return o; + final var _resultValue = new DeviceLinkDevice(); + _resultValue.asn = asn; + _resultValue.id = id; + _resultValue.interfaceId = interfaceId; + _resultValue.ipAddress = ipAddress; + _resultValue.status = status; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/networkedge/outputs/DeviceLinkLink.java b/sdk/java/src/main/java/com/equinix/pulumi/networkedge/outputs/DeviceLinkLink.java index 85622359..f687cca3 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/networkedge/outputs/DeviceLinkLink.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/networkedge/outputs/DeviceLinkLink.java @@ -180,15 +180,15 @@ public Builder throughputUnit(String throughputUnit) { return this; } public DeviceLinkLink build() { - final var o = new DeviceLinkLink(); - o.accountNumber = accountNumber; - o.dstMetroCode = dstMetroCode; - o.dstZoneCode = dstZoneCode; - o.srcMetroCode = srcMetroCode; - o.srcZoneCode = srcZoneCode; - o.throughput = throughput; - o.throughputUnit = throughputUnit; - return o; + final var _resultValue = new DeviceLinkLink(); + _resultValue.accountNumber = accountNumber; + _resultValue.dstMetroCode = dstMetroCode; + _resultValue.dstZoneCode = dstZoneCode; + _resultValue.srcMetroCode = srcMetroCode; + _resultValue.srcZoneCode = srcZoneCode; + _resultValue.throughput = throughput; + _resultValue.throughputUnit = throughputUnit; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/networkedge/outputs/DeviceSecondaryDevice.java b/sdk/java/src/main/java/com/equinix/pulumi/networkedge/outputs/DeviceSecondaryDevice.java index 906f57a6..4fc8ba36 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/networkedge/outputs/DeviceSecondaryDevice.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/networkedge/outputs/DeviceSecondaryDevice.java @@ -561,35 +561,35 @@ public Builder zoneCode(@Nullable String zoneCode) { return this; } public DeviceSecondaryDevice build() { - final var o = new DeviceSecondaryDevice(); - o.accountNumber = accountNumber; - o.aclTemplateId = aclTemplateId; - o.additionalBandwidth = additionalBandwidth; - o.asn = asn; - o.cloudInitFileId = cloudInitFileId; - o.hostname = hostname; - o.ibx = ibx; - o.interfaces = interfaces; - o.licenseFile = licenseFile; - o.licenseFileId = licenseFileId; - o.licenseStatus = licenseStatus; - o.licenseToken = licenseToken; - o.metroCode = metroCode; - o.mgmtAclTemplateUuid = mgmtAclTemplateUuid; - o.name = name; - o.notifications = notifications; - o.redundancyType = redundancyType; - o.redundantId = redundantId; - o.region = region; - o.sshIpAddress = sshIpAddress; - o.sshIpFqdn = sshIpFqdn; - o.sshKey = sshKey; - o.status = status; - o.uuid = uuid; - o.vendorConfiguration = vendorConfiguration; - o.wanInterfaceId = wanInterfaceId; - o.zoneCode = zoneCode; - return o; + final var _resultValue = new DeviceSecondaryDevice(); + _resultValue.accountNumber = accountNumber; + _resultValue.aclTemplateId = aclTemplateId; + _resultValue.additionalBandwidth = additionalBandwidth; + _resultValue.asn = asn; + _resultValue.cloudInitFileId = cloudInitFileId; + _resultValue.hostname = hostname; + _resultValue.ibx = ibx; + _resultValue.interfaces = interfaces; + _resultValue.licenseFile = licenseFile; + _resultValue.licenseFileId = licenseFileId; + _resultValue.licenseStatus = licenseStatus; + _resultValue.licenseToken = licenseToken; + _resultValue.metroCode = metroCode; + _resultValue.mgmtAclTemplateUuid = mgmtAclTemplateUuid; + _resultValue.name = name; + _resultValue.notifications = notifications; + _resultValue.redundancyType = redundancyType; + _resultValue.redundantId = redundantId; + _resultValue.region = region; + _resultValue.sshIpAddress = sshIpAddress; + _resultValue.sshIpFqdn = sshIpFqdn; + _resultValue.sshKey = sshKey; + _resultValue.status = status; + _resultValue.uuid = uuid; + _resultValue.vendorConfiguration = vendorConfiguration; + _resultValue.wanInterfaceId = wanInterfaceId; + _resultValue.zoneCode = zoneCode; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/networkedge/outputs/DeviceSecondaryDeviceInterface.java b/sdk/java/src/main/java/com/equinix/pulumi/networkedge/outputs/DeviceSecondaryDeviceInterface.java index a16b0815..bbded3cc 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/networkedge/outputs/DeviceSecondaryDeviceInterface.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/networkedge/outputs/DeviceSecondaryDeviceInterface.java @@ -182,16 +182,16 @@ public Builder type(@Nullable String type) { return this; } public DeviceSecondaryDeviceInterface build() { - final var o = new DeviceSecondaryDeviceInterface(); - o.assignedType = assignedType; - o.id = id; - o.ipAddress = ipAddress; - o.macAddress = macAddress; - o.name = name; - o.operationalStatus = operationalStatus; - o.status = status; - o.type = type; - return o; + final var _resultValue = new DeviceSecondaryDeviceInterface(); + _resultValue.assignedType = assignedType; + _resultValue.id = id; + _resultValue.ipAddress = ipAddress; + _resultValue.macAddress = macAddress; + _resultValue.name = name; + _resultValue.operationalStatus = operationalStatus; + _resultValue.status = status; + _resultValue.type = type; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/networkedge/outputs/DeviceSecondaryDeviceSshKey.java b/sdk/java/src/main/java/com/equinix/pulumi/networkedge/outputs/DeviceSecondaryDeviceSshKey.java index 8f73406c..41935bd4 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/networkedge/outputs/DeviceSecondaryDeviceSshKey.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/networkedge/outputs/DeviceSecondaryDeviceSshKey.java @@ -57,10 +57,10 @@ public Builder username(String username) { return this; } public DeviceSecondaryDeviceSshKey build() { - final var o = new DeviceSecondaryDeviceSshKey(); - o.keyName = keyName; - o.username = username; - return o; + final var _resultValue = new DeviceSecondaryDeviceSshKey(); + _resultValue.keyName = keyName; + _resultValue.username = username; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/networkedge/outputs/DeviceSshKey.java b/sdk/java/src/main/java/com/equinix/pulumi/networkedge/outputs/DeviceSshKey.java index 68668d1c..e0079a83 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/networkedge/outputs/DeviceSshKey.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/networkedge/outputs/DeviceSshKey.java @@ -57,10 +57,10 @@ public Builder username(String username) { return this; } public DeviceSshKey build() { - final var o = new DeviceSshKey(); - o.keyName = keyName; - o.username = username; - return o; + final var _resultValue = new DeviceSshKey(); + _resultValue.keyName = keyName; + _resultValue.username = username; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/networkedge/outputs/GetAccountResult.java b/sdk/java/src/main/java/com/equinix/pulumi/networkedge/outputs/GetAccountResult.java index 68c14c07..25d09516 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/networkedge/outputs/GetAccountResult.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/networkedge/outputs/GetAccountResult.java @@ -117,14 +117,14 @@ public Builder ucmId(String ucmId) { return this; } public GetAccountResult build() { - final var o = new GetAccountResult(); - o.id = id; - o.metroCode = metroCode; - o.name = name; - o.number = number; - o.status = status; - o.ucmId = ucmId; - return o; + final var _resultValue = new GetAccountResult(); + _resultValue.id = id; + _resultValue.metroCode = metroCode; + _resultValue.name = name; + _resultValue.number = number; + _resultValue.status = status; + _resultValue.ucmId = ucmId; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/networkedge/outputs/GetDeviceClusterDetail.java b/sdk/java/src/main/java/com/equinix/pulumi/networkedge/outputs/GetDeviceClusterDetail.java index 908eef8f..91cffdf5 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/networkedge/outputs/GetDeviceClusterDetail.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/networkedge/outputs/GetDeviceClusterDetail.java @@ -108,13 +108,13 @@ public Builder numOfNodes(Integer numOfNodes) { return this; } public GetDeviceClusterDetail build() { - final var o = new GetDeviceClusterDetail(); - o.clusterId = clusterId; - o.clusterName = clusterName; - o.node0s = node0s; - o.node1s = node1s; - o.numOfNodes = numOfNodes; - return o; + final var _resultValue = new GetDeviceClusterDetail(); + _resultValue.clusterId = clusterId; + _resultValue.clusterName = clusterName; + _resultValue.node0s = node0s; + _resultValue.node1s = node1s; + _resultValue.numOfNodes = numOfNodes; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/networkedge/outputs/GetDeviceClusterDetailNode0.java b/sdk/java/src/main/java/com/equinix/pulumi/networkedge/outputs/GetDeviceClusterDetailNode0.java index 5ffbc471..7787cbd8 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/networkedge/outputs/GetDeviceClusterDetailNode0.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/networkedge/outputs/GetDeviceClusterDetailNode0.java @@ -111,13 +111,13 @@ public Builder vendorConfigurations(GetDeviceClusterDetailNode0VendorConfigurati return vendorConfigurations(List.of(vendorConfigurations)); } public GetDeviceClusterDetailNode0 build() { - final var o = new GetDeviceClusterDetailNode0(); - o.licenseFileId = licenseFileId; - o.licenseToken = licenseToken; - o.name = name; - o.uuid = uuid; - o.vendorConfigurations = vendorConfigurations; - return o; + final var _resultValue = new GetDeviceClusterDetailNode0(); + _resultValue.licenseFileId = licenseFileId; + _resultValue.licenseToken = licenseToken; + _resultValue.name = name; + _resultValue.uuid = uuid; + _resultValue.vendorConfigurations = vendorConfigurations; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/networkedge/outputs/GetDeviceClusterDetailNode0VendorConfiguration.java b/sdk/java/src/main/java/com/equinix/pulumi/networkedge/outputs/GetDeviceClusterDetailNode0VendorConfiguration.java index 1a18ec2e..aadb8968 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/networkedge/outputs/GetDeviceClusterDetailNode0VendorConfiguration.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/networkedge/outputs/GetDeviceClusterDetailNode0VendorConfiguration.java @@ -93,14 +93,14 @@ public Builder rootPassword(String rootPassword) { return this; } public GetDeviceClusterDetailNode0VendorConfiguration build() { - final var o = new GetDeviceClusterDetailNode0VendorConfiguration(); - o.activationKey = activationKey; - o.adminPassword = adminPassword; - o.controller1 = controller1; - o.controllerFqdn = controllerFqdn; - o.hostname = hostname; - o.rootPassword = rootPassword; - return o; + final var _resultValue = new GetDeviceClusterDetailNode0VendorConfiguration(); + _resultValue.activationKey = activationKey; + _resultValue.adminPassword = adminPassword; + _resultValue.controller1 = controller1; + _resultValue.controllerFqdn = controllerFqdn; + _resultValue.hostname = hostname; + _resultValue.rootPassword = rootPassword; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/networkedge/outputs/GetDeviceClusterDetailNode1.java b/sdk/java/src/main/java/com/equinix/pulumi/networkedge/outputs/GetDeviceClusterDetailNode1.java index 006a3aed..683ce38f 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/networkedge/outputs/GetDeviceClusterDetailNode1.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/networkedge/outputs/GetDeviceClusterDetailNode1.java @@ -111,13 +111,13 @@ public Builder vendorConfigurations(GetDeviceClusterDetailNode1VendorConfigurati return vendorConfigurations(List.of(vendorConfigurations)); } public GetDeviceClusterDetailNode1 build() { - final var o = new GetDeviceClusterDetailNode1(); - o.licenseFileId = licenseFileId; - o.licenseToken = licenseToken; - o.name = name; - o.uuid = uuid; - o.vendorConfigurations = vendorConfigurations; - return o; + final var _resultValue = new GetDeviceClusterDetailNode1(); + _resultValue.licenseFileId = licenseFileId; + _resultValue.licenseToken = licenseToken; + _resultValue.name = name; + _resultValue.uuid = uuid; + _resultValue.vendorConfigurations = vendorConfigurations; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/networkedge/outputs/GetDeviceClusterDetailNode1VendorConfiguration.java b/sdk/java/src/main/java/com/equinix/pulumi/networkedge/outputs/GetDeviceClusterDetailNode1VendorConfiguration.java index 788744fb..26820e8d 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/networkedge/outputs/GetDeviceClusterDetailNode1VendorConfiguration.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/networkedge/outputs/GetDeviceClusterDetailNode1VendorConfiguration.java @@ -93,14 +93,14 @@ public Builder rootPassword(String rootPassword) { return this; } public GetDeviceClusterDetailNode1VendorConfiguration build() { - final var o = new GetDeviceClusterDetailNode1VendorConfiguration(); - o.activationKey = activationKey; - o.adminPassword = adminPassword; - o.controller1 = controller1; - o.controllerFqdn = controllerFqdn; - o.hostname = hostname; - o.rootPassword = rootPassword; - return o; + final var _resultValue = new GetDeviceClusterDetailNode1VendorConfiguration(); + _resultValue.activationKey = activationKey; + _resultValue.adminPassword = adminPassword; + _resultValue.controller1 = controller1; + _resultValue.controllerFqdn = controllerFqdn; + _resultValue.hostname = hostname; + _resultValue.rootPassword = rootPassword; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/networkedge/outputs/GetDeviceInterface.java b/sdk/java/src/main/java/com/equinix/pulumi/networkedge/outputs/GetDeviceInterface.java index c8af25fe..9c7822f2 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/networkedge/outputs/GetDeviceInterface.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/networkedge/outputs/GetDeviceInterface.java @@ -152,16 +152,16 @@ public Builder type(String type) { return this; } public GetDeviceInterface build() { - final var o = new GetDeviceInterface(); - o.assignedType = assignedType; - o.id = id; - o.ipAddress = ipAddress; - o.macAddress = macAddress; - o.name = name; - o.operationalStatus = operationalStatus; - o.status = status; - o.type = type; - return o; + final var _resultValue = new GetDeviceInterface(); + _resultValue.assignedType = assignedType; + _resultValue.id = id; + _resultValue.ipAddress = ipAddress; + _resultValue.macAddress = macAddress; + _resultValue.name = name; + _resultValue.operationalStatus = operationalStatus; + _resultValue.status = status; + _resultValue.type = type; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/networkedge/outputs/GetDevicePlatformResult.java b/sdk/java/src/main/java/com/equinix/pulumi/networkedge/outputs/GetDevicePlatformResult.java index 3e93ad32..dfdfecb1 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/networkedge/outputs/GetDevicePlatformResult.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/networkedge/outputs/GetDevicePlatformResult.java @@ -161,17 +161,17 @@ public Builder packages(String... packages) { return packages(List.of(packages)); } public GetDevicePlatformResult build() { - final var o = new GetDevicePlatformResult(); - o.coreCount = coreCount; - o.deviceType = deviceType; - o.flavor = flavor; - o.id = id; - o.licenseOptions = licenseOptions; - o.managementTypes = managementTypes; - o.memory = memory; - o.memoryUnit = memoryUnit; - o.packages = packages; - return o; + final var _resultValue = new GetDevicePlatformResult(); + _resultValue.coreCount = coreCount; + _resultValue.deviceType = deviceType; + _resultValue.flavor = flavor; + _resultValue.id = id; + _resultValue.licenseOptions = licenseOptions; + _resultValue.managementTypes = managementTypes; + _resultValue.memory = memory; + _resultValue.memoryUnit = memoryUnit; + _resultValue.packages = packages; + return _resultValue; } } } 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 e64d9411..0c32a4b9 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 @@ -711,51 +711,51 @@ public Builder zoneCode(String zoneCode) { return this; } public GetDeviceResult build() { - final var o = new GetDeviceResult(); - o.accountNumber = accountNumber; - o.aclTemplateId = aclTemplateId; - o.additionalBandwidth = additionalBandwidth; - o.asn = asn; - o.byol = byol; - o.clusterDetails = clusterDetails; - o.connectivity = connectivity; - o.coreCount = coreCount; - o.hostname = hostname; - o.ibx = ibx; - o.id = id; - o.interfaceCount = interfaceCount; - o.interfaces = interfaces; - o.licenseFile = licenseFile; - o.licenseFileId = licenseFileId; - o.licenseStatus = licenseStatus; - o.licenseToken = licenseToken; - o.metroCode = metroCode; - o.mgmtAclTemplateUuid = mgmtAclTemplateUuid; - o.name = name; - o.notifications = notifications; - o.orderReference = orderReference; - o.packageCode = packageCode; - o.purchaseOrderNumber = purchaseOrderNumber; - o.redundancyType = redundancyType; - o.redundantId = redundantId; - o.region = region; - o.secondaryDevices = secondaryDevices; - o.selfManaged = selfManaged; - o.sshIpAddress = sshIpAddress; - o.sshIpFqdn = sshIpFqdn; - o.sshKeys = sshKeys; - o.status = status; - o.termLength = termLength; - o.throughput = throughput; - o.throughputUnit = throughputUnit; - o.typeCode = typeCode; - o.uuid = uuid; - o.validStatusList = validStatusList; - o.vendorConfiguration = vendorConfiguration; - o.version = version; - o.wanInterfaceId = wanInterfaceId; - o.zoneCode = zoneCode; - return o; + final var _resultValue = new GetDeviceResult(); + _resultValue.accountNumber = accountNumber; + _resultValue.aclTemplateId = aclTemplateId; + _resultValue.additionalBandwidth = additionalBandwidth; + _resultValue.asn = asn; + _resultValue.byol = byol; + _resultValue.clusterDetails = clusterDetails; + _resultValue.connectivity = connectivity; + _resultValue.coreCount = coreCount; + _resultValue.hostname = hostname; + _resultValue.ibx = ibx; + _resultValue.id = id; + _resultValue.interfaceCount = interfaceCount; + _resultValue.interfaces = interfaces; + _resultValue.licenseFile = licenseFile; + _resultValue.licenseFileId = licenseFileId; + _resultValue.licenseStatus = licenseStatus; + _resultValue.licenseToken = licenseToken; + _resultValue.metroCode = metroCode; + _resultValue.mgmtAclTemplateUuid = mgmtAclTemplateUuid; + _resultValue.name = name; + _resultValue.notifications = notifications; + _resultValue.orderReference = orderReference; + _resultValue.packageCode = packageCode; + _resultValue.purchaseOrderNumber = purchaseOrderNumber; + _resultValue.redundancyType = redundancyType; + _resultValue.redundantId = redundantId; + _resultValue.region = region; + _resultValue.secondaryDevices = secondaryDevices; + _resultValue.selfManaged = selfManaged; + _resultValue.sshIpAddress = sshIpAddress; + _resultValue.sshIpFqdn = sshIpFqdn; + _resultValue.sshKeys = sshKeys; + _resultValue.status = status; + _resultValue.termLength = termLength; + _resultValue.throughput = throughput; + _resultValue.throughputUnit = throughputUnit; + _resultValue.typeCode = typeCode; + _resultValue.uuid = uuid; + _resultValue.validStatusList = validStatusList; + _resultValue.vendorConfiguration = vendorConfiguration; + _resultValue.version = version; + _resultValue.wanInterfaceId = wanInterfaceId; + _resultValue.zoneCode = zoneCode; + return _resultValue; } } } 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 d251e56d..f2e2cdb8 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 @@ -508,35 +508,35 @@ public Builder zoneCode(String zoneCode) { return this; } public GetDeviceSecondaryDevice build() { - final var o = new GetDeviceSecondaryDevice(); - o.accountNumber = accountNumber; - o.aclTemplateId = aclTemplateId; - o.additionalBandwidth = additionalBandwidth; - o.asn = asn; - o.cloudInitFileId = cloudInitFileId; - o.hostname = hostname; - o.ibx = ibx; - o.interfaces = interfaces; - o.licenseFile = licenseFile; - o.licenseFileId = licenseFileId; - o.licenseStatus = licenseStatus; - o.licenseToken = licenseToken; - o.metroCode = metroCode; - o.mgmtAclTemplateUuid = mgmtAclTemplateUuid; - o.name = name; - o.notifications = notifications; - o.redundancyType = redundancyType; - o.redundantId = redundantId; - o.region = region; - o.sshIpAddress = sshIpAddress; - o.sshIpFqdn = sshIpFqdn; - o.sshKeys = sshKeys; - o.status = status; - o.uuid = uuid; - o.vendorConfiguration = vendorConfiguration; - o.wanInterfaceId = wanInterfaceId; - o.zoneCode = zoneCode; - return o; + final var _resultValue = new GetDeviceSecondaryDevice(); + _resultValue.accountNumber = accountNumber; + _resultValue.aclTemplateId = aclTemplateId; + _resultValue.additionalBandwidth = additionalBandwidth; + _resultValue.asn = asn; + _resultValue.cloudInitFileId = cloudInitFileId; + _resultValue.hostname = hostname; + _resultValue.ibx = ibx; + _resultValue.interfaces = interfaces; + _resultValue.licenseFile = licenseFile; + _resultValue.licenseFileId = licenseFileId; + _resultValue.licenseStatus = licenseStatus; + _resultValue.licenseToken = licenseToken; + _resultValue.metroCode = metroCode; + _resultValue.mgmtAclTemplateUuid = mgmtAclTemplateUuid; + _resultValue.name = name; + _resultValue.notifications = notifications; + _resultValue.redundancyType = redundancyType; + _resultValue.redundantId = redundantId; + _resultValue.region = region; + _resultValue.sshIpAddress = sshIpAddress; + _resultValue.sshIpFqdn = sshIpFqdn; + _resultValue.sshKeys = sshKeys; + _resultValue.status = status; + _resultValue.uuid = uuid; + _resultValue.vendorConfiguration = vendorConfiguration; + _resultValue.wanInterfaceId = wanInterfaceId; + _resultValue.zoneCode = zoneCode; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/networkedge/outputs/GetDeviceSecondaryDeviceInterface.java b/sdk/java/src/main/java/com/equinix/pulumi/networkedge/outputs/GetDeviceSecondaryDeviceInterface.java index 0417b556..24e8dcf3 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/networkedge/outputs/GetDeviceSecondaryDeviceInterface.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/networkedge/outputs/GetDeviceSecondaryDeviceInterface.java @@ -152,16 +152,16 @@ public Builder type(String type) { return this; } public GetDeviceSecondaryDeviceInterface build() { - final var o = new GetDeviceSecondaryDeviceInterface(); - o.assignedType = assignedType; - o.id = id; - o.ipAddress = ipAddress; - o.macAddress = macAddress; - o.name = name; - o.operationalStatus = operationalStatus; - o.status = status; - o.type = type; - return o; + final var _resultValue = new GetDeviceSecondaryDeviceInterface(); + _resultValue.assignedType = assignedType; + _resultValue.id = id; + _resultValue.ipAddress = ipAddress; + _resultValue.macAddress = macAddress; + _resultValue.name = name; + _resultValue.operationalStatus = operationalStatus; + _resultValue.status = status; + _resultValue.type = type; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/networkedge/outputs/GetDeviceSecondaryDeviceSshKey.java b/sdk/java/src/main/java/com/equinix/pulumi/networkedge/outputs/GetDeviceSecondaryDeviceSshKey.java index e06f340b..19b45b88 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/networkedge/outputs/GetDeviceSecondaryDeviceSshKey.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/networkedge/outputs/GetDeviceSecondaryDeviceSshKey.java @@ -49,10 +49,10 @@ public Builder username(String username) { return this; } public GetDeviceSecondaryDeviceSshKey build() { - final var o = new GetDeviceSecondaryDeviceSshKey(); - o.keyName = keyName; - o.username = username; - return o; + final var _resultValue = new GetDeviceSecondaryDeviceSshKey(); + _resultValue.keyName = keyName; + _resultValue.username = username; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/networkedge/outputs/GetDeviceSoftwareResult.java b/sdk/java/src/main/java/com/equinix/pulumi/networkedge/outputs/GetDeviceSoftwareResult.java index 4bcaa44a..cbb0afc6 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/networkedge/outputs/GetDeviceSoftwareResult.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/networkedge/outputs/GetDeviceSoftwareResult.java @@ -203,19 +203,19 @@ public Builder versionRegex(@Nullable String versionRegex) { return this; } public GetDeviceSoftwareResult build() { - final var o = new GetDeviceSoftwareResult(); - o.date = date; - o.deviceType = deviceType; - o.id = id; - o.imageName = imageName; - o.mostRecent = mostRecent; - o.packages = packages; - o.releaseNotesLink = releaseNotesLink; - o.stable = stable; - o.status = status; - o.version = version; - o.versionRegex = versionRegex; - return o; + final var _resultValue = new GetDeviceSoftwareResult(); + _resultValue.date = date; + _resultValue.deviceType = deviceType; + _resultValue.id = id; + _resultValue.imageName = imageName; + _resultValue.mostRecent = mostRecent; + _resultValue.packages = packages; + _resultValue.releaseNotesLink = releaseNotesLink; + _resultValue.stable = stable; + _resultValue.status = status; + _resultValue.version = version; + _resultValue.versionRegex = versionRegex; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/networkedge/outputs/GetDeviceSshKey.java b/sdk/java/src/main/java/com/equinix/pulumi/networkedge/outputs/GetDeviceSshKey.java index 3c587ced..c0e46282 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/networkedge/outputs/GetDeviceSshKey.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/networkedge/outputs/GetDeviceSshKey.java @@ -49,10 +49,10 @@ public Builder username(String username) { return this; } public GetDeviceSshKey build() { - final var o = new GetDeviceSshKey(); - o.keyName = keyName; - o.username = username; - return o; + final var _resultValue = new GetDeviceSshKey(); + _resultValue.keyName = keyName; + _resultValue.username = username; + return _resultValue; } } } diff --git a/sdk/java/src/main/java/com/equinix/pulumi/networkedge/outputs/GetDeviceTypeResult.java b/sdk/java/src/main/java/com/equinix/pulumi/networkedge/outputs/GetDeviceTypeResult.java index cce1a28f..c3db0e72 100644 --- a/sdk/java/src/main/java/com/equinix/pulumi/networkedge/outputs/GetDeviceTypeResult.java +++ b/sdk/java/src/main/java/com/equinix/pulumi/networkedge/outputs/GetDeviceTypeResult.java @@ -132,15 +132,15 @@ public Builder vendor(String vendor) { return this; } public GetDeviceTypeResult build() { - final var o = new GetDeviceTypeResult(); - o.category = category; - o.code = code; - o.description = description; - o.id = id; - o.metroCodes = metroCodes; - o.name = name; - o.vendor = vendor; - return o; + final var _resultValue = new GetDeviceTypeResult(); + _resultValue.category = category; + _resultValue.code = code; + _resultValue.description = description; + _resultValue.id = id; + _resultValue.metroCodes = metroCodes; + _resultValue.name = name; + _resultValue.vendor = vendor; + return _resultValue; } } } diff --git a/sdk/nodejs/metal/device.ts b/sdk/nodejs/metal/device.ts index c57da545..e75b3481 100644 --- a/sdk/nodejs/metal/device.ts +++ b/sdk/nodejs/metal/device.ts @@ -209,6 +209,10 @@ export class Device extends pulumi.CustomResource { * Root password to the server (disabled after 24 hours). */ public /*out*/ readonly rootPassword!: pulumi.Output; + /** + * The hostname to use for [Serial over SSH](https://deploy.equinix.com/developers/docs/metal/resilience-recovery/serial-over-ssh/) access to the device + */ + public /*out*/ readonly sosHostname!: pulumi.Output; /** * List of IDs of SSH keys deployed in the device, can be both user and project SSH keys. */ @@ -294,6 +298,7 @@ export class Device extends pulumi.CustomResource { resourceInputs["projectSshKeyIds"] = state ? state.projectSshKeyIds : undefined; resourceInputs["reinstall"] = state ? state.reinstall : undefined; resourceInputs["rootPassword"] = state ? state.rootPassword : undefined; + resourceInputs["sosHostname"] = state ? state.sosHostname : undefined; resourceInputs["sshKeyIds"] = state ? state.sshKeyIds : undefined; resourceInputs["state"] = state ? state.state : undefined; resourceInputs["storage"] = state ? state.storage : undefined; @@ -348,6 +353,7 @@ export class Device extends pulumi.CustomResource { resourceInputs["networkType"] = undefined /*out*/; resourceInputs["ports"] = undefined /*out*/; resourceInputs["rootPassword"] = undefined /*out*/; + resourceInputs["sosHostname"] = undefined /*out*/; resourceInputs["sshKeyIds"] = undefined /*out*/; resourceInputs["state"] = undefined /*out*/; resourceInputs["updated"] = undefined /*out*/; @@ -506,6 +512,10 @@ export interface DeviceState { * Root password to the server (disabled after 24 hours). */ rootPassword?: pulumi.Input; + /** + * The hostname to use for [Serial over SSH](https://deploy.equinix.com/developers/docs/metal/resilience-recovery/serial-over-ssh/) access to the device + */ + sosHostname?: pulumi.Input; /** * List of IDs of SSH keys deployed in the device, can be both user and project SSH keys. */ diff --git a/sdk/nodejs/metal/getDevice.ts b/sdk/nodejs/metal/getDevice.ts index 9e919548..8b7ac1f2 100644 --- a/sdk/nodejs/metal/getDevice.ts +++ b/sdk/nodejs/metal/getDevice.ts @@ -144,6 +144,10 @@ export interface GetDeviceResult { * Root password to the server (if still available). */ readonly rootPassword: string; + /** + * The hostname to use for [Serial over SSH](https://deploy.equinix.com/developers/docs/metal/resilience-recovery/serial-over-ssh/) access to the device + */ + readonly sosHostname: string; /** * List of IDs of SSH keys deployed in the device, can be both user or project SSH keys. */ diff --git a/sdk/nodejs/types/output.ts b/sdk/nodejs/types/output.ts index d5e24f72..965fb721 100644 --- a/sdk/nodejs/types/output.ts +++ b/sdk/nodejs/types/output.ts @@ -2453,6 +2453,7 @@ export namespace metal { */ projectId: string; rootPassword: string; + sosHostname: string; sshKeyIds: string[]; state: string; storage: string; diff --git a/sdk/python/pulumi_equinix/config/__init__.pyi b/sdk/python/pulumi_equinix/config/__init__.pyi index 9df94c90..9ad5aaed 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, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, 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 f55b28d5..7b6323fe 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, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import _utilities import types diff --git a/sdk/python/pulumi_equinix/fabric/_inputs.py b/sdk/python/pulumi_equinix/fabric/_inputs.py index 21969e76..92127dbb 100644 --- a/sdk/python/pulumi_equinix/fabric/_inputs.py +++ b/sdk/python/pulumi_equinix/fabric/_inputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import _utilities from .. import _enums as _root_enums from ._enums import * @@ -107,21 +107,8 @@ def __init__(__self__, *, """ :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 account_number is None and 'accountNumber' in kwargs: - account_number = kwargs['accountNumber'] - if account_number is not None: - _setter("account_number", account_number) + pulumi.set(__self__, "account_number", account_number) @property @pulumi.getter(name="accountNumber") @@ -151,87 +138,30 @@ 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): - 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 created_by is None and 'createdBy' in kwargs: - created_by = kwargs['createdBy'] - if created_by_email is None and 'createdByEmail' in kwargs: - created_by_email = kwargs['createdByEmail'] - if created_by_full_name is None and 'createdByFullName' in kwargs: - created_by_full_name = kwargs['createdByFullName'] - if created_date_time is None and 'createdDateTime' in kwargs: - created_date_time = kwargs['createdDateTime'] - if deleted_by is None and 'deletedBy' in kwargs: - deleted_by = kwargs['deletedBy'] - if deleted_by_email is None and 'deletedByEmail' in kwargs: - deleted_by_email = kwargs['deletedByEmail'] - if deleted_by_full_name is None and 'deletedByFullName' in kwargs: - deleted_by_full_name = kwargs['deletedByFullName'] - if deleted_date_time is None and 'deletedDateTime' in kwargs: - deleted_date_time = kwargs['deletedDateTime'] - if updated_by is None and 'updatedBy' in kwargs: - updated_by = kwargs['updatedBy'] - if updated_by_email is None and 'updatedByEmail' in kwargs: - updated_by_email = kwargs['updatedByEmail'] - if updated_by_full_name is None and 'updatedByFullName' in kwargs: - updated_by_full_name = kwargs['updatedByFullName'] - if updated_date_time is None and 'updatedDateTime' in kwargs: - updated_date_time = kwargs['updatedDateTime'] - if created_by is not None: - _setter("created_by", created_by) + pulumi.set(__self__, "created_by", created_by) if created_by_email is not None: - _setter("created_by_email", created_by_email) + pulumi.set(__self__, "created_by_email", created_by_email) if created_by_full_name is not None: - _setter("created_by_full_name", created_by_full_name) + pulumi.set(__self__, "created_by_full_name", created_by_full_name) if created_date_time is not None: - _setter("created_date_time", created_date_time) + pulumi.set(__self__, "created_date_time", created_date_time) if deleted_by is not None: - _setter("deleted_by", deleted_by) + pulumi.set(__self__, "deleted_by", deleted_by) if deleted_by_email is not None: - _setter("deleted_by_email", deleted_by_email) + pulumi.set(__self__, "deleted_by_email", deleted_by_email) if deleted_by_full_name is not None: - _setter("deleted_by_full_name", deleted_by_full_name) + pulumi.set(__self__, "deleted_by_full_name", deleted_by_full_name) if deleted_date_time is not None: - _setter("deleted_date_time", deleted_date_time) + pulumi.set(__self__, "deleted_date_time", deleted_date_time) if updated_by is not None: - _setter("updated_by", updated_by) + pulumi.set(__self__, "updated_by", updated_by) if updated_by_email is not None: - _setter("updated_by_email", updated_by_email) + pulumi.set(__self__, "updated_by_email", updated_by_email) if updated_by_full_name is not None: - _setter("updated_by_full_name", updated_by_full_name) + pulumi.set(__self__, "updated_by_full_name", updated_by_full_name) if updated_date_time is not None: - _setter("updated_date_time", updated_date_time) + pulumi.set(__self__, "updated_date_time", updated_date_time) @property @pulumi.getter(name="createdBy") @@ -355,35 +285,14 @@ def __init__(__self__, *, :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 metro_code is None and 'metroCode' in kwargs: - metro_code = kwargs['metroCode'] - if metro_name is None and 'metroName' in kwargs: - metro_name = kwargs['metroName'] - if ibx is not None: - _setter("ibx", ibx) + pulumi.set(__self__, "ibx", ibx) if metro_code is not None: - _setter("metro_code", metro_code) + pulumi.set(__self__, "metro_code", metro_code) if metro_name is not None: - _setter("metro_name", metro_name) + pulumi.set(__self__, "metro_name", metro_name) if region is not None: - _setter("region", region) + pulumi.set(__self__, "region", region) @property @pulumi.getter @@ -445,31 +354,10 @@ def __init__(__self__, *, :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: 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 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) - _setter("type", type) + pulumi.set(__self__, "emails", emails) + pulumi.set(__self__, "type", type) if send_interval is not None: - _setter("send_interval", send_interval) + pulumi.set(__self__, "send_interval", send_interval) @property @pulumi.getter @@ -521,39 +409,14 @@ def __init__(__self__, *, :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 billing_tier is None and 'billingTier' in kwargs: - billing_tier = kwargs['billingTier'] - if order_id is None and 'orderId' in kwargs: - order_id = kwargs['orderId'] - if order_number is None and 'orderNumber' in kwargs: - order_number = kwargs['orderNumber'] - if purchase_order_number is None and 'purchaseOrderNumber' in kwargs: - purchase_order_number = kwargs['purchaseOrderNumber'] - if billing_tier is not None: - _setter("billing_tier", billing_tier) + pulumi.set(__self__, "billing_tier", billing_tier) if order_id is not None: - _setter("order_id", order_id) + pulumi.set(__self__, "order_id", order_id) if order_number is not None: - _setter("order_number", order_number) + pulumi.set(__self__, "order_number", order_number) if purchase_order_number is not None: - _setter("purchase_order_number", purchase_order_number) + pulumi.set(__self__, "purchase_order_number", purchase_order_number) @property @pulumi.getter(name="billingTier") @@ -611,20 +474,7 @@ def __init__(__self__, *, """ :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: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None, - **kwargs): - if code is None: - raise TypeError("Missing 'code' argument") - - _setter("code", code) + pulumi.set(__self__, "code", code) @property @pulumi.getter @@ -648,25 +498,10 @@ def __init__(__self__, *, :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 project_id is None and 'projectId' in kwargs: - project_id = kwargs['projectId'] - if href is not None: - _setter("href", href) + pulumi.set(__self__, "href", href) if project_id is not None: - _setter("project_id", project_id) + pulumi.set(__self__, "project_id", project_id) @property @pulumi.getter @@ -704,33 +539,12 @@ 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 access_point is None and 'accessPoint' in kwargs: - access_point = kwargs['accessPoint'] - if additional_info is None and 'additionalInfo' in kwargs: - additional_info = kwargs['additionalInfo'] - if service_token is None and 'serviceToken' in kwargs: - service_token = kwargs['serviceToken'] - if access_point is not None: - _setter("access_point", access_point) + pulumi.set(__self__, "access_point", access_point) if additional_info is not None: - _setter("additional_info", additional_info) + pulumi.set(__self__, "additional_info", additional_info) if service_token is not None: - _setter("service_token", service_token) + pulumi.set(__self__, "service_token", service_token) @property @pulumi.getter(name="accessPoint") @@ -804,96 +618,41 @@ def __init__(__self__, *, :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 authentication_key is None and 'authenticationKey' in kwargs: - authentication_key = kwargs['authenticationKey'] - if link_protocol is None and 'linkProtocol' in kwargs: - link_protocol = kwargs['linkProtocol'] - if peering_type is None and 'peeringType' in kwargs: - peering_type = kwargs['peeringType'] - if provider_connection_id is None and 'providerConnectionId' in kwargs: - provider_connection_id = kwargs['providerConnectionId'] - if routing_protocols is None and 'routingProtocols' in kwargs: - routing_protocols = kwargs['routingProtocols'] - if seller_region is None and 'sellerRegion' in kwargs: - seller_region = kwargs['sellerRegion'] - if virtual_device is None and 'virtualDevice' in kwargs: - virtual_device = kwargs['virtualDevice'] - if account is not None: - _setter("account", account) + pulumi.set(__self__, "account", account) if authentication_key is not None: - _setter("authentication_key", authentication_key) + pulumi.set(__self__, "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: - _setter("gateway", gateway) + pulumi.set(__self__, "gateway", gateway) if interface is not None: - _setter("interface", interface) + pulumi.set(__self__, "interface", interface) if link_protocol is not None: - _setter("link_protocol", link_protocol) + pulumi.set(__self__, "link_protocol", link_protocol) if location is not None: - _setter("location", location) + pulumi.set(__self__, "location", location) if network is not None: - _setter("network", network) + pulumi.set(__self__, "network", network) if peering_type is not None: - _setter("peering_type", peering_type) + pulumi.set(__self__, "peering_type", peering_type) if port is not None: - _setter("port", port) + pulumi.set(__self__, "port", port) if profile is not None: - _setter("profile", profile) + pulumi.set(__self__, "profile", profile) if provider_connection_id is not None: - _setter("provider_connection_id", provider_connection_id) + pulumi.set(__self__, "provider_connection_id", provider_connection_id) if router is not None: - _setter("router", router) + pulumi.set(__self__, "router", router) if routing_protocols is not None: - _setter("routing_protocols", routing_protocols) + pulumi.set(__self__, "routing_protocols", routing_protocols) if seller_region is not None: - _setter("seller_region", seller_region) + pulumi.set(__self__, "seller_region", seller_region) if type is not None: - _setter("type", type) + pulumi.set(__self__, "type", type) if virtual_device is not None: - _setter("virtual_device", virtual_device) + pulumi.set(__self__, "virtual_device", virtual_device) @property @pulumi.getter @@ -1095,57 +854,20 @@ 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 account_name is None and 'accountName' in kwargs: - account_name = kwargs['accountName'] - if account_number is None and 'accountNumber' in kwargs: - account_number = kwargs['accountNumber'] - if global_cust_id is None and 'globalCustId' in kwargs: - global_cust_id = kwargs['globalCustId'] - if global_org_id is None and 'globalOrgId' in kwargs: - global_org_id = kwargs['globalOrgId'] - if global_organization_name is None and 'globalOrganizationName' in kwargs: - global_organization_name = kwargs['globalOrganizationName'] - if org_id is None and 'orgId' in kwargs: - org_id = kwargs['orgId'] - if organization_name is None and 'organizationName' in kwargs: - organization_name = kwargs['organizationName'] - if account_name is not None: - _setter("account_name", account_name) + pulumi.set(__self__, "account_name", account_name) if account_number is not None: - _setter("account_number", account_number) + pulumi.set(__self__, "account_number", account_number) if global_cust_id is not None: - _setter("global_cust_id", global_cust_id) + pulumi.set(__self__, "global_cust_id", global_cust_id) if global_org_id is not None: - _setter("global_org_id", global_org_id) + pulumi.set(__self__, "global_org_id", global_org_id) if global_organization_name is not None: - _setter("global_organization_name", global_organization_name) + pulumi.set(__self__, "global_organization_name", global_organization_name) if org_id is not None: - _setter("org_id", org_id) + pulumi.set(__self__, "org_id", org_id) if organization_name is not None: - _setter("organization_name", organization_name) + pulumi.set(__self__, "organization_name", organization_name) @property @pulumi.getter(name="accountName") @@ -1220,23 +942,10 @@ def __init__(__self__, *, :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: - _setter("href", href) + pulumi.set(__self__, "href", href) if uuid is not None: - _setter("uuid", uuid) + pulumi.set(__self__, "uuid", uuid) @property @pulumi.getter @@ -1274,27 +983,12 @@ def __init__(__self__, *, :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: - _setter("id", id) + pulumi.set(__self__, "id", id) if type is not None: - _setter("type", type) + pulumi.set(__self__, "type", type) if uuid is not None: - _setter("uuid", uuid) + pulumi.set(__self__, "uuid", uuid) @property @pulumi.getter @@ -1346,37 +1040,14 @@ def __init__(__self__, *, :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 vlan_c_tag is None and 'vlanCTag' in kwargs: - vlan_c_tag = kwargs['vlanCTag'] - if vlan_s_tag is None and 'vlanSTag' in kwargs: - vlan_s_tag = kwargs['vlanSTag'] - if vlan_tag is None and 'vlanTag' in kwargs: - vlan_tag = kwargs['vlanTag'] - if type is not None: - _setter("type", type) + pulumi.set(__self__, "type", type) if vlan_c_tag is not None: - _setter("vlan_c_tag", vlan_c_tag) + pulumi.set(__self__, "vlan_c_tag", vlan_c_tag) if vlan_s_tag is not None: - _setter("vlan_s_tag", vlan_s_tag) + pulumi.set(__self__, "vlan_s_tag", vlan_s_tag) if vlan_tag is not None: - _setter("vlan_tag", vlan_tag) + pulumi.set(__self__, "vlan_tag", vlan_tag) @property @pulumi.getter @@ -1440,35 +1111,14 @@ def __init__(__self__, *, :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 metro_code is None and 'metroCode' in kwargs: - metro_code = kwargs['metroCode'] - if metro_name is None and 'metroName' in kwargs: - metro_name = kwargs['metroName'] - if ibx is not None: - _setter("ibx", ibx) + pulumi.set(__self__, "ibx", ibx) if metro_code is not None: - _setter("metro_code", metro_code) + pulumi.set(__self__, "metro_code", metro_code) if metro_name is not None: - _setter("metro_name", metro_name) + pulumi.set(__self__, "metro_name", metro_name) if region is not None: - _setter("region", region) + pulumi.set(__self__, "region", region) @property @pulumi.getter @@ -1528,23 +1178,10 @@ def __init__(__self__, *, :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) + pulumi.set(__self__, "href", href) if uuid is not None: - _setter("uuid", uuid) + pulumi.set(__self__, "uuid", uuid) @property @pulumi.getter @@ -1584,31 +1221,14 @@ def __init__(__self__, *, :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: - _setter("href", href) + pulumi.set(__self__, "href", href) if name is not None: - _setter("name", name) + pulumi.set(__self__, "name", name) if redundancies is not None: - _setter("redundancies", redundancies) + pulumi.set(__self__, "redundancies", redundancies) if uuid is not None: - _setter("uuid", uuid) + pulumi.set(__self__, "uuid", uuid) @property @pulumi.getter @@ -1666,19 +1286,8 @@ 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: - _setter("priority", priority) + pulumi.set(__self__, "priority", priority) @property @pulumi.getter @@ -1710,43 +1319,16 @@ def __init__(__self__, *, :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: 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 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) - _setter("uuid", uuid) + pulumi.set(__self__, "type", type) + pulumi.set(__self__, "uuid", uuid) if access_point_type_configs is not None: - _setter("access_point_type_configs", access_point_type_configs) + pulumi.set(__self__, "access_point_type_configs", access_point_type_configs) if description is not None: - _setter("description", description) + pulumi.set(__self__, "description", description) if href is not None: - _setter("href", href) + pulumi.set(__self__, "href", href) if name is not None: - _setter("name", name) + pulumi.set(__self__, "name", name) @property @pulumi.getter @@ -1830,23 +1412,10 @@ def __init__(__self__, *, :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: - _setter("type", type) + pulumi.set(__self__, "type", type) if uuid is not None: - _setter("uuid", uuid) + pulumi.set(__self__, "uuid", uuid) @property @pulumi.getter @@ -1882,23 +1451,10 @@ def __init__(__self__, *, :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) + pulumi.set(__self__, "href", href) if uuid is not None: - _setter("uuid", uuid) + pulumi.set(__self__, "uuid", uuid) @property @pulumi.getter @@ -1936,27 +1492,12 @@ def __init__(__self__, *, :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: - _setter("state", state) + pulumi.set(__self__, "state", state) if type is not None: - _setter("type", type) + pulumi.set(__self__, "type", type) if uuid is not None: - _setter("uuid", uuid) + pulumi.set(__self__, "uuid", uuid) @property @pulumi.getter @@ -2006,27 +1547,12 @@ def __init__(__self__, *, :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: - _setter("href", href) + pulumi.set(__self__, "href", href) if type is not None: - _setter("type", type) + pulumi.set(__self__, "type", type) if uuid is not None: - _setter("uuid", uuid) + pulumi.set(__self__, "uuid", uuid) @property @pulumi.getter @@ -2074,23 +1600,10 @@ 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: - _setter("key", key) + pulumi.set(__self__, "key", key) if value is not None: - _setter("value", value) + pulumi.set(__self__, "value", value) @property @pulumi.getter @@ -2130,31 +1643,14 @@ def __init__(__self__, *, :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: - _setter("description", description) + pulumi.set(__self__, "description", description) if href is not None: - _setter("href", href) + pulumi.set(__self__, "href", href) if type is not None: - _setter("type", type) + pulumi.set(__self__, "type", type) if uuid is not None: - _setter("uuid", uuid) + pulumi.set(__self__, "uuid", uuid) @property @pulumi.getter @@ -2215,57 +1711,20 @@ 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 account_name is None and 'accountName' in kwargs: - account_name = kwargs['accountName'] - if account_number is None and 'accountNumber' in kwargs: - account_number = kwargs['accountNumber'] - if global_cust_id is None and 'globalCustId' in kwargs: - global_cust_id = kwargs['globalCustId'] - if global_org_id is None and 'globalOrgId' in kwargs: - global_org_id = kwargs['globalOrgId'] - if global_organization_name is None and 'globalOrganizationName' in kwargs: - global_organization_name = kwargs['globalOrganizationName'] - if org_id is None and 'orgId' in kwargs: - org_id = kwargs['orgId'] - if organization_name is None and 'organizationName' in kwargs: - organization_name = kwargs['organizationName'] - if account_name is not None: - _setter("account_name", account_name) + pulumi.set(__self__, "account_name", account_name) if account_number is not None: - _setter("account_number", account_number) + pulumi.set(__self__, "account_number", account_number) if global_cust_id is not None: - _setter("global_cust_id", global_cust_id) + pulumi.set(__self__, "global_cust_id", global_cust_id) if global_org_id is not None: - _setter("global_org_id", global_org_id) + pulumi.set(__self__, "global_org_id", global_org_id) if global_organization_name is not None: - _setter("global_organization_name", global_organization_name) + pulumi.set(__self__, "global_organization_name", global_organization_name) if org_id is not None: - _setter("org_id", org_id) + pulumi.set(__self__, "org_id", org_id) if organization_name is not None: - _setter("organization_name", organization_name) + pulumi.set(__self__, "organization_name", organization_name) @property @pulumi.getter(name="accountName") @@ -2346,87 +1805,30 @@ 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 created_by is None and 'createdBy' in kwargs: - created_by = kwargs['createdBy'] - if created_by_email is None and 'createdByEmail' in kwargs: - created_by_email = kwargs['createdByEmail'] - if created_by_full_name is None and 'createdByFullName' in kwargs: - created_by_full_name = kwargs['createdByFullName'] - if created_date_time is None and 'createdDateTime' in kwargs: - created_date_time = kwargs['createdDateTime'] - if deleted_by is None and 'deletedBy' in kwargs: - deleted_by = kwargs['deletedBy'] - if deleted_by_email is None and 'deletedByEmail' in kwargs: - deleted_by_email = kwargs['deletedByEmail'] - if deleted_by_full_name is None and 'deletedByFullName' in kwargs: - deleted_by_full_name = kwargs['deletedByFullName'] - if deleted_date_time is None and 'deletedDateTime' in kwargs: - deleted_date_time = kwargs['deletedDateTime'] - if updated_by is None and 'updatedBy' in kwargs: - updated_by = kwargs['updatedBy'] - if updated_by_email is None and 'updatedByEmail' in kwargs: - updated_by_email = kwargs['updatedByEmail'] - if updated_by_full_name is None and 'updatedByFullName' in kwargs: - updated_by_full_name = kwargs['updatedByFullName'] - if updated_date_time is None and 'updatedDateTime' in kwargs: - updated_date_time = kwargs['updatedDateTime'] - if created_by is not None: - _setter("created_by", created_by) + pulumi.set(__self__, "created_by", created_by) if created_by_email is not None: - _setter("created_by_email", created_by_email) + pulumi.set(__self__, "created_by_email", created_by_email) if created_by_full_name is not None: - _setter("created_by_full_name", created_by_full_name) + pulumi.set(__self__, "created_by_full_name", created_by_full_name) if created_date_time is not None: - _setter("created_date_time", created_date_time) + pulumi.set(__self__, "created_date_time", created_date_time) if deleted_by is not None: - _setter("deleted_by", deleted_by) + pulumi.set(__self__, "deleted_by", deleted_by) if deleted_by_email is not None: - _setter("deleted_by_email", deleted_by_email) + pulumi.set(__self__, "deleted_by_email", deleted_by_email) if deleted_by_full_name is not None: - _setter("deleted_by_full_name", deleted_by_full_name) + pulumi.set(__self__, "deleted_by_full_name", deleted_by_full_name) if deleted_date_time is not None: - _setter("deleted_date_time", deleted_date_time) + pulumi.set(__self__, "deleted_date_time", deleted_date_time) if updated_by is not None: - _setter("updated_by", updated_by) + pulumi.set(__self__, "updated_by", updated_by) if updated_by_email is not None: - _setter("updated_by_email", updated_by_email) + pulumi.set(__self__, "updated_by_email", updated_by_email) if updated_by_full_name is not None: - _setter("updated_by_full_name", updated_by_full_name) + pulumi.set(__self__, "updated_by_full_name", updated_by_full_name) if updated_date_time is not None: - _setter("updated_date_time", updated_date_time) + pulumi.set(__self__, "updated_date_time", updated_date_time) @property @pulumi.getter(name="createdBy") @@ -2548,31 +1950,10 @@ 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 """ - 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: 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 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) - _setter("type", type) + pulumi.set(__self__, "emails", emails) + pulumi.set(__self__, "type", type) if send_interval is not None: - _setter("send_interval", send_interval) + pulumi.set(__self__, "send_interval", send_interval) @property @pulumi.getter @@ -2617,31 +1998,12 @@ 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 equinix_status is None and 'equinixStatus' in kwargs: - equinix_status = kwargs['equinixStatus'] - if provider_status is None and 'providerStatus' in kwargs: - provider_status = kwargs['providerStatus'] - if equinix_status is not None: - _setter("equinix_status", equinix_status) + pulumi.set(__self__, "equinix_status", equinix_status) if errors is not None: - _setter("errors", errors) + pulumi.set(__self__, "errors", errors) if provider_status is not None: - _setter("provider_status", provider_status) + pulumi.set(__self__, "provider_status", provider_status) @property @pulumi.getter(name="equinixStatus") @@ -2683,47 +2045,18 @@ def __init__(__self__, *, """ :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 additional_info is None and 'additionalInfo' in kwargs: - additional_info = kwargs['additionalInfo'] - if correlation_id is None and 'correlationId' in kwargs: - correlation_id = kwargs['correlationId'] - if error_code is None and 'errorCode' in kwargs: - error_code = kwargs['errorCode'] - if error_message is None and 'errorMessage' in kwargs: - error_message = kwargs['errorMessage'] - if additional_info is not None: - _setter("additional_info", additional_info) + pulumi.set(__self__, "additional_info", additional_info) if correlation_id is not None: - _setter("correlation_id", correlation_id) + pulumi.set(__self__, "correlation_id", correlation_id) if details is not None: - _setter("details", details) + pulumi.set(__self__, "details", details) if error_code is not None: - _setter("error_code", error_code) + pulumi.set(__self__, "error_code", error_code) if error_message is not None: - _setter("error_message", error_message) + pulumi.set(__self__, "error_message", error_message) if help is not None: - _setter("help", help) + pulumi.set(__self__, "help", help) @property @pulumi.getter(name="additionalInfo") @@ -2788,23 +2121,10 @@ 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: - _setter("property", property) + pulumi.set(__self__, "property", property) if reason is not None: - _setter("reason", reason) + pulumi.set(__self__, "reason", reason) @property @pulumi.getter @@ -2838,39 +2158,14 @@ 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 billing_tier is None and 'billingTier' in kwargs: - billing_tier = kwargs['billingTier'] - if order_id is None and 'orderId' in kwargs: - order_id = kwargs['orderId'] - if order_number is None and 'orderNumber' in kwargs: - order_number = kwargs['orderNumber'] - if purchase_order_number is None and 'purchaseOrderNumber' in kwargs: - purchase_order_number = kwargs['purchaseOrderNumber'] - if billing_tier is not None: - _setter("billing_tier", billing_tier) + pulumi.set(__self__, "billing_tier", billing_tier) if order_id is not None: - _setter("order_id", order_id) + pulumi.set(__self__, "order_id", order_id) if order_number is not None: - _setter("order_number", order_number) + pulumi.set(__self__, "order_number", order_number) if purchase_order_number is not None: - _setter("purchase_order_number", purchase_order_number) + pulumi.set(__self__, "purchase_order_number", purchase_order_number) @property @pulumi.getter(name="billingTier") @@ -2930,25 +2225,10 @@ 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 project_id is None and 'projectId' in kwargs: - project_id = kwargs['projectId'] - if href is not None: - _setter("href", href) + pulumi.set(__self__, "href", href) if project_id is not None: - _setter("project_id", project_id) + pulumi.set(__self__, "project_id", project_id) @property @pulumi.getter @@ -2984,23 +2264,10 @@ 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: - _setter("group", group) + pulumi.set(__self__, "group", group) if priority is not None: - _setter("priority", priority) + pulumi.set(__self__, "priority", priority) @property @pulumi.getter @@ -3038,33 +2305,12 @@ 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 access_point is None and 'accessPoint' in kwargs: - access_point = kwargs['accessPoint'] - if additional_info is None and 'additionalInfo' in kwargs: - additional_info = kwargs['additionalInfo'] - if service_token is None and 'serviceToken' in kwargs: - service_token = kwargs['serviceToken'] - if access_point is not None: - _setter("access_point", access_point) + pulumi.set(__self__, "access_point", access_point) if additional_info is not None: - _setter("additional_info", additional_info) + pulumi.set(__self__, "additional_info", additional_info) if service_token is not None: - _setter("service_token", service_token) + pulumi.set(__self__, "service_token", service_token) @property @pulumi.getter(name="accessPoint") @@ -3138,96 +2384,41 @@ def __init__(__self__, *, :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 authentication_key is None and 'authenticationKey' in kwargs: - authentication_key = kwargs['authenticationKey'] - if link_protocol is None and 'linkProtocol' in kwargs: - link_protocol = kwargs['linkProtocol'] - if peering_type is None and 'peeringType' in kwargs: - peering_type = kwargs['peeringType'] - if provider_connection_id is None and 'providerConnectionId' in kwargs: - provider_connection_id = kwargs['providerConnectionId'] - if routing_protocols is None and 'routingProtocols' in kwargs: - routing_protocols = kwargs['routingProtocols'] - if seller_region is None and 'sellerRegion' in kwargs: - seller_region = kwargs['sellerRegion'] - if virtual_device is None and 'virtualDevice' in kwargs: - virtual_device = kwargs['virtualDevice'] - if account is not None: - _setter("account", account) + pulumi.set(__self__, "account", account) if authentication_key is not None: - _setter("authentication_key", authentication_key) + pulumi.set(__self__, "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: - _setter("gateway", gateway) + pulumi.set(__self__, "gateway", gateway) if interface is not None: - _setter("interface", interface) + pulumi.set(__self__, "interface", interface) if link_protocol is not None: - _setter("link_protocol", link_protocol) + pulumi.set(__self__, "link_protocol", link_protocol) if location is not None: - _setter("location", location) + pulumi.set(__self__, "location", location) if network is not None: - _setter("network", network) + pulumi.set(__self__, "network", network) if peering_type is not None: - _setter("peering_type", peering_type) + pulumi.set(__self__, "peering_type", peering_type) if port is not None: - _setter("port", port) + pulumi.set(__self__, "port", port) if profile is not None: - _setter("profile", profile) + pulumi.set(__self__, "profile", profile) if provider_connection_id is not None: - _setter("provider_connection_id", provider_connection_id) + pulumi.set(__self__, "provider_connection_id", provider_connection_id) if router is not None: - _setter("router", router) + pulumi.set(__self__, "router", router) if routing_protocols is not None: - _setter("routing_protocols", routing_protocols) + pulumi.set(__self__, "routing_protocols", routing_protocols) if seller_region is not None: - _setter("seller_region", seller_region) + pulumi.set(__self__, "seller_region", seller_region) if type is not None: - _setter("type", type) + pulumi.set(__self__, "type", type) if virtual_device is not None: - _setter("virtual_device", virtual_device) + pulumi.set(__self__, "virtual_device", virtual_device) @property @pulumi.getter @@ -3429,57 +2620,20 @@ 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 account_name is None and 'accountName' in kwargs: - account_name = kwargs['accountName'] - if account_number is None and 'accountNumber' in kwargs: - account_number = kwargs['accountNumber'] - if global_cust_id is None and 'globalCustId' in kwargs: - global_cust_id = kwargs['globalCustId'] - if global_org_id is None and 'globalOrgId' in kwargs: - global_org_id = kwargs['globalOrgId'] - if global_organization_name is None and 'globalOrganizationName' in kwargs: - global_organization_name = kwargs['globalOrganizationName'] - if org_id is None and 'orgId' in kwargs: - org_id = kwargs['orgId'] - if organization_name is None and 'organizationName' in kwargs: - organization_name = kwargs['organizationName'] - if account_name is not None: - _setter("account_name", account_name) + pulumi.set(__self__, "account_name", account_name) if account_number is not None: - _setter("account_number", account_number) + pulumi.set(__self__, "account_number", account_number) if global_cust_id is not None: - _setter("global_cust_id", global_cust_id) + pulumi.set(__self__, "global_cust_id", global_cust_id) if global_org_id is not None: - _setter("global_org_id", global_org_id) + pulumi.set(__self__, "global_org_id", global_org_id) if global_organization_name is not None: - _setter("global_organization_name", global_organization_name) + pulumi.set(__self__, "global_organization_name", global_organization_name) if org_id is not None: - _setter("org_id", org_id) + pulumi.set(__self__, "org_id", org_id) if organization_name is not None: - _setter("organization_name", organization_name) + pulumi.set(__self__, "organization_name", organization_name) @property @pulumi.getter(name="accountName") @@ -3554,23 +2708,10 @@ def __init__(__self__, *, :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: - _setter("href", href) + pulumi.set(__self__, "href", href) if uuid is not None: - _setter("uuid", uuid) + pulumi.set(__self__, "uuid", uuid) @property @pulumi.getter @@ -3608,27 +2749,12 @@ def __init__(__self__, *, :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: - _setter("id", id) + pulumi.set(__self__, "id", id) if type is not None: - _setter("type", type) + pulumi.set(__self__, "type", type) if uuid is not None: - _setter("uuid", uuid) + pulumi.set(__self__, "uuid", uuid) @property @pulumi.getter @@ -3680,37 +2806,14 @@ def __init__(__self__, *, :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 vlan_c_tag is None and 'vlanCTag' in kwargs: - vlan_c_tag = kwargs['vlanCTag'] - if vlan_s_tag is None and 'vlanSTag' in kwargs: - vlan_s_tag = kwargs['vlanSTag'] - if vlan_tag is None and 'vlanTag' in kwargs: - vlan_tag = kwargs['vlanTag'] - if type is not None: - _setter("type", type) + pulumi.set(__self__, "type", type) if vlan_c_tag is not None: - _setter("vlan_c_tag", vlan_c_tag) + pulumi.set(__self__, "vlan_c_tag", vlan_c_tag) if vlan_s_tag is not None: - _setter("vlan_s_tag", vlan_s_tag) + pulumi.set(__self__, "vlan_s_tag", vlan_s_tag) if vlan_tag is not None: - _setter("vlan_tag", vlan_tag) + pulumi.set(__self__, "vlan_tag", vlan_tag) @property @pulumi.getter @@ -3774,35 +2877,14 @@ def __init__(__self__, *, :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 metro_code is None and 'metroCode' in kwargs: - metro_code = kwargs['metroCode'] - if metro_name is None and 'metroName' in kwargs: - metro_name = kwargs['metroName'] - if ibx is not None: - _setter("ibx", ibx) + pulumi.set(__self__, "ibx", ibx) if metro_code is not None: - _setter("metro_code", metro_code) + pulumi.set(__self__, "metro_code", metro_code) if metro_name is not None: - _setter("metro_name", metro_name) + pulumi.set(__self__, "metro_name", metro_name) if region is not None: - _setter("region", region) + pulumi.set(__self__, "region", region) @property @pulumi.getter @@ -3862,23 +2944,10 @@ def __init__(__self__, *, :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) + pulumi.set(__self__, "href", href) if uuid is not None: - _setter("uuid", uuid) + pulumi.set(__self__, "uuid", uuid) @property @pulumi.getter @@ -3918,31 +2987,14 @@ def __init__(__self__, *, :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: - _setter("href", href) + pulumi.set(__self__, "href", href) if name is not None: - _setter("name", name) + pulumi.set(__self__, "name", name) if redundancies is not None: - _setter("redundancies", redundancies) + pulumi.set(__self__, "redundancies", redundancies) if uuid is not None: - _setter("uuid", uuid) + pulumi.set(__self__, "uuid", uuid) @property @pulumi.getter @@ -4000,19 +3052,8 @@ 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: - _setter("priority", priority) + pulumi.set(__self__, "priority", priority) @property @pulumi.getter @@ -4044,43 +3085,16 @@ def __init__(__self__, *, :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: 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 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) - _setter("uuid", uuid) + pulumi.set(__self__, "type", type) + pulumi.set(__self__, "uuid", uuid) if access_point_type_configs is not None: - _setter("access_point_type_configs", access_point_type_configs) + pulumi.set(__self__, "access_point_type_configs", access_point_type_configs) if description is not None: - _setter("description", description) + pulumi.set(__self__, "description", description) if href is not None: - _setter("href", href) + pulumi.set(__self__, "href", href) if name is not None: - _setter("name", name) + pulumi.set(__self__, "name", name) @property @pulumi.getter @@ -4164,23 +3178,10 @@ def __init__(__self__, *, :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: - _setter("type", type) + pulumi.set(__self__, "type", type) if uuid is not None: - _setter("uuid", uuid) + pulumi.set(__self__, "uuid", uuid) @property @pulumi.getter @@ -4216,23 +3217,10 @@ def __init__(__self__, *, :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) + pulumi.set(__self__, "href", href) if uuid is not None: - _setter("uuid", uuid) + pulumi.set(__self__, "uuid", uuid) @property @pulumi.getter @@ -4270,27 +3258,12 @@ def __init__(__self__, *, :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: - _setter("state", state) + pulumi.set(__self__, "state", state) if type is not None: - _setter("type", type) + pulumi.set(__self__, "type", type) if uuid is not None: - _setter("uuid", uuid) + pulumi.set(__self__, "uuid", uuid) @property @pulumi.getter @@ -4340,27 +3313,12 @@ def __init__(__self__, *, :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) + pulumi.set(__self__, "href", href) if type is not None: - _setter("type", type) + pulumi.set(__self__, "type", type) if uuid is not None: - _setter("uuid", uuid) + pulumi.set(__self__, "uuid", uuid) @property @pulumi.getter @@ -4408,23 +3366,10 @@ def __init__(__self__, *, :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) + pulumi.set(__self__, "key", key) if value is not None: - _setter("value", value) + pulumi.set(__self__, "value", value) @property @pulumi.getter @@ -4464,31 +3409,14 @@ def __init__(__self__, *, :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) + pulumi.set(__self__, "description", description) if href is not None: - _setter("href", href) + pulumi.set(__self__, "href", href) if type is not None: - _setter("type", type) + pulumi.set(__self__, "type", type) if uuid is not None: - _setter("uuid", uuid) + pulumi.set(__self__, "uuid", uuid) @property @pulumi.getter @@ -4548,24 +3476,9 @@ def __init__(__self__, *, :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: 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) + pulumi.set(__self__, "enabled", enabled) if interval is not None: - _setter("interval", interval) + pulumi.set(__self__, "interval", interval) @property @pulumi.getter @@ -4603,32 +3516,11 @@ def __init__(__self__, *, :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: 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 customer_peer_ip is None and 'customerPeerIp' in kwargs: - customer_peer_ip = kwargs['customerPeerIp'] - 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) + pulumi.set(__self__, "customer_peer_ip", customer_peer_ip) if enabled is not None: - _setter("enabled", enabled) + pulumi.set(__self__, "enabled", enabled) if equinix_peer_ip is not None: - _setter("equinix_peer_ip", equinix_peer_ip) + pulumi.set(__self__, "equinix_peer_ip", equinix_peer_ip) @property @pulumi.getter(name="customerPeerIp") @@ -4678,32 +3570,11 @@ def __init__(__self__, *, :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: 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 customer_peer_ip is None and 'customerPeerIp' in kwargs: - customer_peer_ip = kwargs['customerPeerIp'] - 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) + pulumi.set(__self__, "customer_peer_ip", customer_peer_ip) if enabled is not None: - _setter("enabled", enabled) + pulumi.set(__self__, "enabled", enabled) if equinix_peer_ip is not None: - _setter("equinix_peer_ip", equinix_peer_ip) + pulumi.set(__self__, "equinix_peer_ip", equinix_peer_ip) @property @pulumi.getter(name="customerPeerIp") @@ -4748,27 +3619,12 @@ def __init__(__self__, *, href: Optional[pulumi.Input[str]] = None, type: Optional[pulumi.Input[str]] = None, uuid: Optional[pulumi.Input[str]] = None): - 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: - _setter("href", href) + pulumi.set(__self__, "href", href) if type is not None: - _setter("type", type) + pulumi.set(__self__, "type", type) if uuid is not None: - _setter("uuid", uuid) + pulumi.set(__self__, "uuid", uuid) @property @pulumi.getter @@ -4813,87 +3669,30 @@ 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): - 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 created_by is None and 'createdBy' in kwargs: - created_by = kwargs['createdBy'] - if created_by_email is None and 'createdByEmail' in kwargs: - created_by_email = kwargs['createdByEmail'] - if created_by_full_name is None and 'createdByFullName' in kwargs: - created_by_full_name = kwargs['createdByFullName'] - if created_date_time is None and 'createdDateTime' in kwargs: - created_date_time = kwargs['createdDateTime'] - if deleted_by is None and 'deletedBy' in kwargs: - deleted_by = kwargs['deletedBy'] - if deleted_by_email is None and 'deletedByEmail' in kwargs: - deleted_by_email = kwargs['deletedByEmail'] - if deleted_by_full_name is None and 'deletedByFullName' in kwargs: - deleted_by_full_name = kwargs['deletedByFullName'] - if deleted_date_time is None and 'deletedDateTime' in kwargs: - deleted_date_time = kwargs['deletedDateTime'] - if updated_by is None and 'updatedBy' in kwargs: - updated_by = kwargs['updatedBy'] - if updated_by_email is None and 'updatedByEmail' in kwargs: - updated_by_email = kwargs['updatedByEmail'] - if updated_by_full_name is None and 'updatedByFullName' in kwargs: - updated_by_full_name = kwargs['updatedByFullName'] - if updated_date_time is None and 'updatedDateTime' in kwargs: - updated_date_time = kwargs['updatedDateTime'] - if created_by is not None: - _setter("created_by", created_by) + pulumi.set(__self__, "created_by", created_by) if created_by_email is not None: - _setter("created_by_email", created_by_email) + pulumi.set(__self__, "created_by_email", created_by_email) if created_by_full_name is not None: - _setter("created_by_full_name", created_by_full_name) + pulumi.set(__self__, "created_by_full_name", created_by_full_name) if created_date_time is not None: - _setter("created_date_time", created_date_time) + pulumi.set(__self__, "created_date_time", created_date_time) if deleted_by is not None: - _setter("deleted_by", deleted_by) + pulumi.set(__self__, "deleted_by", deleted_by) if deleted_by_email is not None: - _setter("deleted_by_email", deleted_by_email) + pulumi.set(__self__, "deleted_by_email", deleted_by_email) if deleted_by_full_name is not None: - _setter("deleted_by_full_name", deleted_by_full_name) + pulumi.set(__self__, "deleted_by_full_name", deleted_by_full_name) if deleted_date_time is not None: - _setter("deleted_date_time", deleted_date_time) + pulumi.set(__self__, "deleted_date_time", deleted_date_time) if updated_by is not None: - _setter("updated_by", updated_by) + pulumi.set(__self__, "updated_by", updated_by) if updated_by_email is not None: - _setter("updated_by_email", updated_by_email) + pulumi.set(__self__, "updated_by_email", updated_by_email) if updated_by_full_name is not None: - _setter("updated_by_full_name", updated_by_full_name) + pulumi.set(__self__, "updated_by_full_name", updated_by_full_name) if updated_date_time is not None: - _setter("updated_date_time", updated_date_time) + pulumi.set(__self__, "updated_date_time", updated_date_time) @property @pulumi.getter(name="createdBy") @@ -5011,22 +3810,7 @@ def __init__(__self__, *, """ :param pulumi.Input[str] equinix_iface_ip: Equinix side Interface IP address """ - 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: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None, - **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) + pulumi.set(__self__, "equinix_iface_ip", equinix_iface_ip) @property @pulumi.getter(name="equinixIfaceIp") @@ -5048,21 +3832,8 @@ def __init__(__self__, *, """ :param pulumi.Input[str] equinix_iface_ip: Equinix side Interface IP address """ - 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 equinix_iface_ip is None and 'equinixIfaceIp' in kwargs: - equinix_iface_ip = kwargs['equinixIfaceIp'] - if equinix_iface_ip is not None: - _setter("equinix_iface_ip", equinix_iface_ip) + pulumi.set(__self__, "equinix_iface_ip", equinix_iface_ip) @property @pulumi.getter(name="equinixIfaceIp") @@ -5081,19 +3852,8 @@ def equinix_iface_ip(self, value: Optional[pulumi.Input[str]]): 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) + pulumi.set(__self__, "errors", errors) @property @pulumi.getter @@ -5114,47 +3874,18 @@ def __init__(__self__, *, 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 additional_infos is None and 'additionalInfos' in kwargs: - additional_infos = kwargs['additionalInfos'] - if correlation_id is None and 'correlationId' in kwargs: - correlation_id = kwargs['correlationId'] - if error_code is None and 'errorCode' in kwargs: - error_code = kwargs['errorCode'] - if error_message is None and 'errorMessage' in kwargs: - error_message = kwargs['errorMessage'] - if additional_infos is not None: - _setter("additional_infos", additional_infos) + pulumi.set(__self__, "additional_infos", additional_infos) if correlation_id is not None: - _setter("correlation_id", correlation_id) + pulumi.set(__self__, "correlation_id", correlation_id) if details is not None: - _setter("details", details) + pulumi.set(__self__, "details", details) if error_code is not None: - _setter("error_code", error_code) + pulumi.set(__self__, "error_code", error_code) if error_message is not None: - _setter("error_message", error_message) + pulumi.set(__self__, "error_message", error_message) if help is not None: - _setter("help", help) + pulumi.set(__self__, "help", help) @property @pulumi.getter(name="additionalInfos") @@ -5216,23 +3947,10 @@ 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) + pulumi.set(__self__, "property", property) if reason is not None: - _setter("reason", reason) + pulumi.set(__self__, "reason", reason) @property @pulumi.getter @@ -5286,96 +4004,33 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input[int]]] supported_bandwidths: Supported bandwidths :param pulumi.Input[str] uuid: Colo/Port Uuid """ - 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: 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, - 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 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 allow_bandwidth_upgrade is None and 'allowBandwidthUpgrade' in kwargs: - allow_bandwidth_upgrade = kwargs['allowBandwidthUpgrade'] - if allow_custom_bandwidth is None and 'allowCustomBandwidth' in kwargs: - allow_custom_bandwidth = kwargs['allowCustomBandwidth'] - if allow_remote_connections is None and 'allowRemoteConnections' in kwargs: - allow_remote_connections = kwargs['allowRemoteConnections'] - if api_config is None and 'apiConfig' in kwargs: - api_config = kwargs['apiConfig'] - if authentication_key is None and 'authenticationKey' in kwargs: - authentication_key = kwargs['authenticationKey'] - if bandwidth_alert_threshold is None and 'bandwidthAlertThreshold' in kwargs: - bandwidth_alert_threshold = kwargs['bandwidthAlertThreshold'] - if connection_label is None and 'connectionLabel' in kwargs: - connection_label = kwargs['connectionLabel'] - if connection_redundancy_required is None and 'connectionRedundancyRequired' in kwargs: - connection_redundancy_required = kwargs['connectionRedundancyRequired'] - if enable_auto_generate_service_key is None and 'enableAutoGenerateServiceKey' in kwargs: - enable_auto_generate_service_key = kwargs['enableAutoGenerateServiceKey'] - if link_protocol_config is None and 'linkProtocolConfig' in kwargs: - link_protocol_config = kwargs['linkProtocolConfig'] - if supported_bandwidths is None and 'supportedBandwidths' in kwargs: - supported_bandwidths = kwargs['supportedBandwidths'] - - _setter("type", type) + pulumi.set(__self__, "type", type) if allow_bandwidth_auto_approval is not None: - _setter("allow_bandwidth_auto_approval", allow_bandwidth_auto_approval) + pulumi.set(__self__, "allow_bandwidth_auto_approval", allow_bandwidth_auto_approval) if allow_bandwidth_upgrade is not None: - _setter("allow_bandwidth_upgrade", allow_bandwidth_upgrade) + pulumi.set(__self__, "allow_bandwidth_upgrade", allow_bandwidth_upgrade) if allow_custom_bandwidth is not None: - _setter("allow_custom_bandwidth", allow_custom_bandwidth) + pulumi.set(__self__, "allow_custom_bandwidth", allow_custom_bandwidth) if allow_remote_connections is not None: - _setter("allow_remote_connections", allow_remote_connections) + pulumi.set(__self__, "allow_remote_connections", allow_remote_connections) if api_config is not None: - _setter("api_config", api_config) + pulumi.set(__self__, "api_config", api_config) if authentication_key is not None: - _setter("authentication_key", authentication_key) + pulumi.set(__self__, "authentication_key", authentication_key) if bandwidth_alert_threshold is not None: - _setter("bandwidth_alert_threshold", bandwidth_alert_threshold) + pulumi.set(__self__, "bandwidth_alert_threshold", bandwidth_alert_threshold) if connection_label is not None: - _setter("connection_label", connection_label) + pulumi.set(__self__, "connection_label", connection_label) if connection_redundancy_required is not None: - _setter("connection_redundancy_required", connection_redundancy_required) + pulumi.set(__self__, "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) + pulumi.set(__self__, "enable_auto_generate_service_key", enable_auto_generate_service_key) if link_protocol_config is not None: - _setter("link_protocol_config", link_protocol_config) + pulumi.set(__self__, "link_protocol_config", link_protocol_config) if supported_bandwidths is not None: - _setter("supported_bandwidths", supported_bandwidths) + pulumi.set(__self__, "supported_bandwidths", supported_bandwidths) if uuid is not None: - _setter("uuid", uuid) + pulumi.set(__self__, "uuid", uuid) @property @pulumi.getter @@ -5565,57 +4220,20 @@ def __init__(__self__, *, :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 allow_over_subscription is None and 'allowOverSubscription' in kwargs: - allow_over_subscription = kwargs['allowOverSubscription'] - if api_available is None and 'apiAvailable' in kwargs: - api_available = kwargs['apiAvailable'] - if bandwidth_from_api is None and 'bandwidthFromApi' in kwargs: - bandwidth_from_api = kwargs['bandwidthFromApi'] - if equinix_managed_port is None and 'equinixManagedPort' in kwargs: - equinix_managed_port = kwargs['equinixManagedPort'] - if equinix_managed_vlan is None and 'equinixManagedVlan' in kwargs: - equinix_managed_vlan = kwargs['equinixManagedVlan'] - if integration_id is None and 'integrationId' in kwargs: - integration_id = kwargs['integrationId'] - if over_subscription_limit is None and 'overSubscriptionLimit' in kwargs: - over_subscription_limit = kwargs['overSubscriptionLimit'] - if allow_over_subscription is not None: - _setter("allow_over_subscription", allow_over_subscription) + pulumi.set(__self__, "allow_over_subscription", allow_over_subscription) if api_available is not None: - _setter("api_available", api_available) + pulumi.set(__self__, "api_available", api_available) if bandwidth_from_api is not None: - _setter("bandwidth_from_api", bandwidth_from_api) + pulumi.set(__self__, "bandwidth_from_api", bandwidth_from_api) if equinix_managed_port is not None: - _setter("equinix_managed_port", equinix_managed_port) + pulumi.set(__self__, "equinix_managed_port", equinix_managed_port) if equinix_managed_vlan is not None: - _setter("equinix_managed_vlan", equinix_managed_vlan) + pulumi.set(__self__, "equinix_managed_vlan", equinix_managed_vlan) if integration_id is not None: - _setter("integration_id", integration_id) + pulumi.set(__self__, "integration_id", integration_id) if over_subscription_limit is not None: - _setter("over_subscription_limit", over_subscription_limit) + pulumi.set(__self__, "over_subscription_limit", over_subscription_limit) @property @pulumi.getter(name="allowOverSubscription") @@ -5713,27 +4331,12 @@ def __init__(__self__, *, :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: - _setter("description", description) + pulumi.set(__self__, "description", description) if label is not None: - _setter("label", label) + pulumi.set(__self__, "label", label) if required is not None: - _setter("required", required) + pulumi.set(__self__, "required", required) @property @pulumi.getter @@ -5783,31 +4386,12 @@ def __init__(__self__, *, :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 encapsulation_strategy is None and 'encapsulationStrategy' in kwargs: - encapsulation_strategy = kwargs['encapsulationStrategy'] - if reuse_vlan_s_tag is None and 'reuseVlanSTag' in kwargs: - reuse_vlan_s_tag = kwargs['reuseVlanSTag'] - if encapsulation is not None: - _setter("encapsulation", encapsulation) + pulumi.set(__self__, "encapsulation", encapsulation) if encapsulation_strategy is not None: - _setter("encapsulation_strategy", encapsulation_strategy) + pulumi.set(__self__, "encapsulation_strategy", encapsulation_strategy) if reuse_vlan_s_tag is not None: - _setter("reuse_vlan_s_tag", reuse_vlan_s_tag) + pulumi.set(__self__, "reuse_vlan_s_tag", reuse_vlan_s_tag) @property @pulumi.getter @@ -5867,63 +4451,22 @@ 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 account_name is None and 'accountName' in kwargs: - account_name = kwargs['accountName'] - if account_number is None and 'accountNumber' in kwargs: - account_number = kwargs['accountNumber'] - if global_cust_id is None and 'globalCustId' in kwargs: - global_cust_id = kwargs['globalCustId'] - if global_org_id is None and 'globalOrgId' in kwargs: - global_org_id = kwargs['globalOrgId'] - if global_organization_name is None and 'globalOrganizationName' in kwargs: - global_organization_name = kwargs['globalOrganizationName'] - if org_id is None and 'orgId' in kwargs: - org_id = kwargs['orgId'] - if organization_name is None and 'organizationName' in kwargs: - organization_name = kwargs['organizationName'] - if ucm_id is None and 'ucmId' in kwargs: - ucm_id = kwargs['ucmId'] - if account_name is not None: - _setter("account_name", account_name) + pulumi.set(__self__, "account_name", account_name) if account_number is not None: - _setter("account_number", account_number) + pulumi.set(__self__, "account_number", account_number) if global_cust_id is not None: - _setter("global_cust_id", global_cust_id) + pulumi.set(__self__, "global_cust_id", global_cust_id) if global_org_id is not None: - _setter("global_org_id", global_org_id) + pulumi.set(__self__, "global_org_id", global_org_id) if global_organization_name is not None: - _setter("global_organization_name", global_organization_name) + pulumi.set(__self__, "global_organization_name", global_organization_name) if org_id is not None: - _setter("org_id", org_id) + pulumi.set(__self__, "org_id", org_id) if organization_name is not None: - _setter("organization_name", organization_name) + pulumi.set(__self__, "organization_name", organization_name) if ucm_id is not None: - _setter("ucm_id", ucm_id) + pulumi.set(__self__, "ucm_id", ucm_id) @property @pulumi.getter(name="accountName") @@ -6037,87 +4580,30 @@ 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 created_by is None and 'createdBy' in kwargs: - created_by = kwargs['createdBy'] - if created_by_email is None and 'createdByEmail' in kwargs: - created_by_email = kwargs['createdByEmail'] - if created_by_full_name is None and 'createdByFullName' in kwargs: - created_by_full_name = kwargs['createdByFullName'] - if created_date_time is None and 'createdDateTime' in kwargs: - created_date_time = kwargs['createdDateTime'] - if deleted_by is None and 'deletedBy' in kwargs: - deleted_by = kwargs['deletedBy'] - if deleted_by_email is None and 'deletedByEmail' in kwargs: - deleted_by_email = kwargs['deletedByEmail'] - if deleted_by_full_name is None and 'deletedByFullName' in kwargs: - deleted_by_full_name = kwargs['deletedByFullName'] - if deleted_date_time is None and 'deletedDateTime' in kwargs: - deleted_date_time = kwargs['deletedDateTime'] - if updated_by is None and 'updatedBy' in kwargs: - updated_by = kwargs['updatedBy'] - if updated_by_email is None and 'updatedByEmail' in kwargs: - updated_by_email = kwargs['updatedByEmail'] - if updated_by_full_name is None and 'updatedByFullName' in kwargs: - updated_by_full_name = kwargs['updatedByFullName'] - if updated_date_time is None and 'updatedDateTime' in kwargs: - updated_date_time = kwargs['updatedDateTime'] - if created_by is not None: - _setter("created_by", created_by) + pulumi.set(__self__, "created_by", created_by) if created_by_email is not None: - _setter("created_by_email", created_by_email) + pulumi.set(__self__, "created_by_email", created_by_email) if created_by_full_name is not None: - _setter("created_by_full_name", created_by_full_name) + pulumi.set(__self__, "created_by_full_name", created_by_full_name) if created_date_time is not None: - _setter("created_date_time", created_date_time) + pulumi.set(__self__, "created_date_time", created_date_time) if deleted_by is not None: - _setter("deleted_by", deleted_by) + pulumi.set(__self__, "deleted_by", deleted_by) if deleted_by_email is not None: - _setter("deleted_by_email", deleted_by_email) + pulumi.set(__self__, "deleted_by_email", deleted_by_email) if deleted_by_full_name is not None: - _setter("deleted_by_full_name", deleted_by_full_name) + pulumi.set(__self__, "deleted_by_full_name", deleted_by_full_name) if deleted_date_time is not None: - _setter("deleted_date_time", deleted_date_time) + pulumi.set(__self__, "deleted_date_time", deleted_date_time) if updated_by is not None: - _setter("updated_by", updated_by) + pulumi.set(__self__, "updated_by", updated_by) if updated_by_email is not None: - _setter("updated_by_email", updated_by_email) + pulumi.set(__self__, "updated_by_email", updated_by_email) if updated_by_full_name is not None: - _setter("updated_by_full_name", updated_by_full_name) + pulumi.set(__self__, "updated_by_full_name", updated_by_full_name) if updated_date_time is not None: - _setter("updated_date_time", updated_date_time) + pulumi.set(__self__, "updated_date_time", updated_date_time) @property @pulumi.getter(name="createdBy") @@ -6245,46 +4731,15 @@ def __init__(__self__, *, :param pulumi.Input[str] description: Description :param pulumi.Input[Sequence[pulumi.Input[str]]] options: Options """ - 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: 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 data_type is None and 'dataType' in kwargs: - data_type = kwargs['dataType'] - 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) - _setter("label", label) - _setter("required", required) + pulumi.set(__self__, "data_type", data_type) + pulumi.set(__self__, "label", label) + pulumi.set(__self__, "required", required) if capture_in_email is not None: - _setter("capture_in_email", capture_in_email) + pulumi.set(__self__, "capture_in_email", capture_in_email) if description is not None: - _setter("description", description) + pulumi.set(__self__, "description", description) if options is not None: - _setter("options", options) + pulumi.set(__self__, "options", options) @property @pulumi.getter(name="dataType") @@ -6370,29 +4825,12 @@ 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 process_steps is None and 'processSteps' in kwargs: - process_steps = kwargs['processSteps'] - if logo is not None: - _setter("logo", logo) + pulumi.set(__self__, "logo", logo) if process_steps is not None: - _setter("process_steps", process_steps) + pulumi.set(__self__, "process_steps", process_steps) if promotion is not None: - _setter("promotion", promotion) + pulumi.set(__self__, "promotion", promotion) @property @pulumi.getter @@ -6442,29 +4880,12 @@ def __init__(__self__, *, :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 sub_title is None and 'subTitle' in kwargs: - sub_title = kwargs['subTitle'] - if description is not None: - _setter("description", description) + pulumi.set(__self__, "description", description) if sub_title is not None: - _setter("sub_title", sub_title) + pulumi.set(__self__, "sub_title", sub_title) if title is not None: - _setter("title", title) + pulumi.set(__self__, "title", title) @property @pulumi.getter @@ -6520,45 +4941,18 @@ 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 display_name is None and 'displayName' in kwargs: - display_name = kwargs['displayName'] - if in_trail is None and 'inTrail' in kwargs: - in_trail = kwargs['inTrail'] - if seller_regions is None and 'sellerRegions' in kwargs: - seller_regions = kwargs['sellerRegions'] - if code is not None: - _setter("code", code) + pulumi.set(__self__, "code", code) if display_name is not None: - _setter("display_name", display_name) + pulumi.set(__self__, "display_name", display_name) if ibxs is not None: - _setter("ibxs", ibxs) + pulumi.set(__self__, "ibxs", ibxs) if in_trail is not None: - _setter("in_trail", in_trail) + pulumi.set(__self__, "in_trail", in_trail) if name is not None: - _setter("name", name) + pulumi.set(__self__, "name", name) if seller_regions is not None: - _setter("seller_regions", seller_regions) + pulumi.set(__self__, "seller_regions", seller_regions) @property @pulumi.getter @@ -6644,31 +5038,10 @@ 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 """ - 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: 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 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) - _setter("type", type) + pulumi.set(__self__, "emails", emails) + pulumi.set(__self__, "type", type) if send_interval is not None: - _setter("send_interval", send_interval) + pulumi.set(__self__, "send_interval", send_interval) @property @pulumi.getter @@ -6724,47 +5097,16 @@ def __init__(__self__, *, :param pulumi.Input[str] seller_region: Seller Region :param pulumi.Input[str] seller_region_description: Seller Region details """ - 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: 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 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 seller_region is None and 'sellerRegion' in kwargs: - seller_region = kwargs['sellerRegion'] - if seller_region_description is None and 'sellerRegionDescription' in kwargs: - seller_region_description = kwargs['sellerRegionDescription'] - - _setter("type", type) - _setter("uuid", uuid) + pulumi.set(__self__, "type", type) + pulumi.set(__self__, "uuid", uuid) if cross_connect_id is not None: - _setter("cross_connect_id", cross_connect_id) + pulumi.set(__self__, "cross_connect_id", cross_connect_id) if location is not None: - _setter("location", location) + pulumi.set(__self__, "location", location) if seller_region is not None: - _setter("seller_region", seller_region) + pulumi.set(__self__, "seller_region", seller_region) if seller_region_description is not None: - _setter("seller_region_description", seller_region_description) + pulumi.set(__self__, "seller_region_description", seller_region_description) @property @pulumi.getter @@ -6852,35 +5194,14 @@ def __init__(__self__, *, :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 metro_code is None and 'metroCode' in kwargs: - metro_code = kwargs['metroCode'] - if metro_name is None and 'metroName' in kwargs: - metro_name = kwargs['metroName'] - if ibx is not None: - _setter("ibx", ibx) + pulumi.set(__self__, "ibx", ibx) if metro_code is not None: - _setter("metro_code", metro_code) + pulumi.set(__self__, "metro_code", metro_code) if metro_name is not None: - _setter("metro_name", metro_name) + pulumi.set(__self__, "metro_name", metro_name) if region is not None: - _setter("region", region) + pulumi.set(__self__, "region", region) @property @pulumi.getter @@ -6940,25 +5261,10 @@ 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 project_id is None and 'projectId' in kwargs: - project_id = kwargs['projectId'] - if href is not None: - _setter("href", href) + pulumi.set(__self__, "href", href) if project_id is not None: - _setter("project_id", project_id) + pulumi.set(__self__, "project_id", project_id) @property @pulumi.getter @@ -6998,35 +5304,12 @@ def __init__(__self__, *, :param pulumi.Input[str] interface_uuid: Device Interface Uuid :param pulumi.Input['ServiceProfileVirtualDeviceLocationArgs'] location: Device Location """ - 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: 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 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) - _setter("uuid", uuid) + pulumi.set(__self__, "type", type) + pulumi.set(__self__, "uuid", uuid) if interface_uuid is not None: - _setter("interface_uuid", interface_uuid) + pulumi.set(__self__, "interface_uuid", interface_uuid) if location is not None: - _setter("location", location) + pulumi.set(__self__, "location", location) @property @pulumi.getter @@ -7090,35 +5373,14 @@ def __init__(__self__, *, :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 metro_code is None and 'metroCode' in kwargs: - metro_code = kwargs['metroCode'] - if metro_name is None and 'metroName' in kwargs: - metro_name = kwargs['metroName'] - if ibx is not None: - _setter("ibx", ibx) + pulumi.set(__self__, "ibx", ibx) if metro_code is not None: - _setter("metro_code", metro_code) + pulumi.set(__self__, "metro_code", metro_code) if metro_name is not None: - _setter("metro_name", metro_name) + pulumi.set(__self__, "metro_name", metro_name) if region is not None: - _setter("region", region) + pulumi.set(__self__, "region", region) @property @pulumi.getter @@ -7178,27 +5440,8 @@ def __init__(__self__, *, :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: Optional[str] = None, - project_id: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None, - **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) + pulumi.set(__self__, "href", href) + pulumi.set(__self__, "project_id", project_id) @property @pulumi.getter @@ -7234,27 +5477,8 @@ def __init__(__self__, *, :param str href: Unique Resource URL :param str 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: Optional[str] = None, - project_id: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None, - **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) + pulumi.set(__self__, "href", href) + pulumi.set(__self__, "project_id", project_id) @property @pulumi.getter @@ -7288,19 +5512,8 @@ 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: - _setter("name", name) + pulumi.set(__self__, "name", name) @property @pulumi.getter @@ -7324,24 +5537,9 @@ def __init__(__self__, *, :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: 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) + pulumi.set(__self__, "enabled", enabled) if interval is not None: - _setter("interval", interval) + pulumi.set(__self__, "interval", interval) @property @pulumi.getter @@ -7379,33 +5577,10 @@ def __init__(__self__, *, :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: Optional[str] = None, - equinix_peer_ip: Optional[str] = None, - enabled: Optional[bool] = None, - opts: Optional[pulumi.ResourceOptions]=None, - **kwargs): - if customer_peer_ip is None and 'customerPeerIp' in kwargs: - customer_peer_ip = kwargs['customerPeerIp'] - 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) + pulumi.set(__self__, "customer_peer_ip", customer_peer_ip) + pulumi.set(__self__, "equinix_peer_ip", equinix_peer_ip) if enabled is not None: - _setter("enabled", enabled) + pulumi.set(__self__, "enabled", enabled) @property @pulumi.getter(name="customerPeerIp") @@ -7455,33 +5630,10 @@ def __init__(__self__, *, :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: Optional[str] = None, - equinix_peer_ip: Optional[str] = None, - enabled: Optional[bool] = None, - opts: Optional[pulumi.ResourceOptions]=None, - **kwargs): - if customer_peer_ip is None and 'customerPeerIp' in kwargs: - customer_peer_ip = kwargs['customerPeerIp'] - 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) + pulumi.set(__self__, "customer_peer_ip", customer_peer_ip) + pulumi.set(__self__, "equinix_peer_ip", equinix_peer_ip) if enabled is not None: - _setter("enabled", enabled) + pulumi.set(__self__, "enabled", enabled) @property @pulumi.getter(name="customerPeerIp") @@ -7527,22 +5679,7 @@ def __init__(__self__, *, """ :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: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None, - **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) + pulumi.set(__self__, "equinix_iface_ip", equinix_iface_ip) @property @pulumi.getter(name="equinixIfaceIp") @@ -7564,21 +5701,8 @@ def __init__(__self__, *, """ :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 equinix_iface_ip is None and 'equinixIfaceIp' in kwargs: - equinix_iface_ip = kwargs['equinixIfaceIp'] - if equinix_iface_ip is not None: - _setter("equinix_iface_ip", equinix_iface_ip) + pulumi.set(__self__, "equinix_iface_ip", equinix_iface_ip) @property @pulumi.getter(name="equinixIfaceIp") @@ -7604,27 +5728,12 @@ 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: - _setter("operator", operator) + pulumi.set(__self__, "operator", operator) if property is not None: - _setter("property", property) + pulumi.set(__self__, "property", property) if values is not None: - _setter("values", values) + pulumi.set(__self__, "values", values) @property @pulumi.getter @@ -7672,23 +5781,10 @@ 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: - _setter("direction", direction) + pulumi.set(__self__, "direction", direction) if property is not None: - _setter("property", property) + pulumi.set(__self__, "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 index 530b3ec5..096d7f83 100644 --- a/sdk/python/pulumi_equinix/fabric/cloud_router.py +++ b/sdk/python/pulumi_equinix/fabric/cloud_router.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -37,55 +37,20 @@ def __init__(__self__, *, :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: 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, - order: Optional[pulumi.Input['CloudRouterOrderArgs']] = None, - 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) - _setter("package", package) - _setter("type", type) + pulumi.set(__self__, "location", location) + pulumi.set(__self__, "notifications", notifications) + pulumi.set(__self__, "package", package) + pulumi.set(__self__, "type", type) if account is not None: - _setter("account", account) + pulumi.set(__self__, "account", account) if description is not None: - _setter("description", description) + pulumi.set(__self__, "description", description) if name is not None: - _setter("name", name) + pulumi.set(__self__, "name", name) if order is not None: - _setter("order", order) + pulumi.set(__self__, "order", order) if projects is not None: - _setter("projects", projects) + pulumi.set(__self__, "projects", projects) @property @pulumi.getter @@ -228,71 +193,32 @@ def __init__(__self__, *, :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 change_logs is None and 'changeLogs' in kwargs: - change_logs = kwargs['changeLogs'] - if equinix_asn is None and 'equinixAsn' in kwargs: - equinix_asn = kwargs['equinixAsn'] - if account is not None: - _setter("account", account) + pulumi.set(__self__, "account", account) if change_logs is not None: - _setter("change_logs", change_logs) + pulumi.set(__self__, "change_logs", change_logs) if description is not None: - _setter("description", description) + pulumi.set(__self__, "description", description) if equinix_asn is not None: - _setter("equinix_asn", equinix_asn) + pulumi.set(__self__, "equinix_asn", equinix_asn) if href is not None: - _setter("href", href) + pulumi.set(__self__, "href", href) if location is not None: - _setter("location", location) + pulumi.set(__self__, "location", location) if name is not None: - _setter("name", name) + pulumi.set(__self__, "name", name) if notifications is not None: - _setter("notifications", notifications) + pulumi.set(__self__, "notifications", notifications) if order is not None: - _setter("order", order) + pulumi.set(__self__, "order", order) if package is not None: - _setter("package", package) + pulumi.set(__self__, "package", package) if projects is not None: - _setter("projects", projects) + pulumi.set(__self__, "projects", projects) if state is not None: - _setter("state", state) + pulumi.set(__self__, "state", state) if type is not None: - _setter("type", type) + pulumi.set(__self__, "type", type) @property @pulumi.getter @@ -554,10 +480,6 @@ 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 - CloudRouterArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -581,18 +503,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__ = 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 @@ -600,17 +512,7 @@ def _setter(key, value): 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 diff --git a/sdk/python/pulumi_equinix/fabric/connection.py b/sdk/python/pulumi_equinix/fabric/connection.py index 8165aa8a..b1e05432 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, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from .. import _enums as _root_enums @@ -41,66 +41,21 @@ def __init__(__self__, *, :param pulumi.Input['ConnectionProjectArgs'] project: Project information :param pulumi.Input['ConnectionRedundancyArgs'] redundancy: Redundancy Information """ - 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: 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, - project: Optional[pulumi.Input['ConnectionProjectArgs']] = None, - redundancy: Optional[pulumi.Input['ConnectionRedundancyArgs']] = None, - opts: Optional[pulumi.ResourceOptions]=None, - **kwargs): - if a_side is None and 'aSide' in kwargs: - a_side = kwargs['aSide'] - 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 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) - _setter("bandwidth", bandwidth) - _setter("notifications", notifications) - _setter("type", type) - _setter("z_side", z_side) + 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) if additional_info is not None: - _setter("additional_info", additional_info) + pulumi.set(__self__, "additional_info", additional_info) if name is not None: - _setter("name", name) + pulumi.set(__self__, "name", name) if order is not None: - _setter("order", order) + pulumi.set(__self__, "order", order) if project is not None: - _setter("project", project) + pulumi.set(__self__, "project", project) if redundancy is not None: - _setter("redundancy", redundancy) + pulumi.set(__self__, "redundancy", redundancy) @property @pulumi.getter(name="aSide") @@ -263,93 +218,40 @@ def __init__(__self__, *, :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 a_side is None and 'aSide' in kwargs: - a_side = kwargs['aSide'] - if additional_info is None and 'additionalInfo' in kwargs: - additional_info = kwargs['additionalInfo'] - if change_log is None and 'changeLog' in kwargs: - change_log = kwargs['changeLog'] - if is_remote is None and 'isRemote' in kwargs: - is_remote = kwargs['isRemote'] - if z_side is None and 'zSide' in kwargs: - z_side = kwargs['zSide'] - if a_side is not None: - _setter("a_side", a_side) + pulumi.set(__self__, "a_side", a_side) if account is not None: - _setter("account", account) + pulumi.set(__self__, "account", account) if additional_info is not None: - _setter("additional_info", additional_info) + pulumi.set(__self__, "additional_info", additional_info) if bandwidth is not None: - _setter("bandwidth", bandwidth) + pulumi.set(__self__, "bandwidth", bandwidth) if change_log is not None: - _setter("change_log", change_log) + pulumi.set(__self__, "change_log", change_log) if direction is not None: - _setter("direction", direction) + pulumi.set(__self__, "direction", direction) if href is not None: - _setter("href", href) + pulumi.set(__self__, "href", href) if is_remote is not None: - _setter("is_remote", is_remote) + pulumi.set(__self__, "is_remote", is_remote) if name is not None: - _setter("name", name) + pulumi.set(__self__, "name", name) if notifications is not None: - _setter("notifications", notifications) + pulumi.set(__self__, "notifications", notifications) if operation is not None: - _setter("operation", operation) + pulumi.set(__self__, "operation", operation) if order is not None: - _setter("order", order) + pulumi.set(__self__, "order", order) if project is not None: - _setter("project", project) + pulumi.set(__self__, "project", project) if redundancy is not None: - _setter("redundancy", redundancy) + pulumi.set(__self__, "redundancy", redundancy) if state is not None: - _setter("state", state) + pulumi.set(__self__, "state", state) if type is not None: - _setter("type", type) + pulumi.set(__self__, "type", type) if z_side is not None: - _setter("z_side", z_side) + pulumi.set(__self__, "z_side", z_side) @property @pulumi.getter(name="aSide") @@ -739,10 +641,6 @@ 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__, @@ -767,11 +665,6 @@ 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 @@ -783,32 +676,12 @@ def _setter(key, value): 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 diff --git a/sdk/python/pulumi_equinix/fabric/get_cloud_router.py b/sdk/python/pulumi_equinix/fabric/get_cloud_router.py index 0e36ba60..43c29537 100644 --- a/sdk/python/pulumi_equinix/fabric/get_cloud_router.py +++ b/sdk/python/pulumi_equinix/fabric/get_cloud_router.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_equinix/fabric/get_connection.py b/sdk/python/pulumi_equinix/fabric/get_connection.py index 71f0dd4c..2d0052ca 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, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_equinix/fabric/get_port.py b/sdk/python/pulumi_equinix/fabric/get_port.py index ea3e8167..da8fe5bb 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, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_equinix/fabric/get_ports.py b/sdk/python/pulumi_equinix/fabric/get_ports.py index 8a84d151..1532e203 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, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_equinix/fabric/get_routing_protocol.py b/sdk/python/pulumi_equinix/fabric/get_routing_protocol.py index 1a1a67b9..ce81147c 100644 --- a/sdk/python/pulumi_equinix/fabric/get_routing_protocol.py +++ b/sdk/python/pulumi_equinix/fabric/get_routing_protocol.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_equinix/fabric/get_service_profile.py b/sdk/python/pulumi_equinix/fabric/get_service_profile.py index 038aece9..2c528ccd 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, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_equinix/fabric/get_service_profiles.py b/sdk/python/pulumi_equinix/fabric/get_service_profiles.py index 06ef7d36..ee47a956 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, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_equinix/fabric/outputs.py b/sdk/python/pulumi_equinix/fabric/outputs.py index 9d03788d..5fd80883 100644 --- a/sdk/python/pulumi_equinix/fabric/outputs.py +++ b/sdk/python/pulumi_equinix/fabric/outputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from .. import _enums as _root_enums @@ -225,21 +225,8 @@ def __init__(__self__, *, """ :param int account_number: Account Number """ - 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 account_number is None and 'accountNumber' in kwargs: - account_number = kwargs['accountNumber'] - if account_number is not None: - _setter("account_number", account_number) + pulumi.set(__self__, "account_number", account_number) @property @pulumi.getter(name="accountNumber") @@ -304,87 +291,30 @@ def __init__(__self__, *, 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 created_by is None and 'createdBy' in kwargs: - created_by = kwargs['createdBy'] - if created_by_email is None and 'createdByEmail' in kwargs: - created_by_email = kwargs['createdByEmail'] - if created_by_full_name is None and 'createdByFullName' in kwargs: - created_by_full_name = kwargs['createdByFullName'] - if created_date_time is None and 'createdDateTime' in kwargs: - created_date_time = kwargs['createdDateTime'] - if deleted_by is None and 'deletedBy' in kwargs: - deleted_by = kwargs['deletedBy'] - if deleted_by_email is None and 'deletedByEmail' in kwargs: - deleted_by_email = kwargs['deletedByEmail'] - if deleted_by_full_name is None and 'deletedByFullName' in kwargs: - deleted_by_full_name = kwargs['deletedByFullName'] - if deleted_date_time is None and 'deletedDateTime' in kwargs: - deleted_date_time = kwargs['deletedDateTime'] - if updated_by is None and 'updatedBy' in kwargs: - updated_by = kwargs['updatedBy'] - if updated_by_email is None and 'updatedByEmail' in kwargs: - updated_by_email = kwargs['updatedByEmail'] - if updated_by_full_name is None and 'updatedByFullName' in kwargs: - updated_by_full_name = kwargs['updatedByFullName'] - if updated_date_time is None and 'updatedDateTime' in kwargs: - updated_date_time = kwargs['updatedDateTime'] - if created_by is not None: - _setter("created_by", created_by) + pulumi.set(__self__, "created_by", created_by) if created_by_email is not None: - _setter("created_by_email", created_by_email) + pulumi.set(__self__, "created_by_email", created_by_email) if created_by_full_name is not None: - _setter("created_by_full_name", created_by_full_name) + pulumi.set(__self__, "created_by_full_name", created_by_full_name) if created_date_time is not None: - _setter("created_date_time", created_date_time) + pulumi.set(__self__, "created_date_time", created_date_time) if deleted_by is not None: - _setter("deleted_by", deleted_by) + pulumi.set(__self__, "deleted_by", deleted_by) if deleted_by_email is not None: - _setter("deleted_by_email", deleted_by_email) + pulumi.set(__self__, "deleted_by_email", deleted_by_email) if deleted_by_full_name is not None: - _setter("deleted_by_full_name", deleted_by_full_name) + pulumi.set(__self__, "deleted_by_full_name", deleted_by_full_name) if deleted_date_time is not None: - _setter("deleted_date_time", deleted_date_time) + pulumi.set(__self__, "deleted_date_time", deleted_date_time) if updated_by is not None: - _setter("updated_by", updated_by) + pulumi.set(__self__, "updated_by", updated_by) if updated_by_email is not None: - _setter("updated_by_email", updated_by_email) + pulumi.set(__self__, "updated_by_email", updated_by_email) if updated_by_full_name is not None: - _setter("updated_by_full_name", updated_by_full_name) + pulumi.set(__self__, "updated_by_full_name", updated_by_full_name) if updated_date_time is not None: - _setter("updated_date_time", updated_date_time) + pulumi.set(__self__, "updated_date_time", updated_date_time) @property @pulumi.getter(name="createdBy") @@ -479,35 +409,14 @@ def __init__(__self__, *, :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 metro_code is None and 'metroCode' in kwargs: - metro_code = kwargs['metroCode'] - if metro_name is None and 'metroName' in kwargs: - metro_name = kwargs['metroName'] - if ibx is not None: - _setter("ibx", ibx) + pulumi.set(__self__, "ibx", ibx) if metro_code is not None: - _setter("metro_code", metro_code) + pulumi.set(__self__, "metro_code", metro_code) if metro_name is not None: - _setter("metro_name", metro_name) + pulumi.set(__self__, "metro_name", metro_name) if region is not None: - _setter("region", region) + pulumi.set(__self__, "region", region) @property @pulumi.getter @@ -570,31 +479,10 @@ def __init__(__self__, *, :param str type: Notification Type - ALL,CONNECTION*APPROVAL,SALES*REP_NOTIFICATIONS, NOTIFICATIONS :param str send_interval: Send interval """ - 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: Optional[Sequence[str]] = None, - type: Optional[str] = None, - send_interval: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None, - **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) - _setter("type", type) + pulumi.set(__self__, "emails", emails) + pulumi.set(__self__, "type", type) if send_interval is not None: - _setter("send_interval", send_interval) + pulumi.set(__self__, "send_interval", send_interval) @property @pulumi.getter @@ -657,39 +545,14 @@ def __init__(__self__, *, :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 billing_tier is None and 'billingTier' in kwargs: - billing_tier = kwargs['billingTier'] - if order_id is None and 'orderId' in kwargs: - order_id = kwargs['orderId'] - if order_number is None and 'orderNumber' in kwargs: - order_number = kwargs['orderNumber'] - if purchase_order_number is None and 'purchaseOrderNumber' in kwargs: - purchase_order_number = kwargs['purchaseOrderNumber'] - if billing_tier is not None: - _setter("billing_tier", billing_tier) + pulumi.set(__self__, "billing_tier", billing_tier) if order_id is not None: - _setter("order_id", order_id) + pulumi.set(__self__, "order_id", order_id) if order_number is not None: - _setter("order_number", order_number) + pulumi.set(__self__, "order_number", order_number) if purchase_order_number is not None: - _setter("purchase_order_number", purchase_order_number) + pulumi.set(__self__, "purchase_order_number", purchase_order_number) @property @pulumi.getter(name="billingTier") @@ -731,20 +594,7 @@ def __init__(__self__, *, """ :param str code: Fabric Cloud Router package code """ - CloudRouterPackage._configure( - lambda key, value: pulumi.set(__self__, key, value), - code=code, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - code: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None, - **kwargs): - if code is None: - raise TypeError("Missing 'code' argument") - - _setter("code", code) + pulumi.set(__self__, "code", code) @property @pulumi.getter @@ -781,25 +631,10 @@ def __init__(__self__, *, :param str href: Unique Resource URL :param str project_id: Project Id """ - 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 project_id is None and 'projectId' in kwargs: - project_id = kwargs['projectId'] - if href is not None: - _setter("href", href) + pulumi.set(__self__, "href", href) if project_id is not None: - _setter("project_id", project_id) + pulumi.set(__self__, "project_id", project_id) @property @pulumi.getter @@ -850,33 +685,12 @@ def __init__(__self__, *, :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 access_point is None and 'accessPoint' in kwargs: - access_point = kwargs['accessPoint'] - if additional_info is None and 'additionalInfo' in kwargs: - additional_info = kwargs['additionalInfo'] - if service_token is None and 'serviceToken' in kwargs: - service_token = kwargs['serviceToken'] - if access_point is not None: - _setter("access_point", access_point) + pulumi.set(__self__, "access_point", access_point) if additional_info is not None: - _setter("additional_info", additional_info) + pulumi.set(__self__, "additional_info", additional_info) if service_token is not None: - _setter("service_token", service_token) + pulumi.set(__self__, "service_token", service_token) @property @pulumi.getter(name="accessPoint") @@ -967,93 +781,38 @@ def __init__(__self__, *, :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 authentication_key is None and 'authenticationKey' in kwargs: - authentication_key = kwargs['authenticationKey'] - if link_protocol is None and 'linkProtocol' in kwargs: - link_protocol = kwargs['linkProtocol'] - if peering_type is None and 'peeringType' in kwargs: - peering_type = kwargs['peeringType'] - if provider_connection_id is None and 'providerConnectionId' in kwargs: - provider_connection_id = kwargs['providerConnectionId'] - if routing_protocols is None and 'routingProtocols' in kwargs: - routing_protocols = kwargs['routingProtocols'] - if seller_region is None and 'sellerRegion' in kwargs: - seller_region = kwargs['sellerRegion'] - if virtual_device is None and 'virtualDevice' in kwargs: - virtual_device = kwargs['virtualDevice'] - if account is not None: - _setter("account", account) + pulumi.set(__self__, "account", account) if authentication_key is not None: - _setter("authentication_key", authentication_key) + pulumi.set(__self__, "authentication_key", authentication_key) if gateway is not None: - _setter("gateway", gateway) + pulumi.set(__self__, "gateway", gateway) if interface is not None: - _setter("interface", interface) + pulumi.set(__self__, "interface", interface) if link_protocol is not None: - _setter("link_protocol", link_protocol) + pulumi.set(__self__, "link_protocol", link_protocol) if location is not None: - _setter("location", location) + pulumi.set(__self__, "location", location) if network is not None: - _setter("network", network) + pulumi.set(__self__, "network", network) if peering_type is not None: - _setter("peering_type", peering_type) + pulumi.set(__self__, "peering_type", peering_type) if port is not None: - _setter("port", port) + pulumi.set(__self__, "port", port) if profile is not None: - _setter("profile", profile) + pulumi.set(__self__, "profile", profile) if provider_connection_id is not None: - _setter("provider_connection_id", provider_connection_id) + pulumi.set(__self__, "provider_connection_id", provider_connection_id) if router is not None: - _setter("router", router) + pulumi.set(__self__, "router", router) if routing_protocols is not None: - _setter("routing_protocols", routing_protocols) + pulumi.set(__self__, "routing_protocols", routing_protocols) if seller_region is not None: - _setter("seller_region", seller_region) + pulumi.set(__self__, "seller_region", seller_region) if type is not None: - _setter("type", type) + pulumi.set(__self__, "type", type) if virtual_device is not None: - _setter("virtual_device", virtual_device) + pulumi.set(__self__, "virtual_device", virtual_device) @property @pulumi.getter @@ -1220,57 +979,20 @@ 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 account_name is None and 'accountName' in kwargs: - account_name = kwargs['accountName'] - if account_number is None and 'accountNumber' in kwargs: - account_number = kwargs['accountNumber'] - if global_cust_id is None and 'globalCustId' in kwargs: - global_cust_id = kwargs['globalCustId'] - if global_org_id is None and 'globalOrgId' in kwargs: - global_org_id = kwargs['globalOrgId'] - if global_organization_name is None and 'globalOrganizationName' in kwargs: - global_organization_name = kwargs['globalOrganizationName'] - if org_id is None and 'orgId' in kwargs: - org_id = kwargs['orgId'] - if organization_name is None and 'organizationName' in kwargs: - organization_name = kwargs['organizationName'] - if account_name is not None: - _setter("account_name", account_name) + pulumi.set(__self__, "account_name", account_name) if account_number is not None: - _setter("account_number", account_number) + pulumi.set(__self__, "account_number", account_number) if global_cust_id is not None: - _setter("global_cust_id", global_cust_id) + pulumi.set(__self__, "global_cust_id", global_cust_id) if global_org_id is not None: - _setter("global_org_id", global_org_id) + pulumi.set(__self__, "global_org_id", global_org_id) if global_organization_name is not None: - _setter("global_organization_name", global_organization_name) + pulumi.set(__self__, "global_organization_name", global_organization_name) if org_id is not None: - _setter("org_id", org_id) + pulumi.set(__self__, "org_id", org_id) if organization_name is not None: - _setter("organization_name", organization_name) + pulumi.set(__self__, "organization_name", organization_name) @property @pulumi.getter(name="accountName") @@ -1317,23 +1039,10 @@ def __init__(__self__, *, :param str href: Unique Resource Identifier :param str uuid: Equinix-assigned interface identifier """ - 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) + pulumi.set(__self__, "href", href) if uuid is not None: - _setter("uuid", uuid) + pulumi.set(__self__, "uuid", uuid) @property @pulumi.getter @@ -1363,27 +1072,12 @@ def __init__(__self__, *, :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): - if id is not None: - _setter("id", id) + pulumi.set(__self__, "id", id) if type is not None: - _setter("type", type) + pulumi.set(__self__, "type", type) if uuid is not None: - _setter("uuid", uuid) + pulumi.set(__self__, "uuid", uuid) @property @pulumi.getter @@ -1444,37 +1138,14 @@ def __init__(__self__, *, :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 vlan_c_tag is None and 'vlanCTag' in kwargs: - vlan_c_tag = kwargs['vlanCTag'] - if vlan_s_tag is None and 'vlanSTag' in kwargs: - vlan_s_tag = kwargs['vlanSTag'] - if vlan_tag is None and 'vlanTag' in kwargs: - vlan_tag = kwargs['vlanTag'] - if type is not None: - _setter("type", type) + pulumi.set(__self__, "type", type) if vlan_c_tag is not None: - _setter("vlan_c_tag", vlan_c_tag) + pulumi.set(__self__, "vlan_c_tag", vlan_c_tag) if vlan_s_tag is not None: - _setter("vlan_s_tag", vlan_s_tag) + pulumi.set(__self__, "vlan_s_tag", vlan_s_tag) if vlan_tag is not None: - _setter("vlan_tag", vlan_tag) + pulumi.set(__self__, "vlan_tag", vlan_tag) @property @pulumi.getter @@ -1541,35 +1212,14 @@ def __init__(__self__, *, :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 metro_code is None and 'metroCode' in kwargs: - metro_code = kwargs['metroCode'] - if metro_name is None and 'metroName' in kwargs: - metro_name = kwargs['metroName'] - if ibx is not None: - _setter("ibx", ibx) + pulumi.set(__self__, "ibx", ibx) if metro_code is not None: - _setter("metro_code", metro_code) + pulumi.set(__self__, "metro_code", metro_code) if metro_name is not None: - _setter("metro_name", metro_name) + pulumi.set(__self__, "metro_name", metro_name) if region is not None: - _setter("region", region) + pulumi.set(__self__, "region", region) @property @pulumi.getter @@ -1613,23 +1263,10 @@ def __init__(__self__, *, :param str href: Unique Resource Identifier :param str uuid: Equinix-assigned interface identifier """ - 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) + pulumi.set(__self__, "href", href) if uuid is not None: - _setter("uuid", uuid) + pulumi.set(__self__, "uuid", uuid) @property @pulumi.getter @@ -1661,31 +1298,14 @@ def __init__(__self__, *, :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) + pulumi.set(__self__, "href", href) if name is not None: - _setter("name", name) + pulumi.set(__self__, "name", name) if redundancies is not None: - _setter("redundancies", redundancies) + pulumi.set(__self__, "redundancies", redundancies) if uuid is not None: - _setter("uuid", uuid) + pulumi.set(__self__, "uuid", uuid) @property @pulumi.getter @@ -1727,19 +1347,8 @@ def __init__(__self__, *, """ :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): - if priority is not None: - _setter("priority", priority) + pulumi.set(__self__, "priority", priority) @property @pulumi.getter @@ -1784,43 +1393,16 @@ def __init__(__self__, *, :param str href: Unique Resource Identifier :param str name: Port name """ - 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: 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 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) - _setter("uuid", uuid) + pulumi.set(__self__, "type", type) + pulumi.set(__self__, "uuid", uuid) if access_point_type_configs is not None: - _setter("access_point_type_configs", access_point_type_configs) + pulumi.set(__self__, "access_point_type_configs", access_point_type_configs) if description is not None: - _setter("description", description) + pulumi.set(__self__, "description", description) if href is not None: - _setter("href", href) + pulumi.set(__self__, "href", href) if name is not None: - _setter("name", name) + pulumi.set(__self__, "name", name) @property @pulumi.getter @@ -1880,23 +1462,10 @@ def __init__(__self__, *, :param str type: Interface type :param str uuid: Equinix-assigned interface identifier """ - 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) + pulumi.set(__self__, "type", type) if uuid is not None: - _setter("uuid", uuid) + pulumi.set(__self__, "uuid", uuid) @property @pulumi.getter @@ -1924,23 +1493,10 @@ def __init__(__self__, *, :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 _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) + pulumi.set(__self__, "href", href) if uuid is not None: - _setter("uuid", uuid) + pulumi.set(__self__, "uuid", uuid) @property @pulumi.getter @@ -1970,27 +1526,12 @@ def __init__(__self__, *, :param str type: Interface type :param str uuid: Equinix-assigned interface identifier """ - 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) + pulumi.set(__self__, "state", state) if type is not None: - _setter("type", type) + pulumi.set(__self__, "type", type) if uuid is not None: - _setter("uuid", uuid) + pulumi.set(__self__, "uuid", uuid) @property @pulumi.getter @@ -2028,27 +1569,12 @@ def __init__(__self__, *, :param str type: Interface type :param str uuid: Equinix-assigned interface identifier """ - 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) + pulumi.set(__self__, "href", href) if type is not None: - _setter("type", type) + pulumi.set(__self__, "type", type) if uuid is not None: - _setter("uuid", uuid) + pulumi.set(__self__, "uuid", uuid) @property @pulumi.getter @@ -2084,23 +1610,10 @@ def __init__(__self__, *, :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): - if key is not None: - _setter("key", key) + pulumi.set(__self__, "key", key) if value is not None: - _setter("value", value) + pulumi.set(__self__, "value", value) @property @pulumi.getter @@ -2132,31 +1645,14 @@ def __init__(__self__, *, :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) + pulumi.set(__self__, "description", description) if href is not None: - _setter("href", href) + pulumi.set(__self__, "href", href) if type is not None: - _setter("type", type) + pulumi.set(__self__, "type", type) if uuid is not None: - _setter("uuid", uuid) + pulumi.set(__self__, "uuid", uuid) @property @pulumi.getter @@ -2230,57 +1726,20 @@ 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 account_name is None and 'accountName' in kwargs: - account_name = kwargs['accountName'] - if account_number is None and 'accountNumber' in kwargs: - account_number = kwargs['accountNumber'] - if global_cust_id is None and 'globalCustId' in kwargs: - global_cust_id = kwargs['globalCustId'] - if global_org_id is None and 'globalOrgId' in kwargs: - global_org_id = kwargs['globalOrgId'] - if global_organization_name is None and 'globalOrganizationName' in kwargs: - global_organization_name = kwargs['globalOrganizationName'] - if org_id is None and 'orgId' in kwargs: - org_id = kwargs['orgId'] - if organization_name is None and 'organizationName' in kwargs: - organization_name = kwargs['organizationName'] - if account_name is not None: - _setter("account_name", account_name) + pulumi.set(__self__, "account_name", account_name) if account_number is not None: - _setter("account_number", account_number) + pulumi.set(__self__, "account_number", account_number) if global_cust_id is not None: - _setter("global_cust_id", global_cust_id) + pulumi.set(__self__, "global_cust_id", global_cust_id) if global_org_id is not None: - _setter("global_org_id", global_org_id) + pulumi.set(__self__, "global_org_id", global_org_id) if global_organization_name is not None: - _setter("global_organization_name", global_organization_name) + pulumi.set(__self__, "global_organization_name", global_organization_name) if org_id is not None: - _setter("org_id", org_id) + pulumi.set(__self__, "org_id", org_id) if organization_name is not None: - _setter("organization_name", organization_name) + pulumi.set(__self__, "organization_name", organization_name) @property @pulumi.getter(name="accountName") @@ -2372,87 +1831,30 @@ def __init__(__self__, *, 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 created_by is None and 'createdBy' in kwargs: - created_by = kwargs['createdBy'] - if created_by_email is None and 'createdByEmail' in kwargs: - created_by_email = kwargs['createdByEmail'] - if created_by_full_name is None and 'createdByFullName' in kwargs: - created_by_full_name = kwargs['createdByFullName'] - if created_date_time is None and 'createdDateTime' in kwargs: - created_date_time = kwargs['createdDateTime'] - if deleted_by is None and 'deletedBy' in kwargs: - deleted_by = kwargs['deletedBy'] - if deleted_by_email is None and 'deletedByEmail' in kwargs: - deleted_by_email = kwargs['deletedByEmail'] - if deleted_by_full_name is None and 'deletedByFullName' in kwargs: - deleted_by_full_name = kwargs['deletedByFullName'] - if deleted_date_time is None and 'deletedDateTime' in kwargs: - deleted_date_time = kwargs['deletedDateTime'] - if updated_by is None and 'updatedBy' in kwargs: - updated_by = kwargs['updatedBy'] - if updated_by_email is None and 'updatedByEmail' in kwargs: - updated_by_email = kwargs['updatedByEmail'] - if updated_by_full_name is None and 'updatedByFullName' in kwargs: - updated_by_full_name = kwargs['updatedByFullName'] - if updated_date_time is None and 'updatedDateTime' in kwargs: - updated_date_time = kwargs['updatedDateTime'] - if created_by is not None: - _setter("created_by", created_by) + pulumi.set(__self__, "created_by", created_by) if created_by_email is not None: - _setter("created_by_email", created_by_email) + pulumi.set(__self__, "created_by_email", created_by_email) if created_by_full_name is not None: - _setter("created_by_full_name", created_by_full_name) + pulumi.set(__self__, "created_by_full_name", created_by_full_name) if created_date_time is not None: - _setter("created_date_time", created_date_time) + pulumi.set(__self__, "created_date_time", created_date_time) if deleted_by is not None: - _setter("deleted_by", deleted_by) + pulumi.set(__self__, "deleted_by", deleted_by) if deleted_by_email is not None: - _setter("deleted_by_email", deleted_by_email) + pulumi.set(__self__, "deleted_by_email", deleted_by_email) if deleted_by_full_name is not None: - _setter("deleted_by_full_name", deleted_by_full_name) + pulumi.set(__self__, "deleted_by_full_name", deleted_by_full_name) if deleted_date_time is not None: - _setter("deleted_date_time", deleted_date_time) + pulumi.set(__self__, "deleted_date_time", deleted_date_time) if updated_by is not None: - _setter("updated_by", updated_by) + pulumi.set(__self__, "updated_by", updated_by) if updated_by_email is not None: - _setter("updated_by_email", updated_by_email) + pulumi.set(__self__, "updated_by_email", updated_by_email) if updated_by_full_name is not None: - _setter("updated_by_full_name", updated_by_full_name) + pulumi.set(__self__, "updated_by_full_name", updated_by_full_name) if updated_date_time is not None: - _setter("updated_date_time", updated_date_time) + pulumi.set(__self__, "updated_date_time", updated_date_time) @property @pulumi.getter(name="createdBy") @@ -2543,31 +1945,10 @@ def __init__(__self__, *, :param Union[str, 'NotificationsType'] type: Notification Type - ALL,CONNECTION*APPROVAL,SALES*REP_NOTIFICATIONS, NOTIFICATIONS :param str send_interval: Send interval """ - 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: Optional[Sequence[str]] = None, - type: Optional[str] = None, - send_interval: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None, - **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) - _setter("type", type) + pulumi.set(__self__, "emails", emails) + pulumi.set(__self__, "type", type) if send_interval is not None: - _setter("send_interval", send_interval) + pulumi.set(__self__, "send_interval", send_interval) @property @pulumi.getter @@ -2619,31 +2000,12 @@ def __init__(__self__, *, 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 equinix_status is None and 'equinixStatus' in kwargs: - equinix_status = kwargs['equinixStatus'] - if provider_status is None and 'providerStatus' in kwargs: - provider_status = kwargs['providerStatus'] - if equinix_status is not None: - _setter("equinix_status", equinix_status) + pulumi.set(__self__, "equinix_status", equinix_status) if errors is not None: - _setter("errors", errors) + pulumi.set(__self__, "errors", errors) if provider_status is not None: - _setter("provider_status", provider_status) + pulumi.set(__self__, "provider_status", provider_status) @property @pulumi.getter(name="equinixStatus") @@ -2696,47 +2058,18 @@ def __init__(__self__, *, """ :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 additional_info is None and 'additionalInfo' in kwargs: - additional_info = kwargs['additionalInfo'] - if correlation_id is None and 'correlationId' in kwargs: - correlation_id = kwargs['correlationId'] - if error_code is None and 'errorCode' in kwargs: - error_code = kwargs['errorCode'] - if error_message is None and 'errorMessage' in kwargs: - error_message = kwargs['errorMessage'] - if additional_info is not None: - _setter("additional_info", additional_info) + pulumi.set(__self__, "additional_info", additional_info) if correlation_id is not None: - _setter("correlation_id", correlation_id) + pulumi.set(__self__, "correlation_id", correlation_id) if details is not None: - _setter("details", details) + pulumi.set(__self__, "details", details) if error_code is not None: - _setter("error_code", error_code) + pulumi.set(__self__, "error_code", error_code) if error_message is not None: - _setter("error_message", error_message) + pulumi.set(__self__, "error_message", error_message) if help is not None: - _setter("help", help) + pulumi.set(__self__, "help", help) @property @pulumi.getter(name="additionalInfo") @@ -2777,23 +2110,10 @@ class ConnectionOperationErrorAdditionalInfo(dict): def __init__(__self__, *, 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) + pulumi.set(__self__, "property", property) if reason is not None: - _setter("reason", reason) + pulumi.set(__self__, "reason", reason) @property @pulumi.getter @@ -2842,39 +2162,14 @@ def __init__(__self__, *, :param str order_number: Order Reference Number :param str purchase_order_number: Purchase order number """ - 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 billing_tier is None and 'billingTier' in kwargs: - billing_tier = kwargs['billingTier'] - if order_id is None and 'orderId' in kwargs: - order_id = kwargs['orderId'] - if order_number is None and 'orderNumber' in kwargs: - order_number = kwargs['orderNumber'] - if purchase_order_number is None and 'purchaseOrderNumber' in kwargs: - purchase_order_number = kwargs['purchaseOrderNumber'] - if billing_tier is not None: - _setter("billing_tier", billing_tier) + pulumi.set(__self__, "billing_tier", billing_tier) if order_id is not None: - _setter("order_id", order_id) + pulumi.set(__self__, "order_id", order_id) if order_number is not None: - _setter("order_number", order_number) + pulumi.set(__self__, "order_number", order_number) if purchase_order_number is not None: - _setter("purchase_order_number", purchase_order_number) + pulumi.set(__self__, "purchase_order_number", purchase_order_number) @property @pulumi.getter(name="billingTier") @@ -2935,25 +2230,10 @@ def __init__(__self__, *, :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 project_id is None and 'projectId' in kwargs: - project_id = kwargs['projectId'] - if href is not None: - _setter("href", href) + pulumi.set(__self__, "href", href) if project_id is not None: - _setter("project_id", project_id) + pulumi.set(__self__, "project_id", project_id) @property @pulumi.getter @@ -2981,23 +2261,10 @@ def __init__(__self__, *, :param str group: Redundancy group identifier :param str priority: Priority type- PRIMARY, SECONDARY """ - 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) + pulumi.set(__self__, "group", group) if priority is not None: - _setter("priority", priority) + pulumi.set(__self__, "priority", priority) @property @pulumi.getter @@ -3048,33 +2315,12 @@ def __init__(__self__, *, :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 """ - 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 access_point is None and 'accessPoint' in kwargs: - access_point = kwargs['accessPoint'] - if additional_info is None and 'additionalInfo' in kwargs: - additional_info = kwargs['additionalInfo'] - if service_token is None and 'serviceToken' in kwargs: - service_token = kwargs['serviceToken'] - if access_point is not None: - _setter("access_point", access_point) + pulumi.set(__self__, "access_point", access_point) if additional_info is not None: - _setter("additional_info", additional_info) + pulumi.set(__self__, "additional_info", additional_info) if service_token is not None: - _setter("service_token", service_token) + pulumi.set(__self__, "service_token", service_token) @property @pulumi.getter(name="accessPoint") @@ -3165,93 +2411,38 @@ def __init__(__self__, *, :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 authentication_key is None and 'authenticationKey' in kwargs: - authentication_key = kwargs['authenticationKey'] - if link_protocol is None and 'linkProtocol' in kwargs: - link_protocol = kwargs['linkProtocol'] - if peering_type is None and 'peeringType' in kwargs: - peering_type = kwargs['peeringType'] - if provider_connection_id is None and 'providerConnectionId' in kwargs: - provider_connection_id = kwargs['providerConnectionId'] - if routing_protocols is None and 'routingProtocols' in kwargs: - routing_protocols = kwargs['routingProtocols'] - if seller_region is None and 'sellerRegion' in kwargs: - seller_region = kwargs['sellerRegion'] - if virtual_device is None and 'virtualDevice' in kwargs: - virtual_device = kwargs['virtualDevice'] - if account is not None: - _setter("account", account) + pulumi.set(__self__, "account", account) if authentication_key is not None: - _setter("authentication_key", authentication_key) + pulumi.set(__self__, "authentication_key", authentication_key) if gateway is not None: - _setter("gateway", gateway) + pulumi.set(__self__, "gateway", gateway) if interface is not None: - _setter("interface", interface) + pulumi.set(__self__, "interface", interface) if link_protocol is not None: - _setter("link_protocol", link_protocol) + pulumi.set(__self__, "link_protocol", link_protocol) if location is not None: - _setter("location", location) + pulumi.set(__self__, "location", location) if network is not None: - _setter("network", network) + pulumi.set(__self__, "network", network) if peering_type is not None: - _setter("peering_type", peering_type) + pulumi.set(__self__, "peering_type", peering_type) if port is not None: - _setter("port", port) + pulumi.set(__self__, "port", port) if profile is not None: - _setter("profile", profile) + pulumi.set(__self__, "profile", profile) if provider_connection_id is not None: - _setter("provider_connection_id", provider_connection_id) + pulumi.set(__self__, "provider_connection_id", provider_connection_id) if router is not None: - _setter("router", router) + pulumi.set(__self__, "router", router) if routing_protocols is not None: - _setter("routing_protocols", routing_protocols) + pulumi.set(__self__, "routing_protocols", routing_protocols) if seller_region is not None: - _setter("seller_region", seller_region) + pulumi.set(__self__, "seller_region", seller_region) if type is not None: - _setter("type", type) + pulumi.set(__self__, "type", type) if virtual_device is not None: - _setter("virtual_device", virtual_device) + pulumi.set(__self__, "virtual_device", virtual_device) @property @pulumi.getter @@ -3418,57 +2609,20 @@ def __init__(__self__, *, 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 account_name is None and 'accountName' in kwargs: - account_name = kwargs['accountName'] - if account_number is None and 'accountNumber' in kwargs: - account_number = kwargs['accountNumber'] - if global_cust_id is None and 'globalCustId' in kwargs: - global_cust_id = kwargs['globalCustId'] - if global_org_id is None and 'globalOrgId' in kwargs: - global_org_id = kwargs['globalOrgId'] - if global_organization_name is None and 'globalOrganizationName' in kwargs: - global_organization_name = kwargs['globalOrganizationName'] - if org_id is None and 'orgId' in kwargs: - org_id = kwargs['orgId'] - if organization_name is None and 'organizationName' in kwargs: - organization_name = kwargs['organizationName'] - if account_name is not None: - _setter("account_name", account_name) + pulumi.set(__self__, "account_name", account_name) if account_number is not None: - _setter("account_number", account_number) + pulumi.set(__self__, "account_number", account_number) if global_cust_id is not None: - _setter("global_cust_id", global_cust_id) + pulumi.set(__self__, "global_cust_id", global_cust_id) if global_org_id is not None: - _setter("global_org_id", global_org_id) + pulumi.set(__self__, "global_org_id", global_org_id) if global_organization_name is not None: - _setter("global_organization_name", global_organization_name) + pulumi.set(__self__, "global_organization_name", global_organization_name) if org_id is not None: - _setter("org_id", org_id) + pulumi.set(__self__, "org_id", org_id) if organization_name is not None: - _setter("organization_name", organization_name) + pulumi.set(__self__, "organization_name", organization_name) @property @pulumi.getter(name="accountName") @@ -3515,23 +2669,10 @@ def __init__(__self__, *, :param str href: Unique Resource Identifier :param str uuid: Equinix-assigned interface identifier """ - 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) + pulumi.set(__self__, "href", href) if uuid is not None: - _setter("uuid", uuid) + pulumi.set(__self__, "uuid", uuid) @property @pulumi.getter @@ -3561,27 +2702,12 @@ def __init__(__self__, *, :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) + pulumi.set(__self__, "id", id) if type is not None: - _setter("type", type) + pulumi.set(__self__, "type", type) if uuid is not None: - _setter("uuid", uuid) + pulumi.set(__self__, "uuid", uuid) @property @pulumi.getter @@ -3642,37 +2768,14 @@ def __init__(__self__, *, :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 vlan_c_tag is None and 'vlanCTag' in kwargs: - vlan_c_tag = kwargs['vlanCTag'] - if vlan_s_tag is None and 'vlanSTag' in kwargs: - vlan_s_tag = kwargs['vlanSTag'] - if vlan_tag is None and 'vlanTag' in kwargs: - vlan_tag = kwargs['vlanTag'] - if type is not None: - _setter("type", type) + pulumi.set(__self__, "type", type) if vlan_c_tag is not None: - _setter("vlan_c_tag", vlan_c_tag) + pulumi.set(__self__, "vlan_c_tag", vlan_c_tag) if vlan_s_tag is not None: - _setter("vlan_s_tag", vlan_s_tag) + pulumi.set(__self__, "vlan_s_tag", vlan_s_tag) if vlan_tag is not None: - _setter("vlan_tag", vlan_tag) + pulumi.set(__self__, "vlan_tag", vlan_tag) @property @pulumi.getter @@ -3739,35 +2842,14 @@ def __init__(__self__, *, :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 metro_code is None and 'metroCode' in kwargs: - metro_code = kwargs['metroCode'] - if metro_name is None and 'metroName' in kwargs: - metro_name = kwargs['metroName'] - if ibx is not None: - _setter("ibx", ibx) + pulumi.set(__self__, "ibx", ibx) if metro_code is not None: - _setter("metro_code", metro_code) + pulumi.set(__self__, "metro_code", metro_code) if metro_name is not None: - _setter("metro_name", metro_name) + pulumi.set(__self__, "metro_name", metro_name) if region is not None: - _setter("region", region) + pulumi.set(__self__, "region", region) @property @pulumi.getter @@ -3811,23 +2893,10 @@ def __init__(__self__, *, :param str href: Unique Resource Identifier :param str uuid: Equinix-assigned interface identifier """ - 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): - if href is not None: - _setter("href", href) + pulumi.set(__self__, "href", href) if uuid is not None: - _setter("uuid", uuid) + pulumi.set(__self__, "uuid", uuid) @property @pulumi.getter @@ -3859,31 +2928,14 @@ def __init__(__self__, *, :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): - if href is not None: - _setter("href", href) + pulumi.set(__self__, "href", href) if name is not None: - _setter("name", name) + pulumi.set(__self__, "name", name) if redundancies is not None: - _setter("redundancies", redundancies) + pulumi.set(__self__, "redundancies", redundancies) if uuid is not None: - _setter("uuid", uuid) + pulumi.set(__self__, "uuid", uuid) @property @pulumi.getter @@ -3925,19 +2977,8 @@ def __init__(__self__, *, """ :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): - if priority is not None: - _setter("priority", priority) + pulumi.set(__self__, "priority", priority) @property @pulumi.getter @@ -3982,43 +3023,16 @@ def __init__(__self__, *, :param str href: Unique Resource Identifier :param str name: Port name """ - 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: 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 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) - _setter("uuid", uuid) + pulumi.set(__self__, "type", type) + pulumi.set(__self__, "uuid", uuid) if access_point_type_configs is not None: - _setter("access_point_type_configs", access_point_type_configs) + pulumi.set(__self__, "access_point_type_configs", access_point_type_configs) if description is not None: - _setter("description", description) + pulumi.set(__self__, "description", description) if href is not None: - _setter("href", href) + pulumi.set(__self__, "href", href) if name is not None: - _setter("name", name) + pulumi.set(__self__, "name", name) @property @pulumi.getter @@ -4078,23 +3092,10 @@ def __init__(__self__, *, :param str type: Interface type :param str uuid: Equinix-assigned interface identifier """ - 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): - if type is not None: - _setter("type", type) + pulumi.set(__self__, "type", type) if uuid is not None: - _setter("uuid", uuid) + pulumi.set(__self__, "uuid", uuid) @property @pulumi.getter @@ -4122,23 +3123,10 @@ def __init__(__self__, *, :param str href: Unique Resource Identifier :param str uuid: Equinix-assigned interface identifier """ - 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) + pulumi.set(__self__, "href", href) if uuid is not None: - _setter("uuid", uuid) + pulumi.set(__self__, "uuid", uuid) @property @pulumi.getter @@ -4168,27 +3156,12 @@ def __init__(__self__, *, :param str type: Interface type :param str uuid: Equinix-assigned interface identifier """ - 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) + pulumi.set(__self__, "state", state) if type is not None: - _setter("type", type) + pulumi.set(__self__, "type", type) if uuid is not None: - _setter("uuid", uuid) + pulumi.set(__self__, "uuid", uuid) @property @pulumi.getter @@ -4226,27 +3199,12 @@ def __init__(__self__, *, :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) + pulumi.set(__self__, "href", href) if type is not None: - _setter("type", type) + pulumi.set(__self__, "type", type) if uuid is not None: - _setter("uuid", uuid) + pulumi.set(__self__, "uuid", uuid) @property @pulumi.getter @@ -4282,23 +3240,10 @@ def __init__(__self__, *, :param str key: Additional information key :param str value: Additional information value """ - 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): - if key is not None: - _setter("key", key) + pulumi.set(__self__, "key", key) if value is not None: - _setter("value", value) + pulumi.set(__self__, "value", value) @property @pulumi.getter @@ -4330,31 +3275,14 @@ def __init__(__self__, *, :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) + pulumi.set(__self__, "description", description) if href is not None: - _setter("href", href) + pulumi.set(__self__, "href", href) if type is not None: - _setter("type", type) + pulumi.set(__self__, "type", type) if uuid is not None: - _setter("uuid", uuid) + pulumi.set(__self__, "uuid", uuid) @property @pulumi.getter @@ -4398,24 +3326,9 @@ def __init__(__self__, *, :param bool enabled: Bidirectional Forwarding Detection enablement :param str interval: Interval range between the received BFD control packets """ - RoutingProtocolBfd._configure( - lambda key, value: pulumi.set(__self__, key, value), - enabled=enabled, - interval=interval, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - 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) + pulumi.set(__self__, "enabled", enabled) if interval is not None: - _setter("interval", interval) + pulumi.set(__self__, "interval", interval) @property @pulumi.getter @@ -4464,32 +3377,11 @@ def __init__(__self__, *, :param bool enabled: Admin status for the BGP session :param str equinix_peer_ip: Equinix side peering ip """ - 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: Optional[str] = None, - enabled: Optional[bool] = None, - equinix_peer_ip: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None, - **kwargs): - if customer_peer_ip is None and 'customerPeerIp' in kwargs: - customer_peer_ip = kwargs['customerPeerIp'] - 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) + pulumi.set(__self__, "customer_peer_ip", customer_peer_ip) if enabled is not None: - _setter("enabled", enabled) + pulumi.set(__self__, "enabled", enabled) if equinix_peer_ip is not None: - _setter("equinix_peer_ip", equinix_peer_ip) + pulumi.set(__self__, "equinix_peer_ip", equinix_peer_ip) @property @pulumi.getter(name="customerPeerIp") @@ -4546,32 +3438,11 @@ def __init__(__self__, *, :param bool enabled: Admin status for the BGP session :param str equinix_peer_ip: Equinix side peering ip """ - 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: Optional[str] = None, - enabled: Optional[bool] = None, - equinix_peer_ip: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None, - **kwargs): - if customer_peer_ip is None and 'customerPeerIp' in kwargs: - customer_peer_ip = kwargs['customerPeerIp'] - 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) + pulumi.set(__self__, "customer_peer_ip", customer_peer_ip) if enabled is not None: - _setter("enabled", enabled) + pulumi.set(__self__, "enabled", enabled) if equinix_peer_ip is not None: - _setter("equinix_peer_ip", equinix_peer_ip) + pulumi.set(__self__, "equinix_peer_ip", equinix_peer_ip) @property @pulumi.getter(name="customerPeerIp") @@ -4604,27 +3475,12 @@ 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) + pulumi.set(__self__, "href", href) if type is not None: - _setter("type", type) + pulumi.set(__self__, "type", type) if uuid is not None: - _setter("uuid", uuid) + pulumi.set(__self__, "uuid", uuid) @property @pulumi.getter @@ -4696,87 +3552,30 @@ def __init__(__self__, *, 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 created_by is None and 'createdBy' in kwargs: - created_by = kwargs['createdBy'] - if created_by_email is None and 'createdByEmail' in kwargs: - created_by_email = kwargs['createdByEmail'] - if created_by_full_name is None and 'createdByFullName' in kwargs: - created_by_full_name = kwargs['createdByFullName'] - if created_date_time is None and 'createdDateTime' in kwargs: - created_date_time = kwargs['createdDateTime'] - if deleted_by is None and 'deletedBy' in kwargs: - deleted_by = kwargs['deletedBy'] - if deleted_by_email is None and 'deletedByEmail' in kwargs: - deleted_by_email = kwargs['deletedByEmail'] - if deleted_by_full_name is None and 'deletedByFullName' in kwargs: - deleted_by_full_name = kwargs['deletedByFullName'] - if deleted_date_time is None and 'deletedDateTime' in kwargs: - deleted_date_time = kwargs['deletedDateTime'] - if updated_by is None and 'updatedBy' in kwargs: - updated_by = kwargs['updatedBy'] - if updated_by_email is None and 'updatedByEmail' in kwargs: - updated_by_email = kwargs['updatedByEmail'] - if updated_by_full_name is None and 'updatedByFullName' in kwargs: - updated_by_full_name = kwargs['updatedByFullName'] - if updated_date_time is None and 'updatedDateTime' in kwargs: - updated_date_time = kwargs['updatedDateTime'] - if created_by is not None: - _setter("created_by", created_by) + pulumi.set(__self__, "created_by", created_by) if created_by_email is not None: - _setter("created_by_email", created_by_email) + pulumi.set(__self__, "created_by_email", created_by_email) if created_by_full_name is not None: - _setter("created_by_full_name", created_by_full_name) + pulumi.set(__self__, "created_by_full_name", created_by_full_name) if created_date_time is not None: - _setter("created_date_time", created_date_time) + pulumi.set(__self__, "created_date_time", created_date_time) if deleted_by is not None: - _setter("deleted_by", deleted_by) + pulumi.set(__self__, "deleted_by", deleted_by) if deleted_by_email is not None: - _setter("deleted_by_email", deleted_by_email) + pulumi.set(__self__, "deleted_by_email", deleted_by_email) if deleted_by_full_name is not None: - _setter("deleted_by_full_name", deleted_by_full_name) + pulumi.set(__self__, "deleted_by_full_name", deleted_by_full_name) if deleted_date_time is not None: - _setter("deleted_date_time", deleted_date_time) + pulumi.set(__self__, "deleted_date_time", deleted_date_time) if updated_by is not None: - _setter("updated_by", updated_by) + pulumi.set(__self__, "updated_by", updated_by) if updated_by_email is not None: - _setter("updated_by_email", updated_by_email) + pulumi.set(__self__, "updated_by_email", updated_by_email) if updated_by_full_name is not None: - _setter("updated_by_full_name", updated_by_full_name) + pulumi.set(__self__, "updated_by_full_name", updated_by_full_name) if updated_date_time is not None: - _setter("updated_date_time", updated_date_time) + pulumi.set(__self__, "updated_date_time", updated_date_time) @property @pulumi.getter(name="createdBy") @@ -4863,22 +3662,7 @@ def __init__(__self__, *, """ :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: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None, - **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) + pulumi.set(__self__, "equinix_iface_ip", equinix_iface_ip) @property @pulumi.getter(name="equinixIfaceIp") @@ -4913,21 +3697,8 @@ def __init__(__self__, *, """ :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 equinix_iface_ip is None and 'equinixIfaceIp' in kwargs: - equinix_iface_ip = kwargs['equinixIfaceIp'] - if equinix_iface_ip is not None: - _setter("equinix_iface_ip", equinix_iface_ip) + pulumi.set(__self__, "equinix_iface_ip", equinix_iface_ip) @property @pulumi.getter(name="equinixIfaceIp") @@ -4942,19 +3713,8 @@ def equinix_iface_ip(self) -> Optional[str]: 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) + pulumi.set(__self__, "errors", errors) @property @pulumi.getter @@ -4994,47 +3754,18 @@ def __init__(__self__, *, 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 additional_infos is None and 'additionalInfos' in kwargs: - additional_infos = kwargs['additionalInfos'] - if correlation_id is None and 'correlationId' in kwargs: - correlation_id = kwargs['correlationId'] - if error_code is None and 'errorCode' in kwargs: - error_code = kwargs['errorCode'] - if error_message is None and 'errorMessage' in kwargs: - error_message = kwargs['errorMessage'] - if additional_infos is not None: - _setter("additional_infos", additional_infos) + pulumi.set(__self__, "additional_infos", additional_infos) if correlation_id is not None: - _setter("correlation_id", correlation_id) + pulumi.set(__self__, "correlation_id", correlation_id) if details is not None: - _setter("details", details) + pulumi.set(__self__, "details", details) if error_code is not None: - _setter("error_code", error_code) + pulumi.set(__self__, "error_code", error_code) if error_message is not None: - _setter("error_message", error_message) + pulumi.set(__self__, "error_message", error_message) if help is not None: - _setter("help", help) + pulumi.set(__self__, "help", help) @property @pulumi.getter(name="additionalInfos") @@ -5072,23 +3803,10 @@ 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) + pulumi.set(__self__, "property", property) if reason is not None: - _setter("reason", reason) + pulumi.set(__self__, "reason", reason) @property @pulumi.getter @@ -5173,96 +3891,33 @@ def __init__(__self__, *, :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: Optional[str] = None, - 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 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 allow_bandwidth_upgrade is None and 'allowBandwidthUpgrade' in kwargs: - allow_bandwidth_upgrade = kwargs['allowBandwidthUpgrade'] - if allow_custom_bandwidth is None and 'allowCustomBandwidth' in kwargs: - allow_custom_bandwidth = kwargs['allowCustomBandwidth'] - if allow_remote_connections is None and 'allowRemoteConnections' in kwargs: - allow_remote_connections = kwargs['allowRemoteConnections'] - if api_config is None and 'apiConfig' in kwargs: - api_config = kwargs['apiConfig'] - if authentication_key is None and 'authenticationKey' in kwargs: - authentication_key = kwargs['authenticationKey'] - if bandwidth_alert_threshold is None and 'bandwidthAlertThreshold' in kwargs: - bandwidth_alert_threshold = kwargs['bandwidthAlertThreshold'] - if connection_label is None and 'connectionLabel' in kwargs: - connection_label = kwargs['connectionLabel'] - if connection_redundancy_required is None and 'connectionRedundancyRequired' in kwargs: - connection_redundancy_required = kwargs['connectionRedundancyRequired'] - if enable_auto_generate_service_key is None and 'enableAutoGenerateServiceKey' in kwargs: - enable_auto_generate_service_key = kwargs['enableAutoGenerateServiceKey'] - if link_protocol_config is None and 'linkProtocolConfig' in kwargs: - link_protocol_config = kwargs['linkProtocolConfig'] - if supported_bandwidths is None and 'supportedBandwidths' in kwargs: - supported_bandwidths = kwargs['supportedBandwidths'] - - _setter("type", type) + pulumi.set(__self__, "type", type) if allow_bandwidth_auto_approval is not None: - _setter("allow_bandwidth_auto_approval", allow_bandwidth_auto_approval) + pulumi.set(__self__, "allow_bandwidth_auto_approval", allow_bandwidth_auto_approval) if allow_bandwidth_upgrade is not None: - _setter("allow_bandwidth_upgrade", allow_bandwidth_upgrade) + pulumi.set(__self__, "allow_bandwidth_upgrade", allow_bandwidth_upgrade) if allow_custom_bandwidth is not None: - _setter("allow_custom_bandwidth", allow_custom_bandwidth) + pulumi.set(__self__, "allow_custom_bandwidth", allow_custom_bandwidth) if allow_remote_connections is not None: - _setter("allow_remote_connections", allow_remote_connections) + pulumi.set(__self__, "allow_remote_connections", allow_remote_connections) if api_config is not None: - _setter("api_config", api_config) + pulumi.set(__self__, "api_config", api_config) if authentication_key is not None: - _setter("authentication_key", authentication_key) + pulumi.set(__self__, "authentication_key", authentication_key) if bandwidth_alert_threshold is not None: - _setter("bandwidth_alert_threshold", bandwidth_alert_threshold) + pulumi.set(__self__, "bandwidth_alert_threshold", bandwidth_alert_threshold) if connection_label is not None: - _setter("connection_label", connection_label) + pulumi.set(__self__, "connection_label", connection_label) if connection_redundancy_required is not None: - _setter("connection_redundancy_required", connection_redundancy_required) + pulumi.set(__self__, "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) + pulumi.set(__self__, "enable_auto_generate_service_key", enable_auto_generate_service_key) if link_protocol_config is not None: - _setter("link_protocol_config", link_protocol_config) + pulumi.set(__self__, "link_protocol_config", link_protocol_config) if supported_bandwidths is not None: - _setter("supported_bandwidths", supported_bandwidths) + pulumi.set(__self__, "supported_bandwidths", supported_bandwidths) if uuid is not None: - _setter("uuid", uuid) + pulumi.set(__self__, "uuid", uuid) @property @pulumi.getter @@ -5425,57 +4080,20 @@ def __init__(__self__, *, :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 allow_over_subscription is None and 'allowOverSubscription' in kwargs: - allow_over_subscription = kwargs['allowOverSubscription'] - if api_available is None and 'apiAvailable' in kwargs: - api_available = kwargs['apiAvailable'] - if bandwidth_from_api is None and 'bandwidthFromApi' in kwargs: - bandwidth_from_api = kwargs['bandwidthFromApi'] - if equinix_managed_port is None and 'equinixManagedPort' in kwargs: - equinix_managed_port = kwargs['equinixManagedPort'] - if equinix_managed_vlan is None and 'equinixManagedVlan' in kwargs: - equinix_managed_vlan = kwargs['equinixManagedVlan'] - if integration_id is None and 'integrationId' in kwargs: - integration_id = kwargs['integrationId'] - if over_subscription_limit is None and 'overSubscriptionLimit' in kwargs: - over_subscription_limit = kwargs['overSubscriptionLimit'] - if allow_over_subscription is not None: - _setter("allow_over_subscription", allow_over_subscription) + pulumi.set(__self__, "allow_over_subscription", allow_over_subscription) if api_available is not None: - _setter("api_available", api_available) + pulumi.set(__self__, "api_available", api_available) if bandwidth_from_api is not None: - _setter("bandwidth_from_api", bandwidth_from_api) + pulumi.set(__self__, "bandwidth_from_api", bandwidth_from_api) if equinix_managed_port is not None: - _setter("equinix_managed_port", equinix_managed_port) + pulumi.set(__self__, "equinix_managed_port", equinix_managed_port) if equinix_managed_vlan is not None: - _setter("equinix_managed_vlan", equinix_managed_vlan) + pulumi.set(__self__, "equinix_managed_vlan", equinix_managed_vlan) if integration_id is not None: - _setter("integration_id", integration_id) + pulumi.set(__self__, "integration_id", integration_id) if over_subscription_limit is not None: - _setter("over_subscription_limit", over_subscription_limit) + pulumi.set(__self__, "over_subscription_limit", over_subscription_limit) @property @pulumi.getter(name="allowOverSubscription") @@ -5545,27 +4163,12 @@ def __init__(__self__, *, :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) + pulumi.set(__self__, "description", description) if label is not None: - _setter("label", label) + pulumi.set(__self__, "label", label) if required is not None: - _setter("required", required) + pulumi.set(__self__, "required", required) @property @pulumi.getter @@ -5622,31 +4225,12 @@ def __init__(__self__, *, :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 encapsulation_strategy is None and 'encapsulationStrategy' in kwargs: - encapsulation_strategy = kwargs['encapsulationStrategy'] - if reuse_vlan_s_tag is None and 'reuseVlanSTag' in kwargs: - reuse_vlan_s_tag = kwargs['reuseVlanSTag'] - if encapsulation is not None: - _setter("encapsulation", encapsulation) + pulumi.set(__self__, "encapsulation", encapsulation) if encapsulation_strategy is not None: - _setter("encapsulation_strategy", encapsulation_strategy) + pulumi.set(__self__, "encapsulation_strategy", encapsulation_strategy) if reuse_vlan_s_tag is not None: - _setter("reuse_vlan_s_tag", reuse_vlan_s_tag) + pulumi.set(__self__, "reuse_vlan_s_tag", reuse_vlan_s_tag) @property @pulumi.getter @@ -5725,63 +4309,22 @@ def __init__(__self__, *, :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 account_name is None and 'accountName' in kwargs: - account_name = kwargs['accountName'] - if account_number is None and 'accountNumber' in kwargs: - account_number = kwargs['accountNumber'] - if global_cust_id is None and 'globalCustId' in kwargs: - global_cust_id = kwargs['globalCustId'] - if global_org_id is None and 'globalOrgId' in kwargs: - global_org_id = kwargs['globalOrgId'] - if global_organization_name is None and 'globalOrganizationName' in kwargs: - global_organization_name = kwargs['globalOrganizationName'] - if org_id is None and 'orgId' in kwargs: - org_id = kwargs['orgId'] - if organization_name is None and 'organizationName' in kwargs: - organization_name = kwargs['organizationName'] - if ucm_id is None and 'ucmId' in kwargs: - ucm_id = kwargs['ucmId'] - if account_name is not None: - _setter("account_name", account_name) + pulumi.set(__self__, "account_name", account_name) if account_number is not None: - _setter("account_number", account_number) + pulumi.set(__self__, "account_number", account_number) if global_cust_id is not None: - _setter("global_cust_id", global_cust_id) + pulumi.set(__self__, "global_cust_id", global_cust_id) if global_org_id is not None: - _setter("global_org_id", global_org_id) + pulumi.set(__self__, "global_org_id", global_org_id) if global_organization_name is not None: - _setter("global_organization_name", global_organization_name) + pulumi.set(__self__, "global_organization_name", global_organization_name) if org_id is not None: - _setter("org_id", org_id) + pulumi.set(__self__, "org_id", org_id) if organization_name is not None: - _setter("organization_name", organization_name) + pulumi.set(__self__, "organization_name", organization_name) if ucm_id is not None: - _setter("ucm_id", ucm_id) + pulumi.set(__self__, "ucm_id", ucm_id) @property @pulumi.getter(name="accountName") @@ -5902,87 +4445,30 @@ def __init__(__self__, *, 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 created_by is None and 'createdBy' in kwargs: - created_by = kwargs['createdBy'] - if created_by_email is None and 'createdByEmail' in kwargs: - created_by_email = kwargs['createdByEmail'] - if created_by_full_name is None and 'createdByFullName' in kwargs: - created_by_full_name = kwargs['createdByFullName'] - if created_date_time is None and 'createdDateTime' in kwargs: - created_date_time = kwargs['createdDateTime'] - if deleted_by is None and 'deletedBy' in kwargs: - deleted_by = kwargs['deletedBy'] - if deleted_by_email is None and 'deletedByEmail' in kwargs: - deleted_by_email = kwargs['deletedByEmail'] - if deleted_by_full_name is None and 'deletedByFullName' in kwargs: - deleted_by_full_name = kwargs['deletedByFullName'] - if deleted_date_time is None and 'deletedDateTime' in kwargs: - deleted_date_time = kwargs['deletedDateTime'] - if updated_by is None and 'updatedBy' in kwargs: - updated_by = kwargs['updatedBy'] - if updated_by_email is None and 'updatedByEmail' in kwargs: - updated_by_email = kwargs['updatedByEmail'] - if updated_by_full_name is None and 'updatedByFullName' in kwargs: - updated_by_full_name = kwargs['updatedByFullName'] - if updated_date_time is None and 'updatedDateTime' in kwargs: - updated_date_time = kwargs['updatedDateTime'] - if created_by is not None: - _setter("created_by", created_by) + pulumi.set(__self__, "created_by", created_by) if created_by_email is not None: - _setter("created_by_email", created_by_email) + pulumi.set(__self__, "created_by_email", created_by_email) if created_by_full_name is not None: - _setter("created_by_full_name", created_by_full_name) + pulumi.set(__self__, "created_by_full_name", created_by_full_name) if created_date_time is not None: - _setter("created_date_time", created_date_time) + pulumi.set(__self__, "created_date_time", created_date_time) if deleted_by is not None: - _setter("deleted_by", deleted_by) + pulumi.set(__self__, "deleted_by", deleted_by) if deleted_by_email is not None: - _setter("deleted_by_email", deleted_by_email) + pulumi.set(__self__, "deleted_by_email", deleted_by_email) if deleted_by_full_name is not None: - _setter("deleted_by_full_name", deleted_by_full_name) + pulumi.set(__self__, "deleted_by_full_name", deleted_by_full_name) if deleted_date_time is not None: - _setter("deleted_date_time", deleted_date_time) + pulumi.set(__self__, "deleted_date_time", deleted_date_time) if updated_by is not None: - _setter("updated_by", updated_by) + pulumi.set(__self__, "updated_by", updated_by) if updated_by_email is not None: - _setter("updated_by_email", updated_by_email) + pulumi.set(__self__, "updated_by_email", updated_by_email) if updated_by_full_name is not None: - _setter("updated_by_full_name", updated_by_full_name) + pulumi.set(__self__, "updated_by_full_name", updated_by_full_name) if updated_date_time is not None: - _setter("updated_date_time", updated_date_time) + pulumi.set(__self__, "updated_date_time", updated_date_time) @property @pulumi.getter(name="createdBy") @@ -6081,46 +4567,15 @@ def __init__(__self__, *, :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: 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 data_type is None and 'dataType' in kwargs: - data_type = kwargs['dataType'] - 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) - _setter("label", label) - _setter("required", required) + pulumi.set(__self__, "data_type", data_type) + pulumi.set(__self__, "label", label) + pulumi.set(__self__, "required", required) if capture_in_email is not None: - _setter("capture_in_email", capture_in_email) + pulumi.set(__self__, "capture_in_email", capture_in_email) if description is not None: - _setter("description", description) + pulumi.set(__self__, "description", description) if options is not None: - _setter("options", options) + pulumi.set(__self__, "options", options) @property @pulumi.getter(name="dataType") @@ -6199,29 +4654,12 @@ def __init__(__self__, *, :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 process_steps is None and 'processSteps' in kwargs: - process_steps = kwargs['processSteps'] - if logo is not None: - _setter("logo", logo) + pulumi.set(__self__, "logo", logo) if process_steps is not None: - _setter("process_steps", process_steps) + pulumi.set(__self__, "process_steps", process_steps) if promotion is not None: - _setter("promotion", promotion) + pulumi.set(__self__, "promotion", promotion) @property @pulumi.getter @@ -6276,29 +4714,12 @@ def __init__(__self__, *, :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 sub_title is None and 'subTitle' in kwargs: - sub_title = kwargs['subTitle'] - if description is not None: - _setter("description", description) + pulumi.set(__self__, "description", description) if sub_title is not None: - _setter("sub_title", sub_title) + pulumi.set(__self__, "sub_title", sub_title) if title is not None: - _setter("title", title) + pulumi.set(__self__, "title", title) @property @pulumi.getter @@ -6363,45 +4784,18 @@ def __init__(__self__, *, :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 display_name is None and 'displayName' in kwargs: - display_name = kwargs['displayName'] - if in_trail is None and 'inTrail' in kwargs: - in_trail = kwargs['inTrail'] - if seller_regions is None and 'sellerRegions' in kwargs: - seller_regions = kwargs['sellerRegions'] - if code is not None: - _setter("code", code) + pulumi.set(__self__, "code", code) if display_name is not None: - _setter("display_name", display_name) + pulumi.set(__self__, "display_name", display_name) if ibxs is not None: - _setter("ibxs", ibxs) + pulumi.set(__self__, "ibxs", ibxs) if in_trail is not None: - _setter("in_trail", in_trail) + pulumi.set(__self__, "in_trail", in_trail) if name is not None: - _setter("name", name) + pulumi.set(__self__, "name", name) if seller_regions is not None: - _setter("seller_regions", seller_regions) + pulumi.set(__self__, "seller_regions", seller_regions) @property @pulumi.getter @@ -6480,31 +4874,10 @@ def __init__(__self__, *, :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: Optional[Sequence[str]] = None, - type: Optional[str] = None, - send_interval: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None, - **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) - _setter("type", type) + pulumi.set(__self__, "emails", emails) + pulumi.set(__self__, "type", type) if send_interval is not None: - _setter("send_interval", send_interval) + pulumi.set(__self__, "send_interval", send_interval) @property @pulumi.getter @@ -6569,47 +4942,16 @@ def __init__(__self__, *, :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: 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 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 seller_region is None and 'sellerRegion' in kwargs: - seller_region = kwargs['sellerRegion'] - if seller_region_description is None and 'sellerRegionDescription' in kwargs: - seller_region_description = kwargs['sellerRegionDescription'] - - _setter("type", type) - _setter("uuid", uuid) + pulumi.set(__self__, "type", type) + pulumi.set(__self__, "uuid", uuid) if cross_connect_id is not None: - _setter("cross_connect_id", cross_connect_id) + pulumi.set(__self__, "cross_connect_id", cross_connect_id) if location is not None: - _setter("location", location) + pulumi.set(__self__, "location", location) if seller_region is not None: - _setter("seller_region", seller_region) + pulumi.set(__self__, "seller_region", seller_region) if seller_region_description is not None: - _setter("seller_region_description", seller_region_description) + pulumi.set(__self__, "seller_region_description", seller_region_description) @property @pulumi.getter @@ -6692,35 +5034,14 @@ def __init__(__self__, *, :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 metro_code is None and 'metroCode' in kwargs: - metro_code = kwargs['metroCode'] - if metro_name is None and 'metroName' in kwargs: - metro_name = kwargs['metroName'] - if ibx is not None: - _setter("ibx", ibx) + pulumi.set(__self__, "ibx", ibx) if metro_code is not None: - _setter("metro_code", metro_code) + pulumi.set(__self__, "metro_code", metro_code) if metro_name is not None: - _setter("metro_name", metro_name) + pulumi.set(__self__, "metro_name", metro_name) if region is not None: - _setter("region", region) + pulumi.set(__self__, "region", region) @property @pulumi.getter @@ -6781,25 +5102,10 @@ def __init__(__self__, *, :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 project_id is None and 'projectId' in kwargs: - project_id = kwargs['projectId'] - if href is not None: - _setter("href", href) + pulumi.set(__self__, "href", href) if project_id is not None: - _setter("project_id", project_id) + pulumi.set(__self__, "project_id", project_id) @property @pulumi.getter @@ -6848,35 +5154,12 @@ def __init__(__self__, *, :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: Optional[str] = None, - uuid: Optional[str] = None, - interface_uuid: Optional[str] = None, - location: Optional['outputs.ServiceProfileVirtualDeviceLocation'] = None, - opts: Optional[pulumi.ResourceOptions]=None, - **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) - _setter("uuid", uuid) + pulumi.set(__self__, "type", type) + pulumi.set(__self__, "uuid", uuid) if interface_uuid is not None: - _setter("interface_uuid", interface_uuid) + pulumi.set(__self__, "interface_uuid", interface_uuid) if location is not None: - _setter("location", location) + pulumi.set(__self__, "location", location) @property @pulumi.getter @@ -6943,35 +5226,14 @@ def __init__(__self__, *, :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 metro_code is None and 'metroCode' in kwargs: - metro_code = kwargs['metroCode'] - if metro_name is None and 'metroName' in kwargs: - metro_name = kwargs['metroName'] - if ibx is not None: - _setter("ibx", ibx) + pulumi.set(__self__, "ibx", ibx) if metro_code is not None: - _setter("metro_code", metro_code) + pulumi.set(__self__, "metro_code", metro_code) if metro_name is not None: - _setter("metro_name", metro_name) + pulumi.set(__self__, "metro_name", metro_name) if region is not None: - _setter("region", region) + pulumi.set(__self__, "region", region) @property @pulumi.getter @@ -7016,64 +5278,13 @@ def __init__(__self__, *, 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: 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 account_name is None and 'accountName' in kwargs: - account_name = kwargs['accountName'] - 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 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 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 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 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 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) - _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) + 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") @@ -7126,99 +5337,18 @@ def __init__(__self__, *, 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: 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 created_by is None and 'createdBy' in kwargs: - created_by = kwargs['createdBy'] - 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 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 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 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 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 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 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 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 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 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 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) - _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) + 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") @@ -7289,44 +5419,11 @@ def __init__(__self__, *, 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: 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 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 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) - _setter("metro_code", metro_code) - _setter("metro_name", metro_name) - _setter("region", region) + 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) @property @pulumi.getter @@ -7360,32 +5457,9 @@ 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: Optional[Sequence[str]] = None, - send_interval: Optional[str] = None, - type: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None, - **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) - _setter("type", type) + pulumi.set(__self__, "emails", emails) + pulumi.set(__self__, "send_interval", send_interval) + pulumi.set(__self__, "type", type) @property @pulumi.getter @@ -7410,43 +5484,10 @@ def __init__(__self__, *, 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: 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 billing_tier is None and 'billingTier' in kwargs: - billing_tier = kwargs['billingTier'] - 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 order_id is None: - raise TypeError("Missing 'order_id' argument") - if order_number is None and 'orderNumber' in kwargs: - order_number = kwargs['orderNumber'] - 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) - _setter("order_number", order_number) - _setter("purchase_order_number", purchase_order_number) + 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) @property @pulumi.getter(name="billingTier") @@ -7473,20 +5514,7 @@ def purchase_order_number(self) -> str: 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: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None, - **kwargs): - if code is None: - raise TypeError("Missing 'code' argument") - - _setter("code", code) + pulumi.set(__self__, "code", code) @property @pulumi.getter @@ -7503,27 +5531,8 @@ def __init__(__self__, *, :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: Optional[str] = None, - project_id: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None, - **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) + pulumi.set(__self__, "href", href) + pulumi.set(__self__, "project_id", project_id) @property @pulumi.getter @@ -7547,29 +5556,8 @@ 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: Optional['outputs.GetConnectionASideAccessPointResult'] = None, - service_token: Optional['outputs.GetConnectionASideServiceTokenResult'] = None, - opts: Optional[pulumi.ResourceOptions]=None, - **kwargs): - if access_point is None and 'accessPoint' in kwargs: - access_point = kwargs['accessPoint'] - 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) + pulumi.set(__self__, "access_point", access_point) + pulumi.set(__self__, "service_token", service_token) @property @pulumi.getter(name="accessPoint") @@ -7602,97 +5590,20 @@ def __init__(__self__, *, """ :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: 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 accounts is None: - raise TypeError("Missing 'accounts' argument") - if authentication_key is None and 'authenticationKey' in kwargs: - authentication_key = kwargs['authenticationKey'] - 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 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 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 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 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) - _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) + 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__, "routers", routers) + pulumi.set(__self__, "seller_region", seller_region) + pulumi.set(__self__, "type", type) + pulumi.set(__self__, "virtual_devices", virtual_devices) @property @pulumi.getter @@ -7781,64 +5692,13 @@ def __init__(__self__, *, 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: 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 account_name is None and 'accountName' in kwargs: - account_name = kwargs['accountName'] - 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 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 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 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 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 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) - _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) + 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") @@ -7882,30 +5742,9 @@ 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: 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) - _setter("uuid", uuid) + pulumi.set(__self__, "href", href) + pulumi.set(__self__, "state", state) + pulumi.set(__self__, "uuid", uuid) @property @pulumi.getter @@ -7929,30 +5768,9 @@ 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: 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) - _setter("uuid", uuid) + pulumi.set(__self__, "id", id) + pulumi.set(__self__, "type", type) + pulumi.set(__self__, "uuid", uuid) @property @pulumi.getter @@ -7977,41 +5795,10 @@ def __init__(__self__, *, 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: 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 type is None: - raise TypeError("Missing 'type' argument") - if vlan_c_tag is None and 'vlanCTag' in kwargs: - vlan_c_tag = kwargs['vlanCTag'] - 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 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) - _setter("vlan_s_tag", vlan_s_tag) - _setter("vlan_tag", vlan_tag) + 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) @property @pulumi.getter @@ -8042,44 +5829,11 @@ def __init__(__self__, *, 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: 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 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 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) - _setter("metro_code", metro_code) - _setter("metro_name", metro_name) - _setter("region", region) + 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) @property @pulumi.getter @@ -8114,35 +5868,10 @@ def __init__(__self__, *, 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: 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) - _setter("redundancies", redundancies) - _setter("uuid", uuid) + pulumi.set(__self__, "href", href) + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "redundancies", redundancies) + pulumi.set(__self__, "uuid", uuid) @property @pulumi.getter @@ -8169,20 +5898,7 @@ def uuid(self) -> str: 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: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None, - **kwargs): - if priority is None: - raise TypeError("Missing 'priority' argument") - - _setter("priority", priority) + pulumi.set(__self__, "priority", priority) @property @pulumi.getter @@ -8199,47 +5915,12 @@ def __init__(__self__, *, 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: 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 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) - _setter("href", href) - _setter("name", name) - _setter("type", type) - _setter("uuid", uuid) + 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") @@ -8289,109 +5970,20 @@ def __init__(__self__, *, 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: 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 allow_bandwidth_auto_approval is None and 'allowBandwidthAutoApproval' in kwargs: - allow_bandwidth_auto_approval = kwargs['allowBandwidthAutoApproval'] - 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 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 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 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 api_configs is None: - raise TypeError("Missing 'api_configs' argument") - if authentication_keys is None and 'authenticationKeys' in kwargs: - authentication_keys = kwargs['authenticationKeys'] - 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 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 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 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 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 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) - _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) + 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") @@ -8474,64 +6066,13 @@ def __init__(__self__, *, 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: 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 allow_over_subscription is None and 'allowOverSubscription' in kwargs: - allow_over_subscription = kwargs['allowOverSubscription'] - 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 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 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 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 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 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) - _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) + 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 @pulumi.getter(name="allowOverSubscription") @@ -8575,30 +6116,9 @@ 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: 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) - _setter("required", required) + pulumi.set(__self__, "description", description) + pulumi.set(__self__, "label", label) + pulumi.set(__self__, "required", required) @property @pulumi.getter @@ -8622,34 +6142,9 @@ 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: Optional[str] = None, - encapsulation_strategy: Optional[str] = None, - reuse_vlan_s_tag: Optional[bool] = None, - opts: Optional[pulumi.ResourceOptions]=None, - **kwargs): - if encapsulation is None: - raise TypeError("Missing 'encapsulation' argument") - if encapsulation_strategy is None and 'encapsulationStrategy' in kwargs: - encapsulation_strategy = kwargs['encapsulationStrategy'] - 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) - _setter("reuse_vlan_s_tag", reuse_vlan_s_tag) + pulumi.set(__self__, "encapsulation", encapsulation) + pulumi.set(__self__, "encapsulation_strategy", encapsulation_strategy) + pulumi.set(__self__, "reuse_vlan_s_tag", reuse_vlan_s_tag) @property @pulumi.getter @@ -8673,30 +6168,9 @@ 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: 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) - _setter("uuid", uuid) + pulumi.set(__self__, "href", href) + pulumi.set(__self__, "state", state) + pulumi.set(__self__, "uuid", uuid) @property @pulumi.getter @@ -8720,30 +6194,9 @@ 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: 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) - _setter("uuid", uuid) + pulumi.set(__self__, "href", href) + pulumi.set(__self__, "type", type) + pulumi.set(__self__, "uuid", uuid) @property @pulumi.getter @@ -8768,35 +6221,10 @@ def __init__(__self__, *, 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: 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) - _setter("type", type) - _setter("uuid", uuid) + pulumi.set(__self__, "description", description) + pulumi.set(__self__, "href", href) + pulumi.set(__self__, "type", type) + pulumi.set(__self__, "uuid", uuid) @property @pulumi.getter @@ -8829,64 +6257,13 @@ def __init__(__self__, *, global_organization_name: str, org_id: int, organization_name: str): - 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: 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 account_name is None and 'accountName' in kwargs: - account_name = kwargs['accountName'] - 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 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 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 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 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 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) - _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) + 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") @@ -8929,25 +6306,8 @@ class GetConnectionAdditionalInfoResult(dict): def __init__(__self__, *, 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: 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) + pulumi.set(__self__, "key", key) + pulumi.set(__self__, "value", value) @property @pulumi.getter @@ -8975,99 +6335,18 @@ def __init__(__self__, *, 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: 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 created_by is None and 'createdBy' in kwargs: - created_by = kwargs['createdBy'] - 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 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 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 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 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 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 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 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 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 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 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) - _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) + 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") @@ -9136,32 +6415,9 @@ def __init__(__self__, *, 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: Optional[Sequence[str]] = None, - send_interval: Optional[str] = None, - type: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None, - **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) - _setter("type", type) + pulumi.set(__self__, "emails", emails) + pulumi.set(__self__, "send_interval", send_interval) + pulumi.set(__self__, "type", type) @property @pulumi.getter @@ -9185,34 +6441,9 @@ def __init__(__self__, *, 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: Optional[str] = None, - errors: Optional[Sequence['outputs.GetConnectionOperationErrorResult']] = None, - provider_status: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None, - **kwargs): - if equinix_status is None and 'equinixStatus' in kwargs: - equinix_status = kwargs['equinixStatus'] - 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) - _setter("provider_status", provider_status) + pulumi.set(__self__, "equinix_status", equinix_status) + pulumi.set(__self__, "errors", errors) + pulumi.set(__self__, "provider_status", provider_status) @property @pulumi.getter(name="equinixStatus") @@ -9239,53 +6470,12 @@ def __init__(__self__, *, 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: 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 additional_infos is None and 'additionalInfos' in kwargs: - additional_infos = kwargs['additionalInfos'] - 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 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 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) - _setter("details", details) - _setter("error_code", error_code) - _setter("error_message", error_message) - _setter("help", help) + 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") @@ -9323,25 +6513,8 @@ class GetConnectionOperationErrorAdditionalInfoResult(dict): def __init__(__self__, *, 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: 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) + pulumi.set(__self__, "property", property) + pulumi.set(__self__, "reason", reason) @property @pulumi.getter @@ -9361,43 +6534,10 @@ def __init__(__self__, *, 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: 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 billing_tier is None and 'billingTier' in kwargs: - billing_tier = kwargs['billingTier'] - 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 order_id is None: - raise TypeError("Missing 'order_id' argument") - if order_number is None and 'orderNumber' in kwargs: - order_number = kwargs['orderNumber'] - 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) - _setter("order_number", order_number) - _setter("purchase_order_number", purchase_order_number) + 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) @property @pulumi.getter(name="billingTier") @@ -9429,27 +6569,8 @@ def __init__(__self__, *, :param str href: Unique Resource URL :param str project_id: Project Id """ - 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: Optional[str] = None, - project_id: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None, - **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) + pulumi.set(__self__, "href", href) + pulumi.set(__self__, "project_id", project_id) @property @pulumi.getter @@ -9473,25 +6594,8 @@ 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: 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) + pulumi.set(__self__, "group", group) + pulumi.set(__self__, "priority", priority) @property @pulumi.getter @@ -9509,29 +6613,8 @@ class GetConnectionZSideResult(dict): def __init__(__self__, *, 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: Optional['outputs.GetConnectionZSideAccessPointResult'] = None, - service_token: Optional['outputs.GetConnectionZSideServiceTokenResult'] = None, - opts: Optional[pulumi.ResourceOptions]=None, - **kwargs): - if access_point is None and 'accessPoint' in kwargs: - access_point = kwargs['accessPoint'] - 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) + pulumi.set(__self__, "access_point", access_point) + pulumi.set(__self__, "service_token", service_token) @property @pulumi.getter(name="accessPoint") @@ -9564,97 +6647,20 @@ def __init__(__self__, *, """ :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: 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 accounts is None: - raise TypeError("Missing 'accounts' argument") - if authentication_key is None and 'authenticationKey' in kwargs: - authentication_key = kwargs['authenticationKey'] - 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 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 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 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 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) - _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) + 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__, "routers", routers) + pulumi.set(__self__, "seller_region", seller_region) + pulumi.set(__self__, "type", type) + pulumi.set(__self__, "virtual_devices", virtual_devices) @property @pulumi.getter @@ -9743,64 +6749,13 @@ def __init__(__self__, *, global_organization_name: str, org_id: int, organization_name: str): - 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: 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 account_name is None and 'accountName' in kwargs: - account_name = kwargs['accountName'] - 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 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 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 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 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 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) - _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) + 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") @@ -9844,30 +6799,9 @@ def __init__(__self__, *, 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: 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) - _setter("uuid", uuid) + pulumi.set(__self__, "href", href) + pulumi.set(__self__, "state", state) + pulumi.set(__self__, "uuid", uuid) @property @pulumi.getter @@ -9891,30 +6825,9 @@ def __init__(__self__, *, 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: 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) - _setter("uuid", uuid) + pulumi.set(__self__, "id", id) + pulumi.set(__self__, "type", type) + pulumi.set(__self__, "uuid", uuid) @property @pulumi.getter @@ -9939,41 +6852,10 @@ def __init__(__self__, *, 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: 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 type is None: - raise TypeError("Missing 'type' argument") - if vlan_c_tag is None and 'vlanCTag' in kwargs: - vlan_c_tag = kwargs['vlanCTag'] - 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 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) - _setter("vlan_s_tag", vlan_s_tag) - _setter("vlan_tag", vlan_tag) + 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) @property @pulumi.getter @@ -10004,44 +6886,11 @@ def __init__(__self__, *, 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: 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 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 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) - _setter("metro_code", metro_code) - _setter("metro_name", metro_name) - _setter("region", region) + 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) @property @pulumi.getter @@ -10076,35 +6925,10 @@ def __init__(__self__, *, 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: 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) - _setter("redundancies", redundancies) - _setter("uuid", uuid) + pulumi.set(__self__, "href", href) + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "redundancies", redundancies) + pulumi.set(__self__, "uuid", uuid) @property @pulumi.getter @@ -10131,20 +6955,7 @@ def uuid(self) -> str: 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: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None, - **kwargs): - if priority is None: - raise TypeError("Missing 'priority' argument") - - _setter("priority", priority) + pulumi.set(__self__, "priority", priority) @property @pulumi.getter @@ -10161,47 +6972,12 @@ def __init__(__self__, *, 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: 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 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) - _setter("href", href) - _setter("name", name) - _setter("type", type) - _setter("uuid", uuid) + 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") @@ -10251,109 +7027,20 @@ def __init__(__self__, *, 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: 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 allow_bandwidth_auto_approval is None and 'allowBandwidthAutoApproval' in kwargs: - allow_bandwidth_auto_approval = kwargs['allowBandwidthAutoApproval'] - 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 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 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 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 api_configs is None: - raise TypeError("Missing 'api_configs' argument") - if authentication_keys is None and 'authenticationKeys' in kwargs: - authentication_keys = kwargs['authenticationKeys'] - 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 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 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 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 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 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) - _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) + 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") @@ -10436,64 +7123,13 @@ def __init__(__self__, *, 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: 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 allow_over_subscription is None and 'allowOverSubscription' in kwargs: - allow_over_subscription = kwargs['allowOverSubscription'] - 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 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 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 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 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 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) - _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) + 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 @pulumi.getter(name="allowOverSubscription") @@ -10537,30 +7173,9 @@ def __init__(__self__, *, 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: 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) - _setter("required", required) + pulumi.set(__self__, "description", description) + pulumi.set(__self__, "label", label) + pulumi.set(__self__, "required", required) @property @pulumi.getter @@ -10584,34 +7199,9 @@ def __init__(__self__, *, 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: Optional[str] = None, - encapsulation_strategy: Optional[str] = None, - reuse_vlan_s_tag: Optional[bool] = None, - opts: Optional[pulumi.ResourceOptions]=None, - **kwargs): - if encapsulation is None: - raise TypeError("Missing 'encapsulation' argument") - if encapsulation_strategy is None and 'encapsulationStrategy' in kwargs: - encapsulation_strategy = kwargs['encapsulationStrategy'] - 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) - _setter("reuse_vlan_s_tag", reuse_vlan_s_tag) + pulumi.set(__self__, "encapsulation", encapsulation) + pulumi.set(__self__, "encapsulation_strategy", encapsulation_strategy) + pulumi.set(__self__, "reuse_vlan_s_tag", reuse_vlan_s_tag) @property @pulumi.getter @@ -10635,30 +7225,9 @@ def __init__(__self__, *, href: str, 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: 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) - _setter("uuid", uuid) + pulumi.set(__self__, "href", href) + pulumi.set(__self__, "state", state) + pulumi.set(__self__, "uuid", uuid) @property @pulumi.getter @@ -10682,30 +7251,9 @@ def __init__(__self__, *, href: str, type: str, uuid: str): - 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: 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) - _setter("uuid", uuid) + pulumi.set(__self__, "href", href) + pulumi.set(__self__, "type", type) + pulumi.set(__self__, "uuid", uuid) @property @pulumi.getter @@ -10730,35 +7278,10 @@ def __init__(__self__, *, href: str, type: str, uuid: str): - 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: 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) - _setter("type", type) - _setter("uuid", uuid) + pulumi.set(__self__, "description", description) + pulumi.set(__self__, "href", href) + pulumi.set(__self__, "type", type) + pulumi.set(__self__, "uuid", uuid) @property @pulumi.getter @@ -10791,64 +7314,13 @@ def __init__(__self__, *, 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: 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 account_name is None and 'accountName' in kwargs: - account_name = kwargs['accountName'] - 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 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 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 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 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 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) - _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) + 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") @@ -10901,99 +7373,18 @@ def __init__(__self__, *, 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: 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 created_by is None and 'createdBy' in kwargs: - created_by = kwargs['createdBy'] - 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 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 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 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 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 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 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 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 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 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 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) - _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) + 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") @@ -11061,25 +7452,8 @@ 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: 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) + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "redundancies", redundancies) @property @pulumi.getter @@ -11097,25 +7471,8 @@ class GetPortDeviceRedundancyResult(dict): def __init__(__self__, *, 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: 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) + pulumi.set(__self__, "group", group) + pulumi.set(__self__, "priority", priority) @property @pulumi.getter @@ -11133,27 +7490,8 @@ 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: Optional[str] = None, - type: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None, - **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) + pulumi.set(__self__, "tag_protocol_id", tag_protocol_id) + pulumi.set(__self__, "type", type) @property @pulumi.getter(name="tagProtocolId") @@ -11174,44 +7512,11 @@ def __init__(__self__, *, 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: 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 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 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) - _setter("metro_code", metro_code) - _setter("metro_name", metro_name) - _setter("region", region) + 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) @property @pulumi.getter @@ -11245,36 +7550,9 @@ def __init__(__self__, *, 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: Optional[int] = None, - op_status_changed_at: Optional[str] = None, - operational_status: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None, - **kwargs): - if connection_count is None and 'connectionCount' in kwargs: - connection_count = kwargs['connectionCount'] - 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 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) - _setter("operational_status", operational_status) + 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") @@ -11298,30 +7576,9 @@ def __init__(__self__, *, 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: 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) - _setter("priority", priority) + pulumi.set(__self__, "enabled", enabled) + pulumi.set(__self__, "group", group) + pulumi.set(__self__, "priority", priority) @property @pulumi.getter @@ -11360,114 +7617,25 @@ def __init__(__self__, *, type: str, 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: 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 accounts is None: - raise TypeError("Missing 'accounts' argument") - if available_bandwidth is None and 'availableBandwidth' in kwargs: - available_bandwidth = kwargs['availableBandwidth'] - 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 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 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 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) - _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) + 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__, "lag_enabled", lag_enabled) + 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: - _setter("uuid", uuid) + pulumi.set(__self__, "uuid", uuid) @property @pulumi.getter @@ -11570,64 +7738,13 @@ def __init__(__self__, *, global_organization_name: str, org_id: int, organization_name: str): - 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: 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 account_name is None and 'accountName' in kwargs: - account_name = kwargs['accountName'] - 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 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 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 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 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 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) - _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) + 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") @@ -11680,99 +7797,18 @@ def __init__(__self__, *, updated_by_email: str, updated_by_full_name: str, updated_date_time: str): - 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: 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 created_by is None and 'createdBy' in kwargs: - created_by = kwargs['createdBy'] - 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 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 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 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 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 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 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 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 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 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 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) - _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) + 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") @@ -11840,25 +7876,8 @@ class GetPortsDatumDeviceResult(dict): def __init__(__self__, *, name: str, 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: 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) + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "redundancies", redundancies) @property @pulumi.getter @@ -11876,25 +7895,8 @@ class GetPortsDatumDeviceRedundancyResult(dict): def __init__(__self__, *, group: str, priority: str): - GetPortsDatumDeviceRedundancyResult._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 None: - raise TypeError("Missing 'group' argument") - if priority is None: - raise TypeError("Missing 'priority' argument") - - _setter("group", group) - _setter("priority", priority) + pulumi.set(__self__, "group", group) + pulumi.set(__self__, "priority", priority) @property @pulumi.getter @@ -11912,27 +7914,8 @@ class GetPortsDatumEncapsulationResult(dict): def __init__(__self__, *, tag_protocol_id: str, type: str): - 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: Optional[str] = None, - type: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None, - **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) + pulumi.set(__self__, "tag_protocol_id", tag_protocol_id) + pulumi.set(__self__, "type", type) @property @pulumi.getter(name="tagProtocolId") @@ -11953,44 +7936,11 @@ def __init__(__self__, *, metro_code: str, metro_name: str, region: str): - 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: 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 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 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) - _setter("metro_code", metro_code) - _setter("metro_name", metro_name) - _setter("region", region) + 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) @property @pulumi.getter @@ -12024,36 +7974,9 @@ def __init__(__self__, *, connection_count: int, op_status_changed_at: str, operational_status: str): - 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: Optional[int] = None, - op_status_changed_at: Optional[str] = None, - operational_status: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None, - **kwargs): - if connection_count is None and 'connectionCount' in kwargs: - connection_count = kwargs['connectionCount'] - 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 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) - _setter("operational_status", operational_status) + 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") @@ -12077,30 +8000,9 @@ def __init__(__self__, *, enabled: bool, group: str, priority: str): - 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: 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) - _setter("priority", priority) + pulumi.set(__self__, "enabled", enabled) + pulumi.set(__self__, "group", group) + pulumi.set(__self__, "priority", priority) @property @pulumi.getter @@ -12125,19 +8027,8 @@ def __init__(__self__, *, """ :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) + pulumi.set(__self__, "name", name) @property @pulumi.getter @@ -12157,24 +8048,9 @@ def __init__(__self__, *, :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: 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) + pulumi.set(__self__, "enabled", enabled) if interval is not None: - _setter("interval", interval) + pulumi.set(__self__, "interval", interval) @property @pulumi.getter @@ -12204,33 +8080,10 @@ def __init__(__self__, *, :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: Optional[str] = None, - equinix_peer_ip: Optional[str] = None, - enabled: Optional[bool] = None, - opts: Optional[pulumi.ResourceOptions]=None, - **kwargs): - if customer_peer_ip is None and 'customerPeerIp' in kwargs: - customer_peer_ip = kwargs['customerPeerIp'] - 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) + pulumi.set(__self__, "customer_peer_ip", customer_peer_ip) + pulumi.set(__self__, "equinix_peer_ip", equinix_peer_ip) if enabled is not None: - _setter("enabled", enabled) + pulumi.set(__self__, "enabled", enabled) @property @pulumi.getter(name="customerPeerIp") @@ -12268,33 +8121,10 @@ def __init__(__self__, *, :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: Optional[str] = None, - equinix_peer_ip: Optional[str] = None, - enabled: Optional[bool] = None, - opts: Optional[pulumi.ResourceOptions]=None, - **kwargs): - if customer_peer_ip is None and 'customerPeerIp' in kwargs: - customer_peer_ip = kwargs['customerPeerIp'] - 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) + pulumi.set(__self__, "customer_peer_ip", customer_peer_ip) + pulumi.set(__self__, "equinix_peer_ip", equinix_peer_ip) if enabled is not None: - _setter("enabled", enabled) + pulumi.set(__self__, "enabled", enabled) @property @pulumi.getter(name="customerPeerIp") @@ -12327,30 +8157,9 @@ def __init__(__self__, *, 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: 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) - _setter("uuid", uuid) + pulumi.set(__self__, "href", href) + pulumi.set(__self__, "type", type) + pulumi.set(__self__, "uuid", uuid) @property @pulumi.getter @@ -12383,99 +8192,18 @@ def __init__(__self__, *, updated_by_email: str, updated_by_full_name: str, updated_date_time: str): - 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: 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 created_by is None and 'createdBy' in kwargs: - created_by = kwargs['createdBy'] - 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 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 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 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 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 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 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 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 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 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 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) - _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) + 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") @@ -12545,22 +8273,7 @@ def __init__(__self__, *, """ :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: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None, - **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) + pulumi.set(__self__, "equinix_iface_ip", equinix_iface_ip) @property @pulumi.getter(name="equinixIfaceIp") @@ -12578,21 +8291,8 @@ def __init__(__self__, *, """ :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 equinix_iface_ip is None and 'equinixIfaceIp' in kwargs: - equinix_iface_ip = kwargs['equinixIfaceIp'] - if equinix_iface_ip is not None: - _setter("equinix_iface_ip", equinix_iface_ip) + pulumi.set(__self__, "equinix_iface_ip", equinix_iface_ip) @property @pulumi.getter(name="equinixIfaceIp") @@ -12607,20 +8307,7 @@ def equinix_iface_ip(self) -> Optional[str]: class GetRoutingProtocolOperationResult(dict): def __init__(__self__, *, 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: Optional[Sequence['outputs.GetRoutingProtocolOperationErrorResult']] = None, - opts: Optional[pulumi.ResourceOptions]=None, - **kwargs): - if errors is None: - raise TypeError("Missing 'errors' argument") - - _setter("errors", errors) + pulumi.set(__self__, "errors", errors) @property @pulumi.getter @@ -12637,53 +8324,12 @@ def __init__(__self__, *, 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: 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 additional_infos is None and 'additionalInfos' in kwargs: - additional_infos = kwargs['additionalInfos'] - 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 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 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) - _setter("details", details) - _setter("error_code", error_code) - _setter("error_message", error_message) - _setter("help", help) + 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") @@ -12721,25 +8367,8 @@ class GetRoutingProtocolOperationErrorAdditionalInfoResult(dict): def __init__(__self__, *, 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: 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) + pulumi.set(__self__, "property", property) + pulumi.set(__self__, "reason", reason) @property @pulumi.getter @@ -12769,109 +8398,20 @@ def __init__(__self__, *, supported_bandwidths: Sequence[int], type: str, uuid: str): - 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: 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 allow_bandwidth_auto_approval is None and 'allowBandwidthAutoApproval' in kwargs: - allow_bandwidth_auto_approval = kwargs['allowBandwidthAutoApproval'] - 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 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 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 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 api_configs is None: - raise TypeError("Missing 'api_configs' argument") - if authentication_keys is None and 'authenticationKeys' in kwargs: - authentication_keys = kwargs['authenticationKeys'] - 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 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 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 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 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 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) - _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) + 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") @@ -12954,64 +8494,13 @@ def __init__(__self__, *, equinix_managed_vlan: bool, integration_id: str, over_subscription_limit: int): - 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: 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 allow_over_subscription is None and 'allowOverSubscription' in kwargs: - allow_over_subscription = kwargs['allowOverSubscription'] - 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 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 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 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 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 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) - _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) + 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 @pulumi.getter(name="allowOverSubscription") @@ -13055,30 +8544,9 @@ def __init__(__self__, *, description: str, label: str, required: bool): - 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: 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) - _setter("required", required) + pulumi.set(__self__, "description", description) + pulumi.set(__self__, "label", label) + pulumi.set(__self__, "required", required) @property @pulumi.getter @@ -13102,34 +8570,9 @@ def __init__(__self__, *, encapsulation: str, encapsulation_strategy: str, reuse_vlan_s_tag: bool): - 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: Optional[str] = None, - encapsulation_strategy: Optional[str] = None, - reuse_vlan_s_tag: Optional[bool] = None, - opts: Optional[pulumi.ResourceOptions]=None, - **kwargs): - if encapsulation is None: - raise TypeError("Missing 'encapsulation' argument") - if encapsulation_strategy is None and 'encapsulationStrategy' in kwargs: - encapsulation_strategy = kwargs['encapsulationStrategy'] - 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) - _setter("reuse_vlan_s_tag", reuse_vlan_s_tag) + pulumi.set(__self__, "encapsulation", encapsulation) + pulumi.set(__self__, "encapsulation_strategy", encapsulation_strategy) + pulumi.set(__self__, "reuse_vlan_s_tag", reuse_vlan_s_tag) @property @pulumi.getter @@ -13158,71 +8601,14 @@ def __init__(__self__, *, org_id: int, organization_name: str, ucm_id: str): - 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: 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 account_name is None and 'accountName' in kwargs: - account_name = kwargs['accountName'] - 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 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 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 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 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 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") - 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) - _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) + 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) @property @pulumi.getter(name="accountName") @@ -13280,99 +8666,18 @@ def __init__(__self__, *, updated_by_email: str, updated_by_full_name: str, updated_date_time: str): - 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: 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 created_by is None and 'createdBy' in kwargs: - created_by = kwargs['createdBy'] - 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 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 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 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 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 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 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 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 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 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 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) - _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) + 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") @@ -13444,49 +8749,12 @@ def __init__(__self__, *, label: str, options: Sequence[str], required: bool): - 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: 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 capture_in_email is None and 'captureInEmail' in kwargs: - capture_in_email = kwargs['captureInEmail'] - 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) - _setter("description", description) - _setter("label", label) - _setter("options", options) - _setter("required", required) + 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) @property @pulumi.getter(name="captureInEmail") @@ -13525,32 +8793,9 @@ def __init__(__self__, *, logo: str, process_steps: Sequence['outputs.GetServiceProfileMarketingInfoProcessStepResult'], promotion: bool): - 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: Optional[str] = None, - process_steps: Optional[Sequence['outputs.GetServiceProfileMarketingInfoProcessStepResult']] = None, - promotion: Optional[bool] = None, - opts: Optional[pulumi.ResourceOptions]=None, - **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) - _setter("promotion", promotion) + pulumi.set(__self__, "logo", logo) + pulumi.set(__self__, "process_steps", process_steps) + pulumi.set(__self__, "promotion", promotion) @property @pulumi.getter @@ -13574,32 +8819,9 @@ def __init__(__self__, *, description: str, sub_title: str, title: str): - 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: Optional[str] = None, - sub_title: Optional[str] = None, - title: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None, - **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) - _setter("title", title) + pulumi.set(__self__, "description", description) + pulumi.set(__self__, "sub_title", sub_title) + pulumi.set(__self__, "title", title) @property @pulumi.getter @@ -13626,51 +8848,12 @@ def __init__(__self__, *, in_trail: bool, name: str, seller_regions: Mapping[str, str]): - 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: 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 code is None: - raise TypeError("Missing 'code' argument") - if display_name is None and 'displayName' in kwargs: - display_name = kwargs['displayName'] - 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 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) - _setter("ibxs", ibxs) - _setter("in_trail", in_trail) - _setter("name", name) - _setter("seller_regions", seller_regions) + 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) @property @pulumi.getter @@ -13709,32 +8892,9 @@ def __init__(__self__, *, emails: Sequence[str], send_interval: str, type: str): - 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: Optional[Sequence[str]] = None, - send_interval: Optional[str] = None, - type: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None, - **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) - _setter("type", type) + pulumi.set(__self__, "emails", emails) + pulumi.set(__self__, "send_interval", send_interval) + pulumi.set(__self__, "type", type) @property @pulumi.getter @@ -13761,51 +8921,12 @@ def __init__(__self__, *, seller_region_description: str, type: str, uuid: str): - 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: 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 cross_connect_id is None and 'crossConnectId' in kwargs: - cross_connect_id = kwargs['crossConnectId'] - 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 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) - _setter("seller_region", seller_region) - _setter("seller_region_description", seller_region_description) - _setter("type", type) - _setter("uuid", uuid) + 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) @property @pulumi.getter(name="crossConnectId") @@ -13845,39 +8966,10 @@ def __init__(__self__, *, metro_code: str, metro_name: str, region: str): - 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: Optional[str] = None, - metro_code: Optional[str] = None, - metro_name: Optional[str] = None, - region: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None, - **kwargs): - if ibx is None: - raise TypeError("Missing 'ibx' argument") - if metro_code is None and 'metroCode' in kwargs: - metro_code = kwargs['metroCode'] - 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) - _setter("metro_name", metro_name) - _setter("region", region) + pulumi.set(__self__, "ibx", ibx) + pulumi.set(__self__, "metro_code", metro_code) + pulumi.set(__self__, "metro_name", metro_name) + pulumi.set(__self__, "region", region) @property @pulumi.getter @@ -13905,27 +8997,8 @@ class GetServiceProfileProjectResult(dict): def __init__(__self__, *, href: str, project_id: str): - 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: Optional[str] = None, - project_id: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None, - **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) + pulumi.set(__self__, "href", href) + pulumi.set(__self__, "project_id", project_id) @property @pulumi.getter @@ -13960,120 +9033,27 @@ def __init__(__self__, *, visibility: str, state: Optional[str] = None, uuid: Optional[str] = None): - 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: 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 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 accounts is None: - raise TypeError("Missing 'accounts' argument") - if allowed_emails is None and 'allowedEmails' in kwargs: - allowed_emails = kwargs['allowedEmails'] - 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 change_logs is None: - raise TypeError("Missing 'change_logs' argument") - if custom_fields is None and 'customFields' in kwargs: - custom_fields = kwargs['customFields'] - 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 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) - _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) + 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) if state is not None: - _setter("state", state) + pulumi.set(__self__, "state", state) if uuid is not None: - _setter("uuid", uuid) + pulumi.set(__self__, "uuid", uuid) @property @pulumi.getter(name="accessPointTypeConfigs") @@ -14188,109 +9168,20 @@ def __init__(__self__, *, supported_bandwidths: Sequence[int], type: str, uuid: str): - 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: 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 allow_bandwidth_auto_approval is None and 'allowBandwidthAutoApproval' in kwargs: - allow_bandwidth_auto_approval = kwargs['allowBandwidthAutoApproval'] - 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 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 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 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 api_configs is None: - raise TypeError("Missing 'api_configs' argument") - if authentication_keys is None and 'authenticationKeys' in kwargs: - authentication_keys = kwargs['authenticationKeys'] - 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 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 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 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 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 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) - _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) + 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") @@ -14373,64 +9264,13 @@ def __init__(__self__, *, equinix_managed_vlan: bool, integration_id: str, over_subscription_limit: int): - 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: 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 allow_over_subscription is None and 'allowOverSubscription' in kwargs: - allow_over_subscription = kwargs['allowOverSubscription'] - 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 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 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 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 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 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) - _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) + 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 @pulumi.getter(name="allowOverSubscription") @@ -14474,30 +9314,9 @@ def __init__(__self__, *, description: str, label: str, required: bool): - 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: 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) - _setter("required", required) + pulumi.set(__self__, "description", description) + pulumi.set(__self__, "label", label) + pulumi.set(__self__, "required", required) @property @pulumi.getter @@ -14521,34 +9340,9 @@ def __init__(__self__, *, encapsulation: str, encapsulation_strategy: str, reuse_vlan_s_tag: bool): - 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: Optional[str] = None, - encapsulation_strategy: Optional[str] = None, - reuse_vlan_s_tag: Optional[bool] = None, - opts: Optional[pulumi.ResourceOptions]=None, - **kwargs): - if encapsulation is None: - raise TypeError("Missing 'encapsulation' argument") - if encapsulation_strategy is None and 'encapsulationStrategy' in kwargs: - encapsulation_strategy = kwargs['encapsulationStrategy'] - 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) - _setter("reuse_vlan_s_tag", reuse_vlan_s_tag) + pulumi.set(__self__, "encapsulation", encapsulation) + pulumi.set(__self__, "encapsulation_strategy", encapsulation_strategy) + pulumi.set(__self__, "reuse_vlan_s_tag", reuse_vlan_s_tag) @property @pulumi.getter @@ -14577,71 +9371,14 @@ def __init__(__self__, *, org_id: int, organization_name: str, ucm_id: str): - 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: 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 account_name is None and 'accountName' in kwargs: - account_name = kwargs['accountName'] - 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 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 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 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 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 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") - 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) - _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) + 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) @property @pulumi.getter(name="accountName") @@ -14699,99 +9436,18 @@ def __init__(__self__, *, updated_by_email: str, updated_by_full_name: str, updated_date_time: str): - 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: 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 created_by is None and 'createdBy' in kwargs: - created_by = kwargs['createdBy'] - 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 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 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 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 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 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 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 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 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 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 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) - _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) + 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") @@ -14863,49 +9519,12 @@ def __init__(__self__, *, label: str, options: Sequence[str], required: bool): - 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: 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 capture_in_email is None and 'captureInEmail' in kwargs: - capture_in_email = kwargs['captureInEmail'] - 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) - _setter("description", description) - _setter("label", label) - _setter("options", options) - _setter("required", required) + 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) @property @pulumi.getter(name="captureInEmail") @@ -14944,32 +9563,9 @@ def __init__(__self__, *, logo: str, process_steps: Sequence['outputs.GetServiceProfilesDatumMarketingInfoProcessStepResult'], promotion: bool): - 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: Optional[str] = None, - process_steps: Optional[Sequence['outputs.GetServiceProfilesDatumMarketingInfoProcessStepResult']] = None, - promotion: Optional[bool] = None, - opts: Optional[pulumi.ResourceOptions]=None, - **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) - _setter("promotion", promotion) + pulumi.set(__self__, "logo", logo) + pulumi.set(__self__, "process_steps", process_steps) + pulumi.set(__self__, "promotion", promotion) @property @pulumi.getter @@ -14993,32 +9589,9 @@ def __init__(__self__, *, description: str, sub_title: str, title: str): - 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: Optional[str] = None, - sub_title: Optional[str] = None, - title: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None, - **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) - _setter("title", title) + pulumi.set(__self__, "description", description) + pulumi.set(__self__, "sub_title", sub_title) + pulumi.set(__self__, "title", title) @property @pulumi.getter @@ -15045,51 +9618,12 @@ def __init__(__self__, *, in_trail: bool, name: str, seller_regions: Mapping[str, str]): - 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: 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 code is None: - raise TypeError("Missing 'code' argument") - if display_name is None and 'displayName' in kwargs: - display_name = kwargs['displayName'] - 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 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) - _setter("ibxs", ibxs) - _setter("in_trail", in_trail) - _setter("name", name) - _setter("seller_regions", seller_regions) + 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) @property @pulumi.getter @@ -15128,32 +9662,9 @@ def __init__(__self__, *, emails: Sequence[str], send_interval: str, type: str): - 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: Optional[Sequence[str]] = None, - send_interval: Optional[str] = None, - type: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None, - **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) - _setter("type", type) + pulumi.set(__self__, "emails", emails) + pulumi.set(__self__, "send_interval", send_interval) + pulumi.set(__self__, "type", type) @property @pulumi.getter @@ -15180,51 +9691,12 @@ def __init__(__self__, *, seller_region_description: str, type: str, uuid: str): - 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: 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 cross_connect_id is None and 'crossConnectId' in kwargs: - cross_connect_id = kwargs['crossConnectId'] - 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 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) - _setter("seller_region", seller_region) - _setter("seller_region_description", seller_region_description) - _setter("type", type) - _setter("uuid", uuid) + 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) @property @pulumi.getter(name="crossConnectId") @@ -15264,39 +9736,10 @@ def __init__(__self__, *, metro_code: str, metro_name: str, region: str): - 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: Optional[str] = None, - metro_code: Optional[str] = None, - metro_name: Optional[str] = None, - region: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None, - **kwargs): - if ibx is None: - raise TypeError("Missing 'ibx' argument") - if metro_code is None and 'metroCode' in kwargs: - metro_code = kwargs['metroCode'] - 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) - _setter("metro_name", metro_name) - _setter("region", region) + pulumi.set(__self__, "ibx", ibx) + pulumi.set(__self__, "metro_code", metro_code) + pulumi.set(__self__, "metro_name", metro_name) + pulumi.set(__self__, "region", region) @property @pulumi.getter @@ -15324,27 +9767,8 @@ class GetServiceProfilesDatumProjectResult(dict): def __init__(__self__, *, href: str, project_id: str): - 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: Optional[str] = None, - project_id: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None, - **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) + pulumi.set(__self__, "href", href) + pulumi.set(__self__, "project_id", project_id) @property @pulumi.getter @@ -15368,27 +9792,12 @@ 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: - _setter("operator", operator) + pulumi.set(__self__, "operator", operator) if property is not None: - _setter("property", property) + pulumi.set(__self__, "property", property) if values is not None: - _setter("values", values) + pulumi.set(__self__, "values", values) @property @pulumi.getter @@ -15424,23 +9833,10 @@ 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: - _setter("direction", direction) + pulumi.set(__self__, "direction", direction) if property is not None: - _setter("property", property) + pulumi.set(__self__, "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 index ff37a5e0..6116a805 100644 --- a/sdk/python/pulumi_equinix/fabric/routing_protocol.py +++ b/sdk/python/pulumi_equinix/fabric/routing_protocol.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -43,78 +43,29 @@ def __init__(__self__, *, :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: 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, - 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 connection_uuid is None and 'connectionUuid' in kwargs: - connection_uuid = kwargs['connectionUuid'] - 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 bgp_ipv4 is None and 'bgpIpv4' in kwargs: - bgp_ipv4 = kwargs['bgpIpv4'] - if bgp_ipv6 is None and 'bgpIpv6' in kwargs: - bgp_ipv6 = kwargs['bgpIpv6'] - if customer_asn is None and 'customerAsn' in kwargs: - customer_asn = kwargs['customerAsn'] - if direct_ipv4 is None and 'directIpv4' in kwargs: - direct_ipv4 = kwargs['directIpv4'] - if direct_ipv6 is None and 'directIpv6' in kwargs: - direct_ipv6 = kwargs['directIpv6'] - - _setter("connection_uuid", connection_uuid) + pulumi.set(__self__, "connection_uuid", connection_uuid) if bfd is not None: - _setter("bfd", bfd) + pulumi.set(__self__, "bfd", bfd) if bgp_auth_key is not None: - _setter("bgp_auth_key", bgp_auth_key) + pulumi.set(__self__, "bgp_auth_key", bgp_auth_key) if bgp_ipv4 is not None: - _setter("bgp_ipv4", bgp_ipv4) + pulumi.set(__self__, "bgp_ipv4", bgp_ipv4) if bgp_ipv6 is not None: - _setter("bgp_ipv6", bgp_ipv6) + pulumi.set(__self__, "bgp_ipv6", bgp_ipv6) if customer_asn is not None: - _setter("customer_asn", customer_asn) + pulumi.set(__self__, "customer_asn", customer_asn) if description is not None: - _setter("description", description) + pulumi.set(__self__, "description", description) if direct_ipv4 is not None: - _setter("direct_ipv4", direct_ipv4) + pulumi.set(__self__, "direct_ipv4", direct_ipv4) if direct_ipv6 is not None: - _setter("direct_ipv6", direct_ipv6) + pulumi.set(__self__, "direct_ipv6", direct_ipv6) if name is not None: - _setter("name", name) + pulumi.set(__self__, "name", name) if type is not None: - _setter("type", type) + pulumi.set(__self__, "type", type) if uuid is not None: - _setter("uuid", uuid) + pulumi.set(__self__, "uuid", uuid) @property @pulumi.getter(name="connectionUuid") @@ -303,105 +254,42 @@ def __init__(__self__, *, :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 bgp_auth_key is None and 'bgpAuthKey' in kwargs: - bgp_auth_key = kwargs['bgpAuthKey'] - if bgp_ipv4 is None and 'bgpIpv4' in kwargs: - bgp_ipv4 = kwargs['bgpIpv4'] - if bgp_ipv6 is None and 'bgpIpv6' in kwargs: - bgp_ipv6 = kwargs['bgpIpv6'] - if change_logs is None and 'changeLogs' in kwargs: - change_logs = kwargs['changeLogs'] - if connection_uuid is None and 'connectionUuid' in kwargs: - connection_uuid = kwargs['connectionUuid'] - if customer_asn is None and 'customerAsn' in kwargs: - customer_asn = kwargs['customerAsn'] - if direct_ipv4 is None and 'directIpv4' in kwargs: - direct_ipv4 = kwargs['directIpv4'] - if direct_ipv6 is None and 'directIpv6' in kwargs: - direct_ipv6 = kwargs['directIpv6'] - if equinix_asn is None and 'equinixAsn' in kwargs: - equinix_asn = kwargs['equinixAsn'] - if bfd is not None: - _setter("bfd", bfd) + pulumi.set(__self__, "bfd", bfd) if bgp_auth_key is not None: - _setter("bgp_auth_key", bgp_auth_key) + pulumi.set(__self__, "bgp_auth_key", bgp_auth_key) if bgp_ipv4 is not None: - _setter("bgp_ipv4", bgp_ipv4) + pulumi.set(__self__, "bgp_ipv4", bgp_ipv4) if bgp_ipv6 is not None: - _setter("bgp_ipv6", bgp_ipv6) + pulumi.set(__self__, "bgp_ipv6", bgp_ipv6) if change_logs is not None: - _setter("change_logs", change_logs) + pulumi.set(__self__, "change_logs", change_logs) if changes is not None: - _setter("changes", changes) + pulumi.set(__self__, "changes", changes) if connection_uuid is not None: - _setter("connection_uuid", connection_uuid) + pulumi.set(__self__, "connection_uuid", connection_uuid) if customer_asn is not None: - _setter("customer_asn", customer_asn) + pulumi.set(__self__, "customer_asn", customer_asn) if description is not None: - _setter("description", description) + pulumi.set(__self__, "description", description) if direct_ipv4 is not None: - _setter("direct_ipv4", direct_ipv4) + pulumi.set(__self__, "direct_ipv4", direct_ipv4) if direct_ipv6 is not None: - _setter("direct_ipv6", direct_ipv6) + pulumi.set(__self__, "direct_ipv6", direct_ipv6) if equinix_asn is not None: - _setter("equinix_asn", equinix_asn) + pulumi.set(__self__, "equinix_asn", equinix_asn) if href is not None: - _setter("href", href) + pulumi.set(__self__, "href", href) if name is not None: - _setter("name", name) + pulumi.set(__self__, "name", name) if operations is not None: - _setter("operations", operations) + pulumi.set(__self__, "operations", operations) if state is not None: - _setter("state", state) + pulumi.set(__self__, "state", state) if type is not None: - _setter("type", type) + pulumi.set(__self__, "type", type) if uuid is not None: - _setter("uuid", uuid) + pulumi.set(__self__, "uuid", uuid) @property @pulumi.getter @@ -709,10 +597,6 @@ 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 - RoutingProtocolArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -739,41 +623,16 @@ 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__ = 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 diff --git a/sdk/python/pulumi_equinix/fabric/service_profile.py b/sdk/python/pulumi_equinix/fabric/service_profile.py index ad9290e7..bfb0d4e5 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, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._enums import * @@ -54,97 +54,38 @@ 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 """ - 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: 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, - 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 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 allowed_emails is None and 'allowedEmails' in kwargs: - allowed_emails = kwargs['allowedEmails'] - if custom_fields is None and 'customFields' in kwargs: - custom_fields = kwargs['customFields'] - if marketing_info is None and 'marketingInfo' in kwargs: - marketing_info = kwargs['marketingInfo'] - if self_profile is None and 'selfProfile' in kwargs: - self_profile = kwargs['selfProfile'] - if virtual_devices is None and 'virtualDevices' in kwargs: - virtual_devices = kwargs['virtualDevices'] - - _setter("description", description) - _setter("type", type) + pulumi.set(__self__, "description", description) + pulumi.set(__self__, "type", type) if access_point_type_configs is not None: - _setter("access_point_type_configs", access_point_type_configs) + pulumi.set(__self__, "access_point_type_configs", access_point_type_configs) if account is not None: - _setter("account", account) + pulumi.set(__self__, "account", account) if allowed_emails is not None: - _setter("allowed_emails", allowed_emails) + pulumi.set(__self__, "allowed_emails", allowed_emails) if custom_fields is not None: - _setter("custom_fields", custom_fields) + pulumi.set(__self__, "custom_fields", custom_fields) if marketing_info is not None: - _setter("marketing_info", marketing_info) + pulumi.set(__self__, "marketing_info", marketing_info) if metros is not None: - _setter("metros", metros) + pulumi.set(__self__, "metros", metros) if name is not None: - _setter("name", name) + pulumi.set(__self__, "name", name) if notifications is not None: - _setter("notifications", notifications) + pulumi.set(__self__, "notifications", notifications) if ports is not None: - _setter("ports", ports) + pulumi.set(__self__, "ports", ports) if project is not None: - _setter("project", project) + pulumi.set(__self__, "project", project) if self_profile is not None: - _setter("self_profile", self_profile) + pulumi.set(__self__, "self_profile", self_profile) if state is not None: - _setter("state", state) + pulumi.set(__self__, "state", state) if tags is not None: - _setter("tags", tags) + pulumi.set(__self__, "tags", tags) if virtual_devices is not None: - _setter("virtual_devices", virtual_devices) + pulumi.set(__self__, "virtual_devices", virtual_devices) if visibility is not None: - _setter("visibility", visibility) + pulumi.set(__self__, "visibility", visibility) @property @pulumi.getter @@ -397,109 +338,46 @@ 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 """ - _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 access_point_type_configs is None and 'accessPointTypeConfigs' in kwargs: - access_point_type_configs = kwargs['accessPointTypeConfigs'] - if allowed_emails is None and 'allowedEmails' in kwargs: - allowed_emails = kwargs['allowedEmails'] - if change_log is None and 'changeLog' in kwargs: - change_log = kwargs['changeLog'] - if custom_fields is None and 'customFields' in kwargs: - custom_fields = kwargs['customFields'] - if marketing_info is None and 'marketingInfo' in kwargs: - marketing_info = kwargs['marketingInfo'] - if self_profile is None and 'selfProfile' in kwargs: - self_profile = kwargs['selfProfile'] - if virtual_devices is None and 'virtualDevices' in kwargs: - virtual_devices = kwargs['virtualDevices'] - if access_point_type_configs is not None: - _setter("access_point_type_configs", access_point_type_configs) + pulumi.set(__self__, "access_point_type_configs", access_point_type_configs) if account is not None: - _setter("account", account) + pulumi.set(__self__, "account", account) if allowed_emails is not None: - _setter("allowed_emails", allowed_emails) + pulumi.set(__self__, "allowed_emails", allowed_emails) if change_log is not None: - _setter("change_log", change_log) + pulumi.set(__self__, "change_log", change_log) if custom_fields is not None: - _setter("custom_fields", custom_fields) + pulumi.set(__self__, "custom_fields", custom_fields) if description is not None: - _setter("description", description) + pulumi.set(__self__, "description", description) if href is not None: - _setter("href", href) + pulumi.set(__self__, "href", href) if marketing_info is not None: - _setter("marketing_info", marketing_info) + pulumi.set(__self__, "marketing_info", marketing_info) if metros is not None: - _setter("metros", metros) + pulumi.set(__self__, "metros", metros) if name is not None: - _setter("name", name) + pulumi.set(__self__, "name", name) if notifications is not None: - _setter("notifications", notifications) + pulumi.set(__self__, "notifications", notifications) if ports is not None: - _setter("ports", ports) + pulumi.set(__self__, "ports", ports) if project is not None: - _setter("project", project) + pulumi.set(__self__, "project", project) if self_profile is not None: - _setter("self_profile", self_profile) + pulumi.set(__self__, "self_profile", self_profile) if state is not None: - _setter("state", state) + pulumi.set(__self__, "state", state) if tags is not None: - _setter("tags", tags) + pulumi.set(__self__, "tags", tags) if type is not None: - _setter("type", type) + pulumi.set(__self__, "type", type) if uuid is not None: - _setter("uuid", uuid) + pulumi.set(__self__, "uuid", uuid) if virtual_devices is not None: - _setter("virtual_devices", virtual_devices) + pulumi.set(__self__, "virtual_devices", virtual_devices) if visibility is not None: - _setter("visibility", visibility) + pulumi.set(__self__, "visibility", visibility) @property @pulumi.getter(name="accessPointTypeConfigs") @@ -903,10 +781,6 @@ 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__, @@ -939,32 +813,17 @@ 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 diff --git a/sdk/python/pulumi_equinix/metal/_inputs.py b/sdk/python/pulumi_equinix/metal/_inputs.py index d5d836be..9f3c95de 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, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import _utilities from ._enums import * @@ -36,21 +36,8 @@ 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 allow_changes is None and 'allowChanges' in kwargs: - allow_changes = kwargs['allowChanges'] - if allow_changes is not None: - _setter("allow_changes", allow_changes) + pulumi.set(__self__, "allow_changes", allow_changes) @property @pulumi.getter(name="allowChanges") @@ -83,30 +70,11 @@ def __init__(__self__, *, 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: 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 type is None: - raise TypeError("Missing 'type' argument") - if reservation_ids is None and 'reservationIds' in kwargs: - reservation_ids = kwargs['reservationIds'] - - _setter("type", type) + pulumi.set(__self__, "type", type) if cidr is not None: - _setter("cidr", cidr) + pulumi.set(__self__, "cidr", cidr) if reservation_ids is not None: - _setter("reservation_ids", reservation_ids) + pulumi.set(__self__, "reservation_ids", reservation_ids) @property @pulumi.getter @@ -167,35 +135,16 @@ 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: - _setter("address", address) + pulumi.set(__self__, "address", address) if cidr is not None: - _setter("cidr", cidr) + pulumi.set(__self__, "cidr", cidr) if family is not None: - _setter("family", family) + pulumi.set(__self__, "family", family) if gateway is not None: - _setter("gateway", gateway) + pulumi.set(__self__, "gateway", gateway) if public is not None: - _setter("public", public) + pulumi.set(__self__, "public", public) @property @pulumi.getter @@ -273,35 +222,16 @@ 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: - _setter("bonded", bonded) + pulumi.set(__self__, "bonded", bonded) if id is not None: - _setter("id", id) + pulumi.set(__self__, "id", id) if mac is not None: - _setter("mac", mac) + pulumi.set(__self__, "mac", mac) if name is not None: - _setter("name", name) + pulumi.set(__self__, "name", name) if type is not None: - _setter("type", type) + pulumi.set(__self__, "type", type) @property @pulumi.getter @@ -378,31 +308,12 @@ 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 deprovision_fast is None and 'deprovisionFast' in kwargs: - deprovision_fast = kwargs['deprovisionFast'] - if preserve_data is None and 'preserveData' in kwargs: - preserve_data = kwargs['preserveData'] - if deprovision_fast is not None: - _setter("deprovision_fast", deprovision_fast) + pulumi.set(__self__, "deprovision_fast", deprovision_fast) if enabled is not None: - _setter("enabled", enabled) + pulumi.set(__self__, "enabled", enabled) if preserve_data is not None: - _setter("preserve_data", preserve_data) + pulumi.set(__self__, "preserve_data", preserve_data) @property @pulumi.getter(name="deprovisionFast") @@ -459,47 +370,20 @@ 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 link_status is None and 'linkStatus' in kwargs: - link_status = kwargs['linkStatus'] - if virtual_circuit_ids is None and 'virtualCircuitIds' in kwargs: - virtual_circuit_ids = kwargs['virtualCircuitIds'] - if id is not None: - _setter("id", id) + pulumi.set(__self__, "id", id) if link_status is not None: - _setter("link_status", link_status) + pulumi.set(__self__, "link_status", link_status) if name is not None: - _setter("name", name) + pulumi.set(__self__, "name", name) if role is not None: - _setter("role", role) + pulumi.set(__self__, "role", role) if speed is not None: - _setter("speed", speed) + pulumi.set(__self__, "speed", speed) if status is not None: - _setter("status", status) + pulumi.set(__self__, "status", status) if virtual_circuit_ids is not None: - _setter("virtual_circuit_ids", virtual_circuit_ids) + pulumi.set(__self__, "virtual_circuit_ids", virtual_circuit_ids) @property @pulumi.getter @@ -586,43 +470,18 @@ 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 expires_at is None and 'expiresAt' in kwargs: - expires_at = kwargs['expiresAt'] - if max_allowed_speed is None and 'maxAllowedSpeed' in kwargs: - max_allowed_speed = kwargs['maxAllowedSpeed'] - if expires_at is not None: - _setter("expires_at", expires_at) + pulumi.set(__self__, "expires_at", expires_at) if id is not None: - _setter("id", id) + pulumi.set(__self__, "id", id) if max_allowed_speed is not None: - _setter("max_allowed_speed", max_allowed_speed) + pulumi.set(__self__, "max_allowed_speed", max_allowed_speed) if role is not None: - _setter("role", role) + pulumi.set(__self__, "role", role) if state is not None: - _setter("state", state) + pulumi.set(__self__, "state", state) if type is not None: - _setter("type", type) + pulumi.set(__self__, "type", type) @property @pulumi.getter(name="expiresAt") @@ -697,41 +556,12 @@ def __init__(__self__, *, :param pulumi.Input[str] zip_code: Zip Code. :param pulumi.Input[str] state: State name. """ - 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: 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 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) - _setter("country", country) - _setter("zip_code", zip_code) + pulumi.set(__self__, "address", address) + pulumi.set(__self__, "city", city) + pulumi.set(__self__, "country", country) + pulumi.set(__self__, "zip_code", zip_code) if state is not None: - _setter("state", state) + pulumi.set(__self__, "state", state) @property @pulumi.getter @@ -810,41 +640,14 @@ 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. """ - 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: 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 asn is None: - raise TypeError("Missing 'asn' argument") - if deployment_type is None and 'deploymentType' in kwargs: - deployment_type = kwargs['deploymentType'] - 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) - _setter("deployment_type", deployment_type) + pulumi.set(__self__, "asn", asn) + pulumi.set(__self__, "deployment_type", deployment_type) if max_prefix is not None: - _setter("max_prefix", max_prefix) + pulumi.set(__self__, "max_prefix", max_prefix) if md5 is not None: - _setter("md5", md5) + pulumi.set(__self__, "md5", md5) if status is not None: - _setter("status", status) + pulumi.set(__self__, "status", status) @property @pulumi.getter @@ -930,102 +733,37 @@ def __init__(__self__, *, """ :param pulumi.Input[bool] locked: Blocks deletion of the SpotMarketRequest device until the lock is disabled. """ - 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: 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, - 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 billing_cycle is None and 'billingCycle' in kwargs: - billing_cycle = kwargs['billingCycle'] - 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 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 ipxe_script_url is None and 'ipxeScriptUrl' in kwargs: - ipxe_script_url = kwargs['ipxeScriptUrl'] - if project_ssh_keys is None and 'projectSshKeys' in kwargs: - project_ssh_keys = kwargs['projectSshKeys'] - if termination_time is None and 'terminationTime' in kwargs: - termination_time = kwargs['terminationTime'] - if termintation_time is None and 'termintationTime' in kwargs: - termintation_time = kwargs['termintationTime'] - if user_ssh_keys is None and 'userSshKeys' in kwargs: - user_ssh_keys = kwargs['userSshKeys'] - - _setter("billing_cycle", billing_cycle) - _setter("hostname", hostname) - _setter("operating_system", operating_system) - _setter("plan", plan) + pulumi.set(__self__, "billing_cycle", billing_cycle) + pulumi.set(__self__, "hostname", hostname) + pulumi.set(__self__, "operating_system", operating_system) + pulumi.set(__self__, "plan", plan) if always_pxe is not None: - _setter("always_pxe", always_pxe) + pulumi.set(__self__, "always_pxe", always_pxe) if customdata is not None: - _setter("customdata", customdata) + pulumi.set(__self__, "customdata", customdata) if description is not None: - _setter("description", description) + pulumi.set(__self__, "description", description) if features is not None: - _setter("features", features) + pulumi.set(__self__, "features", features) if ipxe_script_url is not None: - _setter("ipxe_script_url", ipxe_script_url) + pulumi.set(__self__, "ipxe_script_url", ipxe_script_url) if locked is not None: - _setter("locked", locked) + pulumi.set(__self__, "locked", locked) if project_ssh_keys is not None: - _setter("project_ssh_keys", project_ssh_keys) + pulumi.set(__self__, "project_ssh_keys", project_ssh_keys) if tags is not None: - _setter("tags", tags) + pulumi.set(__self__, "tags", tags) if termination_time is not None: - _setter("termination_time", termination_time) + pulumi.set(__self__, "termination_time", termination_time) if termintation_time is not None: 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) + pulumi.set(__self__, "termintation_time", termintation_time) if user_ssh_keys is not None: - _setter("user_ssh_keys", user_ssh_keys) + pulumi.set(__self__, "user_ssh_keys", user_ssh_keys) if userdata is not None: - _setter("userdata", userdata) + pulumi.set(__self__, "userdata", userdata) @property @pulumi.getter(name="billingCycle") @@ -1193,35 +931,12 @@ def __init__(__self__, *, 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: Optional[str] = None, - values: Optional[Sequence[str]] = None, - all: Optional[bool] = None, - match_by: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None, - **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) - _setter("values", values) + pulumi.set(__self__, "attribute", attribute) + pulumi.set(__self__, "values", values) if all is not None: - _setter("all", all) + pulumi.set(__self__, "all", all) if match_by is not None: - _setter("match_by", match_by) + pulumi.set(__self__, "match_by", match_by) @property @pulumi.getter @@ -1282,24 +997,9 @@ def __init__(__self__, *, """ :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: 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) + pulumi.set(__self__, "attribute", attribute) if direction is not None: - _setter("direction", direction) + pulumi.set(__self__, "direction", direction) @property @pulumi.getter @@ -1333,24 +1033,9 @@ def __init__(__self__, *, :param int quantity: Minimun number of devices that must be available in selected location. Default is `1`. """ - GetFacilityCapacityArgs._configure( - lambda key, value: pulumi.set(__self__, key, value), - plan=plan, - quantity=quantity, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - 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) + pulumi.set(__self__, "plan", plan) if quantity is not None: - _setter("quantity", quantity) + pulumi.set(__self__, "quantity", quantity) @property @pulumi.getter @@ -1388,24 +1073,9 @@ def __init__(__self__, *, :param int quantity: Minimum number of devices that must be available in selected location. Default is `1`. """ - GetMetroCapacityArgs._configure( - lambda key, value: pulumi.set(__self__, key, value), - plan=plan, - quantity=quantity, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - 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) + pulumi.set(__self__, "plan", plan) if quantity is not None: - _setter("quantity", quantity) + pulumi.set(__self__, "quantity", quantity) @property @pulumi.getter @@ -1448,35 +1118,12 @@ def __init__(__self__, *, 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`. """ - 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: Optional[str] = None, - values: Optional[Sequence[str]] = None, - all: Optional[bool] = None, - match_by: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None, - **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) - _setter("values", values) + pulumi.set(__self__, "attribute", attribute) + pulumi.set(__self__, "values", values) if all is not None: - _setter("all", all) + pulumi.set(__self__, "all", all) if match_by is not None: - _setter("match_by", match_by) + pulumi.set(__self__, "match_by", match_by) @property @pulumi.getter @@ -1538,24 +1185,9 @@ 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 """ - GetPlansSortArgs._configure( - lambda key, value: pulumi.set(__self__, key, value), - attribute=attribute, - direction=direction, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - 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) + pulumi.set(__self__, "attribute", attribute) if direction is not None: - _setter("direction", direction) + pulumi.set(__self__, "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 3de2beb5..63267ea6 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, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['BgpSessionArgs', 'BgpSession'] @@ -23,35 +23,10 @@ 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. """ - 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: 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 address_family is None and 'addressFamily' in kwargs: - address_family = kwargs['addressFamily'] - 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 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) - _setter("device_id", device_id) + pulumi.set(__self__, "address_family", address_family) + pulumi.set(__self__, "device_id", device_id) if default_route is not None: - _setter("default_route", default_route) + pulumi.set(__self__, "default_route", default_route) @property @pulumi.getter(name="addressFamily") @@ -104,37 +79,14 @@ 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 address_family is None and 'addressFamily' in kwargs: - address_family = kwargs['addressFamily'] - if default_route is None and 'defaultRoute' in kwargs: - default_route = kwargs['defaultRoute'] - if device_id is None and 'deviceId' in kwargs: - device_id = kwargs['deviceId'] - if address_family is not None: - _setter("address_family", address_family) + pulumi.set(__self__, "address_family", address_family) if default_route is not None: - _setter("default_route", default_route) + pulumi.set(__self__, "default_route", default_route) if device_id is not None: - _setter("device_id", device_id) + pulumi.set(__self__, "device_id", device_id) if status is not None: - _setter("status", status) + pulumi.set(__self__, "status", status) @property @pulumi.getter(name="addressFamily") @@ -256,10 +208,6 @@ 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 a6633967..e84d3ac3 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, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._enums import * @@ -89,141 +89,52 @@ def __init__(__self__, *, set, the deletion of this device will block until the hardware reservation is marked provisionable (about 4 minutes in August 2019). """ - 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: 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, - 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 operating_system is None and 'operatingSystem' in kwargs: - operating_system = kwargs['operatingSystem'] - 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 project_id is None: - raise TypeError("Missing 'project_id' argument") - if always_pxe is None and 'alwaysPxe' in kwargs: - always_pxe = kwargs['alwaysPxe'] - if billing_cycle is None and 'billingCycle' in kwargs: - billing_cycle = kwargs['billingCycle'] - if custom_data is None and 'customData' in kwargs: - custom_data = kwargs['customData'] - if force_detach_volumes is None and 'forceDetachVolumes' in kwargs: - force_detach_volumes = kwargs['forceDetachVolumes'] - if hardware_reservation_id is None and 'hardwareReservationId' in kwargs: - hardware_reservation_id = kwargs['hardwareReservationId'] - if ip_addresses is None and 'ipAddresses' in kwargs: - ip_addresses = kwargs['ipAddresses'] - if ipxe_script_url is None and 'ipxeScriptUrl' in kwargs: - ipxe_script_url = kwargs['ipxeScriptUrl'] - if project_ssh_key_ids is None and 'projectSshKeyIds' in kwargs: - project_ssh_key_ids = kwargs['projectSshKeyIds'] - if termination_time is None and 'terminationTime' in kwargs: - termination_time = kwargs['terminationTime'] - if user_data is None and 'userData' in kwargs: - user_data = kwargs['userData'] - if user_ssh_key_ids is None and 'userSshKeyIds' in kwargs: - user_ssh_key_ids = kwargs['userSshKeyIds'] - if wait_for_reservation_deprovision is None and 'waitForReservationDeprovision' in kwargs: - wait_for_reservation_deprovision = kwargs['waitForReservationDeprovision'] - - _setter("operating_system", operating_system) - _setter("plan", plan) - _setter("project_id", project_id) + pulumi.set(__self__, "operating_system", operating_system) + pulumi.set(__self__, "plan", plan) + pulumi.set(__self__, "project_id", project_id) if always_pxe is not None: - _setter("always_pxe", always_pxe) + pulumi.set(__self__, "always_pxe", always_pxe) if behavior is not None: - _setter("behavior", behavior) + pulumi.set(__self__, "behavior", behavior) if billing_cycle is not None: - _setter("billing_cycle", billing_cycle) + pulumi.set(__self__, "billing_cycle", billing_cycle) if custom_data is not None: - _setter("custom_data", custom_data) + pulumi.set(__self__, "custom_data", custom_data) if description is not None: - _setter("description", description) + pulumi.set(__self__, "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: - _setter("facilities", facilities) + pulumi.set(__self__, "facilities", facilities) if force_detach_volumes is not None: - _setter("force_detach_volumes", force_detach_volumes) + pulumi.set(__self__, "force_detach_volumes", force_detach_volumes) if hardware_reservation_id is not None: - _setter("hardware_reservation_id", hardware_reservation_id) + pulumi.set(__self__, "hardware_reservation_id", hardware_reservation_id) if hostname is not None: - _setter("hostname", hostname) + pulumi.set(__self__, "hostname", hostname) if ip_addresses is not None: - _setter("ip_addresses", ip_addresses) + pulumi.set(__self__, "ip_addresses", ip_addresses) if ipxe_script_url is not None: - _setter("ipxe_script_url", ipxe_script_url) + pulumi.set(__self__, "ipxe_script_url", ipxe_script_url) if metro is not None: - _setter("metro", metro) + pulumi.set(__self__, "metro", metro) if project_ssh_key_ids is not None: - _setter("project_ssh_key_ids", project_ssh_key_ids) + pulumi.set(__self__, "project_ssh_key_ids", project_ssh_key_ids) if reinstall is not None: - _setter("reinstall", reinstall) + pulumi.set(__self__, "reinstall", reinstall) if storage is not None: - _setter("storage", storage) + pulumi.set(__self__, "storage", storage) if tags is not None: - _setter("tags", tags) + pulumi.set(__self__, "tags", tags) if termination_time is not None: - _setter("termination_time", termination_time) + pulumi.set(__self__, "termination_time", termination_time) if user_data is not None: - _setter("user_data", user_data) + pulumi.set(__self__, "user_data", user_data) if user_ssh_key_ids is not None: - _setter("user_ssh_key_ids", user_ssh_key_ids) + pulumi.set(__self__, "user_ssh_key_ids", user_ssh_key_ids) if wait_for_reservation_deprovision is not None: - _setter("wait_for_reservation_deprovision", wait_for_reservation_deprovision) + pulumi.set(__self__, "wait_for_reservation_deprovision", wait_for_reservation_deprovision) @property @pulumi.getter(name="operatingSystem") @@ -559,6 +470,7 @@ def __init__(__self__, *, 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, + sos_hostname: 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, @@ -623,6 +535,7 @@ def __init__(__self__, *, modifying user_data, custom_data, or operating system. See Reinstall below for more details. :param pulumi.Input[str] root_password: Root password to the server (disabled after 24 hours). + :param pulumi.Input[str] sos_hostname: The hostname to use for [Serial over SSH](https://deploy.equinix.com/developers/docs/metal/resilience-recovery/serial-over-ssh/) access to the device :param pulumi.Input[Sequence[pulumi.Input[str]]] ssh_key_ids: List of IDs of SSH keys deployed in the device, can be both user and project SSH keys. :param pulumi.Input[str] state: The status of the device. :param pulumi.Input[str] storage: JSON for custom partitioning. Only usable on reserved hardware. More @@ -640,216 +553,91 @@ def __init__(__self__, *, 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 access_private_ipv4 is None and 'accessPrivateIpv4' in kwargs: - access_private_ipv4 = kwargs['accessPrivateIpv4'] - if access_public_ipv4 is None and 'accessPublicIpv4' in kwargs: - access_public_ipv4 = kwargs['accessPublicIpv4'] - if access_public_ipv6 is None and 'accessPublicIpv6' in kwargs: - access_public_ipv6 = kwargs['accessPublicIpv6'] - if always_pxe is None and 'alwaysPxe' in kwargs: - always_pxe = kwargs['alwaysPxe'] - if billing_cycle is None and 'billingCycle' in kwargs: - billing_cycle = kwargs['billingCycle'] - if custom_data is None and 'customData' in kwargs: - custom_data = kwargs['customData'] - if deployed_facility is None and 'deployedFacility' in kwargs: - deployed_facility = kwargs['deployedFacility'] - if deployed_hardware_reservation_id is None and 'deployedHardwareReservationId' in kwargs: - deployed_hardware_reservation_id = kwargs['deployedHardwareReservationId'] - if force_detach_volumes is None and 'forceDetachVolumes' in kwargs: - force_detach_volumes = kwargs['forceDetachVolumes'] - if hardware_reservation_id is None and 'hardwareReservationId' in kwargs: - hardware_reservation_id = kwargs['hardwareReservationId'] - if ip_addresses is None and 'ipAddresses' in kwargs: - ip_addresses = kwargs['ipAddresses'] - if ipxe_script_url is None and 'ipxeScriptUrl' in kwargs: - ipxe_script_url = kwargs['ipxeScriptUrl'] - if network_type is None and 'networkType' in kwargs: - network_type = kwargs['networkType'] - if operating_system is None and 'operatingSystem' in kwargs: - operating_system = kwargs['operatingSystem'] - if project_id is None and 'projectId' in kwargs: - project_id = kwargs['projectId'] - if project_ssh_key_ids is None and 'projectSshKeyIds' in kwargs: - project_ssh_key_ids = kwargs['projectSshKeyIds'] - if root_password is None and 'rootPassword' in kwargs: - root_password = kwargs['rootPassword'] - if ssh_key_ids is None and 'sshKeyIds' in kwargs: - ssh_key_ids = kwargs['sshKeyIds'] - if termination_time is None and 'terminationTime' in kwargs: - termination_time = kwargs['terminationTime'] - if user_data is None and 'userData' in kwargs: - user_data = kwargs['userData'] - if user_ssh_key_ids is None and 'userSshKeyIds' in kwargs: - user_ssh_key_ids = kwargs['userSshKeyIds'] - if wait_for_reservation_deprovision is None and 'waitForReservationDeprovision' in kwargs: - wait_for_reservation_deprovision = kwargs['waitForReservationDeprovision'] - if access_private_ipv4 is not None: - _setter("access_private_ipv4", access_private_ipv4) + pulumi.set(__self__, "access_private_ipv4", access_private_ipv4) if access_public_ipv4 is not None: - _setter("access_public_ipv4", access_public_ipv4) + pulumi.set(__self__, "access_public_ipv4", access_public_ipv4) if access_public_ipv6 is not None: - _setter("access_public_ipv6", access_public_ipv6) + pulumi.set(__self__, "access_public_ipv6", access_public_ipv6) if always_pxe is not None: - _setter("always_pxe", always_pxe) + pulumi.set(__self__, "always_pxe", always_pxe) if behavior is not None: - _setter("behavior", behavior) + pulumi.set(__self__, "behavior", behavior) if billing_cycle is not None: - _setter("billing_cycle", billing_cycle) + pulumi.set(__self__, "billing_cycle", billing_cycle) if created is not None: - _setter("created", created) + pulumi.set(__self__, "created", created) if custom_data is not None: - _setter("custom_data", custom_data) + pulumi.set(__self__, "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: - _setter("deployed_facility", deployed_facility) + pulumi.set(__self__, "deployed_facility", deployed_facility) if deployed_hardware_reservation_id is not None: - _setter("deployed_hardware_reservation_id", deployed_hardware_reservation_id) + pulumi.set(__self__, "deployed_hardware_reservation_id", deployed_hardware_reservation_id) if description is not None: - _setter("description", description) + pulumi.set(__self__, "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: - _setter("facilities", facilities) + pulumi.set(__self__, "facilities", facilities) if force_detach_volumes is not None: - _setter("force_detach_volumes", force_detach_volumes) + pulumi.set(__self__, "force_detach_volumes", force_detach_volumes) if hardware_reservation_id is not None: - _setter("hardware_reservation_id", hardware_reservation_id) + pulumi.set(__self__, "hardware_reservation_id", hardware_reservation_id) if hostname is not None: - _setter("hostname", hostname) + pulumi.set(__self__, "hostname", hostname) if ip_addresses is not None: - _setter("ip_addresses", ip_addresses) + pulumi.set(__self__, "ip_addresses", ip_addresses) if ipxe_script_url is not None: - _setter("ipxe_script_url", ipxe_script_url) + pulumi.set(__self__, "ipxe_script_url", ipxe_script_url) if locked is not None: - _setter("locked", locked) + pulumi.set(__self__, "locked", locked) if metro is not None: - _setter("metro", metro) + pulumi.set(__self__, "metro", metro) if network is not None: - _setter("network", network) + pulumi.set(__self__, "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: - _setter("network_type", network_type) + pulumi.set(__self__, "network_type", network_type) if operating_system is not None: - _setter("operating_system", operating_system) + pulumi.set(__self__, "operating_system", operating_system) if plan is not None: - _setter("plan", plan) + pulumi.set(__self__, "plan", plan) if ports is not None: - _setter("ports", ports) + pulumi.set(__self__, "ports", ports) if project_id is not None: - _setter("project_id", project_id) + pulumi.set(__self__, "project_id", project_id) if project_ssh_key_ids is not None: - _setter("project_ssh_key_ids", project_ssh_key_ids) + pulumi.set(__self__, "project_ssh_key_ids", project_ssh_key_ids) if reinstall is not None: - _setter("reinstall", reinstall) + pulumi.set(__self__, "reinstall", reinstall) if root_password is not None: - _setter("root_password", root_password) + pulumi.set(__self__, "root_password", root_password) + if sos_hostname is not None: + pulumi.set(__self__, "sos_hostname", sos_hostname) if ssh_key_ids is not None: - _setter("ssh_key_ids", ssh_key_ids) + pulumi.set(__self__, "ssh_key_ids", ssh_key_ids) if state is not None: - _setter("state", state) + pulumi.set(__self__, "state", state) if storage is not None: - _setter("storage", storage) + pulumi.set(__self__, "storage", storage) if tags is not None: - _setter("tags", tags) + pulumi.set(__self__, "tags", tags) if termination_time is not None: - _setter("termination_time", termination_time) + pulumi.set(__self__, "termination_time", termination_time) if updated is not None: - _setter("updated", updated) + pulumi.set(__self__, "updated", updated) if user_data is not None: - _setter("user_data", user_data) + pulumi.set(__self__, "user_data", user_data) if user_ssh_key_ids is not None: - _setter("user_ssh_key_ids", user_ssh_key_ids) + pulumi.set(__self__, "user_ssh_key_ids", user_ssh_key_ids) if wait_for_reservation_deprovision is not None: - _setter("wait_for_reservation_deprovision", wait_for_reservation_deprovision) + pulumi.set(__self__, "wait_for_reservation_deprovision", wait_for_reservation_deprovision) @property @pulumi.getter(name="accessPrivateIpv4") @@ -1221,6 +1009,18 @@ def root_password(self) -> Optional[pulumi.Input[str]]: def root_password(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "root_password", value) + @property + @pulumi.getter(name="sosHostname") + def sos_hostname(self) -> Optional[pulumi.Input[str]]: + """ + The hostname to use for [Serial over SSH](https://deploy.equinix.com/developers/docs/metal/resilience-recovery/serial-over-ssh/) access to the device + """ + return pulumi.get(self, "sos_hostname") + + @sos_hostname.setter + def sos_hostname(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "sos_hostname", value) + @property @pulumi.getter(name="sshKeyIds") def ssh_key_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: @@ -1489,10 +1289,6 @@ 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__, @@ -1531,11 +1327,6 @@ 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) @@ -1557,11 +1348,6 @@ def _setter(key, value): 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 @@ -1580,6 +1366,7 @@ def _setter(key, value): __props__.__dict__["network_type"] = None __props__.__dict__["ports"] = None __props__.__dict__["root_password"] = None + __props__.__dict__["sos_hostname"] = None __props__.__dict__["ssh_key_ids"] = None __props__.__dict__["state"] = None __props__.__dict__["updated"] = None @@ -1623,6 +1410,7 @@ def get(resource_name: str, project_ssh_key_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, reinstall: Optional[pulumi.Input[pulumi.InputType['DeviceReinstallArgs']]] = None, root_password: Optional[pulumi.Input[str]] = None, + sos_hostname: 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, @@ -1692,6 +1480,7 @@ def get(resource_name: str, modifying user_data, custom_data, or operating system. See Reinstall below for more details. :param pulumi.Input[str] root_password: Root password to the server (disabled after 24 hours). + :param pulumi.Input[str] sos_hostname: The hostname to use for [Serial over SSH](https://deploy.equinix.com/developers/docs/metal/resilience-recovery/serial-over-ssh/) access to the device :param pulumi.Input[Sequence[pulumi.Input[str]]] ssh_key_ids: List of IDs of SSH keys deployed in the device, can be both user and project SSH keys. :param pulumi.Input[str] state: The status of the device. :param pulumi.Input[str] storage: JSON for custom partitioning. Only usable on reserved hardware. More @@ -1741,6 +1530,7 @@ def get(resource_name: str, __props__.__dict__["project_ssh_key_ids"] = project_ssh_key_ids __props__.__dict__["reinstall"] = reinstall __props__.__dict__["root_password"] = root_password + __props__.__dict__["sos_hostname"] = sos_hostname __props__.__dict__["ssh_key_ids"] = ssh_key_ids __props__.__dict__["state"] = state __props__.__dict__["storage"] = storage @@ -2010,6 +1800,14 @@ def root_password(self) -> pulumi.Output[str]: """ return pulumi.get(self, "root_password") + @property + @pulumi.getter(name="sosHostname") + def sos_hostname(self) -> pulumi.Output[str]: + """ + The hostname to use for [Serial over SSH](https://deploy.equinix.com/developers/docs/metal/resilience-recovery/serial-over-ssh/) access to the device + """ + return pulumi.get(self, "sos_hostname") + @property @pulumi.getter(name="sshKeyIds") def ssh_key_ids(self) -> pulumi.Output[Sequence[str]]: diff --git a/sdk/python/pulumi_equinix/metal/device_network_type.py b/sdk/python/pulumi_equinix/metal/device_network_type.py index 6480d590..31bf1b8e 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, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['DeviceNetworkTypeArgs', 'DeviceNetworkType'] @@ -22,27 +22,8 @@ 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`. """ - 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: Optional[pulumi.Input[str]] = None, - type: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None, - **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) + pulumi.set(__self__, "device_id", device_id) + pulumi.set(__self__, "type", type) @property @pulumi.getter(name="deviceId") @@ -81,25 +62,10 @@ 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 device_id is None and 'deviceId' in kwargs: - device_id = kwargs['deviceId'] - if device_id is not None: - _setter("device_id", device_id) + pulumi.set(__self__, "device_id", device_id) if type is not None: - _setter("type", type) + pulumi.set(__self__, "type", type) @property @pulumi.getter(name="deviceId") @@ -199,10 +165,6 @@ 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 2cab5b0d..dd6c5485 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, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['GatewayArgs', 'Gateway'] @@ -27,41 +27,12 @@ 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`. """ - 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: 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 project_id is None and 'projectId' in kwargs: - project_id = kwargs['projectId'] - 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 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 private_ipv4_subnet_size is None and 'privateIpv4SubnetSize' in kwargs: - private_ipv4_subnet_size = kwargs['privateIpv4SubnetSize'] - - _setter("project_id", project_id) - _setter("vlan_id", vlan_id) + pulumi.set(__self__, "project_id", project_id) + pulumi.set(__self__, "vlan_id", vlan_id) if ip_reservation_id is not None: - _setter("ip_reservation_id", ip_reservation_id) + pulumi.set(__self__, "ip_reservation_id", ip_reservation_id) if private_ipv4_subnet_size is not None: - _setter("private_ipv4_subnet_size", private_ipv4_subnet_size) + pulumi.set(__self__, "private_ipv4_subnet_size", private_ipv4_subnet_size) @property @pulumi.getter(name="projectId") @@ -134,49 +105,18 @@ 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 ip_reservation_id is None and 'ipReservationId' in kwargs: - ip_reservation_id = kwargs['ipReservationId'] - if private_ipv4_subnet_size is None and 'privateIpv4SubnetSize' in kwargs: - private_ipv4_subnet_size = kwargs['privateIpv4SubnetSize'] - if project_id is None and 'projectId' in kwargs: - project_id = kwargs['projectId'] - if vlan_id is None and 'vlanId' in kwargs: - vlan_id = kwargs['vlanId'] - if vrf_id is None and 'vrfId' in kwargs: - vrf_id = kwargs['vrfId'] - if ip_reservation_id is not None: - _setter("ip_reservation_id", ip_reservation_id) + pulumi.set(__self__, "ip_reservation_id", ip_reservation_id) if private_ipv4_subnet_size is not None: - _setter("private_ipv4_subnet_size", private_ipv4_subnet_size) + pulumi.set(__self__, "private_ipv4_subnet_size", private_ipv4_subnet_size) if project_id is not None: - _setter("project_id", project_id) + pulumi.set(__self__, "project_id", project_id) if state is not None: - _setter("state", state) + pulumi.set(__self__, "state", state) if vlan_id is not None: - _setter("vlan_id", vlan_id) + pulumi.set(__self__, "vlan_id", vlan_id) if vrf_id is not None: - _setter("vrf_id", vrf_id) + pulumi.set(__self__, "vrf_id", vrf_id) @property @pulumi.getter(name="ipReservationId") @@ -328,10 +268,6 @@ 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 fbc1afe6..235f1294 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, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, 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__, access_private_ipv4=None, access_public_ipv4=None, access_public_ipv6=None, always_pxe=None, billing_cycle=None, description=None, device_id=None, facility=None, hardware_reservation_id=None, hostname=None, id=None, ipxe_script_url=None, metro=None, network_type=None, networks=None, operating_system=None, plan=None, ports=None, project_id=None, root_password=None, ssh_key_ids=None, state=None, storage=None, tags=None): + def __init__(__self__, access_private_ipv4=None, access_public_ipv4=None, access_public_ipv6=None, always_pxe=None, billing_cycle=None, description=None, device_id=None, facility=None, hardware_reservation_id=None, hostname=None, id=None, ipxe_script_url=None, metro=None, network_type=None, networks=None, operating_system=None, plan=None, ports=None, project_id=None, root_password=None, sos_hostname=None, ssh_key_ids=None, state=None, storage=None, tags=None): if access_private_ipv4 and not isinstance(access_private_ipv4, str): raise TypeError("Expected argument 'access_private_ipv4' to be a str") pulumi.set(__self__, "access_private_ipv4", access_private_ipv4) @@ -83,6 +83,9 @@ def __init__(__self__, access_private_ipv4=None, access_public_ipv4=None, access if root_password and not isinstance(root_password, str): raise TypeError("Expected argument 'root_password' to be a str") pulumi.set(__self__, "root_password", root_password) + if sos_hostname and not isinstance(sos_hostname, str): + raise TypeError("Expected argument 'sos_hostname' to be a str") + pulumi.set(__self__, "sos_hostname", sos_hostname) if ssh_key_ids and not isinstance(ssh_key_ids, list): raise TypeError("Expected argument 'ssh_key_ids' to be a list") pulumi.set(__self__, "ssh_key_ids", ssh_key_ids) @@ -247,6 +250,14 @@ def root_password(self) -> str: """ return pulumi.get(self, "root_password") + @property + @pulumi.getter(name="sosHostname") + def sos_hostname(self) -> str: + """ + The hostname to use for [Serial over SSH](https://deploy.equinix.com/developers/docs/metal/resilience-recovery/serial-over-ssh/) access to the device + """ + return pulumi.get(self, "sos_hostname") + @property @pulumi.getter(name="sshKeyIds") def ssh_key_ids(self) -> Sequence[str]: @@ -303,6 +314,7 @@ def __await__(self): ports=self.ports, project_id=self.project_id, root_password=self.root_password, + sos_hostname=self.sos_hostname, ssh_key_ids=self.ssh_key_ids, state=self.state, storage=self.storage, @@ -376,6 +388,7 @@ def get_device(device_id: Optional[str] = None, ports=pulumi.get(__ret__, 'ports'), project_id=pulumi.get(__ret__, 'project_id'), root_password=pulumi.get(__ret__, 'root_password'), + sos_hostname=pulumi.get(__ret__, 'sos_hostname'), ssh_key_ids=pulumi.get(__ret__, 'ssh_key_ids'), state=pulumi.get(__ret__, 'state'), storage=pulumi.get(__ret__, 'storage'), 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 e6790d4f..ed842429 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, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_equinix/metal/get_devices.py b/sdk/python/pulumi_equinix/metal/get_devices.py index 46089cb5..d82fd031 100644 --- a/sdk/python/pulumi_equinix/metal/get_devices.py +++ b/sdk/python/pulumi_equinix/metal/get_devices.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_equinix/metal/get_facility.py b/sdk/python/pulumi_equinix/metal/get_facility.py index 3055a262..dc473d1c 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, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_equinix/metal/get_gateway.py b/sdk/python/pulumi_equinix/metal/get_gateway.py index 7732d1a0..df32e098 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, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_equinix/metal/get_hardware_reservation.py b/sdk/python/pulumi_equinix/metal/get_hardware_reservation.py index 004022c0..20335b06 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, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_equinix/metal/get_interconnection.py b/sdk/python/pulumi_equinix/metal/get_interconnection.py index c9775122..618e180f 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, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs 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 8f58b64d..2fc2cc09 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, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_equinix/metal/get_metro.py b/sdk/python/pulumi_equinix/metal/get_metro.py index 4f22e8b4..1ca55c6b 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, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_equinix/metal/get_operating_system.py b/sdk/python/pulumi_equinix/metal/get_operating_system.py index 7ceef109..6e820d8c 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, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_equinix/metal/get_organization.py b/sdk/python/pulumi_equinix/metal/get_organization.py index e1349261..cc71aa02 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, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_equinix/metal/get_plans.py b/sdk/python/pulumi_equinix/metal/get_plans.py index 40083f8a..a6e1b785 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, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_equinix/metal/get_port.py b/sdk/python/pulumi_equinix/metal/get_port.py index 9f1c2ba7..117398ce 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, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ 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 9e640526..3b02a3f1 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, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_equinix/metal/get_project.py b/sdk/python/pulumi_equinix/metal/get_project.py index 6df1781e..b6b62c7b 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, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs 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 d1dff8c9..a198eeb8 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, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ 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 58420d03..43e38075 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, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ 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 85258253..3040cfef 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, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ 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 33a18318..01d08189 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, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_equinix/metal/get_virtual_circuit.py b/sdk/python/pulumi_equinix/metal/get_virtual_circuit.py index 3f52b18c..03b53a4f 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, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_equinix/metal/get_vlan.py b/sdk/python/pulumi_equinix/metal/get_vlan.py index 89d1f6ef..b8040caf 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, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_equinix/metal/get_vrf.py b/sdk/python/pulumi_equinix/metal/get_vrf.py index ab91d4e0..478ed7c2 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, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_equinix/metal/interconnection.py b/sdk/python/pulumi_equinix/metal/interconnection.py index 538103f7..5652ed02 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, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -47,84 +47,35 @@ def __init__(__self__, *, :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. """ - 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: 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, - 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 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 organization_id is None and 'organizationId' in kwargs: - organization_id = kwargs['organizationId'] - if project_id is None and 'projectId' in kwargs: - project_id = kwargs['projectId'] - if service_token_type is None and 'serviceTokenType' in kwargs: - service_token_type = kwargs['serviceTokenType'] - - _setter("redundancy", redundancy) - _setter("type", type) + pulumi.set(__self__, "redundancy", redundancy) + pulumi.set(__self__, "type", type) if contact_email is not None: - _setter("contact_email", contact_email) + pulumi.set(__self__, "contact_email", contact_email) if description is not None: - _setter("description", description) + pulumi.set(__self__, "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: - _setter("facility", facility) + pulumi.set(__self__, "facility", facility) if metro is not None: - _setter("metro", metro) + pulumi.set(__self__, "metro", metro) if mode is not None: - _setter("mode", mode) + pulumi.set(__self__, "mode", mode) if name is not None: - _setter("name", name) + pulumi.set(__self__, "name", name) if organization_id is not None: - _setter("organization_id", organization_id) + pulumi.set(__self__, "organization_id", organization_id) if project_id is not None: - _setter("project_id", project_id) + pulumi.set(__self__, "project_id", project_id) if service_token_type is not None: - _setter("service_token_type", service_token_type) + pulumi.set(__self__, "service_token_type", service_token_type) if speed is not None: - _setter("speed", speed) + pulumi.set(__self__, "speed", speed) if tags is not None: - _setter("tags", tags) + pulumi.set(__self__, "tags", tags) if vlans is not None: - _setter("vlans", vlans) + pulumi.set(__self__, "vlans", vlans) @property @pulumi.getter @@ -342,103 +293,48 @@ 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 contact_email is None and 'contactEmail' in kwargs: - contact_email = kwargs['contactEmail'] - if organization_id is None and 'organizationId' in kwargs: - organization_id = kwargs['organizationId'] - if project_id is None and 'projectId' in kwargs: - project_id = kwargs['projectId'] - if service_token_type is None and 'serviceTokenType' in kwargs: - service_token_type = kwargs['serviceTokenType'] - if service_tokens is None and 'serviceTokens' in kwargs: - service_tokens = kwargs['serviceTokens'] - if contact_email is not None: - _setter("contact_email", contact_email) + pulumi.set(__self__, "contact_email", contact_email) if description is not None: - _setter("description", description) + pulumi.set(__self__, "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: - _setter("facility", facility) + pulumi.set(__self__, "facility", facility) if metro is not None: - _setter("metro", metro) + pulumi.set(__self__, "metro", metro) if mode is not None: - _setter("mode", mode) + pulumi.set(__self__, "mode", mode) if name is not None: - _setter("name", name) + pulumi.set(__self__, "name", name) if organization_id is not None: - _setter("organization_id", organization_id) + pulumi.set(__self__, "organization_id", organization_id) if ports is not None: - _setter("ports", ports) + pulumi.set(__self__, "ports", ports) if project_id is not None: - _setter("project_id", project_id) + pulumi.set(__self__, "project_id", project_id) if redundancy is not None: - _setter("redundancy", redundancy) + pulumi.set(__self__, "redundancy", redundancy) if service_token_type is not None: - _setter("service_token_type", service_token_type) + pulumi.set(__self__, "service_token_type", service_token_type) if service_tokens is not None: - _setter("service_tokens", service_tokens) + pulumi.set(__self__, "service_tokens", service_tokens) if speed is not None: - _setter("speed", speed) + pulumi.set(__self__, "speed", speed) if status is not None: - _setter("status", status) + pulumi.set(__self__, "status", status) if tags is not None: - _setter("tags", tags) + pulumi.set(__self__, "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: - _setter("token", token) + pulumi.set(__self__, "token", token) if type is not None: - _setter("type", type) + pulumi.set(__self__, "type", type) if vlans is not None: - _setter("vlans", vlans) + pulumi.set(__self__, "vlans", vlans) @property @pulumi.getter(name="contactEmail") @@ -778,10 +674,6 @@ 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__, diff --git a/sdk/python/pulumi_equinix/metal/ip_attachment.py b/sdk/python/pulumi_equinix/metal/ip_attachment.py index f87021a9..4c210c91 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, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['IpAttachmentArgs', 'IpAttachment'] @@ -22,29 +22,8 @@ def __init__(__self__, *, and metro as the device. :param pulumi.Input[str] device_id: ID of device to which to assign the subnet. """ - 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: Optional[pulumi.Input[str]] = None, - device_id: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None, - **kwargs): - if cidr_notation is None and 'cidrNotation' in kwargs: - cidr_notation = kwargs['cidrNotation'] - 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) + pulumi.set(__self__, "cidr_notation", cidr_notation) + pulumi.set(__self__, "device_id", device_id) @property @pulumi.getter(name="cidrNotation") @@ -101,77 +80,32 @@ 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 address_family is None and 'addressFamily' in kwargs: - address_family = kwargs['addressFamily'] - if cidr_notation is None and 'cidrNotation' in kwargs: - cidr_notation = kwargs['cidrNotation'] - if device_id is None and 'deviceId' in kwargs: - device_id = kwargs['deviceId'] - if global_ is None and 'global' in kwargs: - global_ = kwargs['global'] - if vrf_id is None and 'vrfId' in kwargs: - vrf_id = kwargs['vrfId'] - if address is not None: - _setter("address", address) + pulumi.set(__self__, "address", address) if address_family is not None: - _setter("address_family", address_family) + pulumi.set(__self__, "address_family", address_family) if cidr is not None: - _setter("cidr", cidr) + pulumi.set(__self__, "cidr", cidr) if cidr_notation is not None: - _setter("cidr_notation", cidr_notation) + pulumi.set(__self__, "cidr_notation", cidr_notation) if device_id is not None: - _setter("device_id", device_id) + pulumi.set(__self__, "device_id", device_id) if gateway is not None: - _setter("gateway", gateway) + pulumi.set(__self__, "gateway", gateway) if global_ is not None: - _setter("global_", global_) + pulumi.set(__self__, "global_", global_) if manageable is not None: - _setter("manageable", manageable) + pulumi.set(__self__, "manageable", manageable) if management is not None: - _setter("management", management) + pulumi.set(__self__, "management", management) if netmask is not None: - _setter("netmask", netmask) + pulumi.set(__self__, "netmask", netmask) if network is not None: - _setter("network", network) + pulumi.set(__self__, "network", network) if public is not None: - _setter("public", public) + pulumi.set(__self__, "public", public) if vrf_id is not None: - _setter("vrf_id", vrf_id) + pulumi.set(__self__, "vrf_id", vrf_id) @property @pulumi.getter @@ -409,10 +343,6 @@ 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 d115f5e5..00cb9fc9 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, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -32,40 +32,17 @@ def __init__(__self__, *, :param pulumi.Input[str] twitter: Twitter handle. :param pulumi.Input[str] website: Website link. """ - 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: Optional[pulumi.Input['OrganizationAddressArgs']] = 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, - website: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None, - **kwargs): - if address is None: - raise TypeError("Missing 'address' argument") - - _setter("address", address) + pulumi.set(__self__, "address", address) if description is not None: - _setter("description", description) + pulumi.set(__self__, "description", description) if logo is not None: - _setter("logo", logo) + pulumi.set(__self__, "logo", logo) if name is not None: - _setter("name", name) + pulumi.set(__self__, "name", name) if twitter is not None: - _setter("twitter", twitter) + pulumi.set(__self__, "twitter", twitter) if website is not None: - _setter("website", website) + pulumi.set(__self__, "website", website) @property @pulumi.getter @@ -164,47 +141,22 @@ 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: - _setter("address", address) + pulumi.set(__self__, "address", address) if created is not None: - _setter("created", created) + pulumi.set(__self__, "created", created) if description is not None: - _setter("description", description) + pulumi.set(__self__, "description", description) if logo is not None: - _setter("logo", logo) + pulumi.set(__self__, "logo", logo) if name is not None: - _setter("name", name) + pulumi.set(__self__, "name", name) if twitter is not None: - _setter("twitter", twitter) + pulumi.set(__self__, "twitter", twitter) if updated is not None: - _setter("updated", updated) + pulumi.set(__self__, "updated", updated) if website is not None: - _setter("website", website) + pulumi.set(__self__, "website", website) @property @pulumi.getter @@ -390,10 +342,6 @@ 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__, @@ -414,11 +362,6 @@ 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 f18da473..74222c9b 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, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['OrganizationMemberArgs', 'OrganizationMember'] @@ -27,43 +27,12 @@ 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. """ - 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: 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 invitee is None: - raise TypeError("Missing 'invitee' argument") - if organization_id is None and 'organizationId' in kwargs: - organization_id = kwargs['organizationId'] - 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) - _setter("projects_ids", projects_ids) - _setter("roles", roles) + pulumi.set(__self__, "invitee", invitee) + pulumi.set(__self__, "organization_id", organization_id) + pulumi.set(__self__, "projects_ids", projects_ids) + pulumi.set(__self__, "roles", roles) if message is not None: - _setter("message", message) + pulumi.set(__self__, "message", message) @property @pulumi.getter @@ -152,61 +121,26 @@ 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 invited_by is None and 'invitedBy' in kwargs: - invited_by = kwargs['invitedBy'] - if organization_id is None and 'organizationId' in kwargs: - organization_id = kwargs['organizationId'] - if projects_ids is None and 'projectsIds' in kwargs: - projects_ids = kwargs['projectsIds'] - if created is not None: - _setter("created", created) + pulumi.set(__self__, "created", created) if invited_by is not None: - _setter("invited_by", invited_by) + pulumi.set(__self__, "invited_by", invited_by) if invitee is not None: - _setter("invitee", invitee) + pulumi.set(__self__, "invitee", invitee) if message is not None: - _setter("message", message) + pulumi.set(__self__, "message", message) if nonce is not None: - _setter("nonce", nonce) + pulumi.set(__self__, "nonce", nonce) if organization_id is not None: - _setter("organization_id", organization_id) + pulumi.set(__self__, "organization_id", organization_id) if projects_ids is not None: - _setter("projects_ids", projects_ids) + pulumi.set(__self__, "projects_ids", projects_ids) if roles is not None: - _setter("roles", roles) + pulumi.set(__self__, "roles", roles) if state is not None: - _setter("state", state) + pulumi.set(__self__, "state", state) if updated is not None: - _setter("updated", updated) + pulumi.set(__self__, "updated", updated) @property @pulumi.getter @@ -414,10 +348,6 @@ 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 c0120758..f320d740 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, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._enums import * @@ -67,21 +67,8 @@ 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 allow_changes is None and 'allowChanges' in kwargs: - allow_changes = kwargs['allowChanges'] - if allow_changes is not None: - _setter("allow_changes", allow_changes) + pulumi.set(__self__, "allow_changes", allow_changes) @property @pulumi.getter(name="allowChanges") @@ -127,30 +114,11 @@ def __init__(__self__, *, 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: Optional[str] = None, - cidr: Optional[int] = None, - reservation_ids: Optional[Sequence[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None, - **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) + pulumi.set(__self__, "type", type) if cidr is not None: - _setter("cidr", cidr) + pulumi.set(__self__, "cidr", cidr) if reservation_ids is not None: - _setter("reservation_ids", reservation_ids) + pulumi.set(__self__, "reservation_ids", reservation_ids) @property @pulumi.getter @@ -199,35 +167,16 @@ 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: - _setter("address", address) + pulumi.set(__self__, "address", address) if cidr is not None: - _setter("cidr", cidr) + pulumi.set(__self__, "cidr", cidr) if family is not None: - _setter("family", family) + pulumi.set(__self__, "family", family) if gateway is not None: - _setter("gateway", gateway) + pulumi.set(__self__, "gateway", gateway) if public is not None: - _setter("public", public) + pulumi.set(__self__, "public", public) @property @pulumi.getter @@ -285,35 +234,16 @@ 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: - _setter("bonded", bonded) + pulumi.set(__self__, "bonded", bonded) if id is not None: - _setter("id", id) + pulumi.set(__self__, "id", id) if mac is not None: - _setter("mac", mac) + pulumi.set(__self__, "mac", mac) if name is not None: - _setter("name", name) + pulumi.set(__self__, "name", name) if type is not None: - _setter("type", type) + pulumi.set(__self__, "type", type) @property @pulumi.getter @@ -389,31 +319,12 @@ 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 deprovision_fast is None and 'deprovisionFast' in kwargs: - deprovision_fast = kwargs['deprovisionFast'] - if preserve_data is None and 'preserveData' in kwargs: - preserve_data = kwargs['preserveData'] - if deprovision_fast is not None: - _setter("deprovision_fast", deprovision_fast) + pulumi.set(__self__, "deprovision_fast", deprovision_fast) if enabled is not None: - _setter("enabled", enabled) + pulumi.set(__self__, "enabled", enabled) if preserve_data is not None: - _setter("preserve_data", preserve_data) + pulumi.set(__self__, "preserve_data", preserve_data) @property @pulumi.getter(name="deprovisionFast") @@ -477,47 +388,20 @@ 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 link_status is None and 'linkStatus' in kwargs: - link_status = kwargs['linkStatus'] - if virtual_circuit_ids is None and 'virtualCircuitIds' in kwargs: - virtual_circuit_ids = kwargs['virtualCircuitIds'] - if id is not None: - _setter("id", id) + pulumi.set(__self__, "id", id) if link_status is not None: - _setter("link_status", link_status) + pulumi.set(__self__, "link_status", link_status) if name is not None: - _setter("name", name) + pulumi.set(__self__, "name", name) if role is not None: - _setter("role", role) + pulumi.set(__self__, "role", role) if speed is not None: - _setter("speed", speed) + pulumi.set(__self__, "speed", speed) if status is not None: - _setter("status", status) + pulumi.set(__self__, "status", status) if virtual_circuit_ids is not None: - _setter("virtual_circuit_ids", virtual_circuit_ids) + pulumi.set(__self__, "virtual_circuit_ids", virtual_circuit_ids) @property @pulumi.getter @@ -595,43 +479,18 @@ 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 expires_at is None and 'expiresAt' in kwargs: - expires_at = kwargs['expiresAt'] - if max_allowed_speed is None and 'maxAllowedSpeed' in kwargs: - max_allowed_speed = kwargs['maxAllowedSpeed'] - if expires_at is not None: - _setter("expires_at", expires_at) + pulumi.set(__self__, "expires_at", expires_at) if id is not None: - _setter("id", id) + pulumi.set(__self__, "id", id) if max_allowed_speed is not None: - _setter("max_allowed_speed", max_allowed_speed) + pulumi.set(__self__, "max_allowed_speed", max_allowed_speed) if role is not None: - _setter("role", role) + pulumi.set(__self__, "role", role) if state is not None: - _setter("state", state) + pulumi.set(__self__, "state", state) if type is not None: - _setter("type", type) + pulumi.set(__self__, "type", type) @property @pulumi.getter(name="expiresAt") @@ -699,41 +558,12 @@ def __init__(__self__, *, :param str zip_code: Zip Code. :param str state: State name. """ - 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: 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 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) - _setter("country", country) - _setter("zip_code", zip_code) + pulumi.set(__self__, "address", address) + pulumi.set(__self__, "city", city) + pulumi.set(__self__, "country", country) + pulumi.set(__self__, "zip_code", zip_code) if state is not None: - _setter("state", state) + pulumi.set(__self__, "state", state) @property @pulumi.getter @@ -811,41 +641,14 @@ 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. """ - 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: 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 asn is None: - raise TypeError("Missing 'asn' argument") - if deployment_type is None and 'deploymentType' in kwargs: - deployment_type = kwargs['deploymentType'] - 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) - _setter("deployment_type", deployment_type) + pulumi.set(__self__, "asn", asn) + pulumi.set(__self__, "deployment_type", deployment_type) if max_prefix is not None: - _setter("max_prefix", max_prefix) + pulumi.set(__self__, "max_prefix", max_prefix) if md5 is not None: - _setter("md5", md5) + pulumi.set(__self__, "md5", md5) if status is not None: - _setter("status", status) + pulumi.set(__self__, "status", status) @property @pulumi.getter @@ -942,99 +745,34 @@ def __init__(__self__, *, """ :param bool locked: Blocks deletion of the SpotMarketRequest device until the lock is disabled. """ - 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: 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, - 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 billing_cycle is None and 'billingCycle' in kwargs: - billing_cycle = kwargs['billingCycle'] - 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 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 ipxe_script_url is None and 'ipxeScriptUrl' in kwargs: - ipxe_script_url = kwargs['ipxeScriptUrl'] - if project_ssh_keys is None and 'projectSshKeys' in kwargs: - project_ssh_keys = kwargs['projectSshKeys'] - if termination_time is None and 'terminationTime' in kwargs: - termination_time = kwargs['terminationTime'] - if termintation_time is None and 'termintationTime' in kwargs: - termintation_time = kwargs['termintationTime'] - if user_ssh_keys is None and 'userSshKeys' in kwargs: - user_ssh_keys = kwargs['userSshKeys'] - - _setter("billing_cycle", billing_cycle) - _setter("hostname", hostname) - _setter("operating_system", operating_system) - _setter("plan", plan) + pulumi.set(__self__, "billing_cycle", billing_cycle) + pulumi.set(__self__, "hostname", hostname) + pulumi.set(__self__, "operating_system", operating_system) + pulumi.set(__self__, "plan", plan) if always_pxe is not None: - _setter("always_pxe", always_pxe) + pulumi.set(__self__, "always_pxe", always_pxe) if customdata is not None: - _setter("customdata", customdata) + pulumi.set(__self__, "customdata", customdata) if description is not None: - _setter("description", description) + pulumi.set(__self__, "description", description) if features is not None: - _setter("features", features) + pulumi.set(__self__, "features", features) if ipxe_script_url is not None: - _setter("ipxe_script_url", ipxe_script_url) + pulumi.set(__self__, "ipxe_script_url", ipxe_script_url) if locked is not None: - _setter("locked", locked) + pulumi.set(__self__, "locked", locked) if project_ssh_keys is not None: - _setter("project_ssh_keys", project_ssh_keys) + pulumi.set(__self__, "project_ssh_keys", project_ssh_keys) if tags is not None: - _setter("tags", tags) + pulumi.set(__self__, "tags", tags) if termination_time is not None: - _setter("termination_time", termination_time) + pulumi.set(__self__, "termination_time", termination_time) if termintation_time is not None: - _setter("termintation_time", termintation_time) + pulumi.set(__self__, "termintation_time", termintation_time) if user_ssh_keys is not None: - _setter("user_ssh_keys", user_ssh_keys) + pulumi.set(__self__, "user_ssh_keys", user_ssh_keys) if userdata is not None: - _setter("userdata", userdata) + pulumi.set(__self__, "userdata", userdata) @property @pulumi.getter(name="billingCycle") @@ -1148,82 +886,17 @@ 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. """ - 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: 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 address_family is None and 'addressFamily' in kwargs: - address_family = kwargs['addressFamily'] - 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 customer_as is None: - raise TypeError("Missing 'customer_as' argument") - if customer_ip is None and 'customerIp' in kwargs: - customer_ip = kwargs['customerIp'] - 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 md5_enabled is None: - raise TypeError("Missing 'md5_enabled' argument") - if md5_password is None and 'md5Password' in kwargs: - md5_password = kwargs['md5Password'] - 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 peer_as is None: - raise TypeError("Missing 'peer_as' argument") - if routes_ins is None and 'routesIns' in kwargs: - routes_ins = kwargs['routesIns'] - 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 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) - _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) + 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) if peer_ips is not None: - _setter("peer_ips", peer_ips) + pulumi.set(__self__, "peer_ips", peer_ips) @property @pulumi.getter(name="addressFamily") @@ -1315,25 +988,8 @@ def __init__(__self__, *, :param bool exact: (bool) Whether the route is exact. :param str route: CIDR expression of route (IP/mask). """ - GetDeviceBgpNeighborsBgpNeighborRoutesInResult._configure( - lambda key, value: pulumi.set(__self__, key, value), - exact=exact, - route=route, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - 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) + pulumi.set(__self__, "exact", exact) + pulumi.set(__self__, "route", route) @property @pulumi.getter @@ -1361,25 +1017,8 @@ def __init__(__self__, *, :param bool exact: (bool) Whether the route is exact. :param str route: CIDR expression of route (IP/mask). """ - GetDeviceBgpNeighborsBgpNeighborRoutesOutResult._configure( - lambda key, value: pulumi.set(__self__, key, value), - exact=exact, - route=route, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - 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) + pulumi.set(__self__, "exact", exact) + pulumi.set(__self__, "route", route) @property @pulumi.getter @@ -1413,40 +1052,11 @@ def __init__(__self__, *, :param str gateway: Address of router. :param bool public: Whether the address is routable from the Internet. """ - 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: 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) - _setter("family", family) - _setter("gateway", gateway) - _setter("public", public) + 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) @property @pulumi.getter @@ -1504,40 +1114,11 @@ 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`). """ - 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: 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) - _setter("mac", mac) - _setter("name", name) - _setter("type", type) + 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) @property @pulumi.getter @@ -1602,6 +1183,7 @@ def __init__(__self__, *, ports: Sequence['outputs.GetDevicesDevicePortResult'], project_id: str, root_password: str, + sos_hostname: str, ssh_key_ids: Sequence[str], state: str, storage: str, @@ -1609,156 +1191,30 @@ def __init__(__self__, *, """ :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: 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 access_private_ipv4 is None and 'accessPrivateIpv4' in kwargs: - access_private_ipv4 = kwargs['accessPrivateIpv4'] - 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 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 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 always_pxe is None: - raise TypeError("Missing 'always_pxe' argument") - if billing_cycle is None and 'billingCycle' in kwargs: - billing_cycle = kwargs['billingCycle'] - 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 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 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 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 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 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 project_id is None: - raise TypeError("Missing 'project_id' 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") - 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) - _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) + pulumi.set(__self__, "access_private_ipv4", access_private_ipv4) + pulumi.set(__self__, "access_public_ipv4", access_public_ipv4) + pulumi.set(__self__, "access_public_ipv6", access_public_ipv6) + pulumi.set(__self__, "always_pxe", always_pxe) + pulumi.set(__self__, "billing_cycle", billing_cycle) + pulumi.set(__self__, "description", description) + pulumi.set(__self__, "device_id", device_id) + pulumi.set(__self__, "facility", facility) + pulumi.set(__self__, "hardware_reservation_id", hardware_reservation_id) + pulumi.set(__self__, "hostname", hostname) + pulumi.set(__self__, "ipxe_script_url", ipxe_script_url) + pulumi.set(__self__, "metro", metro) + pulumi.set(__self__, "network_type", network_type) + pulumi.set(__self__, "networks", networks) + pulumi.set(__self__, "operating_system", operating_system) + pulumi.set(__self__, "plan", plan) + pulumi.set(__self__, "ports", ports) + pulumi.set(__self__, "project_id", project_id) + pulumi.set(__self__, "root_password", root_password) + pulumi.set(__self__, "sos_hostname", sos_hostname) + pulumi.set(__self__, "ssh_key_ids", ssh_key_ids) + pulumi.set(__self__, "state", state) + pulumi.set(__self__, "storage", storage) + pulumi.set(__self__, "tags", tags) @property @pulumi.getter(name="accessPrivateIpv4") @@ -1861,6 +1317,11 @@ def project_id(self) -> str: def root_password(self) -> str: return pulumi.get(self, "root_password") + @property + @pulumi.getter(name="sosHostname") + def sos_hostname(self) -> str: + return pulumi.get(self, "sos_hostname") + @property @pulumi.getter(name="sshKeyIds") def ssh_key_ids(self) -> Sequence[str]: @@ -1890,40 +1351,11 @@ def __init__(__self__, *, 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: 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) - _setter("family", family) - _setter("gateway", gateway) - _setter("public", public) + 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) @property @pulumi.getter @@ -1959,40 +1391,11 @@ def __init__(__self__, *, 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: 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) - _setter("mac", mac) - _setter("name", name) - _setter("type", type) + 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) @property @pulumi.getter @@ -2035,35 +1438,12 @@ def __init__(__self__, *, 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: Optional[str] = None, - values: Optional[Sequence[str]] = None, - all: Optional[bool] = None, - match_by: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None, - **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) - _setter("values", values) + pulumi.set(__self__, "attribute", attribute) + pulumi.set(__self__, "values", values) if all is not None: - _setter("all", all) + pulumi.set(__self__, "all", all) if match_by is not None: - _setter("match_by", match_by) + pulumi.set(__self__, "match_by", match_by) @property @pulumi.getter @@ -2108,24 +1488,9 @@ def __init__(__self__, *, """ :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: 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) + pulumi.set(__self__, "attribute", attribute) if direction is not None: - _setter("direction", direction) + pulumi.set(__self__, "direction", direction) @property @pulumi.getter @@ -2151,24 +1516,9 @@ def __init__(__self__, *, :param int quantity: Minimun number of devices that must be available in selected location. Default is `1`. """ - GetFacilityCapacityResult._configure( - lambda key, value: pulumi.set(__self__, key, value), - plan=plan, - quantity=quantity, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - 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) + pulumi.set(__self__, "plan", plan) if quantity is not None: - _setter("quantity", quantity) + pulumi.set(__self__, "quantity", quantity) @property @pulumi.getter @@ -2207,54 +1557,13 @@ def __init__(__self__, *, :param str status: Port status. :param Sequence[Any] virtual_circuit_ids: List of IDs of virtual cicruits attached to this port. """ - 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: 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 id is None: - raise TypeError("Missing 'id' argument") - if link_status is None and 'linkStatus' in kwargs: - link_status = kwargs['linkStatus'] - 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) - _setter("name", name) - _setter("role", role) - _setter("speed", speed) - _setter("status", status) - _setter("virtual_circuit_ids", virtual_circuit_ids) + 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) @property @pulumi.getter @@ -2329,49 +1638,12 @@ def __init__(__self__, *, :param str role: Port role - primary or secondary. :param str type: Token type, `a_side` or `z_side`. """ - 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: 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 expires_at is None and 'expiresAt' in kwargs: - expires_at = kwargs['expiresAt'] - 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) - _setter("max_allowed_speed", max_allowed_speed) - _setter("role", role) - _setter("state", state) - _setter("type", type) + 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) @property @pulumi.getter(name="expiresAt") @@ -2429,24 +1701,9 @@ def __init__(__self__, *, :param int quantity: Minimum number of devices that must be available in selected location. Default is `1`. """ - GetMetroCapacityResult._configure( - lambda key, value: pulumi.set(__self__, key, value), - plan=plan, - quantity=quantity, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - 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) + pulumi.set(__self__, "plan", plan) if quantity is not None: - _setter("quantity", quantity) + pulumi.set(__self__, "quantity", quantity) @property @pulumi.getter @@ -2481,42 +1738,11 @@ def __init__(__self__, *, :param str state: State name. :param str 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: 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 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) - _setter("country", country) - _setter("state", state) - _setter("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) @property @pulumi.getter @@ -2574,35 +1800,12 @@ def __init__(__self__, *, 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`. """ - 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: Optional[str] = None, - values: Optional[Sequence[str]] = None, - all: Optional[bool] = None, - match_by: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None, - **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) - _setter("values", values) + pulumi.set(__self__, "attribute", attribute) + pulumi.set(__self__, "values", values) if all is not None: - _setter("all", all) + pulumi.set(__self__, "all", all) if match_by is not None: - _setter("match_by", match_by) + pulumi.set(__self__, "match_by", match_by) @property @pulumi.getter @@ -2668,87 +1871,18 @@ def __init__(__self__, *, :param float pricing_month: plan monthly price :param str slug: plan 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: 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 available_in_metros is None and 'availableInMetros' in kwargs: - available_in_metros = kwargs['availableInMetros'] - 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 available_ins is None: - raise TypeError("Missing 'available_ins' argument") - if class_ is None and 'class' in kwargs: - class_ = kwargs['class'] - if class_ is None: - raise TypeError("Missing 'class_' argument") - if deployment_types is None and 'deploymentTypes' in kwargs: - deployment_types = kwargs['deploymentTypes'] - 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 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) - _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) + 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) @property @pulumi.getter(name="availableInMetros") @@ -2859,24 +1993,9 @@ 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 """ - GetPlansSortResult._configure( - lambda key, value: pulumi.set(__self__, key, value), - attribute=attribute, - direction=direction, - ) - @staticmethod - def _configure( - _setter: Callable[[Any, Any], None], - 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) + pulumi.set(__self__, "attribute", attribute) if direction is not None: - _setter("direction", direction) + pulumi.set(__self__, "direction", direction) @property @pulumi.getter @@ -2910,43 +2029,12 @@ 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). """ - 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: 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 asn is None: - raise TypeError("Missing 'asn' argument") - if deployment_type is None and 'deploymentType' in kwargs: - deployment_type = kwargs['deploymentType'] - 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) - _setter("max_prefix", max_prefix) - _setter("status", status) + pulumi.set(__self__, "asn", asn) + pulumi.set(__self__, "deployment_type", deployment_type) + pulumi.set(__self__, "max_prefix", max_prefix) + pulumi.set(__self__, "status", status) if md5 is not None: - _setter("md5", md5) + pulumi.set(__self__, "md5", md5) @property @pulumi.getter diff --git a/sdk/python/pulumi_equinix/metal/port.py b/sdk/python/pulumi_equinix/metal/port.py index c7a53f40..d78e1450 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, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['PortArgs', 'Port'] @@ -34,55 +34,18 @@ 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. """ - 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: 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, - 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 bonded is None: - raise TypeError("Missing 'bonded' argument") - if port_id is None and 'portId' in kwargs: - port_id = kwargs['portId'] - 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 reset_on_delete is None and 'resetOnDelete' in kwargs: - reset_on_delete = kwargs['resetOnDelete'] - if vlan_ids is None and 'vlanIds' in kwargs: - vlan_ids = kwargs['vlanIds'] - if vxlan_ids is None and 'vxlanIds' in kwargs: - vxlan_ids = kwargs['vxlanIds'] - - _setter("bonded", bonded) - _setter("port_id", port_id) + pulumi.set(__self__, "bonded", bonded) + pulumi.set(__self__, "port_id", port_id) if layer2 is not None: - _setter("layer2", layer2) + pulumi.set(__self__, "layer2", layer2) if native_vlan_id is not None: - _setter("native_vlan_id", native_vlan_id) + pulumi.set(__self__, "native_vlan_id", native_vlan_id) if reset_on_delete is not None: - _setter("reset_on_delete", reset_on_delete) + pulumi.set(__self__, "reset_on_delete", reset_on_delete) if vlan_ids is not None: - _setter("vlan_ids", vlan_ids) + pulumi.set(__self__, "vlan_ids", vlan_ids) if vxlan_ids is not None: - _setter("vxlan_ids", vxlan_ids) + pulumi.set(__self__, "vxlan_ids", vxlan_ids) @property @pulumi.getter @@ -210,89 +173,34 @@ 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 bond_id is None and 'bondId' in kwargs: - bond_id = kwargs['bondId'] - if bond_name is None and 'bondName' in kwargs: - bond_name = kwargs['bondName'] - if disbond_supported is None and 'disbondSupported' in kwargs: - disbond_supported = kwargs['disbondSupported'] - if native_vlan_id is None and 'nativeVlanId' in kwargs: - native_vlan_id = kwargs['nativeVlanId'] - if network_type is None and 'networkType' in kwargs: - network_type = kwargs['networkType'] - if port_id is None and 'portId' in kwargs: - port_id = kwargs['portId'] - if reset_on_delete is None and 'resetOnDelete' in kwargs: - reset_on_delete = kwargs['resetOnDelete'] - if vlan_ids is None and 'vlanIds' in kwargs: - vlan_ids = kwargs['vlanIds'] - if vxlan_ids is None and 'vxlanIds' in kwargs: - vxlan_ids = kwargs['vxlanIds'] - if bond_id is not None: - _setter("bond_id", bond_id) + pulumi.set(__self__, "bond_id", bond_id) if bond_name is not None: - _setter("bond_name", bond_name) + pulumi.set(__self__, "bond_name", bond_name) if bonded is not None: - _setter("bonded", bonded) + pulumi.set(__self__, "bonded", bonded) if disbond_supported is not None: - _setter("disbond_supported", disbond_supported) + pulumi.set(__self__, "disbond_supported", disbond_supported) if layer2 is not None: - _setter("layer2", layer2) + pulumi.set(__self__, "layer2", layer2) if mac is not None: - _setter("mac", mac) + pulumi.set(__self__, "mac", mac) if name is not None: - _setter("name", name) + pulumi.set(__self__, "name", name) if native_vlan_id is not None: - _setter("native_vlan_id", native_vlan_id) + pulumi.set(__self__, "native_vlan_id", native_vlan_id) if network_type is not None: - _setter("network_type", network_type) + pulumi.set(__self__, "network_type", network_type) if port_id is not None: - _setter("port_id", port_id) + pulumi.set(__self__, "port_id", port_id) if reset_on_delete is not None: - _setter("reset_on_delete", reset_on_delete) + pulumi.set(__self__, "reset_on_delete", reset_on_delete) if type is not None: - _setter("type", type) + pulumi.set(__self__, "type", type) if vlan_ids is not None: - _setter("vlan_ids", vlan_ids) + pulumi.set(__self__, "vlan_ids", vlan_ids) if vxlan_ids is not None: - _setter("vxlan_ids", vxlan_ids) + pulumi.set(__self__, "vxlan_ids", vxlan_ids) @property @pulumi.getter(name="bondId") @@ -541,10 +449,6 @@ 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 2b23b453..45a81a93 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, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['PortVlanAttachmentArgs', 'PortVlanAttachment'] @@ -31,46 +31,13 @@ def __init__(__self__, *, on a port, you can use `depends_on` pointing to another `metal.PortVlanAttachment`, just like in the layer2-individual example above. """ - 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: 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 device_id is None and 'deviceId' in kwargs: - device_id = kwargs['deviceId'] - 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 port_name is None: - raise TypeError("Missing 'port_name' argument") - if vlan_vnid is None and 'vlanVnid' in kwargs: - vlan_vnid = kwargs['vlanVnid'] - 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) - _setter("port_name", port_name) - _setter("vlan_vnid", vlan_vnid) + pulumi.set(__self__, "device_id", device_id) + pulumi.set(__self__, "port_name", port_name) + pulumi.set(__self__, "vlan_vnid", vlan_vnid) if force_bond is not None: - _setter("force_bond", force_bond) + pulumi.set(__self__, "force_bond", force_bond) if native is not None: - _setter("native", native) + pulumi.set(__self__, "native", native) @property @pulumi.getter(name="deviceId") @@ -161,55 +128,20 @@ 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 device_id is None and 'deviceId' in kwargs: - device_id = kwargs['deviceId'] - if force_bond is None and 'forceBond' in kwargs: - force_bond = kwargs['forceBond'] - if port_id is None and 'portId' in kwargs: - port_id = kwargs['portId'] - if port_name is None and 'portName' in kwargs: - port_name = kwargs['portName'] - if vlan_id is None and 'vlanId' in kwargs: - vlan_id = kwargs['vlanId'] - if vlan_vnid is None and 'vlanVnid' in kwargs: - vlan_vnid = kwargs['vlanVnid'] - if device_id is not None: - _setter("device_id", device_id) + pulumi.set(__self__, "device_id", device_id) if force_bond is not None: - _setter("force_bond", force_bond) + pulumi.set(__self__, "force_bond", force_bond) if native is not None: - _setter("native", native) + pulumi.set(__self__, "native", native) if port_id is not None: - _setter("port_id", port_id) + pulumi.set(__self__, "port_id", port_id) if port_name is not None: - _setter("port_name", port_name) + pulumi.set(__self__, "port_name", port_name) if vlan_id is not None: - _setter("vlan_id", vlan_id) + pulumi.set(__self__, "vlan_id", vlan_id) if vlan_vnid is not None: - _setter("vlan_vnid", vlan_vnid) + pulumi.set(__self__, "vlan_vnid", vlan_vnid) @property @pulumi.getter(name="deviceId") @@ -421,10 +353,6 @@ 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 fbeb8ad2..21ff6999 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, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -34,43 +34,16 @@ def __init__(__self__, *, :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 backend_transfer is None and 'backendTransfer' in kwargs: - backend_transfer = kwargs['backendTransfer'] - if bgp_config is None and 'bgpConfig' in kwargs: - bgp_config = kwargs['bgpConfig'] - if organization_id is None and 'organizationId' in kwargs: - organization_id = kwargs['organizationId'] - if payment_method_id is None and 'paymentMethodId' in kwargs: - payment_method_id = kwargs['paymentMethodId'] - if backend_transfer is not None: - _setter("backend_transfer", backend_transfer) + pulumi.set(__self__, "backend_transfer", backend_transfer) if bgp_config is not None: - _setter("bgp_config", bgp_config) + pulumi.set(__self__, "bgp_config", bgp_config) if name is not None: - _setter("name", name) + pulumi.set(__self__, "name", name) if organization_id is not None: - _setter("organization_id", organization_id) + pulumi.set(__self__, "organization_id", organization_id) if payment_method_id is not None: - _setter("payment_method_id", payment_method_id) + pulumi.set(__self__, "payment_method_id", payment_method_id) @property @pulumi.getter(name="backendTransfer") @@ -163,51 +136,20 @@ def __init__(__self__, *, 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 backend_transfer is None and 'backendTransfer' in kwargs: - backend_transfer = kwargs['backendTransfer'] - if bgp_config is None and 'bgpConfig' in kwargs: - bgp_config = kwargs['bgpConfig'] - if organization_id is None and 'organizationId' in kwargs: - organization_id = kwargs['organizationId'] - if payment_method_id is None and 'paymentMethodId' in kwargs: - payment_method_id = kwargs['paymentMethodId'] - if backend_transfer is not None: - _setter("backend_transfer", backend_transfer) + pulumi.set(__self__, "backend_transfer", backend_transfer) if bgp_config is not None: - _setter("bgp_config", bgp_config) + pulumi.set(__self__, "bgp_config", bgp_config) if created is not None: - _setter("created", created) + pulumi.set(__self__, "created", created) if name is not None: - _setter("name", name) + pulumi.set(__self__, "name", name) if organization_id is not None: - _setter("organization_id", organization_id) + pulumi.set(__self__, "organization_id", organization_id) if payment_method_id is not None: - _setter("payment_method_id", payment_method_id) + pulumi.set(__self__, "payment_method_id", payment_method_id) if updated is not None: - _setter("updated", updated) + pulumi.set(__self__, "updated", updated) @property @pulumi.getter(name="backendTransfer") @@ -395,10 +337,6 @@ 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__, @@ -419,11 +357,6 @@ 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 diff --git a/sdk/python/pulumi_equinix/metal/project_api_key.py b/sdk/python/pulumi_equinix/metal/project_api_key.py index f020288c..d6d254e7 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, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['ProjectApiKeyArgs', 'ProjectApiKey'] @@ -24,34 +24,9 @@ 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 """ - 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: 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 description is None: - raise TypeError("Missing 'description' 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") - 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) - _setter("read_only", read_only) + pulumi.set(__self__, "description", description) + pulumi.set(__self__, "project_id", project_id) + pulumi.set(__self__, "read_only", read_only) @property @pulumi.getter @@ -106,35 +81,14 @@ 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 project_id is None and 'projectId' in kwargs: - project_id = kwargs['projectId'] - if read_only is None and 'readOnly' in kwargs: - read_only = kwargs['readOnly'] - if description is not None: - _setter("description", description) + pulumi.set(__self__, "description", description) if project_id is not None: - _setter("project_id", project_id) + pulumi.set(__self__, "project_id", project_id) if read_only is not None: - _setter("read_only", read_only) + pulumi.set(__self__, "read_only", read_only) if token is not None: - _setter("token", token) + pulumi.set(__self__, "token", token) @property @pulumi.getter @@ -268,10 +222,6 @@ 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 1085d4e8..3a7e5c82 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, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['ProjectSshKeyArgs', 'ProjectSshKey'] @@ -23,33 +23,10 @@ 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. """ - 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: 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 project_id is None and 'projectId' in kwargs: - project_id = kwargs['projectId'] - 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) + pulumi.set(__self__, "project_id", project_id) + pulumi.set(__self__, "public_key", public_key) if name is not None: - _setter("name", name) + pulumi.set(__self__, "name", name) @property @pulumi.getter(name="projectId") @@ -108,49 +85,20 @@ 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 owner_id is None and 'ownerId' in kwargs: - owner_id = kwargs['ownerId'] - if project_id is None and 'projectId' in kwargs: - project_id = kwargs['projectId'] - if public_key is None and 'publicKey' in kwargs: - public_key = kwargs['publicKey'] - if created is not None: - _setter("created", created) + pulumi.set(__self__, "created", created) if fingerprint is not None: - _setter("fingerprint", fingerprint) + pulumi.set(__self__, "fingerprint", fingerprint) if name is not None: - _setter("name", name) + pulumi.set(__self__, "name", name) if owner_id is not None: - _setter("owner_id", owner_id) + pulumi.set(__self__, "owner_id", owner_id) if project_id is not None: - _setter("project_id", project_id) + pulumi.set(__self__, "project_id", project_id) if public_key is not None: - _setter("public_key", public_key) + pulumi.set(__self__, "public_key", public_key) if updated is not None: - _setter("updated", updated) + pulumi.set(__self__, "updated", updated) @property @pulumi.getter @@ -306,10 +254,6 @@ 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 813d34c9..5088a93f 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, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import _utilities from ._enums import * @@ -46,72 +46,29 @@ 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. """ - 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: Optional[pulumi.Input[str]] = None, - 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 project_id is None and 'projectId' in kwargs: - project_id = kwargs['projectId'] - 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 vrf_id is None and 'vrfId' in kwargs: - vrf_id = kwargs['vrfId'] - if wait_for_state is None and 'waitForState' in kwargs: - wait_for_state = kwargs['waitForState'] - - _setter("project_id", project_id) + pulumi.set(__self__, "project_id", project_id) if cidr is not None: - _setter("cidr", cidr) + pulumi.set(__self__, "cidr", cidr) if custom_data is not None: - _setter("custom_data", custom_data) + pulumi.set(__self__, "custom_data", custom_data) if description is not None: - _setter("description", description) + pulumi.set(__self__, "description", description) if facility is not None: - _setter("facility", facility) + pulumi.set(__self__, "facility", facility) if metro is not None: - _setter("metro", metro) + pulumi.set(__self__, "metro", metro) if network is not None: - _setter("network", network) + pulumi.set(__self__, "network", network) if quantity is not None: - _setter("quantity", quantity) + pulumi.set(__self__, "quantity", quantity) if tags is not None: - _setter("tags", tags) + pulumi.set(__self__, "tags", tags) if type is not None: - _setter("type", type) + pulumi.set(__self__, "type", type) if vrf_id is not None: - _setter("vrf_id", vrf_id) + pulumi.set(__self__, "vrf_id", vrf_id) if wait_for_state is not None: - _setter("wait_for_state", wait_for_state) + pulumi.set(__self__, "wait_for_state", wait_for_state) @property @pulumi.getter(name="projectId") @@ -311,113 +268,48 @@ 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 address_family is None and 'addressFamily' in kwargs: - address_family = kwargs['addressFamily'] - if cidr_notation is None and 'cidrNotation' in kwargs: - cidr_notation = kwargs['cidrNotation'] - if custom_data is None and 'customData' in kwargs: - custom_data = kwargs['customData'] - if global_ is None and 'global' in kwargs: - global_ = kwargs['global'] - if project_id is None and 'projectId' in kwargs: - project_id = kwargs['projectId'] - if vrf_id is None and 'vrfId' in kwargs: - vrf_id = kwargs['vrfId'] - if wait_for_state is None and 'waitForState' in kwargs: - wait_for_state = kwargs['waitForState'] - if address is not None: - _setter("address", address) + pulumi.set(__self__, "address", address) if address_family is not None: - _setter("address_family", address_family) + pulumi.set(__self__, "address_family", address_family) if cidr is not None: - _setter("cidr", cidr) + pulumi.set(__self__, "cidr", cidr) if cidr_notation is not None: - _setter("cidr_notation", cidr_notation) + pulumi.set(__self__, "cidr_notation", cidr_notation) if custom_data is not None: - _setter("custom_data", custom_data) + pulumi.set(__self__, "custom_data", custom_data) if description is not None: - _setter("description", description) + pulumi.set(__self__, "description", description) if facility is not None: - _setter("facility", facility) + pulumi.set(__self__, "facility", facility) if gateway is not None: - _setter("gateway", gateway) + pulumi.set(__self__, "gateway", gateway) if global_ is not None: - _setter("global_", global_) + pulumi.set(__self__, "global_", global_) if manageable is not None: - _setter("manageable", manageable) + pulumi.set(__self__, "manageable", manageable) if management is not None: - _setter("management", management) + pulumi.set(__self__, "management", management) if metro is not None: - _setter("metro", metro) + pulumi.set(__self__, "metro", metro) if netmask is not None: - _setter("netmask", netmask) + pulumi.set(__self__, "netmask", netmask) if network is not None: - _setter("network", network) + pulumi.set(__self__, "network", network) if project_id is not None: - _setter("project_id", project_id) + pulumi.set(__self__, "project_id", project_id) if public is not None: - _setter("public", public) + pulumi.set(__self__, "public", public) if quantity is not None: - _setter("quantity", quantity) + pulumi.set(__self__, "quantity", quantity) if tags is not None: - _setter("tags", tags) + pulumi.set(__self__, "tags", tags) if type is not None: - _setter("type", type) + pulumi.set(__self__, "type", type) if vrf_id is not None: - _setter("vrf_id", vrf_id) + pulumi.set(__self__, "vrf_id", vrf_id) if wait_for_state is not None: - _setter("wait_for_state", wait_for_state) + pulumi.set(__self__, "wait_for_state", wait_for_state) @property @pulumi.getter @@ -808,10 +700,6 @@ 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__, diff --git a/sdk/python/pulumi_equinix/metal/spot_market_request.py b/sdk/python/pulumi_equinix/metal/spot_market_request.py index b59b62c5..7e9687e7 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, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -40,67 +40,20 @@ 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. """ - 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: 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 devices_max is None and 'devicesMax' in kwargs: - devices_max = kwargs['devicesMax'] - 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 devices_min is None: - raise TypeError("Missing 'devices_min' argument") - if instance_parameters is None and 'instanceParameters' in kwargs: - instance_parameters = kwargs['instanceParameters'] - 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 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 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) - _setter("devices_min", devices_min) - _setter("instance_parameters", instance_parameters) - _setter("max_bid_price", max_bid_price) - _setter("project_id", project_id) + 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) 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: - _setter("facilities", facilities) + pulumi.set(__self__, "facilities", facilities) if metro is not None: - _setter("metro", metro) + pulumi.set(__self__, "metro", metro) if wait_for_devices is not None: - _setter("wait_for_devices", wait_for_devices) + pulumi.set(__self__, "wait_for_devices", wait_for_devices) @property @pulumi.getter(name="devicesMax") @@ -234,62 +187,25 @@ 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 devices_max is None and 'devicesMax' in kwargs: - devices_max = kwargs['devicesMax'] - if devices_min is None and 'devicesMin' in kwargs: - devices_min = kwargs['devicesMin'] - if instance_parameters is None and 'instanceParameters' in kwargs: - instance_parameters = kwargs['instanceParameters'] - if max_bid_price is None and 'maxBidPrice' in kwargs: - max_bid_price = kwargs['maxBidPrice'] - if project_id is None and 'projectId' in kwargs: - project_id = kwargs['projectId'] - if wait_for_devices is None and 'waitForDevices' in kwargs: - wait_for_devices = kwargs['waitForDevices'] - if devices_max is not None: - _setter("devices_max", devices_max) + pulumi.set(__self__, "devices_max", devices_max) if devices_min is not None: - _setter("devices_min", devices_min) + pulumi.set(__self__, "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: - _setter("facilities", facilities) + pulumi.set(__self__, "facilities", facilities) if instance_parameters is not None: - _setter("instance_parameters", instance_parameters) + pulumi.set(__self__, "instance_parameters", instance_parameters) if max_bid_price is not None: - _setter("max_bid_price", max_bid_price) + pulumi.set(__self__, "max_bid_price", max_bid_price) if metro is not None: - _setter("metro", metro) + pulumi.set(__self__, "metro", metro) if project_id is not None: - _setter("project_id", project_id) + pulumi.set(__self__, "project_id", project_id) if wait_for_devices is not None: - _setter("wait_for_devices", wait_for_devices) + pulumi.set(__self__, "wait_for_devices", wait_for_devices) @property @pulumi.getter(name="devicesMax") @@ -510,10 +426,6 @@ 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__, @@ -543,11 +455,6 @@ def _internal_init(__self__, raise TypeError("Missing required property 'devices_min'") __props__.__dict__["devices_min"] = devices_min __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 diff --git a/sdk/python/pulumi_equinix/metal/ssh_key.py b/sdk/python/pulumi_equinix/metal/ssh_key.py index a26e9c67..d9e56f6c 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, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['SshKeyArgs', 'SshKey'] @@ -22,26 +22,9 @@ def __init__(__self__, *, can be read using the file interpolation function :param pulumi.Input[str] name: The name of the SSH key for identification """ - 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: Optional[pulumi.Input[str]] = None, - name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None, - **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) + pulumi.set(__self__, "public_key", public_key) if name is not None: - _setter("name", name) + pulumi.set(__self__, "name", name) @property @pulumi.getter(name="publicKey") @@ -88,43 +71,18 @@ 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 owner_id is None and 'ownerId' in kwargs: - owner_id = kwargs['ownerId'] - if public_key is None and 'publicKey' in kwargs: - public_key = kwargs['publicKey'] - if created is not None: - _setter("created", created) + pulumi.set(__self__, "created", created) if fingerprint is not None: - _setter("fingerprint", fingerprint) + pulumi.set(__self__, "fingerprint", fingerprint) if name is not None: - _setter("name", name) + pulumi.set(__self__, "name", name) if owner_id is not None: - _setter("owner_id", owner_id) + pulumi.set(__self__, "owner_id", owner_id) if public_key is not None: - _setter("public_key", public_key) + pulumi.set(__self__, "public_key", public_key) if updated is not None: - _setter("updated", updated) + pulumi.set(__self__, "updated", updated) @property @pulumi.getter @@ -270,10 +228,6 @@ 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 a7466cab..70bc94a3 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, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['UserApiKeyArgs', 'UserApiKey'] @@ -22,27 +22,8 @@ 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 """ - 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: Optional[pulumi.Input[str]] = None, - read_only: Optional[pulumi.Input[bool]] = None, - opts: Optional[pulumi.ResourceOptions]=None, - **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) + pulumi.set(__self__, "description", description) + pulumi.set(__self__, "read_only", read_only) @property @pulumi.getter @@ -85,35 +66,14 @@ 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 read_only is None and 'readOnly' in kwargs: - read_only = kwargs['readOnly'] - if user_id is None and 'userId' in kwargs: - user_id = kwargs['userId'] - if description is not None: - _setter("description", description) + pulumi.set(__self__, "description", description) if read_only is not None: - _setter("read_only", read_only) + pulumi.set(__self__, "read_only", read_only) if token is not None: - _setter("token", token) + pulumi.set(__self__, "token", token) if user_id is not None: - _setter("user_id", user_id) + pulumi.set(__self__, "user_id", user_id) @property @pulumi.getter @@ -247,10 +207,6 @@ 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 fc20c145..792ccee9 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, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['VirtualCircuitArgs', 'VirtualCircuit'] @@ -51,96 +51,33 @@ 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. """ - 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: 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, - 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 connection_id is None and 'connectionId' in kwargs: - connection_id = kwargs['connectionId'] - 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 port_id is None: - raise TypeError("Missing 'port_id' 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") - if customer_ip is None and 'customerIp' in kwargs: - customer_ip = kwargs['customerIp'] - if metal_ip is None and 'metalIp' in kwargs: - metal_ip = kwargs['metalIp'] - if nni_vlan is None and 'nniVlan' in kwargs: - nni_vlan = kwargs['nniVlan'] - if peer_asn is None and 'peerAsn' in kwargs: - peer_asn = kwargs['peerAsn'] - if vlan_id is None and 'vlanId' in kwargs: - vlan_id = kwargs['vlanId'] - if vrf_id is None and 'vrfId' in kwargs: - vrf_id = kwargs['vrfId'] - - _setter("connection_id", connection_id) - _setter("port_id", port_id) - _setter("project_id", project_id) + pulumi.set(__self__, "connection_id", connection_id) + pulumi.set(__self__, "port_id", port_id) + pulumi.set(__self__, "project_id", project_id) if customer_ip is not None: - _setter("customer_ip", customer_ip) + pulumi.set(__self__, "customer_ip", customer_ip) if description is not None: - _setter("description", description) + pulumi.set(__self__, "description", description) if md5 is not None: - _setter("md5", md5) + pulumi.set(__self__, "md5", md5) if metal_ip is not None: - _setter("metal_ip", metal_ip) + pulumi.set(__self__, "metal_ip", metal_ip) if name is not None: - _setter("name", name) + pulumi.set(__self__, "name", name) if nni_vlan is not None: - _setter("nni_vlan", nni_vlan) + pulumi.set(__self__, "nni_vlan", nni_vlan) if peer_asn is not None: - _setter("peer_asn", peer_asn) + pulumi.set(__self__, "peer_asn", peer_asn) if speed is not None: - _setter("speed", speed) + pulumi.set(__self__, "speed", speed) if subnet is not None: - _setter("subnet", subnet) + pulumi.set(__self__, "subnet", subnet) if tags is not None: - _setter("tags", tags) + pulumi.set(__self__, "tags", tags) if vlan_id is not None: - _setter("vlan_id", vlan_id) + pulumi.set(__self__, "vlan_id", vlan_id) if vrf_id is not None: - _setter("vrf_id", vrf_id) + pulumi.set(__self__, "vrf_id", vrf_id) @property @pulumi.getter(name="connectionId") @@ -373,107 +310,42 @@ 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 connection_id is None and 'connectionId' in kwargs: - connection_id = kwargs['connectionId'] - if customer_ip is None and 'customerIp' in kwargs: - customer_ip = kwargs['customerIp'] - if metal_ip is None and 'metalIp' in kwargs: - metal_ip = kwargs['metalIp'] - if nni_vlan is None and 'nniVlan' in kwargs: - nni_vlan = kwargs['nniVlan'] - if nni_vnid is None and 'nniVnid' in kwargs: - nni_vnid = kwargs['nniVnid'] - if peer_asn is None and 'peerAsn' in kwargs: - peer_asn = kwargs['peerAsn'] - if port_id is None and 'portId' in kwargs: - port_id = kwargs['portId'] - if project_id is None and 'projectId' in kwargs: - project_id = kwargs['projectId'] - if vlan_id is None and 'vlanId' in kwargs: - vlan_id = kwargs['vlanId'] - if vrf_id is None and 'vrfId' in kwargs: - vrf_id = kwargs['vrfId'] - if connection_id is not None: - _setter("connection_id", connection_id) + pulumi.set(__self__, "connection_id", connection_id) if customer_ip is not None: - _setter("customer_ip", customer_ip) + pulumi.set(__self__, "customer_ip", customer_ip) if description is not None: - _setter("description", description) + pulumi.set(__self__, "description", description) if md5 is not None: - _setter("md5", md5) + pulumi.set(__self__, "md5", md5) if metal_ip is not None: - _setter("metal_ip", metal_ip) + pulumi.set(__self__, "metal_ip", metal_ip) if name is not None: - _setter("name", name) + pulumi.set(__self__, "name", name) if nni_vlan is not None: - _setter("nni_vlan", nni_vlan) + pulumi.set(__self__, "nni_vlan", nni_vlan) if nni_vnid is not None: - _setter("nni_vnid", nni_vnid) + pulumi.set(__self__, "nni_vnid", nni_vnid) if peer_asn is not None: - _setter("peer_asn", peer_asn) + pulumi.set(__self__, "peer_asn", peer_asn) if port_id is not None: - _setter("port_id", port_id) + pulumi.set(__self__, "port_id", port_id) if project_id is not None: - _setter("project_id", project_id) + pulumi.set(__self__, "project_id", project_id) if speed is not None: - _setter("speed", speed) + pulumi.set(__self__, "speed", speed) if status is not None: - _setter("status", status) + pulumi.set(__self__, "status", status) if subnet is not None: - _setter("subnet", subnet) + pulumi.set(__self__, "subnet", subnet) if tags is not None: - _setter("tags", tags) + pulumi.set(__self__, "tags", tags) if vlan_id is not None: - _setter("vlan_id", vlan_id) + pulumi.set(__self__, "vlan_id", vlan_id) if vnid is not None: - _setter("vnid", vnid) + pulumi.set(__self__, "vnid", vnid) if vrf_id is not None: - _setter("vrf_id", vrf_id) + pulumi.set(__self__, "vrf_id", vrf_id) @property @pulumi.getter(name="connectionId") @@ -815,10 +687,6 @@ 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 dfd41068..d931b28a 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, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import _utilities from ._enums import * @@ -28,41 +28,18 @@ def __init__(__self__, *, :param pulumi.Input[str] metro: Metro in which to create the VLAN :param pulumi.Input[int] vxlan: VLAN ID, must be unique in metro. """ - 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: 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 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) + pulumi.set(__self__, "project_id", project_id) if description is not None: - _setter("description", description) + pulumi.set(__self__, "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: - _setter("facility", facility) + pulumi.set(__self__, "facility", facility) if metro is not None: - _setter("metro", metro) + pulumi.set(__self__, "metro", metro) if vxlan is not None: - _setter("vxlan", vxlan) + pulumi.set(__self__, "vxlan", vxlan) @property @pulumi.getter(name="projectId") @@ -144,40 +121,19 @@ def __init__(__self__, *, :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 project_id is None and 'projectId' in kwargs: - project_id = kwargs['projectId'] - if description is not None: - _setter("description", description) + pulumi.set(__self__, "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: - _setter("facility", facility) + pulumi.set(__self__, "facility", facility) if metro is not None: - _setter("metro", metro) + pulumi.set(__self__, "metro", metro) if project_id is not None: - _setter("project_id", project_id) + pulumi.set(__self__, "project_id", project_id) if vxlan is not None: - _setter("vxlan", vxlan) + pulumi.set(__self__, "vxlan", vxlan) @property @pulumi.getter @@ -340,10 +296,6 @@ 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__, diff --git a/sdk/python/pulumi_equinix/metal/vrf.py b/sdk/python/pulumi_equinix/metal/vrf.py index cbe06695..6733fc85 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, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['VrfArgs', 'Vrf'] @@ -29,47 +29,16 @@ 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 """ - 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: 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 metro is None: - raise TypeError("Missing 'metro' 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") - if ip_ranges is None and 'ipRanges' in kwargs: - ip_ranges = kwargs['ipRanges'] - if local_asn is None and 'localAsn' in kwargs: - local_asn = kwargs['localAsn'] - - _setter("metro", metro) - _setter("project_id", project_id) + pulumi.set(__self__, "metro", metro) + pulumi.set(__self__, "project_id", project_id) if description is not None: - _setter("description", description) + pulumi.set(__self__, "description", description) if ip_ranges is not None: - _setter("ip_ranges", ip_ranges) + pulumi.set(__self__, "ip_ranges", ip_ranges) if local_asn is not None: - _setter("local_asn", local_asn) + pulumi.set(__self__, "local_asn", local_asn) if name is not None: - _setter("name", name) + pulumi.set(__self__, "name", name) @property @pulumi.getter @@ -162,45 +131,18 @@ 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 ip_ranges is None and 'ipRanges' in kwargs: - ip_ranges = kwargs['ipRanges'] - if local_asn is None and 'localAsn' in kwargs: - local_asn = kwargs['localAsn'] - if project_id is None and 'projectId' in kwargs: - project_id = kwargs['projectId'] - if description is not None: - _setter("description", description) + pulumi.set(__self__, "description", description) if ip_ranges is not None: - _setter("ip_ranges", ip_ranges) + pulumi.set(__self__, "ip_ranges", ip_ranges) if local_asn is not None: - _setter("local_asn", local_asn) + pulumi.set(__self__, "local_asn", local_asn) if metro is not None: - _setter("metro", metro) + pulumi.set(__self__, "metro", metro) if name is not None: - _setter("name", name) + pulumi.set(__self__, "name", name) if project_id is not None: - _setter("project_id", project_id) + pulumi.set(__self__, "project_id", project_id) @property @pulumi.getter @@ -376,10 +318,6 @@ 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 212cfc79..079231fd 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, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import _utilities from ._enums import * @@ -39,29 +39,12 @@ 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 acl_status is None and 'aclStatus' in kwargs: - acl_status = kwargs['aclStatus'] - if acl_status is not None: - _setter("acl_status", acl_status) + pulumi.set(__self__, "acl_status", acl_status) if name is not None: - _setter("name", name) + pulumi.set(__self__, "name", name) if uuid is not None: - _setter("uuid", uuid) + pulumi.set(__self__, "uuid", uuid) @property @pulumi.getter(name="aclStatus") @@ -122,64 +105,25 @@ 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. """ - 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: 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, - subnet: Optional[pulumi.Input[str]] = None, - subnets: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - opts: Optional[pulumi.ResourceOptions]=None, - **kwargs): - if dst_port is None and 'dstPort' in kwargs: - dst_port = kwargs['dstPort'] - 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 src_port is None: - raise TypeError("Missing 'src_port' argument") - if sequence_number is None and 'sequenceNumber' in kwargs: - sequence_number = kwargs['sequenceNumber'] - if source_type is None and 'sourceType' in kwargs: - source_type = kwargs['sourceType'] - - _setter("dst_port", dst_port) - _setter("protocol", protocol) - _setter("src_port", src_port) + pulumi.set(__self__, "dst_port", dst_port) + pulumi.set(__self__, "protocol", protocol) + pulumi.set(__self__, "src_port", src_port) if description is not None: - _setter("description", description) + pulumi.set(__self__, "description", description) if sequence_number is not None: - _setter("sequence_number", sequence_number) + pulumi.set(__self__, "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: - _setter("source_type", source_type) + pulumi.set(__self__, "source_type", source_type) if subnet is not None: - _setter("subnet", subnet) + pulumi.set(__self__, "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: - _setter("subnets", subnets) + pulumi.set(__self__, "subnets", subnets) @property @pulumi.getter(name="dstPort") @@ -297,44 +241,13 @@ 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. """ - 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: 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 cluster_name is None and 'clusterName' in kwargs: - cluster_name = kwargs['clusterName'] - 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 num_of_nodes is None and 'numOfNodes' in kwargs: - num_of_nodes = kwargs['numOfNodes'] - - _setter("cluster_name", cluster_name) - _setter("node0", node0) - _setter("node1", node1) + pulumi.set(__self__, "cluster_name", cluster_name) + pulumi.set(__self__, "node0", node0) + pulumi.set(__self__, "node1", node1) if cluster_id is not None: - _setter("cluster_id", cluster_id) + pulumi.set(__self__, "cluster_id", cluster_id) if num_of_nodes is not None: - _setter("num_of_nodes", num_of_nodes) + pulumi.set(__self__, "num_of_nodes", num_of_nodes) @property @pulumi.getter(name="clusterName") @@ -418,41 +331,16 @@ 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 license_file_id is None and 'licenseFileId' in kwargs: - license_file_id = kwargs['licenseFileId'] - if license_token is None and 'licenseToken' in kwargs: - license_token = kwargs['licenseToken'] - if vendor_configuration is None and 'vendorConfiguration' in kwargs: - vendor_configuration = kwargs['vendorConfiguration'] - if license_file_id is not None: - _setter("license_file_id", license_file_id) + pulumi.set(__self__, "license_file_id", license_file_id) if license_token is not None: - _setter("license_token", license_token) + pulumi.set(__self__, "license_token", license_token) if name is not None: - _setter("name", name) + pulumi.set(__self__, "name", name) if uuid is not None: - _setter("uuid", uuid) + pulumi.set(__self__, "uuid", uuid) if vendor_configuration is not None: - _setter("vendor_configuration", vendor_configuration) + pulumi.set(__self__, "vendor_configuration", vendor_configuration) @property @pulumi.getter(name="licenseFileId") @@ -538,47 +426,18 @@ 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 activation_key is None and 'activationKey' in kwargs: - activation_key = kwargs['activationKey'] - if admin_password is None and 'adminPassword' in kwargs: - admin_password = kwargs['adminPassword'] - if controller_fqdn is None and 'controllerFqdn' in kwargs: - controller_fqdn = kwargs['controllerFqdn'] - if root_password is None and 'rootPassword' in kwargs: - root_password = kwargs['rootPassword'] - if activation_key is not None: - _setter("activation_key", activation_key) + pulumi.set(__self__, "activation_key", activation_key) if admin_password is not None: - _setter("admin_password", admin_password) + pulumi.set(__self__, "admin_password", admin_password) if controller1 is not None: - _setter("controller1", controller1) + pulumi.set(__self__, "controller1", controller1) if controller_fqdn is not None: - _setter("controller_fqdn", controller_fqdn) + pulumi.set(__self__, "controller_fqdn", controller_fqdn) if hostname is not None: - _setter("hostname", hostname) + pulumi.set(__self__, "hostname", hostname) if root_password is not None: - _setter("root_password", root_password) + pulumi.set(__self__, "root_password", root_password) @property @pulumi.getter(name="activationKey") @@ -674,41 +533,16 @@ 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 license_file_id is None and 'licenseFileId' in kwargs: - license_file_id = kwargs['licenseFileId'] - if license_token is None and 'licenseToken' in kwargs: - license_token = kwargs['licenseToken'] - if vendor_configuration is None and 'vendorConfiguration' in kwargs: - vendor_configuration = kwargs['vendorConfiguration'] - if license_file_id is not None: - _setter("license_file_id", license_file_id) + pulumi.set(__self__, "license_file_id", license_file_id) if license_token is not None: - _setter("license_token", license_token) + pulumi.set(__self__, "license_token", license_token) if name is not None: - _setter("name", name) + pulumi.set(__self__, "name", name) if uuid is not None: - _setter("uuid", uuid) + pulumi.set(__self__, "uuid", uuid) if vendor_configuration is not None: - _setter("vendor_configuration", vendor_configuration) + pulumi.set(__self__, "vendor_configuration", vendor_configuration) @property @pulumi.getter(name="licenseFileId") @@ -794,47 +628,18 @@ 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 activation_key is None and 'activationKey' in kwargs: - activation_key = kwargs['activationKey'] - if admin_password is None and 'adminPassword' in kwargs: - admin_password = kwargs['adminPassword'] - if controller_fqdn is None and 'controllerFqdn' in kwargs: - controller_fqdn = kwargs['controllerFqdn'] - if root_password is None and 'rootPassword' in kwargs: - root_password = kwargs['rootPassword'] - if activation_key is not None: - _setter("activation_key", activation_key) + pulumi.set(__self__, "activation_key", activation_key) if admin_password is not None: - _setter("admin_password", admin_password) + pulumi.set(__self__, "admin_password", admin_password) if controller1 is not None: - _setter("controller1", controller1) + pulumi.set(__self__, "controller1", controller1) if controller_fqdn is not None: - _setter("controller_fqdn", controller_fqdn) + pulumi.set(__self__, "controller_fqdn", controller_fqdn) if hostname is not None: - _setter("hostname", hostname) + pulumi.set(__self__, "hostname", hostname) if root_password is not None: - _setter("root_password", root_password) + pulumi.set(__self__, "root_password", root_password) @property @pulumi.getter(name="activationKey") @@ -932,55 +737,22 @@ 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 assigned_type is None and 'assignedType' in kwargs: - assigned_type = kwargs['assignedType'] - if ip_address is None and 'ipAddress' in kwargs: - ip_address = kwargs['ipAddress'] - if mac_address is None and 'macAddress' in kwargs: - mac_address = kwargs['macAddress'] - if operational_status is None and 'operationalStatus' in kwargs: - operational_status = kwargs['operationalStatus'] - if assigned_type is not None: - _setter("assigned_type", assigned_type) + pulumi.set(__self__, "assigned_type", assigned_type) if id is not None: - _setter("id", id) + pulumi.set(__self__, "id", id) if ip_address is not None: - _setter("ip_address", ip_address) + pulumi.set(__self__, "ip_address", ip_address) if mac_address is not None: - _setter("mac_address", mac_address) + pulumi.set(__self__, "mac_address", mac_address) if name is not None: - _setter("name", name) + pulumi.set(__self__, "name", name) if operational_status is not None: - _setter("operational_status", operational_status) + pulumi.set(__self__, "operational_status", operational_status) if status is not None: - _setter("status", status) + pulumi.set(__self__, "status", status) if type is not None: - _setter("type", type) + pulumi.set(__self__, "type", type) @property @pulumi.getter(name="assignedType") @@ -1096,40 +868,15 @@ def __init__(__self__, *, :param pulumi.Input[str] status: device link provisioning status on a given device. One of `PROVISIONING`, `PROVISIONED`, `DEPROVISIONING`, `DEPROVISIONED`, `FAILED`. """ - 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: 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 id is None: - raise TypeError("Missing 'id' argument") - if interface_id is None and 'interfaceId' in kwargs: - interface_id = kwargs['interfaceId'] - if ip_address is None and 'ipAddress' in kwargs: - ip_address = kwargs['ipAddress'] - - _setter("id", id) + pulumi.set(__self__, "id", id) if asn is not None: - _setter("asn", asn) + pulumi.set(__self__, "asn", asn) if interface_id is not None: - _setter("interface_id", interface_id) + pulumi.set(__self__, "interface_id", interface_id) if ip_address is not None: - _setter("ip_address", ip_address) + pulumi.set(__self__, "ip_address", ip_address) if status is not None: - _setter("status", status) + pulumi.set(__self__, "status", status) @property @pulumi.getter @@ -1214,66 +961,21 @@ 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. """ - 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: 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 account_number is None and 'accountNumber' in kwargs: - account_number = kwargs['accountNumber'] - 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 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 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 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 src_zone_code is None and '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) + 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) 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: - _setter("dst_zone_code", dst_zone_code) + pulumi.set(__self__, "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: - _setter("src_zone_code", src_zone_code) + pulumi.set(__self__, "src_zone_code", src_zone_code) @property @pulumi.getter(name="accountNumber") @@ -1436,163 +1138,56 @@ def __init__(__self__, *, `systemIpAddress`. :param pulumi.Input[str] zone_code: Device location zone code. """ - 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: 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, - 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 account_number is None and 'accountNumber' in kwargs: - account_number = kwargs['accountNumber'] - 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 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 additional_bandwidth is None and 'additionalBandwidth' in kwargs: - additional_bandwidth = kwargs['additionalBandwidth'] - if cloud_init_file_id is None and 'cloudInitFileId' in kwargs: - cloud_init_file_id = kwargs['cloudInitFileId'] - if license_file is None and 'licenseFile' in kwargs: - license_file = kwargs['licenseFile'] - if license_file_id is None and 'licenseFileId' in kwargs: - license_file_id = kwargs['licenseFileId'] - if license_status is None and 'licenseStatus' in kwargs: - license_status = kwargs['licenseStatus'] - if license_token is None and 'licenseToken' in kwargs: - license_token = kwargs['licenseToken'] - if mgmt_acl_template_uuid is None and 'mgmtAclTemplateUuid' in kwargs: - mgmt_acl_template_uuid = kwargs['mgmtAclTemplateUuid'] - if redundancy_type is None and 'redundancyType' in kwargs: - redundancy_type = kwargs['redundancyType'] - if redundant_id is None and 'redundantId' in kwargs: - redundant_id = kwargs['redundantId'] - if ssh_ip_address is None and 'sshIpAddress' in kwargs: - ssh_ip_address = kwargs['sshIpAddress'] - if ssh_ip_fqdn is None and 'sshIpFqdn' in kwargs: - ssh_ip_fqdn = kwargs['sshIpFqdn'] - if ssh_key is None and 'sshKey' in kwargs: - ssh_key = kwargs['sshKey'] - if vendor_configuration is None and 'vendorConfiguration' in kwargs: - vendor_configuration = kwargs['vendorConfiguration'] - if wan_interface_id is None and 'wanInterfaceId' in kwargs: - wan_interface_id = kwargs['wanInterfaceId'] - if zone_code is None and 'zoneCode' in kwargs: - zone_code = kwargs['zoneCode'] - - _setter("account_number", account_number) - _setter("metro_code", metro_code) - _setter("name", name) - _setter("notifications", notifications) + pulumi.set(__self__, "account_number", account_number) + pulumi.set(__self__, "metro_code", metro_code) + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "notifications", notifications) if acl_template_id is not None: - _setter("acl_template_id", acl_template_id) + pulumi.set(__self__, "acl_template_id", acl_template_id) if additional_bandwidth is not None: - _setter("additional_bandwidth", additional_bandwidth) + pulumi.set(__self__, "additional_bandwidth", additional_bandwidth) if asn is not None: - _setter("asn", asn) + pulumi.set(__self__, "asn", asn) if cloud_init_file_id is not None: - _setter("cloud_init_file_id", cloud_init_file_id) + pulumi.set(__self__, "cloud_init_file_id", cloud_init_file_id) if hostname is not None: - _setter("hostname", hostname) + pulumi.set(__self__, "hostname", hostname) if ibx is not None: - _setter("ibx", ibx) + pulumi.set(__self__, "ibx", ibx) if interfaces is not None: - _setter("interfaces", interfaces) + pulumi.set(__self__, "interfaces", interfaces) if license_file is not None: - _setter("license_file", license_file) + pulumi.set(__self__, "license_file", license_file) if license_file_id is not None: - _setter("license_file_id", license_file_id) + pulumi.set(__self__, "license_file_id", license_file_id) if license_status is not None: - _setter("license_status", license_status) + pulumi.set(__self__, "license_status", license_status) if license_token is not None: - _setter("license_token", license_token) + pulumi.set(__self__, "license_token", license_token) if mgmt_acl_template_uuid is not None: - _setter("mgmt_acl_template_uuid", mgmt_acl_template_uuid) + pulumi.set(__self__, "mgmt_acl_template_uuid", mgmt_acl_template_uuid) if redundancy_type is not None: - _setter("redundancy_type", redundancy_type) + pulumi.set(__self__, "redundancy_type", redundancy_type) if redundant_id is not None: - _setter("redundant_id", redundant_id) + pulumi.set(__self__, "redundant_id", redundant_id) if region is not None: - _setter("region", region) + pulumi.set(__self__, "region", region) if ssh_ip_address is not None: - _setter("ssh_ip_address", ssh_ip_address) + pulumi.set(__self__, "ssh_ip_address", ssh_ip_address) if ssh_ip_fqdn is not None: - _setter("ssh_ip_fqdn", ssh_ip_fqdn) + pulumi.set(__self__, "ssh_ip_fqdn", ssh_ip_fqdn) if ssh_key is not None: - _setter("ssh_key", ssh_key) + pulumi.set(__self__, "ssh_key", ssh_key) if status is not None: - _setter("status", status) + pulumi.set(__self__, "status", status) if uuid is not None: - _setter("uuid", uuid) + pulumi.set(__self__, "uuid", uuid) if vendor_configuration is not None: - _setter("vendor_configuration", vendor_configuration) + pulumi.set(__self__, "vendor_configuration", vendor_configuration) if wan_interface_id is not None: - _setter("wan_interface_id", wan_interface_id) + pulumi.set(__self__, "wan_interface_id", wan_interface_id) if zone_code is not None: - _setter("zone_code", zone_code) + pulumi.set(__self__, "zone_code", zone_code) @property @pulumi.getter(name="accountNumber") @@ -1946,55 +1541,22 @@ 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 assigned_type is None and 'assignedType' in kwargs: - assigned_type = kwargs['assignedType'] - if ip_address is None and 'ipAddress' in kwargs: - ip_address = kwargs['ipAddress'] - if mac_address is None and 'macAddress' in kwargs: - mac_address = kwargs['macAddress'] - if operational_status is None and 'operationalStatus' in kwargs: - operational_status = kwargs['operationalStatus'] - if assigned_type is not None: - _setter("assigned_type", assigned_type) + pulumi.set(__self__, "assigned_type", assigned_type) if id is not None: - _setter("id", id) + pulumi.set(__self__, "id", id) if ip_address is not None: - _setter("ip_address", ip_address) + pulumi.set(__self__, "ip_address", ip_address) if mac_address is not None: - _setter("mac_address", mac_address) + pulumi.set(__self__, "mac_address", mac_address) if name is not None: - _setter("name", name) + pulumi.set(__self__, "name", name) if operational_status is not None: - _setter("operational_status", operational_status) + pulumi.set(__self__, "operational_status", operational_status) if status is not None: - _setter("status", status) + pulumi.set(__self__, "status", status) if type is not None: - _setter("type", type) + pulumi.set(__self__, "type", type) @property @pulumi.getter(name="assignedType") @@ -2101,27 +1663,8 @@ def __init__(__self__, *, """ :param pulumi.Input[str] username: username associated with given key. """ - 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: Optional[pulumi.Input[str]] = None, - username: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None, - **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) + pulumi.set(__self__, "key_name", key_name) + pulumi.set(__self__, "username", username) @property @pulumi.getter(name="keyName") @@ -2153,27 +1696,8 @@ def __init__(__self__, *, """ :param pulumi.Input[str] username: username associated with given key. """ - 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: Optional[pulumi.Input[str]] = None, - username: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None, - **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) + pulumi.set(__self__, "key_name", key_name) + pulumi.set(__self__, "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 ca387f47..f4e8bf2b 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, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._enums import * @@ -31,39 +31,16 @@ def __init__(__self__, *, :param pulumi.Input[str] metro_code: ACL template location metro code. :param pulumi.Input[str] name: ACL template name. """ - 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: 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 inbound_rules is None and 'inboundRules' in kwargs: - inbound_rules = kwargs['inboundRules'] - 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) + pulumi.set(__self__, "inbound_rules", inbound_rules) if description is not None: - _setter("description", description) + pulumi.set(__self__, "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: - _setter("metro_code", metro_code) + pulumi.set(__self__, "metro_code", metro_code) if name is not None: - _setter("name", name) + pulumi.set(__self__, "name", name) @property @pulumi.getter(name="inboundRules") @@ -146,63 +123,28 @@ def __init__(__self__, *, :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 device_acl_status is None and 'deviceAclStatus' in kwargs: - device_acl_status = kwargs['deviceAclStatus'] - if device_details is None and 'deviceDetails' in kwargs: - device_details = kwargs['deviceDetails'] - if device_id is None and 'deviceId' in kwargs: - device_id = kwargs['deviceId'] - if inbound_rules is None and 'inboundRules' in kwargs: - inbound_rules = kwargs['inboundRules'] - if metro_code is None and 'metroCode' in kwargs: - metro_code = kwargs['metroCode'] - if description is not None: - _setter("description", description) + pulumi.set(__self__, "description", description) if device_acl_status is not None: - _setter("device_acl_status", device_acl_status) + pulumi.set(__self__, "device_acl_status", device_acl_status) if device_details is not None: - _setter("device_details", device_details) + pulumi.set(__self__, "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: - _setter("device_id", device_id) + pulumi.set(__self__, "device_id", device_id) if inbound_rules is not None: - _setter("inbound_rules", inbound_rules) + pulumi.set(__self__, "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: - _setter("metro_code", metro_code) + pulumi.set(__self__, "metro_code", metro_code) if name is not None: - _setter("name", name) + pulumi.set(__self__, "name", name) if uuid is not None: - _setter("uuid", uuid) + pulumi.set(__self__, "uuid", uuid) @property @pulumi.getter @@ -423,10 +365,6 @@ 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__, diff --git a/sdk/python/pulumi_equinix/networkedge/bgp.py b/sdk/python/pulumi_equinix/networkedge/bgp.py index 1757e78f..422f586d 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, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['BgpArgs', 'Bgp'] @@ -30,56 +30,13 @@ 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. """ - 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: 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 connection_id is None and 'connectionId' in kwargs: - connection_id = kwargs['connectionId'] - 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 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 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 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 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) - _setter("local_asn", local_asn) - _setter("local_ip_address", local_ip_address) - _setter("remote_asn", remote_asn) - _setter("remote_ip_address", remote_ip_address) + 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) if authentication_key is not None: - _setter("authentication_key", authentication_key) + pulumi.set(__self__, "authentication_key", authentication_key) @property @pulumi.getter(name="connectionId") @@ -185,71 +142,26 @@ 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 authentication_key is None and 'authenticationKey' in kwargs: - authentication_key = kwargs['authenticationKey'] - if connection_id is None and 'connectionId' in kwargs: - connection_id = kwargs['connectionId'] - if device_id is None and 'deviceId' in kwargs: - device_id = kwargs['deviceId'] - if local_asn is None and 'localAsn' in kwargs: - local_asn = kwargs['localAsn'] - if local_ip_address is None and 'localIpAddress' in kwargs: - local_ip_address = kwargs['localIpAddress'] - if provisioning_status is None and 'provisioningStatus' in kwargs: - provisioning_status = kwargs['provisioningStatus'] - if remote_asn is None and 'remoteAsn' in kwargs: - remote_asn = kwargs['remoteAsn'] - if remote_ip_address is None and 'remoteIpAddress' in kwargs: - remote_ip_address = kwargs['remoteIpAddress'] - if authentication_key is not None: - _setter("authentication_key", authentication_key) + pulumi.set(__self__, "authentication_key", authentication_key) if connection_id is not None: - _setter("connection_id", connection_id) + pulumi.set(__self__, "connection_id", connection_id) if device_id is not None: - _setter("device_id", device_id) + pulumi.set(__self__, "device_id", device_id) if local_asn is not None: - _setter("local_asn", local_asn) + pulumi.set(__self__, "local_asn", local_asn) if local_ip_address is not None: - _setter("local_ip_address", local_ip_address) + pulumi.set(__self__, "local_ip_address", local_ip_address) if provisioning_status is not None: - _setter("provisioning_status", provisioning_status) + pulumi.set(__self__, "provisioning_status", provisioning_status) if remote_asn is not None: - _setter("remote_asn", remote_asn) + pulumi.set(__self__, "remote_asn", remote_asn) if remote_ip_address is not None: - _setter("remote_ip_address", remote_ip_address) + pulumi.set(__self__, "remote_ip_address", remote_ip_address) if state is not None: - _setter("state", state) + pulumi.set(__self__, "state", state) if uuid is not None: - _setter("uuid", uuid) + pulumi.set(__self__, "uuid", uuid) @property @pulumi.getter(name="authenticationKey") @@ -462,10 +374,6 @@ 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 bd286a71..e4ba2bae 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, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._enums import * @@ -94,189 +94,58 @@ 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 """ - 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: 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, - 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 account_number is None and 'accountNumber' in kwargs: - account_number = kwargs['accountNumber'] - 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 core_count is None: - raise TypeError("Missing 'core_count' argument") - if metro_code is None and 'metroCode' in kwargs: - metro_code = kwargs['metroCode'] - 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 package_code is None: - raise TypeError("Missing 'package_code' argument") - if term_length is None and 'termLength' in kwargs: - term_length = kwargs['termLength'] - 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 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 additional_bandwidth is None and 'additionalBandwidth' in kwargs: - additional_bandwidth = kwargs['additionalBandwidth'] - if cloud_init_file_id is None and 'cloudInitFileId' in kwargs: - cloud_init_file_id = kwargs['cloudInitFileId'] - if cluster_details is None and 'clusterDetails' in kwargs: - cluster_details = kwargs['clusterDetails'] - if interface_count is None and 'interfaceCount' in kwargs: - interface_count = kwargs['interfaceCount'] - if license_file is None and 'licenseFile' in kwargs: - license_file = kwargs['licenseFile'] - if license_file_id is None and 'licenseFileId' in kwargs: - license_file_id = kwargs['licenseFileId'] - if license_token is None and 'licenseToken' in kwargs: - license_token = kwargs['licenseToken'] - if mgmt_acl_template_uuid is None and 'mgmtAclTemplateUuid' in kwargs: - mgmt_acl_template_uuid = kwargs['mgmtAclTemplateUuid'] - if order_reference is None and 'orderReference' in kwargs: - order_reference = kwargs['orderReference'] - if purchase_order_number is None and 'purchaseOrderNumber' in kwargs: - purchase_order_number = kwargs['purchaseOrderNumber'] - if secondary_device is None and 'secondaryDevice' in kwargs: - secondary_device = kwargs['secondaryDevice'] - if self_managed is None and 'selfManaged' in kwargs: - self_managed = kwargs['selfManaged'] - if ssh_key is None and 'sshKey' in kwargs: - ssh_key = kwargs['sshKey'] - if throughput_unit is None and 'throughputUnit' in kwargs: - throughput_unit = kwargs['throughputUnit'] - if vendor_configuration is None and 'vendorConfiguration' in kwargs: - vendor_configuration = kwargs['vendorConfiguration'] - if wan_interface_id is None and '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) + 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) if acl_template_id is not None: - _setter("acl_template_id", acl_template_id) + pulumi.set(__self__, "acl_template_id", acl_template_id) if additional_bandwidth is not None: - _setter("additional_bandwidth", additional_bandwidth) + pulumi.set(__self__, "additional_bandwidth", additional_bandwidth) if byol is not None: - _setter("byol", byol) + pulumi.set(__self__, "byol", byol) if cloud_init_file_id is not None: - _setter("cloud_init_file_id", cloud_init_file_id) + pulumi.set(__self__, "cloud_init_file_id", cloud_init_file_id) if cluster_details is not None: - _setter("cluster_details", cluster_details) + pulumi.set(__self__, "cluster_details", cluster_details) if connectivity is not None: - _setter("connectivity", connectivity) + pulumi.set(__self__, "connectivity", connectivity) if hostname is not None: - _setter("hostname", hostname) + pulumi.set(__self__, "hostname", hostname) if interface_count is not None: - _setter("interface_count", interface_count) + pulumi.set(__self__, "interface_count", interface_count) if license_file is not None: - _setter("license_file", license_file) + pulumi.set(__self__, "license_file", license_file) if license_file_id is not None: - _setter("license_file_id", license_file_id) + pulumi.set(__self__, "license_file_id", license_file_id) if license_token is not None: - _setter("license_token", license_token) + pulumi.set(__self__, "license_token", license_token) if mgmt_acl_template_uuid is not None: - _setter("mgmt_acl_template_uuid", mgmt_acl_template_uuid) + pulumi.set(__self__, "mgmt_acl_template_uuid", mgmt_acl_template_uuid) if name is not None: - _setter("name", name) + pulumi.set(__self__, "name", name) if order_reference is not None: - _setter("order_reference", order_reference) + pulumi.set(__self__, "order_reference", order_reference) if purchase_order_number is not None: - _setter("purchase_order_number", purchase_order_number) + pulumi.set(__self__, "purchase_order_number", purchase_order_number) if secondary_device is not None: - _setter("secondary_device", secondary_device) + pulumi.set(__self__, "secondary_device", secondary_device) if self_managed is not None: - _setter("self_managed", self_managed) + pulumi.set(__self__, "self_managed", self_managed) if ssh_key is not None: - _setter("ssh_key", ssh_key) + pulumi.set(__self__, "ssh_key", ssh_key) if throughput is not None: - _setter("throughput", throughput) + pulumi.set(__self__, "throughput", throughput) if throughput_unit is not None: - _setter("throughput_unit", throughput_unit) + pulumi.set(__self__, "throughput_unit", throughput_unit) if vendor_configuration is not None: - _setter("vendor_configuration", vendor_configuration) + pulumi.set(__self__, "vendor_configuration", vendor_configuration) if wan_interface_id is not None: - _setter("wan_interface_id", wan_interface_id) + pulumi.set(__self__, "wan_interface_id", wan_interface_id) @property @pulumi.getter(name="accountNumber") @@ -760,241 +629,90 @@ 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 account_number is None and 'accountNumber' in kwargs: - account_number = kwargs['accountNumber'] - if acl_template_id is None and 'aclTemplateId' in kwargs: - acl_template_id = kwargs['aclTemplateId'] - if additional_bandwidth is None and 'additionalBandwidth' in kwargs: - additional_bandwidth = kwargs['additionalBandwidth'] - if cloud_init_file_id is None and 'cloudInitFileId' in kwargs: - cloud_init_file_id = kwargs['cloudInitFileId'] - if cluster_details is None and 'clusterDetails' in kwargs: - cluster_details = kwargs['clusterDetails'] - if core_count is None and 'coreCount' in kwargs: - core_count = kwargs['coreCount'] - if interface_count is None and 'interfaceCount' in kwargs: - interface_count = kwargs['interfaceCount'] - if license_file is None and 'licenseFile' in kwargs: - license_file = kwargs['licenseFile'] - if license_file_id is None and 'licenseFileId' in kwargs: - license_file_id = kwargs['licenseFileId'] - if license_status is None and 'licenseStatus' in kwargs: - license_status = kwargs['licenseStatus'] - if license_token is None and 'licenseToken' in kwargs: - license_token = kwargs['licenseToken'] - if metro_code is None and 'metroCode' in kwargs: - metro_code = kwargs['metroCode'] - if mgmt_acl_template_uuid is None and 'mgmtAclTemplateUuid' in kwargs: - mgmt_acl_template_uuid = kwargs['mgmtAclTemplateUuid'] - if order_reference is None and 'orderReference' in kwargs: - order_reference = kwargs['orderReference'] - if package_code is None and 'packageCode' in kwargs: - package_code = kwargs['packageCode'] - if purchase_order_number is None and 'purchaseOrderNumber' in kwargs: - purchase_order_number = kwargs['purchaseOrderNumber'] - if redundancy_type is None and 'redundancyType' in kwargs: - redundancy_type = kwargs['redundancyType'] - if redundant_id is None and 'redundantId' in kwargs: - redundant_id = kwargs['redundantId'] - if secondary_device is None and 'secondaryDevice' in kwargs: - secondary_device = kwargs['secondaryDevice'] - if self_managed is None and 'selfManaged' in kwargs: - self_managed = kwargs['selfManaged'] - if ssh_ip_address is None and 'sshIpAddress' in kwargs: - ssh_ip_address = kwargs['sshIpAddress'] - if ssh_ip_fqdn is None and 'sshIpFqdn' in kwargs: - ssh_ip_fqdn = kwargs['sshIpFqdn'] - if ssh_key is None and 'sshKey' in kwargs: - ssh_key = kwargs['sshKey'] - if term_length is None and 'termLength' in kwargs: - term_length = kwargs['termLength'] - if throughput_unit is None and 'throughputUnit' in kwargs: - throughput_unit = kwargs['throughputUnit'] - if type_code is None and 'typeCode' in kwargs: - type_code = kwargs['typeCode'] - if vendor_configuration is None and 'vendorConfiguration' in kwargs: - vendor_configuration = kwargs['vendorConfiguration'] - if wan_interface_id is None and 'wanInterfaceId' in kwargs: - wan_interface_id = kwargs['wanInterfaceId'] - if zone_code is None and 'zoneCode' in kwargs: - zone_code = kwargs['zoneCode'] - if account_number is not None: - _setter("account_number", account_number) + pulumi.set(__self__, "account_number", account_number) if acl_template_id is not None: - _setter("acl_template_id", acl_template_id) + pulumi.set(__self__, "acl_template_id", acl_template_id) if additional_bandwidth is not None: - _setter("additional_bandwidth", additional_bandwidth) + pulumi.set(__self__, "additional_bandwidth", additional_bandwidth) if asn is not None: - _setter("asn", asn) + pulumi.set(__self__, "asn", asn) if byol is not None: - _setter("byol", byol) + pulumi.set(__self__, "byol", byol) if cloud_init_file_id is not None: - _setter("cloud_init_file_id", cloud_init_file_id) + pulumi.set(__self__, "cloud_init_file_id", cloud_init_file_id) if cluster_details is not None: - _setter("cluster_details", cluster_details) + pulumi.set(__self__, "cluster_details", cluster_details) if connectivity is not None: - _setter("connectivity", connectivity) + pulumi.set(__self__, "connectivity", connectivity) if core_count is not None: - _setter("core_count", core_count) + pulumi.set(__self__, "core_count", core_count) if hostname is not None: - _setter("hostname", hostname) + pulumi.set(__self__, "hostname", hostname) if ibx is not None: - _setter("ibx", ibx) + pulumi.set(__self__, "ibx", ibx) if interface_count is not None: - _setter("interface_count", interface_count) + pulumi.set(__self__, "interface_count", interface_count) if interfaces is not None: - _setter("interfaces", interfaces) + pulumi.set(__self__, "interfaces", interfaces) if license_file is not None: - _setter("license_file", license_file) + pulumi.set(__self__, "license_file", license_file) if license_file_id is not None: - _setter("license_file_id", license_file_id) + pulumi.set(__self__, "license_file_id", license_file_id) if license_status is not None: - _setter("license_status", license_status) + pulumi.set(__self__, "license_status", license_status) if license_token is not None: - _setter("license_token", license_token) + pulumi.set(__self__, "license_token", license_token) if metro_code is not None: - _setter("metro_code", metro_code) + pulumi.set(__self__, "metro_code", metro_code) if mgmt_acl_template_uuid is not None: - _setter("mgmt_acl_template_uuid", mgmt_acl_template_uuid) + pulumi.set(__self__, "mgmt_acl_template_uuid", mgmt_acl_template_uuid) if name is not None: - _setter("name", name) + pulumi.set(__self__, "name", name) if notifications is not None: - _setter("notifications", notifications) + pulumi.set(__self__, "notifications", notifications) if order_reference is not None: - _setter("order_reference", order_reference) + pulumi.set(__self__, "order_reference", order_reference) if package_code is not None: - _setter("package_code", package_code) + pulumi.set(__self__, "package_code", package_code) if purchase_order_number is not None: - _setter("purchase_order_number", purchase_order_number) + pulumi.set(__self__, "purchase_order_number", purchase_order_number) if redundancy_type is not None: - _setter("redundancy_type", redundancy_type) + pulumi.set(__self__, "redundancy_type", redundancy_type) if redundant_id is not None: - _setter("redundant_id", redundant_id) + pulumi.set(__self__, "redundant_id", redundant_id) if region is not None: - _setter("region", region) + pulumi.set(__self__, "region", region) if secondary_device is not None: - _setter("secondary_device", secondary_device) + pulumi.set(__self__, "secondary_device", secondary_device) if self_managed is not None: - _setter("self_managed", self_managed) + pulumi.set(__self__, "self_managed", self_managed) if ssh_ip_address is not None: - _setter("ssh_ip_address", ssh_ip_address) + pulumi.set(__self__, "ssh_ip_address", ssh_ip_address) if ssh_ip_fqdn is not None: - _setter("ssh_ip_fqdn", ssh_ip_fqdn) + pulumi.set(__self__, "ssh_ip_fqdn", ssh_ip_fqdn) if ssh_key is not None: - _setter("ssh_key", ssh_key) + pulumi.set(__self__, "ssh_key", ssh_key) if status is not None: - _setter("status", status) + pulumi.set(__self__, "status", status) if term_length is not None: - _setter("term_length", term_length) + pulumi.set(__self__, "term_length", term_length) if throughput is not None: - _setter("throughput", throughput) + pulumi.set(__self__, "throughput", throughput) if throughput_unit is not None: - _setter("throughput_unit", throughput_unit) + pulumi.set(__self__, "throughput_unit", throughput_unit) if type_code is not None: - _setter("type_code", type_code) + pulumi.set(__self__, "type_code", type_code) if uuid is not None: - _setter("uuid", uuid) + pulumi.set(__self__, "uuid", uuid) if vendor_configuration is not None: - _setter("vendor_configuration", vendor_configuration) + pulumi.set(__self__, "vendor_configuration", vendor_configuration) if version is not None: - _setter("version", version) + pulumi.set(__self__, "version", version) if wan_interface_id is not None: - _setter("wan_interface_id", wan_interface_id) + pulumi.set(__self__, "wan_interface_id", wan_interface_id) if zone_code is not None: - _setter("zone_code", zone_code) + pulumi.set(__self__, "zone_code", zone_code) @property @pulumi.getter(name="accountNumber") @@ -1777,10 +1495,6 @@ 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__, @@ -1832,11 +1546,6 @@ 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: @@ -1860,18 +1569,8 @@ def _setter(key, value): 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'") diff --git a/sdk/python/pulumi_equinix/networkedge/device_link.py b/sdk/python/pulumi_equinix/networkedge/device_link.py index c511f805..7cda26f6 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, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -30,32 +30,13 @@ def __init__(__self__, *, :param pulumi.Input[str] subnet: device link subnet in CIDR format. Not required for link between self configured 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: 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) + pulumi.set(__self__, "devices", devices) if links is not None: - _setter("links", links) + pulumi.set(__self__, "links", links) if name is not None: - _setter("name", name) + pulumi.set(__self__, "name", name) if subnet is not None: - _setter("subnet", subnet) + pulumi.set(__self__, "subnet", subnet) @property @pulumi.getter @@ -131,39 +112,18 @@ 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: - _setter("devices", devices) + pulumi.set(__self__, "devices", devices) if links is not None: - _setter("links", links) + pulumi.set(__self__, "links", links) if name is not None: - _setter("name", name) + pulumi.set(__self__, "name", name) if status is not None: - _setter("status", status) + pulumi.set(__self__, "status", status) if subnet is not None: - _setter("subnet", subnet) + pulumi.set(__self__, "subnet", subnet) if uuid is not None: - _setter("uuid", uuid) + pulumi.set(__self__, "uuid", uuid) @property @pulumi.getter @@ -374,10 +334,6 @@ 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 5ee56cc6..bf458c43 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, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_equinix/networkedge/get_device.py b/sdk/python/pulumi_equinix/networkedge/get_device.py index c08603e6..1cbfd707 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, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_equinix/networkedge/get_device_platform.py b/sdk/python/pulumi_equinix/networkedge/get_device_platform.py index d1a1a544..05e31cab 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, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_equinix/networkedge/get_device_software.py b/sdk/python/pulumi_equinix/networkedge/get_device_software.py index e0dd882d..edfce61a 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, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_equinix/networkedge/get_device_type.py b/sdk/python/pulumi_equinix/networkedge/get_device_type.py index e43d9743..1a33dd82 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, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_equinix/networkedge/network_file.py b/sdk/python/pulumi_equinix/networkedge/network_file.py index 9788fce9..9165e183 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, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import _utilities from .. import _enums as _root_enums from ._enums import * @@ -35,60 +35,13 @@ def __init__(__self__, *, :param pulumi.Input[bool] self_managed: Boolean value that determines device management mode, i.e., `self-managed` or `Equinix-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: 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 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 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 file_name is None: - raise TypeError("Missing 'file_name' argument") - if metro_code is None and 'metroCode' in kwargs: - metro_code = kwargs['metroCode'] - 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 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) - _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) + 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) @property @pulumi.getter @@ -203,61 +156,24 @@ 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 device_type_code is None and 'deviceTypeCode' in kwargs: - device_type_code = kwargs['deviceTypeCode'] - if file_name is None and 'fileName' in kwargs: - file_name = kwargs['fileName'] - if metro_code is None and 'metroCode' in kwargs: - metro_code = kwargs['metroCode'] - if process_type is None and 'processType' in kwargs: - process_type = kwargs['processType'] - if self_managed is None and 'selfManaged' in kwargs: - self_managed = kwargs['selfManaged'] - if byol is not None: - _setter("byol", byol) + pulumi.set(__self__, "byol", byol) if content is not None: - _setter("content", content) + pulumi.set(__self__, "content", content) if device_type_code is not None: - _setter("device_type_code", device_type_code) + pulumi.set(__self__, "device_type_code", device_type_code) if file_name is not None: - _setter("file_name", file_name) + pulumi.set(__self__, "file_name", file_name) if metro_code is not None: - _setter("metro_code", metro_code) + pulumi.set(__self__, "metro_code", metro_code) if process_type is not None: - _setter("process_type", process_type) + pulumi.set(__self__, "process_type", process_type) if self_managed is not None: - _setter("self_managed", self_managed) + pulumi.set(__self__, "self_managed", self_managed) if status is not None: - _setter("status", status) + pulumi.set(__self__, "status", status) if uuid is not None: - _setter("uuid", uuid) + pulumi.set(__self__, "uuid", uuid) @property @pulumi.getter @@ -467,10 +383,6 @@ 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 4426f9fe..98c815f8 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, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._enums import * @@ -67,29 +67,12 @@ 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 acl_status is None and 'aclStatus' in kwargs: - acl_status = kwargs['aclStatus'] - if acl_status is not None: - _setter("acl_status", acl_status) + pulumi.set(__self__, "acl_status", acl_status) if name is not None: - _setter("name", name) + pulumi.set(__self__, "name", name) if uuid is not None: - _setter("uuid", uuid) + pulumi.set(__self__, "uuid", uuid) @property @pulumi.getter(name="aclStatus") @@ -161,58 +144,19 @@ 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. """ - 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: 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, - subnet: Optional[str] = None, - subnets: Optional[Sequence[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None, - **kwargs): - if dst_port is None and 'dstPort' in kwargs: - dst_port = kwargs['dstPort'] - 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 src_port is None: - raise TypeError("Missing 'src_port' argument") - if sequence_number is None and 'sequenceNumber' in kwargs: - sequence_number = kwargs['sequenceNumber'] - if source_type is None and 'sourceType' in kwargs: - source_type = kwargs['sourceType'] - - _setter("dst_port", dst_port) - _setter("protocol", protocol) - _setter("src_port", src_port) + pulumi.set(__self__, "dst_port", dst_port) + pulumi.set(__self__, "protocol", protocol) + pulumi.set(__self__, "src_port", src_port) if description is not None: - _setter("description", description) + pulumi.set(__self__, "description", description) if sequence_number is not None: - _setter("sequence_number", sequence_number) + pulumi.set(__self__, "sequence_number", sequence_number) if source_type is not None: - _setter("source_type", source_type) + pulumi.set(__self__, "source_type", source_type) if subnet is not None: - _setter("subnet", subnet) + pulumi.set(__self__, "subnet", subnet) if subnets is not None: - _setter("subnets", subnets) + pulumi.set(__self__, "subnets", subnets) @property @pulumi.getter(name="dstPort") @@ -319,44 +263,13 @@ def __init__(__self__, *, :param str cluster_id: The ID of the cluster. :param int num_of_nodes: The number of nodes in the cluster. """ - 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: 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 cluster_name is None and 'clusterName' in kwargs: - cluster_name = kwargs['clusterName'] - 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 num_of_nodes is None and 'numOfNodes' in kwargs: - num_of_nodes = kwargs['numOfNodes'] - - _setter("cluster_name", cluster_name) - _setter("node0", node0) - _setter("node1", node1) + pulumi.set(__self__, "cluster_name", cluster_name) + pulumi.set(__self__, "node0", node0) + pulumi.set(__self__, "node1", node1) if cluster_id is not None: - _setter("cluster_id", cluster_id) + pulumi.set(__self__, "cluster_id", cluster_id) if num_of_nodes is not None: - _setter("num_of_nodes", num_of_nodes) + pulumi.set(__self__, "num_of_nodes", num_of_nodes) @property @pulumi.getter(name="clusterName") @@ -441,41 +354,16 @@ 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 license_file_id is None and 'licenseFileId' in kwargs: - license_file_id = kwargs['licenseFileId'] - if license_token is None and 'licenseToken' in kwargs: - license_token = kwargs['licenseToken'] - if vendor_configuration is None and 'vendorConfiguration' in kwargs: - vendor_configuration = kwargs['vendorConfiguration'] - if license_file_id is not None: - _setter("license_file_id", license_file_id) + pulumi.set(__self__, "license_file_id", license_file_id) if license_token is not None: - _setter("license_token", license_token) + pulumi.set(__self__, "license_token", license_token) if name is not None: - _setter("name", name) + pulumi.set(__self__, "name", name) if uuid is not None: - _setter("uuid", uuid) + pulumi.set(__self__, "uuid", uuid) if vendor_configuration is not None: - _setter("vendor_configuration", vendor_configuration) + pulumi.set(__self__, "vendor_configuration", vendor_configuration) @property @pulumi.getter(name="licenseFileId") @@ -564,47 +452,18 @@ 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 activation_key is None and 'activationKey' in kwargs: - activation_key = kwargs['activationKey'] - if admin_password is None and 'adminPassword' in kwargs: - admin_password = kwargs['adminPassword'] - if controller_fqdn is None and 'controllerFqdn' in kwargs: - controller_fqdn = kwargs['controllerFqdn'] - if root_password is None and 'rootPassword' in kwargs: - root_password = kwargs['rootPassword'] - if activation_key is not None: - _setter("activation_key", activation_key) + pulumi.set(__self__, "activation_key", activation_key) if admin_password is not None: - _setter("admin_password", admin_password) + pulumi.set(__self__, "admin_password", admin_password) if controller1 is not None: - _setter("controller1", controller1) + pulumi.set(__self__, "controller1", controller1) if controller_fqdn is not None: - _setter("controller_fqdn", controller_fqdn) + pulumi.set(__self__, "controller_fqdn", controller_fqdn) if hostname is not None: - _setter("hostname", hostname) + pulumi.set(__self__, "hostname", hostname) if root_password is not None: - _setter("root_password", root_password) + pulumi.set(__self__, "root_password", root_password) @property @pulumi.getter(name="activationKey") @@ -697,41 +556,16 @@ 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 license_file_id is None and 'licenseFileId' in kwargs: - license_file_id = kwargs['licenseFileId'] - if license_token is None and 'licenseToken' in kwargs: - license_token = kwargs['licenseToken'] - if vendor_configuration is None and 'vendorConfiguration' in kwargs: - vendor_configuration = kwargs['vendorConfiguration'] - if license_file_id is not None: - _setter("license_file_id", license_file_id) + pulumi.set(__self__, "license_file_id", license_file_id) if license_token is not None: - _setter("license_token", license_token) + pulumi.set(__self__, "license_token", license_token) if name is not None: - _setter("name", name) + pulumi.set(__self__, "name", name) if uuid is not None: - _setter("uuid", uuid) + pulumi.set(__self__, "uuid", uuid) if vendor_configuration is not None: - _setter("vendor_configuration", vendor_configuration) + pulumi.set(__self__, "vendor_configuration", vendor_configuration) @property @pulumi.getter(name="licenseFileId") @@ -820,47 +654,18 @@ 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 activation_key is None and 'activationKey' in kwargs: - activation_key = kwargs['activationKey'] - if admin_password is None and 'adminPassword' in kwargs: - admin_password = kwargs['adminPassword'] - if controller_fqdn is None and 'controllerFqdn' in kwargs: - controller_fqdn = kwargs['controllerFqdn'] - if root_password is None and 'rootPassword' in kwargs: - root_password = kwargs['rootPassword'] - if activation_key is not None: - _setter("activation_key", activation_key) + pulumi.set(__self__, "activation_key", activation_key) if admin_password is not None: - _setter("admin_password", admin_password) + pulumi.set(__self__, "admin_password", admin_password) if controller1 is not None: - _setter("controller1", controller1) + pulumi.set(__self__, "controller1", controller1) if controller_fqdn is not None: - _setter("controller_fqdn", controller_fqdn) + pulumi.set(__self__, "controller_fqdn", controller_fqdn) if hostname is not None: - _setter("hostname", hostname) + pulumi.set(__self__, "hostname", hostname) if root_password is not None: - _setter("root_password", root_password) + pulumi.set(__self__, "root_password", root_password) @property @pulumi.getter(name="activationKey") @@ -957,55 +762,22 @@ 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 assigned_type is None and 'assignedType' in kwargs: - assigned_type = kwargs['assignedType'] - if ip_address is None and 'ipAddress' in kwargs: - ip_address = kwargs['ipAddress'] - if mac_address is None and 'macAddress' in kwargs: - mac_address = kwargs['macAddress'] - if operational_status is None and 'operationalStatus' in kwargs: - operational_status = kwargs['operationalStatus'] - if assigned_type is not None: - _setter("assigned_type", assigned_type) + pulumi.set(__self__, "assigned_type", assigned_type) if id is not None: - _setter("id", id) + pulumi.set(__self__, "id", id) if ip_address is not None: - _setter("ip_address", ip_address) + pulumi.set(__self__, "ip_address", ip_address) if mac_address is not None: - _setter("mac_address", mac_address) + pulumi.set(__self__, "mac_address", mac_address) if name is not None: - _setter("name", name) + pulumi.set(__self__, "name", name) if operational_status is not None: - _setter("operational_status", operational_status) + pulumi.set(__self__, "operational_status", operational_status) if status is not None: - _setter("status", status) + pulumi.set(__self__, "status", status) if type is not None: - _setter("type", type) + pulumi.set(__self__, "type", type) @property @pulumi.getter(name="assignedType") @@ -1108,40 +880,15 @@ def __init__(__self__, *, :param str status: device link provisioning status on a given device. One of `PROVISIONING`, `PROVISIONED`, `DEPROVISIONING`, `DEPROVISIONED`, `FAILED`. """ - 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: 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 id is None: - raise TypeError("Missing 'id' argument") - if interface_id is None and 'interfaceId' in kwargs: - interface_id = kwargs['interfaceId'] - if ip_address is None and 'ipAddress' in kwargs: - ip_address = kwargs['ipAddress'] - - _setter("id", id) + pulumi.set(__self__, "id", id) if asn is not None: - _setter("asn", asn) + pulumi.set(__self__, "asn", asn) if interface_id is not None: - _setter("interface_id", interface_id) + pulumi.set(__self__, "interface_id", interface_id) if ip_address is not None: - _setter("ip_address", ip_address) + pulumi.set(__self__, "ip_address", ip_address) if status is not None: - _setter("status", status) + pulumi.set(__self__, "status", status) @property @pulumi.getter @@ -1233,60 +980,15 @@ 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. """ - 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: 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 account_number is None and 'accountNumber' in kwargs: - account_number = kwargs['accountNumber'] - 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 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 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 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 src_zone_code is None and '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) + 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) if dst_zone_code is not None: - _setter("dst_zone_code", dst_zone_code) + pulumi.set(__self__, "dst_zone_code", dst_zone_code) if src_zone_code is not None: - _setter("src_zone_code", src_zone_code) + pulumi.set(__self__, "src_zone_code", src_zone_code) @property @pulumi.getter(name="accountNumber") @@ -1472,163 +1174,56 @@ def __init__(__self__, *, `systemIpAddress`. :param str zone_code: Device location zone code. """ - 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: 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, - 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 account_number is None and 'accountNumber' in kwargs: - account_number = kwargs['accountNumber'] - 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 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 additional_bandwidth is None and 'additionalBandwidth' in kwargs: - additional_bandwidth = kwargs['additionalBandwidth'] - if cloud_init_file_id is None and 'cloudInitFileId' in kwargs: - cloud_init_file_id = kwargs['cloudInitFileId'] - if license_file is None and 'licenseFile' in kwargs: - license_file = kwargs['licenseFile'] - if license_file_id is None and 'licenseFileId' in kwargs: - license_file_id = kwargs['licenseFileId'] - if license_status is None and 'licenseStatus' in kwargs: - license_status = kwargs['licenseStatus'] - if license_token is None and 'licenseToken' in kwargs: - license_token = kwargs['licenseToken'] - if mgmt_acl_template_uuid is None and 'mgmtAclTemplateUuid' in kwargs: - mgmt_acl_template_uuid = kwargs['mgmtAclTemplateUuid'] - if redundancy_type is None and 'redundancyType' in kwargs: - redundancy_type = kwargs['redundancyType'] - if redundant_id is None and 'redundantId' in kwargs: - redundant_id = kwargs['redundantId'] - if ssh_ip_address is None and 'sshIpAddress' in kwargs: - ssh_ip_address = kwargs['sshIpAddress'] - if ssh_ip_fqdn is None and 'sshIpFqdn' in kwargs: - ssh_ip_fqdn = kwargs['sshIpFqdn'] - if ssh_key is None and 'sshKey' in kwargs: - ssh_key = kwargs['sshKey'] - if vendor_configuration is None and 'vendorConfiguration' in kwargs: - vendor_configuration = kwargs['vendorConfiguration'] - if wan_interface_id is None and 'wanInterfaceId' in kwargs: - wan_interface_id = kwargs['wanInterfaceId'] - if zone_code is None and 'zoneCode' in kwargs: - zone_code = kwargs['zoneCode'] - - _setter("account_number", account_number) - _setter("metro_code", metro_code) - _setter("name", name) - _setter("notifications", notifications) + pulumi.set(__self__, "account_number", account_number) + pulumi.set(__self__, "metro_code", metro_code) + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "notifications", notifications) if acl_template_id is not None: - _setter("acl_template_id", acl_template_id) + pulumi.set(__self__, "acl_template_id", acl_template_id) if additional_bandwidth is not None: - _setter("additional_bandwidth", additional_bandwidth) + pulumi.set(__self__, "additional_bandwidth", additional_bandwidth) if asn is not None: - _setter("asn", asn) + pulumi.set(__self__, "asn", asn) if cloud_init_file_id is not None: - _setter("cloud_init_file_id", cloud_init_file_id) + pulumi.set(__self__, "cloud_init_file_id", cloud_init_file_id) if hostname is not None: - _setter("hostname", hostname) + pulumi.set(__self__, "hostname", hostname) if ibx is not None: - _setter("ibx", ibx) + pulumi.set(__self__, "ibx", ibx) if interfaces is not None: - _setter("interfaces", interfaces) + pulumi.set(__self__, "interfaces", interfaces) if license_file is not None: - _setter("license_file", license_file) + pulumi.set(__self__, "license_file", license_file) if license_file_id is not None: - _setter("license_file_id", license_file_id) + pulumi.set(__self__, "license_file_id", license_file_id) if license_status is not None: - _setter("license_status", license_status) + pulumi.set(__self__, "license_status", license_status) if license_token is not None: - _setter("license_token", license_token) + pulumi.set(__self__, "license_token", license_token) if mgmt_acl_template_uuid is not None: - _setter("mgmt_acl_template_uuid", mgmt_acl_template_uuid) + pulumi.set(__self__, "mgmt_acl_template_uuid", mgmt_acl_template_uuid) if redundancy_type is not None: - _setter("redundancy_type", redundancy_type) + pulumi.set(__self__, "redundancy_type", redundancy_type) if redundant_id is not None: - _setter("redundant_id", redundant_id) + pulumi.set(__self__, "redundant_id", redundant_id) if region is not None: - _setter("region", region) + pulumi.set(__self__, "region", region) if ssh_ip_address is not None: - _setter("ssh_ip_address", ssh_ip_address) + pulumi.set(__self__, "ssh_ip_address", ssh_ip_address) if ssh_ip_fqdn is not None: - _setter("ssh_ip_fqdn", ssh_ip_fqdn) + pulumi.set(__self__, "ssh_ip_fqdn", ssh_ip_fqdn) if ssh_key is not None: - _setter("ssh_key", ssh_key) + pulumi.set(__self__, "ssh_key", ssh_key) if status is not None: - _setter("status", status) + pulumi.set(__self__, "status", status) if uuid is not None: - _setter("uuid", uuid) + pulumi.set(__self__, "uuid", uuid) if vendor_configuration is not None: - _setter("vendor_configuration", vendor_configuration) + pulumi.set(__self__, "vendor_configuration", vendor_configuration) if wan_interface_id is not None: - _setter("wan_interface_id", wan_interface_id) + pulumi.set(__self__, "wan_interface_id", wan_interface_id) if zone_code is not None: - _setter("zone_code", zone_code) + pulumi.set(__self__, "zone_code", zone_code) @property @pulumi.getter(name="accountNumber") @@ -1897,55 +1492,22 @@ 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 assigned_type is None and 'assignedType' in kwargs: - assigned_type = kwargs['assignedType'] - if ip_address is None and 'ipAddress' in kwargs: - ip_address = kwargs['ipAddress'] - if mac_address is None and 'macAddress' in kwargs: - mac_address = kwargs['macAddress'] - if operational_status is None and 'operationalStatus' in kwargs: - operational_status = kwargs['operationalStatus'] - if assigned_type is not None: - _setter("assigned_type", assigned_type) + pulumi.set(__self__, "assigned_type", assigned_type) if id is not None: - _setter("id", id) + pulumi.set(__self__, "id", id) if ip_address is not None: - _setter("ip_address", ip_address) + pulumi.set(__self__, "ip_address", ip_address) if mac_address is not None: - _setter("mac_address", mac_address) + pulumi.set(__self__, "mac_address", mac_address) if name is not None: - _setter("name", name) + pulumi.set(__self__, "name", name) if operational_status is not None: - _setter("operational_status", operational_status) + pulumi.set(__self__, "operational_status", operational_status) if status is not None: - _setter("status", status) + pulumi.set(__self__, "status", status) if type is not None: - _setter("type", type) + pulumi.set(__self__, "type", type) @property @pulumi.getter(name="assignedType") @@ -2037,27 +1599,8 @@ def __init__(__self__, *, """ :param str username: username associated with given key. """ - 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: Optional[str] = None, - username: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None, - **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) + pulumi.set(__self__, "key_name", key_name) + pulumi.set(__self__, "username", username) @property @pulumi.getter(name="keyName") @@ -2098,27 +1641,8 @@ def __init__(__self__, *, """ :param str username: username associated with given key. """ - 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: Optional[str] = None, - username: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None, - **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) + pulumi.set(__self__, "key_name", key_name) + pulumi.set(__self__, "username", username) @property @pulumi.getter(name="keyName") @@ -2146,46 +1670,11 @@ def __init__(__self__, *, :param str cluster_id: The id of the cluster :param int num_of_nodes: The number of nodes in the cluster """ - 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: 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 cluster_id is None and 'clusterId' in kwargs: - cluster_id = kwargs['clusterId'] - 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 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) - _setter("node0s", node0s) - _setter("node1s", node1s) - _setter("num_of_nodes", num_of_nodes) + 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) @property @pulumi.getter(name="clusterId") @@ -2232,46 +1721,11 @@ 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 """ - 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: 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 license_file_id is None and 'licenseFileId' in kwargs: - license_file_id = kwargs['licenseFileId'] - 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 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) - _setter("name", name) - _setter("uuid", uuid) - _setter("vendor_configurations", vendor_configurations) + 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) @property @pulumi.getter(name="licenseFileId") @@ -2317,53 +1771,12 @@ def __init__(__self__, *, controller_fqdn: str, hostname: str, root_password: str): - 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: 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 activation_key is None and 'activationKey' in kwargs: - activation_key = kwargs['activationKey'] - 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 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 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) - _setter("controller1", controller1) - _setter("controller_fqdn", controller_fqdn) - _setter("hostname", hostname) - _setter("root_password", root_password) + 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) @property @pulumi.getter(name="activationKey") @@ -2409,46 +1822,11 @@ 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 """ - 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: 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 license_file_id is None and 'licenseFileId' in kwargs: - license_file_id = kwargs['licenseFileId'] - 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 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) - _setter("name", name) - _setter("uuid", uuid) - _setter("vendor_configurations", vendor_configurations) + 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) @property @pulumi.getter(name="licenseFileId") @@ -2494,53 +1872,12 @@ def __init__(__self__, *, controller_fqdn: str, hostname: str, root_password: str): - 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: 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 activation_key is None and 'activationKey' in kwargs: - activation_key = kwargs['activationKey'] - 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 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 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) - _setter("controller1", controller1) - _setter("controller_fqdn", controller_fqdn) - _setter("hostname", hostname) - _setter("root_password", root_password) + 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) @property @pulumi.getter(name="activationKey") @@ -2598,63 +1935,14 @@ def __init__(__self__, *, * DEPROVISIONING * DEPROVISIONED """ - 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: 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 assigned_type is None and 'assignedType' in kwargs: - assigned_type = kwargs['assignedType'] - 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 ip_address is None: - raise TypeError("Missing 'ip_address' argument") - if mac_address is None and 'macAddress' in kwargs: - mac_address = kwargs['macAddress'] - 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) - _setter("ip_address", ip_address) - _setter("mac_address", mac_address) - _setter("name", name) - _setter("operational_status", operational_status) - _setter("status", status) - _setter("type", type) + 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) @property @pulumi.getter(name="assignedType") @@ -2785,186 +2073,33 @@ def __init__(__self__, *, :param str uuid: UUID of an existing Equinix Network Edge device :param str zone_code: Device location 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: 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 account_number is None and 'accountNumber' in kwargs: - account_number = kwargs['accountNumber'] - 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 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 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 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 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 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 license_status is None: - raise TypeError("Missing 'license_status' argument") - if license_token is None and 'licenseToken' in kwargs: - license_token = kwargs['licenseToken'] - 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 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 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 redundancy_type is None: - raise TypeError("Missing 'redundancy_type' argument") - if redundant_id is None and 'redundantId' in kwargs: - redundant_id = kwargs['redundantId'] - 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 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 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 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 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 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) - _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) + 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__, "cloud_init_file_id", cloud_init_file_id) + 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) @property @pulumi.getter(name="accountNumber") @@ -3197,63 +2332,14 @@ def __init__(__self__, *, * DEPROVISIONING * DEPROVISIONED """ - 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: 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 assigned_type is None and 'assignedType' in kwargs: - assigned_type = kwargs['assignedType'] - 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 ip_address is None: - raise TypeError("Missing 'ip_address' argument") - if mac_address is None and 'macAddress' in kwargs: - mac_address = kwargs['macAddress'] - 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) - _setter("ip_address", ip_address) - _setter("mac_address", mac_address) - _setter("name", name) - _setter("operational_status", operational_status) - _setter("status", status) - _setter("type", type) + 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) @property @pulumi.getter(name="assignedType") @@ -3317,27 +2403,8 @@ class GetDeviceSecondaryDeviceSshKeyResult(dict): def __init__(__self__, *, key_name: str, username: str): - 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: Optional[str] = None, - username: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None, - **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) + pulumi.set(__self__, "key_name", key_name) + pulumi.set(__self__, "username", username) @property @pulumi.getter(name="keyName") @@ -3355,27 +2422,8 @@ class GetDeviceSshKeyResult(dict): def __init__(__self__, *, key_name: str, username: str): - 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: Optional[str] = None, - username: Optional[str] = None, - opts: Optional[pulumi.ResourceOptions]=None, - **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) + pulumi.set(__self__, "key_name", key_name) + pulumi.set(__self__, "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 075612e5..3748bf75 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, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['SshKeyArgs', 'SshKey'] @@ -24,30 +24,11 @@ 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`. """ - 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: Optional[pulumi.Input[str]] = None, - name: Optional[pulumi.Input[str]] = None, - type: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.ResourceOptions]=None, - **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) + pulumi.set(__self__, "public_key", public_key) if name is not None: - _setter("name", name) + pulumi.set(__self__, "name", name) if type is not None: - _setter("type", type) + pulumi.set(__self__, "type", type) @property @pulumi.getter(name="publicKey") @@ -102,33 +83,14 @@ 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 public_key is None and 'publicKey' in kwargs: - public_key = kwargs['publicKey'] - if name is not None: - _setter("name", name) + pulumi.set(__self__, "name", name) if public_key is not None: - _setter("public_key", public_key) + pulumi.set(__self__, "public_key", public_key) if type is not None: - _setter("type", type) + pulumi.set(__self__, "type", type) if uuid is not None: - _setter("uuid", uuid) + pulumi.set(__self__, "uuid", uuid) @property @pulumi.getter @@ -248,10 +210,6 @@ 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 e5b40b84..3239ff3b 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, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['SshUserArgs', 'SshUser'] @@ -23,32 +23,9 @@ def __init__(__self__, *, :param pulumi.Input[str] password: SSH user password. :param pulumi.Input[str] username: SSH user login name. """ - 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: 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 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) - _setter("username", username) + pulumi.set(__self__, "device_ids", device_ids) + pulumi.set(__self__, "password", password) + pulumi.set(__self__, "username", username) @property @pulumi.getter(name="deviceIds") @@ -101,33 +78,14 @@ 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 device_ids is None and 'deviceIds' in kwargs: - device_ids = kwargs['deviceIds'] - if device_ids is not None: - _setter("device_ids", device_ids) + pulumi.set(__self__, "device_ids", device_ids) if password is not None: - _setter("password", password) + pulumi.set(__self__, "password", password) if username is not None: - _setter("username", username) + pulumi.set(__self__, "username", username) if uuid is not None: - _setter("uuid", uuid) + pulumi.set(__self__, "uuid", uuid) @property @pulumi.getter(name="deviceIds") @@ -259,10 +217,6 @@ 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 3701522c..0d0d087e 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, Callable, Mapping, Optional, Sequence, Union, overload +from typing import Any, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = ['ProviderArgs', 'Provider'] @@ -34,65 +34,24 @@ 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 auth_token is None and 'authToken' in kwargs: - auth_token = kwargs['authToken'] - if client_id is None and 'clientId' in kwargs: - client_id = kwargs['clientId'] - if client_secret is None and 'clientSecret' in kwargs: - client_secret = kwargs['clientSecret'] - if max_retries is None and 'maxRetries' in kwargs: - max_retries = kwargs['maxRetries'] - if max_retry_wait_seconds is None and 'maxRetryWaitSeconds' in kwargs: - max_retry_wait_seconds = kwargs['maxRetryWaitSeconds'] - if request_timeout is None and 'requestTimeout' in kwargs: - request_timeout = kwargs['requestTimeout'] - if response_max_page_size is None and 'responseMaxPageSize' in kwargs: - response_max_page_size = kwargs['responseMaxPageSize'] - if auth_token is not None: - _setter("auth_token", auth_token) + pulumi.set(__self__, "auth_token", auth_token) if client_id is not None: - _setter("client_id", client_id) + pulumi.set(__self__, "client_id", client_id) if client_secret is not None: - _setter("client_secret", client_secret) + pulumi.set(__self__, "client_secret", client_secret) if endpoint is not None: - _setter("endpoint", endpoint) + pulumi.set(__self__, "endpoint", endpoint) if max_retries is not None: - _setter("max_retries", max_retries) + pulumi.set(__self__, "max_retries", max_retries) if max_retry_wait_seconds is not None: - _setter("max_retry_wait_seconds", max_retry_wait_seconds) + pulumi.set(__self__, "max_retry_wait_seconds", max_retry_wait_seconds) if request_timeout is not None: - _setter("request_timeout", request_timeout) + pulumi.set(__self__, "request_timeout", request_timeout) if response_max_page_size is not None: - _setter("response_max_page_size", response_max_page_size) + pulumi.set(__self__, "response_max_page_size", response_max_page_size) if token is not None: - _setter("token", token) + pulumi.set(__self__, "token", token) @property @pulumi.getter(name="authToken") @@ -252,10 +211,6 @@ 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__,