From ad25f152d12678771732deb9fcbc5d0458be5efb Mon Sep 17 00:00:00 2001 From: scraly Date: Mon, 2 Sep 2024 20:11:14 +0200 Subject: [PATCH 1/4] init --- .../ovhcloud-tf-registry-go/Pulumi.yaml | 3 + .../ovhcloud-tf-registry-go/README.md | 87 + .../ovhcloud-tf-registry-go/create.sh | 19 + .../ovhcloud-tf-registry-go/destroy.sh | 5 + .../ovhcloud-tf-registry-go/go.mod | 98 + .../ovhcloud-tf-registry-go/go.sum | 317 + .../ovhcloud-tf-registry-go/main.go | 78 + .../sdks/ovh/cloudProject.go | 251 + .../sdks/ovh/cloudProjectAlerting.go | 210 + .../sdks/ovh/cloudProjectContainerregistry.go | 259 + ...ntainerregistryIpRestrictionsManagement.go | 171 + ...ContainerregistryIpRestrictionsRegistry.go | 169 + .../ovh/cloudProjectContainerregistryOidc.go | 267 + .../ovh/cloudProjectContainerregistryUser.go | 209 + .../sdks/ovh/cloudProjectDatabase.go | 431 + .../sdks/ovh/cloudProjectDatabaseDatabase.go | 194 + .../ovh/cloudProjectDatabaseIntegration.go | 247 + .../ovh/cloudProjectDatabaseIpRestriction.go | 214 + .../sdks/ovh/cloudProjectDatabaseKafkaAcl.go | 204 + ...udProjectDatabaseKafkaSchemaregistryacl.go | 206 + .../ovh/cloudProjectDatabaseKafkaTopic.go | 242 + .../cloudProjectDatabaseLogSubscription.go | 269 + .../ovh/cloudProjectDatabaseM3dbNamespace.go | 310 + .../sdks/ovh/cloudProjectDatabaseM3dbUser.go | 232 + .../ovh/cloudProjectDatabaseMongodbUser.go | 234 + .../cloudProjectDatabaseOpensearchPattern.go | 185 + .../ovh/cloudProjectDatabaseOpensearchUser.go | 236 + ...ProjectDatabasePostgresqlConnectionPool.go | 269 + .../ovh/cloudProjectDatabasePostgresqlUser.go | 234 + .../sdks/ovh/cloudProjectDatabaseRedisUser.go | 279 + .../sdks/ovh/cloudProjectDatabaseUser.go | 235 + .../sdks/ovh/cloudProjectFailoverIpAttach.go | 240 + .../sdks/ovh/cloudProjectGateway.go | 217 + .../sdks/ovh/cloudProjectGatewayInterface.go | 205 + .../sdks/ovh/cloudProjectKube.go | 322 + .../ovh/cloudProjectKubeIprestrictions.go | 176 + .../sdks/ovh/cloudProjectKubeNodepool.go | 444 + .../sdks/ovh/cloudProjectKubeOidc.go | 231 + .../sdks/ovh/cloudProjectNetworkPrivate.go | 191 + .../ovh/cloudProjectNetworkPrivateSubnet.go | 230 + ...rojectRegionLoadbalancerLogSubscription.go | 278 + .../ovh/cloudProjectRegionStoragePresign.go | 221 + .../sdks/ovh/cloudProjectUser.go | 203 + .../sdks/ovh/cloudProjectUserS3Credential.go | 172 + .../sdks/ovh/cloudProjectUserS3Policy.go | 165 + .../sdks/ovh/cloudProjectWorkflowBackup.go | 211 + .../sdks/ovh/config/config.go | 47 + .../sdks/ovh/dbaasLogsCluster.go | 298 + .../sdks/ovh/dbaasLogsInput.go | 353 + .../sdks/ovh/dbaasLogsOutputGraylogStream.go | 466 + .../sdks/ovh/dbaasLogsToken.go | 210 + .../sdks/ovh/dedicatedCephAcl.go | 157 + .../sdks/ovh/dedicatedNashaPartition.go | 182 + .../sdks/ovh/dedicatedNashaPartitionAccess.go | 174 + .../ovh/dedicatedNashaPartitionSnapshot.go | 150 + .../sdks/ovh/dedicatedServerInstallTask.go | 275 + .../sdks/ovh/dedicatedServerNetworking.go | 181 + .../sdks/ovh/dedicatedServerRebootTask.go | 216 + .../sdks/ovh/dedicatedServerUpdate.go | 207 + .../ovhcloud-tf-registry-go/sdks/ovh/doc.go | 2 + .../sdks/ovh/domainZone.go | 269 + .../sdks/ovh/domainZoneDnssec.go | 143 + .../sdks/ovh/domainZoneRecord.go | 168 + .../sdks/ovh/domainZoneRedirection.go | 186 + .../sdks/ovh/getCloudProject.go | 148 + ...oudProjectCapabilitiesContainerregistry.go | 95 + ...jectCapabilitiesContainerregistryFilter.go | 136 + .../ovh/getCloudProjectContainerregistries.go | 95 + .../ovh/getCloudProjectContainerregistry.go | 140 + ...ntainerregistryIpRestrictionsManagement.go | 104 + ...ContainerregistryIpRestrictionsRegistry.go | 102 + .../getCloudProjectContainerregistryOidc.go | 158 + .../getCloudProjectContainerregistryUsers.go | 102 + .../sdks/ovh/getCloudProjectDatabase.go | 192 + .../getCloudProjectDatabaseCapabilities.go | 116 + .../getCloudProjectDatabaseCertificates.go | 107 + .../ovh/getCloudProjectDatabaseDatabase.go | 114 + .../ovh/getCloudProjectDatabaseDatabases.go | 107 + .../ovh/getCloudProjectDatabaseIntegration.go | 127 + .../getCloudProjectDatabaseIntegrations.go | 107 + .../getCloudProjectDatabaseIpRestrictions.go | 107 + .../ovh/getCloudProjectDatabaseKafkaAcl.go | 110 + .../ovh/getCloudProjectDatabaseKafkaAcls.go | 100 + ...udProjectDatabaseKafkaSchemaregistryacl.go | 110 + ...dProjectDatabaseKafkaSchemaregistryacls.go | 100 + .../ovh/getCloudProjectDatabaseKafkaTopic.go | 125 + .../ovh/getCloudProjectDatabaseKafkaTopics.go | 100 + .../getCloudProjectDatabaseKafkaUserAccess.go | 112 + .../getCloudProjectDatabaseLogSubscription.go | 137 + ...getCloudProjectDatabaseLogSubscriptions.go | 107 + .../getCloudProjectDatabaseM3dbNamespace.go | 149 + .../getCloudProjectDatabaseM3dbNamespaces.go | 100 + .../ovh/getCloudProjectDatabaseM3dbUser.go | 117 + .../ovh/getCloudProjectDatabaseMongodbUser.go | 117 + ...etCloudProjectDatabaseOpensearchPattern.go | 105 + ...tCloudProjectDatabaseOpensearchPatterns.go | 100 + .../getCloudProjectDatabaseOpensearchUser.go | 119 + ...ProjectDatabasePostgresqlConnectionPool.go | 137 + ...rojectDatabasePostgresqlConnectionPools.go | 100 + .../getCloudProjectDatabasePostgresqlUser.go | 117 + .../ovh/getCloudProjectDatabaseRedisUser.go | 132 + .../sdks/ovh/getCloudProjectDatabaseUser.go | 119 + .../sdks/ovh/getCloudProjectDatabaseUsers.go | 107 + .../sdks/ovh/getCloudProjectDatabases.go | 100 + .../ovh/getCloudProjectFailoverIpAttach.go | 136 + .../ovh/getCloudProjectGatewayInterface.go | 117 + .../sdks/ovh/getCloudProjectKube.go | 204 + .../ovh/getCloudProjectKubeIprestrictions.go | 100 + .../sdks/ovh/getCloudProjectKubeNodepool.go | 206 + .../ovh/getCloudProjectKubeNodepoolNodes.go | 107 + .../sdks/ovh/getCloudProjectKubeNodes.go | 100 + .../sdks/ovh/getCloudProjectKubeOidc.go | 158 + .../sdks/ovh/getCloudProjectLoadbalancer.go | 145 + .../sdks/ovh/getCloudProjectLoadbalancers.go | 102 + .../sdks/ovh/getCloudProjectRegion.go | 110 + ...rojectRegionLoadbalancerLogSubscription.go | 144 + ...ojectRegionLoadbalancerLogSubscriptions.go | 114 + .../sdks/ovh/getCloudProjectRegions.go | 100 + .../sdks/ovh/getCloudProjectUser.go | 120 + .../ovh/getCloudProjectUserS3Credential.go | 107 + .../ovh/getCloudProjectUserS3Credentials.go | 100 + .../sdks/ovh/getCloudProjectUserS3Policy.go | 100 + .../sdks/ovh/getCloudProjectUsers.go | 93 + .../sdks/ovh/getCloudProjectVrack.go | 96 + .../sdks/ovh/getCloudProjects.go | 72 + .../sdks/ovh/getDbaasLogsCluster.go | 150 + .../sdks/ovh/getDbaasLogsClusterRetention.go | 114 + .../sdks/ovh/getDbaasLogsClusters.go | 98 + .../sdks/ovh/getDbaasLogsInputEngine.go | 109 + .../ovh/getDbaasLogsOutputGraylogStream.go | 210 + .../sdks/ovh/getDedicatedCeph.go | 137 + .../ovh/getDedicatedInstallationTemplate.go | 169 + .../ovh/getDedicatedInstallationTemplates.go | 86 + .../sdks/ovh/getDedicatedNasha.go | 133 + .../sdks/ovh/getDedicatedServer.go | 208 + .../sdks/ovh/getDedicatedServerBoots.go | 107 + ...etDedicatedServerSpecificationsHardware.go | 173 + ...getDedicatedServerSpecificationsNetwork.go | 144 + .../sdks/ovh/getDedicatedServers.go | 86 + .../sdks/ovh/getDomainZone.go | 113 + .../sdks/ovh/getDomainZoneDnssec.go | 93 + .../sdks/ovh/getHostingPrivatedatabase.go | 183 + .../ovh/getHostingPrivatedatabaseDatabase.go | 117 + .../sdks/ovh/getHostingPrivatedatabaseUser.go | 107 + .../ovh/getHostingPrivatedatabaseUserGrant.go | 112 + .../ovh/getHostingPrivatedatabaseWhitelist.go | 125 + .../sdks/ovh/getIamPermissionsGroup.go | 136 + .../sdks/ovh/getIamPermissionsGroups.go | 86 + .../sdks/ovh/getIamPolicies.go | 86 + .../sdks/ovh/getIamPolicy.go | 151 + .../sdks/ovh/getIamReferenceActions.go | 93 + .../sdks/ovh/getIamReferenceResourceType.go | 86 + .../sdks/ovh/getIamResourceGroup.go | 116 + .../sdks/ovh/getIamResourceGroups.go | 86 + .../sdks/ovh/getIpFirewall.go | 105 + .../sdks/ovh/getIpFirewallRule.go | 157 + .../sdks/ovh/getIpMitigation.go | 110 + .../sdks/ovh/getIpService.go | 123 + .../sdks/ovh/getIploadbalancing.go | 173 + .../ovh/getIploadbalancingVrackNetwork.go | 115 + .../ovh/getIploadbalancingVrackNetworks.go | 107 + .../ovhcloud-tf-registry-go/sdks/ovh/getMe.go | 231 + .../sdks/ovh/getMeApiOauth2Client.go | 113 + .../sdks/ovh/getMeApiOauth2Clients.go | 86 + .../sdks/ovh/getMeIdentityGroup.go | 118 + .../sdks/ovh/getMeIdentityGroups.go | 86 + .../sdks/ovh/getMeIdentityUser.go | 133 + .../sdks/ovh/getMeIdentityUsers.go | 86 + .../sdks/ovh/getMeInstallationTemplate.go | 169 + .../sdks/ovh/getMeInstallationTemplates.go | 86 + .../sdks/ovh/getMePaymentmeanBankaccount.go | 119 + .../sdks/ovh/getMePaymentmeanCreditcard.go | 124 + .../sdks/ovh/getOrderCart.go | 124 + .../sdks/ovh/getOrderCartProduct.go | 100 + .../sdks/ovh/getOrderCartProductOptions.go | 114 + .../ovh/getOrderCartProductOptionsPlan.go | 160 + .../sdks/ovh/getOrderCartProductPlan.go | 136 + .../sdks/ovh/getVps.go | 168 + .../sdks/ovh/getVpss.go | 86 + .../sdks/ovh/getVracks.go | 86 + .../ovhcloud-tf-registry-go/sdks/ovh/go.mod | 5 + .../sdks/ovh/hostingPrivatedatabase.go | 425 + .../ovh/hostingPrivatedatabaseDatabase.go | 150 + .../sdks/ovh/hostingPrivatedatabaseUser.go | 175 + .../ovh/hostingPrivatedatabaseUserGrant.go | 186 + .../ovh/hostingPrivatedatabaseWhitelist.go | 201 + .../sdks/ovh/iamPermissionsGroup.go | 192 + .../sdks/ovh/iamPolicy.go | 220 + .../sdks/ovh/iamResourceGroup.go | 166 + .../ovhcloud-tf-registry-go/sdks/ovh/init.go | 738 + .../sdks/ovh/internal/pulumiUtilities.go | 216 + .../sdks/ovh/internal/pulumiVersion.go | 11 + .../sdks/ovh/ipFirewall.go | 170 + .../sdks/ovh/ipFirewallRule.go | 337 + .../sdks/ovh/ipMitigation.go | 187 + .../sdks/ovh/ipMove.go | 220 + .../sdks/ovh/ipReverse.go | 150 + .../sdks/ovh/ipService.go | 279 + .../sdks/ovh/iploadbalancing.go | 381 + .../sdks/ovh/iploadbalancingHttpFarm.go | 192 + .../sdks/ovh/iploadbalancingHttpFarmServer.go | 250 + .../sdks/ovh/iploadbalancingHttpFrontend.go | 240 + .../sdks/ovh/iploadbalancingHttpRoute.go | 223 + .../sdks/ovh/iploadbalancingHttpRouteRule.go | 198 + .../sdks/ovh/iploadbalancingRefresh.go | 138 + .../sdks/ovh/iploadbalancingTcpFarm.go | 192 + .../sdks/ovh/iploadbalancingTcpFarmServer.go | 243 + .../sdks/ovh/iploadbalancingTcpFrontend.go | 222 + .../sdks/ovh/iploadbalancingTcpRoute.go | 223 + .../sdks/ovh/iploadbalancingTcpRouteRule.go | 198 + .../sdks/ovh/iploadbalancingUdpFrontend.go | 245 + .../sdks/ovh/iploadbalancingVrackNetwork.go | 236 + .../sdks/ovh/meApiOauth2Client.go | 211 + .../sdks/ovh/meIdentityGroup.go | 168 + .../sdks/ovh/meIdentityUser.go | 256 + .../sdks/ovh/meInstallationTemplate.go | 321 + .../meInstallationTemplatePartitionScheme.go | 171 + ...tionTemplatePartitionSchemeHardwareRaid.go | 219 + ...llationTemplatePartitionSchemePartition.go | 270 + .../sdks/ovh/provider.go | 167 + .../sdks/ovh/pulumi-plugin.json | 5 + .../sdks/ovh/pulumiTypes.go | 27035 ++++++++++++++++ .../ovhcloud-tf-registry-go/sdks/ovh/vps.go | 340 + .../ovhcloud-tf-registry-go/sdks/ovh/vrack.go | 255 + .../sdks/ovh/vrackCloudproject.go | 141 + .../sdks/ovh/vrackDedicatedServer.go | 144 + .../sdks/ovh/vrackDedicatedServerInterface.go | 144 + .../sdks/ovh/vrackIp.go | 183 + .../sdks/ovh/vrackIploadbalancing.go | 150 + 229 files changed, 64980 insertions(+) create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/Pulumi.yaml create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/README.md create mode 100755 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/create.sh create mode 100755 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/destroy.sh create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/go.mod create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/go.sum create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/main.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProject.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectAlerting.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectContainerregistry.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectContainerregistryIpRestrictionsManagement.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectContainerregistryIpRestrictionsRegistry.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectContainerregistryOidc.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectContainerregistryUser.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectDatabase.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectDatabaseDatabase.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectDatabaseIntegration.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectDatabaseIpRestriction.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectDatabaseKafkaAcl.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectDatabaseKafkaSchemaregistryacl.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectDatabaseKafkaTopic.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectDatabaseLogSubscription.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectDatabaseM3dbNamespace.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectDatabaseM3dbUser.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectDatabaseMongodbUser.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectDatabaseOpensearchPattern.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectDatabaseOpensearchUser.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectDatabasePostgresqlConnectionPool.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectDatabasePostgresqlUser.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectDatabaseRedisUser.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectDatabaseUser.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectFailoverIpAttach.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectGateway.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectGatewayInterface.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectKube.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectKubeIprestrictions.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectKubeNodepool.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectKubeOidc.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectNetworkPrivate.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectNetworkPrivateSubnet.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectRegionLoadbalancerLogSubscription.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectRegionStoragePresign.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectUser.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectUserS3Credential.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectUserS3Policy.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectWorkflowBackup.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/config/config.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/dbaasLogsCluster.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/dbaasLogsInput.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/dbaasLogsOutputGraylogStream.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/dbaasLogsToken.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/dedicatedCephAcl.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/dedicatedNashaPartition.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/dedicatedNashaPartitionAccess.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/dedicatedNashaPartitionSnapshot.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/dedicatedServerInstallTask.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/dedicatedServerNetworking.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/dedicatedServerRebootTask.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/dedicatedServerUpdate.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/doc.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/domainZone.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/domainZoneDnssec.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/domainZoneRecord.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/domainZoneRedirection.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProject.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectCapabilitiesContainerregistry.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectCapabilitiesContainerregistryFilter.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectContainerregistries.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectContainerregistry.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectContainerregistryIpRestrictionsManagement.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectContainerregistryIpRestrictionsRegistry.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectContainerregistryOidc.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectContainerregistryUsers.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectDatabase.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectDatabaseCapabilities.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectDatabaseCertificates.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectDatabaseDatabase.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectDatabaseDatabases.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectDatabaseIntegration.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectDatabaseIntegrations.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectDatabaseIpRestrictions.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectDatabaseKafkaAcl.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectDatabaseKafkaAcls.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectDatabaseKafkaSchemaregistryacl.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectDatabaseKafkaSchemaregistryacls.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectDatabaseKafkaTopic.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectDatabaseKafkaTopics.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectDatabaseKafkaUserAccess.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectDatabaseLogSubscription.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectDatabaseLogSubscriptions.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectDatabaseM3dbNamespace.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectDatabaseM3dbNamespaces.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectDatabaseM3dbUser.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectDatabaseMongodbUser.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectDatabaseOpensearchPattern.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectDatabaseOpensearchPatterns.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectDatabaseOpensearchUser.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectDatabasePostgresqlConnectionPool.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectDatabasePostgresqlConnectionPools.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectDatabasePostgresqlUser.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectDatabaseRedisUser.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectDatabaseUser.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectDatabaseUsers.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectDatabases.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectFailoverIpAttach.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectGatewayInterface.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectKube.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectKubeIprestrictions.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectKubeNodepool.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectKubeNodepoolNodes.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectKubeNodes.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectKubeOidc.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectLoadbalancer.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectLoadbalancers.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectRegion.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectRegionLoadbalancerLogSubscription.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectRegionLoadbalancerLogSubscriptions.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectRegions.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectUser.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectUserS3Credential.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectUserS3Credentials.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectUserS3Policy.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectUsers.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectVrack.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjects.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getDbaasLogsCluster.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getDbaasLogsClusterRetention.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getDbaasLogsClusters.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getDbaasLogsInputEngine.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getDbaasLogsOutputGraylogStream.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getDedicatedCeph.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getDedicatedInstallationTemplate.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getDedicatedInstallationTemplates.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getDedicatedNasha.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getDedicatedServer.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getDedicatedServerBoots.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getDedicatedServerSpecificationsHardware.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getDedicatedServerSpecificationsNetwork.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getDedicatedServers.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getDomainZone.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getDomainZoneDnssec.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getHostingPrivatedatabase.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getHostingPrivatedatabaseDatabase.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getHostingPrivatedatabaseUser.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getHostingPrivatedatabaseUserGrant.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getHostingPrivatedatabaseWhitelist.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getIamPermissionsGroup.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getIamPermissionsGroups.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getIamPolicies.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getIamPolicy.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getIamReferenceActions.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getIamReferenceResourceType.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getIamResourceGroup.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getIamResourceGroups.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getIpFirewall.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getIpFirewallRule.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getIpMitigation.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getIpService.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getIploadbalancing.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getIploadbalancingVrackNetwork.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getIploadbalancingVrackNetworks.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getMe.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getMeApiOauth2Client.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getMeApiOauth2Clients.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getMeIdentityGroup.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getMeIdentityGroups.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getMeIdentityUser.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getMeIdentityUsers.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getMeInstallationTemplate.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getMeInstallationTemplates.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getMePaymentmeanBankaccount.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getMePaymentmeanCreditcard.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getOrderCart.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getOrderCartProduct.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getOrderCartProductOptions.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getOrderCartProductOptionsPlan.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getOrderCartProductPlan.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getVps.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getVpss.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getVracks.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/go.mod create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/hostingPrivatedatabase.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/hostingPrivatedatabaseDatabase.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/hostingPrivatedatabaseUser.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/hostingPrivatedatabaseUserGrant.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/hostingPrivatedatabaseWhitelist.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/iamPermissionsGroup.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/iamPolicy.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/iamResourceGroup.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/init.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/internal/pulumiUtilities.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/internal/pulumiVersion.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/ipFirewall.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/ipFirewallRule.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/ipMitigation.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/ipMove.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/ipReverse.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/ipService.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/iploadbalancing.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/iploadbalancingHttpFarm.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/iploadbalancingHttpFarmServer.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/iploadbalancingHttpFrontend.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/iploadbalancingHttpRoute.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/iploadbalancingHttpRouteRule.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/iploadbalancingRefresh.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/iploadbalancingTcpFarm.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/iploadbalancingTcpFarmServer.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/iploadbalancingTcpFrontend.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/iploadbalancingTcpRoute.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/iploadbalancingTcpRouteRule.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/iploadbalancingUdpFrontend.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/iploadbalancingVrackNetwork.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/meApiOauth2Client.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/meIdentityGroup.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/meIdentityUser.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/meInstallationTemplate.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/meInstallationTemplatePartitionScheme.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/meInstallationTemplatePartitionSchemeHardwareRaid.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/meInstallationTemplatePartitionSchemePartition.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/provider.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/pulumi-plugin.json create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/pulumiTypes.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/vps.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/vrack.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/vrackCloudproject.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/vrackDedicatedServer.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/vrackDedicatedServerInterface.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/vrackIp.go create mode 100644 containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/vrackIploadbalancing.go diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/Pulumi.yaml b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/Pulumi.yaml new file mode 100644 index 00000000..19513e43 --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/Pulumi.yaml @@ -0,0 +1,3 @@ +name: ovhcloud-tf-registry-go +runtime: go +description: A minimal Go Pulumi program diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/README.md b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/README.md new file mode 100644 index 00000000..8935cf2e --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/README.md @@ -0,0 +1,87 @@ +## Create a Managed Private Registry with Pulumi (and existing OVHcloud TF provider) in Go/Golang + +This project uses the existing OVHcloud Terraform provider and allows you to deploy with Pulumi in Go. + +### Project creation + +```bash +$ pulumi new go -y + +$ pulumi package add terraform-provider ovh/ovh + +$ go mod edit -replace github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh=./sdks/ovh + +# edit main.go with your code + +$ go mod tidy + +$ pulumi up + +## Project execution + +$ pulumi login --local + +$ pulumi up +``` + +TODO: xxx + + + +### Set up + - Install the [Pulumi CLI](https://www.pulumi.com/docs/install/) + - An account in [Pulumi](https://www.pulumi.com/) + - A [Pulumi access token](https://app.pulumi.com/account/tokens) + - Get the credentials from the OVHCloud Public Cloud project: + - `application_key` + - `application_secret` + - `consumer_key` + - Get the `service_name` (Public Cloud project ID) + +### Demo + - set the environment variables `OVH_APPLICATION_KEY`, `OVH_APPLICATION_SECRET`, `OVH_CONSUMER_KEY` and `OVH_CLOUD_PROJECT_SERVICE` + +```bash +# OVHcloud provider needed keys +export OVH_ENDPOINT="ovh-eu" +export OVH_APPLICATION_KEY="xxx" +export OVH_APPLICATION_SECRET="xxx" +export OVH_CONSUMER_KEY="xxx" +export OVH_CLOUD_PROJECT_SERVICE="xxx" +``` + + - set the serviceName in Pulumi stack configuration + +`pulumi config set serviceName $(echo $OVH_CLOUD_PROJECT_SERVICE)` + + - use the [main.go](main.go) file to define the resources to create + + - create a registry with a user and a project (~ 7-8 mins) +`pulumi up` + + - display the registry URL, login and password and save them in environment variables (you will use) + +```bash +export PRIVATE_REGISTRY_URL=$(pulumi stack output registryURL -s dev) +export PRIVATE_REGISTRY_USER=$(pulumi stack output registryUser -s dev) +export PRIVATE_REGISTRY_PASSWORD=$(pulumi stack output registryPassword --show-secrets -s dev) +export PRIVATE_REGISTRY_PROJECT=$(pulumi stack output project -s dev) + +echo $PRIVATE_REGISTRY_URL +echo $PRIVATE_REGISTRY_USER +echo $PRIVATE_REGISTRY_PASSWORD +echo $PRIVATE_REGISTRY_PROJECT +``` + +Note: you can run the `create.sh` script instead of executing each previous commands manually ;-) + +### Destroy + + - destroy all the resources (registry, user, project): `pulumi destroy` + +Note: you can run the `destroy.sh` script instead of executing the previous command manually ;-) + + +### After the demo + + - if needed delete the token with https://api.ovh.com/console-preview/?section=%2Fme&branch=v1#delete-/me/api/credential/-credentialId- \ No newline at end of file diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/create.sh b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/create.sh new file mode 100755 index 00000000..4430dae4 --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/create.sh @@ -0,0 +1,19 @@ +#!/bin/bash + +set -eo xtrace + +pulumi config -s dev set serviceName $(echo $OVH_CLOUD_PROJECT_SERVICE) + +pulumi up -s dev --yes + +export PRIVATE_REGISTRY_URL=$(pulumi stack output registryURL -s dev) +export PRIVATE_REGISTRY_USER=$(pulumi stack output registryUser -s dev) +export PRIVATE_REGISTRY_PASSWORD=$(pulumi stack output registryPassword --show-secrets -s dev) +export PRIVATE_REGISTRY_PROJECT=$(pulumi stack output project -s dev) +export PRIVATE_REGISTRY_URL_WITHOUT_SCHEME=${PRIVATE_REGISTRY_URL#*//} + +echo $PRIVATE_REGISTRY_URL +echo $PRIVATE_REGISTRY_URL_WITHOUT_SCHEME +echo $PRIVATE_REGISTRY_USER +echo $PRIVATE_REGISTRY_PASSWORD +echo $PRIVATE_REGISTRY_PROJECT \ No newline at end of file diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/destroy.sh b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/destroy.sh new file mode 100755 index 00000000..2239ae29 --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/destroy.sh @@ -0,0 +1,5 @@ +#!/bin/bash + +set -eo xtrace + +pulumi destroy -s dev --yes \ No newline at end of file diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/go.mod b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/go.mod new file mode 100644 index 00000000..e0fe88d6 --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/go.mod @@ -0,0 +1,98 @@ +module test-pulumi + +go 1.21 + +toolchain go1.21.0 + +require ( + github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh v0.0.0-00010101000000-000000000000 + github.com/pulumi/pulumi/sdk/v3 v3.129.0 + github.com/pulumiverse/pulumi-harbor/sdk/v3 v3.10.13 +) + +require ( + dario.cat/mergo v1.0.0 // indirect + github.com/BurntSushi/toml v1.2.1 // indirect + github.com/Microsoft/go-winio v0.6.1 // indirect + github.com/ProtonMail/go-crypto v1.0.0 // indirect + github.com/aead/chacha20 v0.0.0-20180709150244-8b13a72661da // indirect + github.com/agext/levenshtein v1.2.3 // indirect + github.com/apparentlymart/go-textseg/v13 v13.0.0 // indirect + github.com/atotto/clipboard v0.1.4 // indirect + github.com/aymanbagabas/go-osc52/v2 v2.0.1 // indirect + github.com/blang/semver v3.5.1+incompatible // indirect + github.com/charmbracelet/bubbles v0.16.1 // indirect + github.com/charmbracelet/bubbletea v0.25.0 // indirect + github.com/charmbracelet/lipgloss v0.7.1 // indirect + github.com/cheggaaa/pb v1.0.29 // indirect + github.com/cloudflare/circl v1.3.7 // indirect + github.com/containerd/console v1.0.4-0.20230313162750-1ae8d489ac81 // indirect + github.com/cyphar/filepath-securejoin v0.2.4 // indirect + github.com/djherbis/times v1.5.0 // indirect + github.com/emirpasic/gods v1.18.1 // indirect + github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376 // indirect + github.com/go-git/go-billy/v5 v5.5.0 // indirect + github.com/go-git/go-git/v5 v5.12.0 // indirect + github.com/gogo/protobuf v1.3.2 // indirect + github.com/golang/glog v1.2.0 // indirect + github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect + github.com/google/uuid v1.6.0 // indirect + github.com/grpc-ecosystem/grpc-opentracing v0.0.0-20180507213350-8e809c8a8645 // indirect + github.com/hashicorp/errwrap v1.1.0 // indirect + github.com/hashicorp/go-multierror v1.1.1 // indirect + github.com/hashicorp/hcl/v2 v2.17.0 // indirect + github.com/inconshreveable/mousetrap v1.1.0 // indirect + github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 // indirect + github.com/kevinburke/ssh_config v1.2.0 // indirect + github.com/lucasb-eyer/go-colorful v1.2.0 // indirect + github.com/mattn/go-isatty v0.0.19 // indirect + github.com/mattn/go-localereader v0.0.1 // indirect + github.com/mattn/go-runewidth v0.0.15 // indirect + github.com/mitchellh/go-ps v1.0.0 // indirect + github.com/mitchellh/go-wordwrap v1.0.1 // indirect + github.com/muesli/ansi v0.0.0-20230316100256-276c6243b2f6 // indirect + github.com/muesli/cancelreader v0.2.2 // indirect + github.com/muesli/reflow v0.3.0 // indirect + github.com/muesli/termenv v0.15.2 // indirect + github.com/opentracing/basictracer-go v1.1.0 // indirect + github.com/opentracing/opentracing-go v1.2.0 // indirect + github.com/pgavlin/fx v0.1.6 // indirect + github.com/pjbgf/sha1cd v0.3.0 // indirect + github.com/pkg/errors v0.9.1 // indirect + github.com/pkg/term v1.1.0 // indirect + github.com/pulumi/appdash v0.0.0-20231130102222-75f619a67231 // indirect + github.com/pulumi/esc v0.9.1 // indirect + github.com/rivo/uniseg v0.4.4 // indirect + github.com/rogpeppe/go-internal v1.11.0 // indirect + github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06 // indirect + github.com/santhosh-tekuri/jsonschema/v5 v5.0.0 // indirect + github.com/sergi/go-diff v1.3.2-0.20230802210424-5b0b94c5c0d3 // indirect + github.com/skeema/knownhosts v1.2.2 // indirect + github.com/spf13/cast v1.4.1 // indirect + github.com/spf13/cobra v1.7.0 // indirect + github.com/spf13/pflag v1.0.5 // indirect + github.com/texttheater/golang-levenshtein v1.0.1 // indirect + github.com/tweekmonster/luser v0.0.0-20161003172636-3fa38070dbd7 // indirect + github.com/uber/jaeger-client-go v2.30.0+incompatible // indirect + github.com/uber/jaeger-lib v2.4.1+incompatible // indirect + github.com/xanzy/ssh-agent v0.3.3 // indirect + github.com/zclconf/go-cty v1.13.2 // indirect + go.uber.org/atomic v1.9.0 // indirect + golang.org/x/crypto v0.24.0 // indirect + golang.org/x/exp v0.0.0-20240604190554-fc45aab8b7f8 // indirect + golang.org/x/mod v0.18.0 // indirect + golang.org/x/net v0.26.0 // indirect + golang.org/x/sync v0.7.0 // indirect + golang.org/x/sys v0.21.0 // indirect + golang.org/x/term v0.21.0 // indirect + golang.org/x/text v0.16.0 // indirect + golang.org/x/tools v0.22.0 // indirect + google.golang.org/genproto/googleapis/rpc v0.0.0-20240227224415-6ceb2ff114de // indirect + google.golang.org/grpc v1.63.2 // indirect + google.golang.org/protobuf v1.33.0 // indirect + gopkg.in/warnings.v0 v0.1.2 // indirect + gopkg.in/yaml.v3 v3.0.1 // indirect + lukechampine.com/frand v1.4.2 // indirect +) + +replace github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh => ./sdks/ovh diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/go.sum b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/go.sum new file mode 100644 index 00000000..70b9556f --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/go.sum @@ -0,0 +1,317 @@ +dario.cat/mergo v1.0.0 h1:AGCNq9Evsj31mOgNPcLyXc+4PNABt905YmuqPYYpBWk= +dario.cat/mergo v1.0.0/go.mod h1:uNxQE+84aUszobStD9th8a29P2fMDhsBdgRYvZOxGmk= +github.com/BurntSushi/toml v1.2.1 h1:9F2/+DoOYIOksmaJFPw1tGFy1eDnIJXg+UHjuD8lTak= +github.com/BurntSushi/toml v1.2.1/go.mod h1:CxXYINrC8qIiEnFrOxCa7Jy5BFHlXnUU2pbicEuybxQ= +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 v1.0.0 h1:LRuvITjQWX+WIfr930YHG2HNfjR1uOfyf5vE0kC2U78= +github.com/ProtonMail/go-crypto v1.0.0/go.mod h1:EjAoLdwvbIOoOQr3ihjnSoLZRtE8azugULFRteWMNc0= +github.com/aead/chacha20 v0.0.0-20180709150244-8b13a72661da h1:KjTM2ks9d14ZYCvmHS9iAKVt9AyzRSqNU1qabPih5BY= +github.com/aead/chacha20 v0.0.0-20180709150244-8b13a72661da/go.mod h1:eHEWzANqSiWQsof+nXEI9bUVUyV6F53Fp89EuCh2EAA= +github.com/agext/levenshtein v1.2.3 h1:YB2fHEn0UJagG8T1rrWknE3ZQzWM06O8AMAatNn7lmo= +github.com/agext/levenshtein v1.2.3/go.mod h1:JEDfjyjHDjOF/1e4FlBE/PkbqA9OfWu2ki2W0IB5558= +github.com/anmitsu/go-shlex v0.0.0-20200514113438-38f4b401e2be h1:9AeTilPcZAjCFIImctFaOjnTIavg87rW78vTPkQqLI8= +github.com/anmitsu/go-shlex v0.0.0-20200514113438-38f4b401e2be/go.mod h1:ySMOLuWl6zY27l47sB3qLNK6tF2fkHG55UZxx8oIVo4= +github.com/apparentlymart/go-textseg/v13 v13.0.0 h1:Y+KvPE1NYz0xl601PVImeQfFyEy6iT90AvPUL1NNfNw= +github.com/apparentlymart/go-textseg/v13 v13.0.0/go.mod h1:ZK2fH7c4NqDTLtiYLvIkEghdlcqw7yxLeM89kiTRPUo= +github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5 h1:0CwZNZbxp69SHPdPJAN/hZIm0C4OItdklCFmMRWYpio= +github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5/go.mod h1:wHh0iHkYZB8zMSxRWpUBQtwG5a7fFgvEO+odwuTv2gs= +github.com/atotto/clipboard v0.1.4 h1:EH0zSVneZPSuFR11BlR9YppQTVDbh5+16AmcJi4g1z4= +github.com/atotto/clipboard v0.1.4/go.mod h1:ZY9tmq7sm5xIbd9bOK4onWV4S6X0u6GY7Vn0Yu86PYI= +github.com/aymanbagabas/go-osc52/v2 v2.0.1 h1:HwpRHbFMcZLEVr42D4p7XBqjyuxQH5SMiErDT4WkJ2k= +github.com/aymanbagabas/go-osc52/v2 v2.0.1/go.mod h1:uYgXzlJ7ZpABp8OJ+exZzJJhRNQ2ASbcXHWsFqH8hp8= +github.com/blang/semver v3.5.1+incompatible h1:cQNTCjp13qL8KC3Nbxr/y2Bqb63oX6wdnnjpJbkM4JQ= +github.com/blang/semver v3.5.1+incompatible/go.mod h1:kRBLl5iJ+tD4TcOOxsy/0fnwebNt5EWlYSAyrTnjyyk= +github.com/bwesterb/go-ristretto v1.2.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.25.0 h1:bAfwk7jRz7FKFl9RzlIULPkStffg5k6pNt5dywy4TcM= +github.com/charmbracelet/bubbletea v0.25.0/go.mod h1:EN3QDR1T5ZdWmdfDzYcqOCAps45+QIJbLOBxmVNWNNg= +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/go.mod h1:5XYMA4rFBvNIrhs50XuiBJ15vF2pZn4nnUKZrLbUZFA= +github.com/cloudflare/circl v1.3.7 h1:qlCDlTPz2n9fu58M0Nh1J/JzcFpfgkFHHX3O35r5vcU= +github.com/cloudflare/circl v1.3.7/go.mod h1:sRTcRWXGLrKw6yIGJ+l7amYJFfAXbZG0kBSc8r4zxgA= +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/cyphar/filepath-securejoin v0.2.4 h1:Ugdm7cg7i6ZK6x3xDF1oEu1nfkyfH53EtKeQYTC3kyg= +github.com/cyphar/filepath-securejoin v0.2.4/go.mod h1:aPGpWjXOXUn2NCNjFvBE6aRxGGx79pTxQpKOJNYHHl4= +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-20230808193330-2592e75ae04a h1:mATvB/9r/3gvcejNsXKSkQ6lcIaNec2nyfOdlTBR2lU= +github.com/elazarl/goproxy v0.0.0-20230808193330-2592e75ae04a/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/gliderlabs/ssh v0.3.7 h1:iV3Bqi942d9huXnzEF2Mt+CY9gLu8DNM4Obd+8bODRE= +github.com/gliderlabs/ssh v0.3.7/go.mod h1:zpHEXBstFnQYtGnB8k8kQLol82umzn/2/snG7alWVD8= +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.5.0 h1:yEY4yhzCDuMGSv83oGxiBotRzhwhNr8VZyphhiu+mTU= +github.com/go-git/go-billy/v5 v5.5.0/go.mod h1:hmexnoNsr2SJU1Ju67OaNz5ASJY3+sHgFRpCtpDCKow= +github.com/go-git/go-git-fixtures/v4 v4.3.2-0.20231010084843-55a94097c399 h1:eMje31YglSBqCdIqdhKBW8lokaMrL3uTkpGYlE2OOT4= +github.com/go-git/go-git-fixtures/v4 v4.3.2-0.20231010084843-55a94097c399/go.mod h1:1OCfN199q1Jm3HZlxleg+Dw/mwps2Wbk9frAWm+4FII= +github.com/go-git/go-git/v5 v5.12.0 h1:7Md+ndsjrzZxbddRDZjF14qK+NN56sy6wkqaVrjZtys= +github.com/go-git/go-git/v5 v5.12.0/go.mod h1:FTM9VKtnI2m65hNI/TenDDDnUf2Q9FHnXYjuz9i5OEY= +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.2.0 h1:uCdmnmatrKCgMBlM4rMuJZWOkPDqdbZPnrMXDY4gI68= +github.com/golang/glog v1.2.0/go.mod h1:6AhwSGph0fcJtXVM/PEHPqZlFeoLxhs7/t5UDAwmO+w= +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.4 h1:i7eJL8qZTpSEXOPTxNKhASYpMn+8e5Q6AdndVa1dWek= +github.com/golang/protobuf v1.5.4/go.mod h1:lnTiLA8Wa4RWRcIUkrtSVa5nRhsEGBg48fD6rSs7xps= +github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI= +github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= +github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0= +github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= +github.com/grpc-ecosystem/grpc-opentracing v0.0.0-20180507213350-8e809c8a8645 h1:MJG/KsmcqMwFAkh8mTnAwhyKoB+sTAnY4CACC110tbU= +github.com/grpc-ecosystem/grpc-opentracing v0.0.0-20180507213350-8e809c8a8645/go.mod h1:6iZfnjpejD4L/4DwD7NryNaJyCQdzwWwH2MWhCA90Kw= +github.com/hashicorp/errwrap v1.0.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= +github.com/hashicorp/errwrap v1.1.0 h1:OxrOeh75EUXMY8TBjag2fzXGZ40LB6IKw45YeGUDY2I= +github.com/hashicorp/errwrap v1.1.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= +github.com/hashicorp/go-multierror v1.1.1 h1:H5DkEtf6CXdFp0N0Em5UCwQpXMWke8IA0+lD48awMYo= +github.com/hashicorp/go-multierror v1.1.1/go.mod h1:iw975J/qwKPdAO1clOe2L8331t/9/fmwbPZ6JB6eMoM= +github.com/hashicorp/hcl/v2 v2.17.0 h1:z1XvSUyXd1HP10U4lrLg5e0JMVz6CPaJvAgxM0KNZVY= +github.com/hashicorp/hcl/v2 v2.17.0/go.mod h1:gJyW2PTShkJqQBKpAmPO3yxMxIuoXkOF2TpqXzrQyx4= +github.com/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.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/mattn/go-colorable v0.1.4/go.mod h1:U0ppj6V5qS13XJ6of8GYAs25YV2eR4EVcfRqFIhoBtE= +github.com/mattn/go-colorable v0.1.12 h1:jF+Du6AlPIjs2BiUiQlKOX0rt3SujHxPnksPKZbaA40= +github.com/mattn/go-colorable v0.1.12/go.mod h1:u5H1YNBxpqRaxsYJYSkiCWKzEfiAb1Gb520KVy5xxl4= +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.19 h1:JITubQf0MOLdlGRuRq+jtsDlekdYPia9ZFsB8h/APPA= +github.com/mattn/go-isatty v0.0.19/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.15 h1:UNAjwbU9l54TA3KzvqLGxwWjHmMgBUVhBiTjelZgg3U= +github.com/mattn/go-runewidth v0.0.15/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-20230316100256-276c6243b2f6 h1:ZK8zHtRHOkbHy6Mmr5D264iyp3TiX5OmNcI5cIARiQI= +github.com/muesli/ansi v0.0.0-20230316100256-276c6243b2f6/go.mod h1:CJlz5H+gyd6CUWT45Oy4q24RdLyn7Md9Vj2/ldJBSIo= +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.2 h1:GohcuySI0QmI3wN8Ok9PtKGkgkFIk7y6Vpb5PvrY+Wo= +github.com/muesli/termenv v0.15.2/go.mod h1:Epx+iuz8sNs7mNKhxzH4fWXGNpZwUaJKRS1noLXviQ8= +github.com/onsi/gomega v1.27.10 h1:naR28SdDFlqrG6kScpT8VWpu1xWY5nJRCF3XaYyBjhI= +github.com/onsi/gomega v1.27.10/go.mod h1:RsS8tutOdbdgzbPtzzATp12yT7kM5I5aElG3evPbQ0M= +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/pgavlin/fx v0.1.6 h1:r9jEg69DhNoCd3Xh0+5mIbdbS3PqWrVWujkY76MFRTU= +github.com/pgavlin/fx v0.1.6/go.mod h1:KWZJ6fqBBSh8GxHYqwYCf3rYE7Gp2p0N8tJp8xv9u9M= +github.com/pjbgf/sha1cd v0.3.0 h1:4D5XXmUUBUl/xQ6IjCkEAbqXskkq/4O7LmGn0AqMDs4= +github.com/pjbgf/sha1cd v0.3.0/go.mod h1:nZ1rrWOcGJ5uZgEEVL1VUM9iRQiZvWdbZjkKyFzPPsI= +github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4= +github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= +github.com/pkg/term v1.1.0 h1:xIAAdCMh3QIAy+5FrE8Ad8XoDhEU4ufwbaSozViP9kk= +github.com/pkg/term v1.1.0/go.mod h1:E25nymQcrSllhX42Ok8MRm1+hyBdHY0dCeiKZ9jpNGw= +github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= +github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= +github.com/pulumi/appdash v0.0.0-20231130102222-75f619a67231 h1:vkHw5I/plNdTr435cARxCW6q9gc0S/Yxz7Mkd38pOb0= +github.com/pulumi/appdash v0.0.0-20231130102222-75f619a67231/go.mod h1:murToZ2N9hNJzewjHBgfFdXhZKjY3z5cYC1VXk+lbFE= +github.com/pulumi/esc v0.9.1 h1:HH5eEv8sgyxSpY5a8yePyqFXzA8cvBvapfH8457+mIs= +github.com/pulumi/esc v0.9.1/go.mod h1:oEJ6bOsjYlQUpjf70GiX+CXn3VBmpwFDxUTlmtUN84c= +github.com/pulumi/pulumi/sdk/v3 v3.129.0 h1:uZpTTwWTx7Mk8UT9FgatzxzArim47vZ6hzNCKvgvX6A= +github.com/pulumi/pulumi/sdk/v3 v3.129.0/go.mod h1:p1U24en3zt51agx+WlNboSOV8eLlPWYAkxMzVEXKbnY= +github.com/pulumiverse/pulumi-harbor/sdk/v3 v3.10.13 h1:XyB+JRNUtK07DehOv32svDFvbvAmOF66BYT1mmr+VS0= +github.com/pulumiverse/pulumi-harbor/sdk/v3 v3.10.13/go.mod h1:vPKRtO56u9Yv2hY46E5L7rOs7LfsuMvmAkOSiGOqC2c= +github.com/rivo/uniseg v0.1.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc= +github.com/rivo/uniseg v0.2.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc= +github.com/rivo/uniseg v0.4.4 h1:8TfxU8dW6PdqD27gjM8MVNuicgxIjxpm4K7x4jp8sis= +github.com/rivo/uniseg v0.4.4/go.mod h1:FN3SvrM+Zdj16jyLfmOkMNblXMcoc8DfTHruCPUcx88= +github.com/rogpeppe/go-internal v1.11.0 h1:cWPaGQEPrBb5/AsnsZesgZZ9yb1OQ+GOISoDNXVBh4M= +github.com/rogpeppe/go-internal v1.11.0/go.mod h1:ddIwULY96R17DhadqLgMfk9H9tvdUzkipdSkR5nkCZA= +github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= +github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06 h1:OkMGxebDjyw0ULyrTYWeN0UNCCkmCWfjPnIA2W6oviI= +github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06/go.mod h1:+ePHsJ1keEjQtpvf9HHw0f4ZeJ0TLRsxhunSI2hYJSs= +github.com/santhosh-tekuri/jsonschema/v5 v5.0.0 h1:TToq11gyfNlrMFZiYujSekIsPd9AmsA2Bj/iv+s4JHE= +github.com/santhosh-tekuri/jsonschema/v5 v5.0.0/go.mod h1:FKdcjfQW6rpZSnxxUvEA5H/cDPdvJ/SZJQLWWXWGrZ0= +github.com/sergi/go-diff v1.3.2-0.20230802210424-5b0b94c5c0d3 h1:n661drycOFuPLCN3Uc8sB6B/s6Z4t2xvBgU1htSHuq8= +github.com/sergi/go-diff v1.3.2-0.20230802210424-5b0b94c5c0d3/go.mod h1:A0bzQcvG0E7Rwjx0REVgAGH58e96+X0MeOfepqsbeW4= +github.com/sirupsen/logrus v1.7.0/go.mod h1:yWOB1SBYBC5VeMP7gHvWumXLIWorT60ONWic61uBYv0= +github.com/skeema/knownhosts v1.2.2 h1:Iug2P4fLmDw9f41PB6thxUkNUkJzB5i+1/exaj40L3A= +github.com/skeema/knownhosts v1.2.2/go.mod h1:xYbVRSPxqBZFrdmDyMmsOs+uX1UZC3nTN3ThzgDxUwo= +github.com/spf13/cast v1.4.1 h1:s0hze+J0196ZfEMTs80N7UlFt0BDuQ7Q+JDnHiMWKdA= +github.com/spf13/cast v1.4.1/go.mod h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkUJE= +github.com/spf13/cobra v1.7.0 h1:hyqWnYt1ZQShIddO5kBpj3vu05/++x6tJ6dg8EC572I= +github.com/spf13/cobra v1.7.0/go.mod h1:uLxZILRyS/50WlhOIKD7W6V5bgeIt+4sICxh6uRMrb0= +github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA= +github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= +github.com/stretchr/objx v0.1.0 h1:4G4v2dO3VZwixGIRoQ5Lfboy6nUhCyYzaqnIAPPhYs4= +github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= +github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= +github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= +github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= +github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA= +github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= +github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg= +github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY= +github.com/texttheater/golang-levenshtein v1.0.1 h1:+cRNoVrfiwufQPhoMzB6N0Yf/Mqajr6t1lOv8GyGE2U= +github.com/texttheater/golang-levenshtein v1.0.1/go.mod h1:PYAKrbF5sAiq9wd+H82hs7gNaen0CplQ9uvm6+enD/8= +github.com/tweekmonster/luser v0.0.0-20161003172636-3fa38070dbd7 h1:X9dsIWPuuEJlPX//UmRKophhOKCGXc46RVIGuttks68= +github.com/tweekmonster/luser v0.0.0-20161003172636-3fa38070dbd7/go.mod h1:UxoP3EypF8JfGEjAII8jx1q8rQyDnX8qdTCs/UQBVIE= +github.com/uber/jaeger-client-go v2.30.0+incompatible h1:D6wyKGCecFaSRUpo8lCVbaOOb6ThwMmTEbhRwtKR97o= +github.com/uber/jaeger-client-go v2.30.0+incompatible/go.mod h1:WVhlPFC8FDjOFMMWRy2pZqQJSXxYSwNYOkTr/Z6d3Kk= +github.com/uber/jaeger-lib v2.4.1+incompatible h1:td4jdvLcExb4cBISKIpHuGoVXh+dVKhn2Um6rjCsSsg= +github.com/uber/jaeger-lib v2.4.1+incompatible/go.mod h1:ComeNDZlWwrWnDv8aPp0Ba6+uUTzImX/AauajbLI56U= +github.com/xanzy/ssh-agent v0.3.3 h1:+/15pJfg/RsTxqYcX6fHqOXZwwMP+2VyYWJeWM2qQFM= +github.com/xanzy/ssh-agent v0.3.3/go.mod h1:6dzNDKs0J9rVPHPhaGCukekBHKqfl+L3KghI1Bc68Uw= +github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= +github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= +github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY= +github.com/zclconf/go-cty v1.13.2 h1:4GvrUxe/QUDYuJKAav4EYqdM47/kZa672LwmXFmEKT0= +github.com/zclconf/go-cty v1.13.2/go.mod h1:YKQzy/7pZ7iq2jNFzy5go57xdxdWoLLpaEp4u238AE0= +go.uber.org/atomic v1.9.0 h1:ECmE8Bn/WFTYwEW/bpKD3M8VtR/zQVbavAoalC1PYyE= +go.uber.org/atomic v1.9.0/go.mod h1:fEN4uk6kAWBTFdckzkM89CLk9XfWZrxpCo0nPH17wJc= +golang.org/x/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.24.0 h1:mnl8DM0o513X8fdIkmyFE/5hTYxbwYOjDS/+rK6qpRI= +golang.org/x/crypto v0.24.0/go.mod h1:Z1PMYSOR5nyMcyAVAIQSKCDwalqy85Aqn1x3Ws4L5DM= +golang.org/x/exp v0.0.0-20240604190554-fc45aab8b7f8 h1:LoYXNGAShUG3m/ehNk4iFctuhGX/+R1ZpfJ4/ia80JM= +golang.org/x/exp v0.0.0-20240604190554-fc45aab8b7f8/go.mod h1:jj3sYF3dwk5D+ghuXyeI3r5MFf+NT2An6/9dOA95KSI= +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.18.0 h1:5+9lSbEzPSdWkH32vYPBwEpX8KwDbM52Ud9xBUvNlb0= +golang.org/x/mod v0.18.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.26.0 h1:soB7SVo0PWrY4vPW/+ay0jKDNScG2X9wFeYlXIvJsOQ= +golang.org/x/net v0.26.0/go.mod h1:5YKkiSynbBIh3p6iOc/vibscux0x38BZDkn8sCUPxHE= +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.7.0 h1:YsImfSBoP9QPYL0xyKJPq0gcaJdG3rInoqxTWbfQu9M= +golang.org/x/sync v0.7.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= +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.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.21.0 h1:rF+pYz3DAGSQAxAu1CbC7catZg4ebC4UIeIhKxBZvws= +golang.org/x/sys v0.21.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= +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.21.0 h1:WVXCp+/EBEHOj53Rvu+7KiT/iElMrO8ACK16SMZ3jaA= +golang.org/x/term v0.21.0/go.mod h1:ooXLefLobQVslOqselCNF4SxFAaoS6KujMbsGzSDmX0= +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.16.0 h1:a94ExnEXNtEwYLGJSIUxnWoxoRz/ZcCsV63ROupILh4= +golang.org/x/text v0.16.0/go.mod h1:GhwF1Be+LQoKShO3cGOHzqOgRrGaYc9AvblQOmPVHnI= +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.22.0 h1:gqSGLZqv+AI9lIQzniJ0nZDRG5GBPsSi+DRNHWNz6yA= +golang.org/x/tools v0.22.0/go.mod h1:aCwcsjqvq7Yqt6TNyX7QMU2enbQ/Gt0bo6krSeEri+c= +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-20240227224415-6ceb2ff114de h1:cZGRis4/ot9uVm639a+rHCUaG0JJHEsdyzSQTMX+suY= +google.golang.org/genproto/googleapis/rpc v0.0.0-20240227224415-6ceb2ff114de/go.mod h1:H4O17MA/PE9BsGx3w+a+W2VOLLD1Qf7oJneAoU6WktY= +google.golang.org/grpc v1.63.2 h1:MUeiw1B2maTVZthpU5xvASfTh3LDbxHd6IJ6QQVU+xM= +google.golang.org/grpc v1.63.2/go.mod h1:WAX/8DgncnokcFUldAxq7GeB5DXHDbMF+lLvDomNkRA= +google.golang.org/protobuf v1.33.0 h1:uNO2rsAINq/JlFpSdYEKIZ0uKD/R9cpdv0T+yoGwGmI= +google.golang.org/protobuf v1.33.0/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos= +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.5.5 h1:jkgx1TjbQPD/feRoK+S/mXw9e1uj6WilpHrXJowi6oA= +pgregory.net/rapid v0.5.5/go.mod h1:PY5XlDGj0+V1FCq0o192FdRhpKHGTRIWBgqjDBTrq04= diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/main.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/main.go new file mode 100644 index 00000000..7a0e3033 --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/main.go @@ -0,0 +1,78 @@ +package main + +import ( + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi/config" + "github.com/pulumiverse/pulumi-harbor/sdk/v3/go/harbor" +) + +func main() { + pulumi.Run(func(ctx *pulumi.Context) error { + + serviceName := config.Require(ctx, "serviceName") + + // Initiate the configuration of the registry + regcap, err := ovh.GetCloudProjectCapabilitiesContainerregistryFilter(ctx, &ovh.GetCloudProjectCapabilitiesContainerregistryFilterArgs{ + ServiceName: &serviceName, + PlanName: "SMALL", + Region: "GRA", + }, nil) + if err != nil { + return err + } + + // Deploy a new Managed private registry + myRegistry, err := ovh.NewCloudProjectContainerregistry(ctx, "my-registry", &ovh.CloudProjectContainerregistryArgs{ + ServiceName: pulumi.String(*regcap.ServiceName), + PlanId: pulumi.String(regcap.Id), + Region: pulumi.String(regcap.Region), + }) + if err != nil { + return err + } + + // Create a User + myRegistryUser, err := ovh.NewCloudProjectContainerregistryUser(ctx, "user", &ovh.CloudProjectContainerregistryUserArgs{ + ServiceName: pulumi.String(*regcap.ServiceName), + RegistryId: myRegistry.ID(), + Email: pulumi.String("myuser@ovh.com"), + Login: pulumi.String("myuser"), + }) + if err != nil { + return err + } + + // Add as an output registry information + ctx.Export("registryID", myRegistry.ID()) + ctx.Export("registryName", myRegistry.Name) + ctx.Export("registryURL", myRegistry.Url) + ctx.Export("registryVersion", myRegistry.Version) + ctx.Export("registryUser", myRegistryUser.User) + ctx.Export("registryPassword", myRegistryUser.Password) + + // Use the created registry to initiate the harbor provider + harborProvider, err := harbor.NewProvider(ctx, "harbor", &harbor.ProviderArgs{ + Username: myRegistryUser.User, + Password: myRegistryUser.Password, + Url: myRegistry.Url, + }, pulumi.DependsOn([]pulumi.Resource{myRegistry, myRegistryUser})) + if err != nil { + return err + } + + // Create a public project in your harbor registry + project, err := harbor.NewProject(ctx, "project", &harbor.ProjectArgs{ + Name: pulumi.String("my-new-project"), + Public: pulumi.Bool(true), + ForceDestroy: pulumi.Bool(true), // force_destroy set to true in order to be allowed to destroy a project event in it's not empty + }, pulumi.Provider(harborProvider)) + if err != nil { + return err + } + + ctx.Export("project", project.Name) + + return nil + }) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProject.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProject.go new file mode 100644 index 00000000..e2d97632 --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProject.go @@ -0,0 +1,251 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type CloudProject struct { + pulumi.CustomResourceState + + Access pulumi.StringOutput `pulumi:"access"` + Description pulumi.StringOutput `pulumi:"description"` + // Details about an Order + Orders CloudProjectOrderArrayOutput `pulumi:"orders"` + // Ovh Subsidiary + OvhSubsidiary pulumi.StringOutput `pulumi:"ovhSubsidiary"` + OvhUrn pulumi.StringOutput `pulumi:"ovhUrn"` + // Ovh payment mode + // + // Deprecated: Deprecated + PaymentMean pulumi.StringPtrOutput `pulumi:"paymentMean"` + // Product Plan to order + Plan CloudProjectPlanOutput `pulumi:"plan"` + // Product Plan to order + PlanOptions CloudProjectPlanOptionArrayOutput `pulumi:"planOptions"` + ProjectId pulumi.StringOutput `pulumi:"projectId"` + ProjectName pulumi.StringOutput `pulumi:"projectName"` + Status pulumi.StringOutput `pulumi:"status"` +} + +// NewCloudProject registers a new resource with the given unique name, arguments, and options. +func NewCloudProject(ctx *pulumi.Context, + name string, args *CloudProjectArgs, opts ...pulumi.ResourceOption) (*CloudProject, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.OvhSubsidiary == nil { + return nil, errors.New("invalid value for required argument 'OvhSubsidiary'") + } + if args.Plan == nil { + return nil, errors.New("invalid value for required argument 'Plan'") + } + opts = internal.PkgResourceDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var resource CloudProject + err = ctx.RegisterPackageResource("ovh:index/cloudProject:CloudProject", name, args, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetCloudProject gets an existing CloudProject resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetCloudProject(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *CloudProjectState, opts ...pulumi.ResourceOption) (*CloudProject, error) { + var resource CloudProject + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + err = ctx.ReadPackageResource("ovh:index/cloudProject:CloudProject", name, id, state, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering CloudProject resources. +type cloudProjectState struct { + Access *string `pulumi:"access"` + Description *string `pulumi:"description"` + // Details about an Order + Orders []CloudProjectOrder `pulumi:"orders"` + // Ovh Subsidiary + OvhSubsidiary *string `pulumi:"ovhSubsidiary"` + OvhUrn *string `pulumi:"ovhUrn"` + // Ovh payment mode + // + // Deprecated: Deprecated + PaymentMean *string `pulumi:"paymentMean"` + // Product Plan to order + Plan *CloudProjectPlan `pulumi:"plan"` + // Product Plan to order + PlanOptions []CloudProjectPlanOption `pulumi:"planOptions"` + ProjectId *string `pulumi:"projectId"` + ProjectName *string `pulumi:"projectName"` + Status *string `pulumi:"status"` +} + +type CloudProjectState struct { + Access pulumi.StringPtrInput + Description pulumi.StringPtrInput + // Details about an Order + Orders CloudProjectOrderArrayInput + // Ovh Subsidiary + OvhSubsidiary pulumi.StringPtrInput + OvhUrn pulumi.StringPtrInput + // Ovh payment mode + // + // Deprecated: Deprecated + PaymentMean pulumi.StringPtrInput + // Product Plan to order + Plan CloudProjectPlanPtrInput + // Product Plan to order + PlanOptions CloudProjectPlanOptionArrayInput + ProjectId pulumi.StringPtrInput + ProjectName pulumi.StringPtrInput + Status pulumi.StringPtrInput +} + +func (CloudProjectState) ElementType() reflect.Type { + return reflect.TypeOf((*cloudProjectState)(nil)).Elem() +} + +type cloudProjectArgs struct { + Description *string `pulumi:"description"` + // Details about an Order + Orders []CloudProjectOrder `pulumi:"orders"` + // Ovh Subsidiary + OvhSubsidiary string `pulumi:"ovhSubsidiary"` + // Ovh payment mode + // + // Deprecated: Deprecated + PaymentMean *string `pulumi:"paymentMean"` + // Product Plan to order + Plan CloudProjectPlan `pulumi:"plan"` + // Product Plan to order + PlanOptions []CloudProjectPlanOption `pulumi:"planOptions"` +} + +// The set of arguments for constructing a CloudProject resource. +type CloudProjectArgs struct { + Description pulumi.StringPtrInput + // Details about an Order + Orders CloudProjectOrderArrayInput + // Ovh Subsidiary + OvhSubsidiary pulumi.StringInput + // Ovh payment mode + // + // Deprecated: Deprecated + PaymentMean pulumi.StringPtrInput + // Product Plan to order + Plan CloudProjectPlanInput + // Product Plan to order + PlanOptions CloudProjectPlanOptionArrayInput +} + +func (CloudProjectArgs) ElementType() reflect.Type { + return reflect.TypeOf((*cloudProjectArgs)(nil)).Elem() +} + +type CloudProjectInput interface { + pulumi.Input + + ToCloudProjectOutput() CloudProjectOutput + ToCloudProjectOutputWithContext(ctx context.Context) CloudProjectOutput +} + +func (*CloudProject) ElementType() reflect.Type { + return reflect.TypeOf((**CloudProject)(nil)).Elem() +} + +func (i *CloudProject) ToCloudProjectOutput() CloudProjectOutput { + return i.ToCloudProjectOutputWithContext(context.Background()) +} + +func (i *CloudProject) ToCloudProjectOutputWithContext(ctx context.Context) CloudProjectOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectOutput) +} + +type CloudProjectOutput struct{ *pulumi.OutputState } + +func (CloudProjectOutput) ElementType() reflect.Type { + return reflect.TypeOf((**CloudProject)(nil)).Elem() +} + +func (o CloudProjectOutput) ToCloudProjectOutput() CloudProjectOutput { + return o +} + +func (o CloudProjectOutput) ToCloudProjectOutputWithContext(ctx context.Context) CloudProjectOutput { + return o +} + +func (o CloudProjectOutput) Access() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProject) pulumi.StringOutput { return v.Access }).(pulumi.StringOutput) +} + +func (o CloudProjectOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProject) pulumi.StringOutput { return v.Description }).(pulumi.StringOutput) +} + +// Details about an Order +func (o CloudProjectOutput) Orders() CloudProjectOrderArrayOutput { + return o.ApplyT(func(v *CloudProject) CloudProjectOrderArrayOutput { return v.Orders }).(CloudProjectOrderArrayOutput) +} + +// Ovh Subsidiary +func (o CloudProjectOutput) OvhSubsidiary() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProject) pulumi.StringOutput { return v.OvhSubsidiary }).(pulumi.StringOutput) +} + +func (o CloudProjectOutput) OvhUrn() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProject) pulumi.StringOutput { return v.OvhUrn }).(pulumi.StringOutput) +} + +// Ovh payment mode +// +// Deprecated: Deprecated +func (o CloudProjectOutput) PaymentMean() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudProject) pulumi.StringPtrOutput { return v.PaymentMean }).(pulumi.StringPtrOutput) +} + +// Product Plan to order +func (o CloudProjectOutput) Plan() CloudProjectPlanOutput { + return o.ApplyT(func(v *CloudProject) CloudProjectPlanOutput { return v.Plan }).(CloudProjectPlanOutput) +} + +// Product Plan to order +func (o CloudProjectOutput) PlanOptions() CloudProjectPlanOptionArrayOutput { + return o.ApplyT(func(v *CloudProject) CloudProjectPlanOptionArrayOutput { return v.PlanOptions }).(CloudProjectPlanOptionArrayOutput) +} + +func (o CloudProjectOutput) ProjectId() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProject) pulumi.StringOutput { return v.ProjectId }).(pulumi.StringOutput) +} + +func (o CloudProjectOutput) ProjectName() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProject) pulumi.StringOutput { return v.ProjectName }).(pulumi.StringOutput) +} + +func (o CloudProjectOutput) Status() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProject) pulumi.StringOutput { return v.Status }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*CloudProjectInput)(nil)).Elem(), &CloudProject{}) + pulumi.RegisterOutputType(CloudProjectOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectAlerting.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectAlerting.go new file mode 100644 index 00000000..f7ac9d9e --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectAlerting.go @@ -0,0 +1,210 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type CloudProjectAlerting struct { + pulumi.CustomResourceState + + // Alerting creation date + CreationDate pulumi.StringOutput `pulumi:"creationDate"` + // Possible values for delay between two alerts in seconds + Delay pulumi.Float64Output `pulumi:"delay"` + // Email to contact + Email pulumi.StringOutput `pulumi:"email"` + // Formatted monthly threshold for this alerting + FormattedMonthlyThreshold CloudProjectAlertingFormattedMonthlyThresholdOutput `pulumi:"formattedMonthlyThreshold"` + // Monthly threshold for this alerting in currency + MonthlyThreshold pulumi.Float64Output `pulumi:"monthlyThreshold"` + // The project id + ServiceName pulumi.StringOutput `pulumi:"serviceName"` +} + +// NewCloudProjectAlerting registers a new resource with the given unique name, arguments, and options. +func NewCloudProjectAlerting(ctx *pulumi.Context, + name string, args *CloudProjectAlertingArgs, opts ...pulumi.ResourceOption) (*CloudProjectAlerting, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.Delay == nil { + return nil, errors.New("invalid value for required argument 'Delay'") + } + if args.Email == nil { + return nil, errors.New("invalid value for required argument 'Email'") + } + if args.MonthlyThreshold == nil { + return nil, errors.New("invalid value for required argument 'MonthlyThreshold'") + } + if args.ServiceName == nil { + return nil, errors.New("invalid value for required argument 'ServiceName'") + } + opts = internal.PkgResourceDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var resource CloudProjectAlerting + err = ctx.RegisterPackageResource("ovh:index/cloudProjectAlerting:CloudProjectAlerting", name, args, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetCloudProjectAlerting gets an existing CloudProjectAlerting resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetCloudProjectAlerting(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *CloudProjectAlertingState, opts ...pulumi.ResourceOption) (*CloudProjectAlerting, error) { + var resource CloudProjectAlerting + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + err = ctx.ReadPackageResource("ovh:index/cloudProjectAlerting:CloudProjectAlerting", name, id, state, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering CloudProjectAlerting resources. +type cloudProjectAlertingState struct { + // Alerting creation date + CreationDate *string `pulumi:"creationDate"` + // Possible values for delay between two alerts in seconds + Delay *float64 `pulumi:"delay"` + // Email to contact + Email *string `pulumi:"email"` + // Formatted monthly threshold for this alerting + FormattedMonthlyThreshold *CloudProjectAlertingFormattedMonthlyThreshold `pulumi:"formattedMonthlyThreshold"` + // Monthly threshold for this alerting in currency + MonthlyThreshold *float64 `pulumi:"monthlyThreshold"` + // The project id + ServiceName *string `pulumi:"serviceName"` +} + +type CloudProjectAlertingState struct { + // Alerting creation date + CreationDate pulumi.StringPtrInput + // Possible values for delay between two alerts in seconds + Delay pulumi.Float64PtrInput + // Email to contact + Email pulumi.StringPtrInput + // Formatted monthly threshold for this alerting + FormattedMonthlyThreshold CloudProjectAlertingFormattedMonthlyThresholdPtrInput + // Monthly threshold for this alerting in currency + MonthlyThreshold pulumi.Float64PtrInput + // The project id + ServiceName pulumi.StringPtrInput +} + +func (CloudProjectAlertingState) ElementType() reflect.Type { + return reflect.TypeOf((*cloudProjectAlertingState)(nil)).Elem() +} + +type cloudProjectAlertingArgs struct { + // Possible values for delay between two alerts in seconds + Delay float64 `pulumi:"delay"` + // Email to contact + Email string `pulumi:"email"` + // Monthly threshold for this alerting in currency + MonthlyThreshold float64 `pulumi:"monthlyThreshold"` + // The project id + ServiceName string `pulumi:"serviceName"` +} + +// The set of arguments for constructing a CloudProjectAlerting resource. +type CloudProjectAlertingArgs struct { + // Possible values for delay between two alerts in seconds + Delay pulumi.Float64Input + // Email to contact + Email pulumi.StringInput + // Monthly threshold for this alerting in currency + MonthlyThreshold pulumi.Float64Input + // The project id + ServiceName pulumi.StringInput +} + +func (CloudProjectAlertingArgs) ElementType() reflect.Type { + return reflect.TypeOf((*cloudProjectAlertingArgs)(nil)).Elem() +} + +type CloudProjectAlertingInput interface { + pulumi.Input + + ToCloudProjectAlertingOutput() CloudProjectAlertingOutput + ToCloudProjectAlertingOutputWithContext(ctx context.Context) CloudProjectAlertingOutput +} + +func (*CloudProjectAlerting) ElementType() reflect.Type { + return reflect.TypeOf((**CloudProjectAlerting)(nil)).Elem() +} + +func (i *CloudProjectAlerting) ToCloudProjectAlertingOutput() CloudProjectAlertingOutput { + return i.ToCloudProjectAlertingOutputWithContext(context.Background()) +} + +func (i *CloudProjectAlerting) ToCloudProjectAlertingOutputWithContext(ctx context.Context) CloudProjectAlertingOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectAlertingOutput) +} + +type CloudProjectAlertingOutput struct{ *pulumi.OutputState } + +func (CloudProjectAlertingOutput) ElementType() reflect.Type { + return reflect.TypeOf((**CloudProjectAlerting)(nil)).Elem() +} + +func (o CloudProjectAlertingOutput) ToCloudProjectAlertingOutput() CloudProjectAlertingOutput { + return o +} + +func (o CloudProjectAlertingOutput) ToCloudProjectAlertingOutputWithContext(ctx context.Context) CloudProjectAlertingOutput { + return o +} + +// Alerting creation date +func (o CloudProjectAlertingOutput) CreationDate() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectAlerting) pulumi.StringOutput { return v.CreationDate }).(pulumi.StringOutput) +} + +// Possible values for delay between two alerts in seconds +func (o CloudProjectAlertingOutput) Delay() pulumi.Float64Output { + return o.ApplyT(func(v *CloudProjectAlerting) pulumi.Float64Output { return v.Delay }).(pulumi.Float64Output) +} + +// Email to contact +func (o CloudProjectAlertingOutput) Email() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectAlerting) pulumi.StringOutput { return v.Email }).(pulumi.StringOutput) +} + +// Formatted monthly threshold for this alerting +func (o CloudProjectAlertingOutput) FormattedMonthlyThreshold() CloudProjectAlertingFormattedMonthlyThresholdOutput { + return o.ApplyT(func(v *CloudProjectAlerting) CloudProjectAlertingFormattedMonthlyThresholdOutput { + return v.FormattedMonthlyThreshold + }).(CloudProjectAlertingFormattedMonthlyThresholdOutput) +} + +// Monthly threshold for this alerting in currency +func (o CloudProjectAlertingOutput) MonthlyThreshold() pulumi.Float64Output { + return o.ApplyT(func(v *CloudProjectAlerting) pulumi.Float64Output { return v.MonthlyThreshold }).(pulumi.Float64Output) +} + +// The project id +func (o CloudProjectAlertingOutput) ServiceName() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectAlerting) pulumi.StringOutput { return v.ServiceName }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*CloudProjectAlertingInput)(nil)).Elem(), &CloudProjectAlerting{}) + pulumi.RegisterOutputType(CloudProjectAlertingOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectContainerregistry.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectContainerregistry.go new file mode 100644 index 00000000..08ccf468 --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectContainerregistry.go @@ -0,0 +1,259 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type CloudProjectContainerregistry struct { + pulumi.CustomResourceState + + // Registry creation date + CreatedAt pulumi.StringOutput `pulumi:"createdAt"` + // Registry name + Name pulumi.StringOutput `pulumi:"name"` + // Plan ID of the registry. + PlanId pulumi.StringOutput `pulumi:"planId"` + // Plan of the registry + Plans CloudProjectContainerregistryPlanArrayOutput `pulumi:"plans"` + // Project ID of your registry + ProjectId pulumi.StringOutput `pulumi:"projectId"` + // Region of the registry. + Region pulumi.StringOutput `pulumi:"region"` + ServiceName pulumi.StringPtrOutput `pulumi:"serviceName"` + // Current size of the registry (bytes) + Size pulumi.Float64Output `pulumi:"size"` + // Registry status + Status pulumi.StringOutput `pulumi:"status"` + // Registry last update date + UpdatedAt pulumi.StringOutput `pulumi:"updatedAt"` + // Access url of the registry + Url pulumi.StringOutput `pulumi:"url"` + // Version of your registry + Version pulumi.StringOutput `pulumi:"version"` +} + +// NewCloudProjectContainerregistry registers a new resource with the given unique name, arguments, and options. +func NewCloudProjectContainerregistry(ctx *pulumi.Context, + name string, args *CloudProjectContainerregistryArgs, opts ...pulumi.ResourceOption) (*CloudProjectContainerregistry, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.Region == nil { + return nil, errors.New("invalid value for required argument 'Region'") + } + opts = internal.PkgResourceDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var resource CloudProjectContainerregistry + err = ctx.RegisterPackageResource("ovh:index/cloudProjectContainerregistry:CloudProjectContainerregistry", name, args, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetCloudProjectContainerregistry gets an existing CloudProjectContainerregistry resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetCloudProjectContainerregistry(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *CloudProjectContainerregistryState, opts ...pulumi.ResourceOption) (*CloudProjectContainerregistry, error) { + var resource CloudProjectContainerregistry + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + err = ctx.ReadPackageResource("ovh:index/cloudProjectContainerregistry:CloudProjectContainerregistry", name, id, state, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering CloudProjectContainerregistry resources. +type cloudProjectContainerregistryState struct { + // Registry creation date + CreatedAt *string `pulumi:"createdAt"` + // Registry name + Name *string `pulumi:"name"` + // Plan ID of the registry. + PlanId *string `pulumi:"planId"` + // Plan of the registry + Plans []CloudProjectContainerregistryPlan `pulumi:"plans"` + // Project ID of your registry + ProjectId *string `pulumi:"projectId"` + // Region of the registry. + Region *string `pulumi:"region"` + ServiceName *string `pulumi:"serviceName"` + // Current size of the registry (bytes) + Size *float64 `pulumi:"size"` + // Registry status + Status *string `pulumi:"status"` + // Registry last update date + UpdatedAt *string `pulumi:"updatedAt"` + // Access url of the registry + Url *string `pulumi:"url"` + // Version of your registry + Version *string `pulumi:"version"` +} + +type CloudProjectContainerregistryState struct { + // Registry creation date + CreatedAt pulumi.StringPtrInput + // Registry name + Name pulumi.StringPtrInput + // Plan ID of the registry. + PlanId pulumi.StringPtrInput + // Plan of the registry + Plans CloudProjectContainerregistryPlanArrayInput + // Project ID of your registry + ProjectId pulumi.StringPtrInput + // Region of the registry. + Region pulumi.StringPtrInput + ServiceName pulumi.StringPtrInput + // Current size of the registry (bytes) + Size pulumi.Float64PtrInput + // Registry status + Status pulumi.StringPtrInput + // Registry last update date + UpdatedAt pulumi.StringPtrInput + // Access url of the registry + Url pulumi.StringPtrInput + // Version of your registry + Version pulumi.StringPtrInput +} + +func (CloudProjectContainerregistryState) ElementType() reflect.Type { + return reflect.TypeOf((*cloudProjectContainerregistryState)(nil)).Elem() +} + +type cloudProjectContainerregistryArgs struct { + // Registry name + Name *string `pulumi:"name"` + // Plan ID of the registry. + PlanId *string `pulumi:"planId"` + // Region of the registry. + Region string `pulumi:"region"` + ServiceName *string `pulumi:"serviceName"` +} + +// The set of arguments for constructing a CloudProjectContainerregistry resource. +type CloudProjectContainerregistryArgs struct { + // Registry name + Name pulumi.StringPtrInput + // Plan ID of the registry. + PlanId pulumi.StringPtrInput + // Region of the registry. + Region pulumi.StringInput + ServiceName pulumi.StringPtrInput +} + +func (CloudProjectContainerregistryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*cloudProjectContainerregistryArgs)(nil)).Elem() +} + +type CloudProjectContainerregistryInput interface { + pulumi.Input + + ToCloudProjectContainerregistryOutput() CloudProjectContainerregistryOutput + ToCloudProjectContainerregistryOutputWithContext(ctx context.Context) CloudProjectContainerregistryOutput +} + +func (*CloudProjectContainerregistry) ElementType() reflect.Type { + return reflect.TypeOf((**CloudProjectContainerregistry)(nil)).Elem() +} + +func (i *CloudProjectContainerregistry) ToCloudProjectContainerregistryOutput() CloudProjectContainerregistryOutput { + return i.ToCloudProjectContainerregistryOutputWithContext(context.Background()) +} + +func (i *CloudProjectContainerregistry) ToCloudProjectContainerregistryOutputWithContext(ctx context.Context) CloudProjectContainerregistryOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectContainerregistryOutput) +} + +type CloudProjectContainerregistryOutput struct{ *pulumi.OutputState } + +func (CloudProjectContainerregistryOutput) ElementType() reflect.Type { + return reflect.TypeOf((**CloudProjectContainerregistry)(nil)).Elem() +} + +func (o CloudProjectContainerregistryOutput) ToCloudProjectContainerregistryOutput() CloudProjectContainerregistryOutput { + return o +} + +func (o CloudProjectContainerregistryOutput) ToCloudProjectContainerregistryOutputWithContext(ctx context.Context) CloudProjectContainerregistryOutput { + return o +} + +// Registry creation date +func (o CloudProjectContainerregistryOutput) CreatedAt() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectContainerregistry) pulumi.StringOutput { return v.CreatedAt }).(pulumi.StringOutput) +} + +// Registry name +func (o CloudProjectContainerregistryOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectContainerregistry) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +// Plan ID of the registry. +func (o CloudProjectContainerregistryOutput) PlanId() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectContainerregistry) pulumi.StringOutput { return v.PlanId }).(pulumi.StringOutput) +} + +// Plan of the registry +func (o CloudProjectContainerregistryOutput) Plans() CloudProjectContainerregistryPlanArrayOutput { + return o.ApplyT(func(v *CloudProjectContainerregistry) CloudProjectContainerregistryPlanArrayOutput { return v.Plans }).(CloudProjectContainerregistryPlanArrayOutput) +} + +// Project ID of your registry +func (o CloudProjectContainerregistryOutput) ProjectId() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectContainerregistry) pulumi.StringOutput { return v.ProjectId }).(pulumi.StringOutput) +} + +// Region of the registry. +func (o CloudProjectContainerregistryOutput) Region() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectContainerregistry) pulumi.StringOutput { return v.Region }).(pulumi.StringOutput) +} + +func (o CloudProjectContainerregistryOutput) ServiceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudProjectContainerregistry) pulumi.StringPtrOutput { return v.ServiceName }).(pulumi.StringPtrOutput) +} + +// Current size of the registry (bytes) +func (o CloudProjectContainerregistryOutput) Size() pulumi.Float64Output { + return o.ApplyT(func(v *CloudProjectContainerregistry) pulumi.Float64Output { return v.Size }).(pulumi.Float64Output) +} + +// Registry status +func (o CloudProjectContainerregistryOutput) Status() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectContainerregistry) pulumi.StringOutput { return v.Status }).(pulumi.StringOutput) +} + +// Registry last update date +func (o CloudProjectContainerregistryOutput) UpdatedAt() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectContainerregistry) pulumi.StringOutput { return v.UpdatedAt }).(pulumi.StringOutput) +} + +// Access url of the registry +func (o CloudProjectContainerregistryOutput) Url() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectContainerregistry) pulumi.StringOutput { return v.Url }).(pulumi.StringOutput) +} + +// Version of your registry +func (o CloudProjectContainerregistryOutput) Version() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectContainerregistry) pulumi.StringOutput { return v.Version }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*CloudProjectContainerregistryInput)(nil)).Elem(), &CloudProjectContainerregistry{}) + pulumi.RegisterOutputType(CloudProjectContainerregistryOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectContainerregistryIpRestrictionsManagement.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectContainerregistryIpRestrictionsManagement.go new file mode 100644 index 00000000..82bd97c2 --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectContainerregistryIpRestrictionsManagement.go @@ -0,0 +1,171 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type CloudProjectContainerregistryIpRestrictionsManagement struct { + pulumi.CustomResourceState + + // List your IP restrictions applied on artifact manager component + IpRestrictions pulumi.StringMapArrayOutput `pulumi:"ipRestrictions"` + // RegistryID + RegistryId pulumi.StringOutput `pulumi:"registryId"` + // Service name + ServiceName pulumi.StringPtrOutput `pulumi:"serviceName"` +} + +// NewCloudProjectContainerregistryIpRestrictionsManagement registers a new resource with the given unique name, arguments, and options. +func NewCloudProjectContainerregistryIpRestrictionsManagement(ctx *pulumi.Context, + name string, args *CloudProjectContainerregistryIpRestrictionsManagementArgs, opts ...pulumi.ResourceOption) (*CloudProjectContainerregistryIpRestrictionsManagement, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.IpRestrictions == nil { + return nil, errors.New("invalid value for required argument 'IpRestrictions'") + } + if args.RegistryId == nil { + return nil, errors.New("invalid value for required argument 'RegistryId'") + } + opts = internal.PkgResourceDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var resource CloudProjectContainerregistryIpRestrictionsManagement + err = ctx.RegisterPackageResource("ovh:index/cloudProjectContainerregistryIpRestrictionsManagement:CloudProjectContainerregistryIpRestrictionsManagement", name, args, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetCloudProjectContainerregistryIpRestrictionsManagement gets an existing CloudProjectContainerregistryIpRestrictionsManagement resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetCloudProjectContainerregistryIpRestrictionsManagement(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *CloudProjectContainerregistryIpRestrictionsManagementState, opts ...pulumi.ResourceOption) (*CloudProjectContainerregistryIpRestrictionsManagement, error) { + var resource CloudProjectContainerregistryIpRestrictionsManagement + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + err = ctx.ReadPackageResource("ovh:index/cloudProjectContainerregistryIpRestrictionsManagement:CloudProjectContainerregistryIpRestrictionsManagement", name, id, state, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering CloudProjectContainerregistryIpRestrictionsManagement resources. +type cloudProjectContainerregistryIpRestrictionsManagementState struct { + // List your IP restrictions applied on artifact manager component + IpRestrictions []map[string]string `pulumi:"ipRestrictions"` + // RegistryID + RegistryId *string `pulumi:"registryId"` + // Service name + ServiceName *string `pulumi:"serviceName"` +} + +type CloudProjectContainerregistryIpRestrictionsManagementState struct { + // List your IP restrictions applied on artifact manager component + IpRestrictions pulumi.StringMapArrayInput + // RegistryID + RegistryId pulumi.StringPtrInput + // Service name + ServiceName pulumi.StringPtrInput +} + +func (CloudProjectContainerregistryIpRestrictionsManagementState) ElementType() reflect.Type { + return reflect.TypeOf((*cloudProjectContainerregistryIpRestrictionsManagementState)(nil)).Elem() +} + +type cloudProjectContainerregistryIpRestrictionsManagementArgs struct { + // List your IP restrictions applied on artifact manager component + IpRestrictions []map[string]string `pulumi:"ipRestrictions"` + // RegistryID + RegistryId string `pulumi:"registryId"` + // Service name + ServiceName *string `pulumi:"serviceName"` +} + +// The set of arguments for constructing a CloudProjectContainerregistryIpRestrictionsManagement resource. +type CloudProjectContainerregistryIpRestrictionsManagementArgs struct { + // List your IP restrictions applied on artifact manager component + IpRestrictions pulumi.StringMapArrayInput + // RegistryID + RegistryId pulumi.StringInput + // Service name + ServiceName pulumi.StringPtrInput +} + +func (CloudProjectContainerregistryIpRestrictionsManagementArgs) ElementType() reflect.Type { + return reflect.TypeOf((*cloudProjectContainerregistryIpRestrictionsManagementArgs)(nil)).Elem() +} + +type CloudProjectContainerregistryIpRestrictionsManagementInput interface { + pulumi.Input + + ToCloudProjectContainerregistryIpRestrictionsManagementOutput() CloudProjectContainerregistryIpRestrictionsManagementOutput + ToCloudProjectContainerregistryIpRestrictionsManagementOutputWithContext(ctx context.Context) CloudProjectContainerregistryIpRestrictionsManagementOutput +} + +func (*CloudProjectContainerregistryIpRestrictionsManagement) ElementType() reflect.Type { + return reflect.TypeOf((**CloudProjectContainerregistryIpRestrictionsManagement)(nil)).Elem() +} + +func (i *CloudProjectContainerregistryIpRestrictionsManagement) ToCloudProjectContainerregistryIpRestrictionsManagementOutput() CloudProjectContainerregistryIpRestrictionsManagementOutput { + return i.ToCloudProjectContainerregistryIpRestrictionsManagementOutputWithContext(context.Background()) +} + +func (i *CloudProjectContainerregistryIpRestrictionsManagement) ToCloudProjectContainerregistryIpRestrictionsManagementOutputWithContext(ctx context.Context) CloudProjectContainerregistryIpRestrictionsManagementOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectContainerregistryIpRestrictionsManagementOutput) +} + +type CloudProjectContainerregistryIpRestrictionsManagementOutput struct{ *pulumi.OutputState } + +func (CloudProjectContainerregistryIpRestrictionsManagementOutput) ElementType() reflect.Type { + return reflect.TypeOf((**CloudProjectContainerregistryIpRestrictionsManagement)(nil)).Elem() +} + +func (o CloudProjectContainerregistryIpRestrictionsManagementOutput) ToCloudProjectContainerregistryIpRestrictionsManagementOutput() CloudProjectContainerregistryIpRestrictionsManagementOutput { + return o +} + +func (o CloudProjectContainerregistryIpRestrictionsManagementOutput) ToCloudProjectContainerregistryIpRestrictionsManagementOutputWithContext(ctx context.Context) CloudProjectContainerregistryIpRestrictionsManagementOutput { + return o +} + +// List your IP restrictions applied on artifact manager component +func (o CloudProjectContainerregistryIpRestrictionsManagementOutput) IpRestrictions() pulumi.StringMapArrayOutput { + return o.ApplyT(func(v *CloudProjectContainerregistryIpRestrictionsManagement) pulumi.StringMapArrayOutput { + return v.IpRestrictions + }).(pulumi.StringMapArrayOutput) +} + +// RegistryID +func (o CloudProjectContainerregistryIpRestrictionsManagementOutput) RegistryId() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectContainerregistryIpRestrictionsManagement) pulumi.StringOutput { + return v.RegistryId + }).(pulumi.StringOutput) +} + +// Service name +func (o CloudProjectContainerregistryIpRestrictionsManagementOutput) ServiceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudProjectContainerregistryIpRestrictionsManagement) pulumi.StringPtrOutput { + return v.ServiceName + }).(pulumi.StringPtrOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*CloudProjectContainerregistryIpRestrictionsManagementInput)(nil)).Elem(), &CloudProjectContainerregistryIpRestrictionsManagement{}) + pulumi.RegisterOutputType(CloudProjectContainerregistryIpRestrictionsManagementOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectContainerregistryIpRestrictionsRegistry.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectContainerregistryIpRestrictionsRegistry.go new file mode 100644 index 00000000..adee6abf --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectContainerregistryIpRestrictionsRegistry.go @@ -0,0 +1,169 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type CloudProjectContainerregistryIpRestrictionsRegistry struct { + pulumi.CustomResourceState + + // List your IP restrictions applied on artifact manager component + IpRestrictions pulumi.StringMapArrayOutput `pulumi:"ipRestrictions"` + // RegistryID + RegistryId pulumi.StringOutput `pulumi:"registryId"` + // Service name + ServiceName pulumi.StringPtrOutput `pulumi:"serviceName"` +} + +// NewCloudProjectContainerregistryIpRestrictionsRegistry registers a new resource with the given unique name, arguments, and options. +func NewCloudProjectContainerregistryIpRestrictionsRegistry(ctx *pulumi.Context, + name string, args *CloudProjectContainerregistryIpRestrictionsRegistryArgs, opts ...pulumi.ResourceOption) (*CloudProjectContainerregistryIpRestrictionsRegistry, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.IpRestrictions == nil { + return nil, errors.New("invalid value for required argument 'IpRestrictions'") + } + if args.RegistryId == nil { + return nil, errors.New("invalid value for required argument 'RegistryId'") + } + opts = internal.PkgResourceDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var resource CloudProjectContainerregistryIpRestrictionsRegistry + err = ctx.RegisterPackageResource("ovh:index/cloudProjectContainerregistryIpRestrictionsRegistry:CloudProjectContainerregistryIpRestrictionsRegistry", name, args, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetCloudProjectContainerregistryIpRestrictionsRegistry gets an existing CloudProjectContainerregistryIpRestrictionsRegistry resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetCloudProjectContainerregistryIpRestrictionsRegistry(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *CloudProjectContainerregistryIpRestrictionsRegistryState, opts ...pulumi.ResourceOption) (*CloudProjectContainerregistryIpRestrictionsRegistry, error) { + var resource CloudProjectContainerregistryIpRestrictionsRegistry + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + err = ctx.ReadPackageResource("ovh:index/cloudProjectContainerregistryIpRestrictionsRegistry:CloudProjectContainerregistryIpRestrictionsRegistry", name, id, state, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering CloudProjectContainerregistryIpRestrictionsRegistry resources. +type cloudProjectContainerregistryIpRestrictionsRegistryState struct { + // List your IP restrictions applied on artifact manager component + IpRestrictions []map[string]string `pulumi:"ipRestrictions"` + // RegistryID + RegistryId *string `pulumi:"registryId"` + // Service name + ServiceName *string `pulumi:"serviceName"` +} + +type CloudProjectContainerregistryIpRestrictionsRegistryState struct { + // List your IP restrictions applied on artifact manager component + IpRestrictions pulumi.StringMapArrayInput + // RegistryID + RegistryId pulumi.StringPtrInput + // Service name + ServiceName pulumi.StringPtrInput +} + +func (CloudProjectContainerregistryIpRestrictionsRegistryState) ElementType() reflect.Type { + return reflect.TypeOf((*cloudProjectContainerregistryIpRestrictionsRegistryState)(nil)).Elem() +} + +type cloudProjectContainerregistryIpRestrictionsRegistryArgs struct { + // List your IP restrictions applied on artifact manager component + IpRestrictions []map[string]string `pulumi:"ipRestrictions"` + // RegistryID + RegistryId string `pulumi:"registryId"` + // Service name + ServiceName *string `pulumi:"serviceName"` +} + +// The set of arguments for constructing a CloudProjectContainerregistryIpRestrictionsRegistry resource. +type CloudProjectContainerregistryIpRestrictionsRegistryArgs struct { + // List your IP restrictions applied on artifact manager component + IpRestrictions pulumi.StringMapArrayInput + // RegistryID + RegistryId pulumi.StringInput + // Service name + ServiceName pulumi.StringPtrInput +} + +func (CloudProjectContainerregistryIpRestrictionsRegistryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*cloudProjectContainerregistryIpRestrictionsRegistryArgs)(nil)).Elem() +} + +type CloudProjectContainerregistryIpRestrictionsRegistryInput interface { + pulumi.Input + + ToCloudProjectContainerregistryIpRestrictionsRegistryOutput() CloudProjectContainerregistryIpRestrictionsRegistryOutput + ToCloudProjectContainerregistryIpRestrictionsRegistryOutputWithContext(ctx context.Context) CloudProjectContainerregistryIpRestrictionsRegistryOutput +} + +func (*CloudProjectContainerregistryIpRestrictionsRegistry) ElementType() reflect.Type { + return reflect.TypeOf((**CloudProjectContainerregistryIpRestrictionsRegistry)(nil)).Elem() +} + +func (i *CloudProjectContainerregistryIpRestrictionsRegistry) ToCloudProjectContainerregistryIpRestrictionsRegistryOutput() CloudProjectContainerregistryIpRestrictionsRegistryOutput { + return i.ToCloudProjectContainerregistryIpRestrictionsRegistryOutputWithContext(context.Background()) +} + +func (i *CloudProjectContainerregistryIpRestrictionsRegistry) ToCloudProjectContainerregistryIpRestrictionsRegistryOutputWithContext(ctx context.Context) CloudProjectContainerregistryIpRestrictionsRegistryOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectContainerregistryIpRestrictionsRegistryOutput) +} + +type CloudProjectContainerregistryIpRestrictionsRegistryOutput struct{ *pulumi.OutputState } + +func (CloudProjectContainerregistryIpRestrictionsRegistryOutput) ElementType() reflect.Type { + return reflect.TypeOf((**CloudProjectContainerregistryIpRestrictionsRegistry)(nil)).Elem() +} + +func (o CloudProjectContainerregistryIpRestrictionsRegistryOutput) ToCloudProjectContainerregistryIpRestrictionsRegistryOutput() CloudProjectContainerregistryIpRestrictionsRegistryOutput { + return o +} + +func (o CloudProjectContainerregistryIpRestrictionsRegistryOutput) ToCloudProjectContainerregistryIpRestrictionsRegistryOutputWithContext(ctx context.Context) CloudProjectContainerregistryIpRestrictionsRegistryOutput { + return o +} + +// List your IP restrictions applied on artifact manager component +func (o CloudProjectContainerregistryIpRestrictionsRegistryOutput) IpRestrictions() pulumi.StringMapArrayOutput { + return o.ApplyT(func(v *CloudProjectContainerregistryIpRestrictionsRegistry) pulumi.StringMapArrayOutput { + return v.IpRestrictions + }).(pulumi.StringMapArrayOutput) +} + +// RegistryID +func (o CloudProjectContainerregistryIpRestrictionsRegistryOutput) RegistryId() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectContainerregistryIpRestrictionsRegistry) pulumi.StringOutput { return v.RegistryId }).(pulumi.StringOutput) +} + +// Service name +func (o CloudProjectContainerregistryIpRestrictionsRegistryOutput) ServiceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudProjectContainerregistryIpRestrictionsRegistry) pulumi.StringPtrOutput { + return v.ServiceName + }).(pulumi.StringPtrOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*CloudProjectContainerregistryIpRestrictionsRegistryInput)(nil)).Elem(), &CloudProjectContainerregistryIpRestrictionsRegistry{}) + pulumi.RegisterOutputType(CloudProjectContainerregistryIpRestrictionsRegistryOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectContainerregistryOidc.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectContainerregistryOidc.go new file mode 100644 index 00000000..8d3b887f --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectContainerregistryOidc.go @@ -0,0 +1,267 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type CloudProjectContainerregistryOidc struct { + pulumi.CustomResourceState + + DeleteUsers pulumi.BoolPtrOutput `pulumi:"deleteUsers"` + OidcAdminGroup pulumi.StringPtrOutput `pulumi:"oidcAdminGroup"` + OidcAutoOnboard pulumi.BoolPtrOutput `pulumi:"oidcAutoOnboard"` + OidcClientId pulumi.StringOutput `pulumi:"oidcClientId"` + OidcClientSecret pulumi.StringOutput `pulumi:"oidcClientSecret"` + OidcEndpoint pulumi.StringOutput `pulumi:"oidcEndpoint"` + OidcGroupsClaim pulumi.StringPtrOutput `pulumi:"oidcGroupsClaim"` + OidcName pulumi.StringOutput `pulumi:"oidcName"` + OidcScope pulumi.StringOutput `pulumi:"oidcScope"` + OidcUserClaim pulumi.StringPtrOutput `pulumi:"oidcUserClaim"` + OidcVerifyCert pulumi.BoolPtrOutput `pulumi:"oidcVerifyCert"` + RegistryId pulumi.StringOutput `pulumi:"registryId"` + ServiceName pulumi.StringPtrOutput `pulumi:"serviceName"` + Timeouts CloudProjectContainerregistryOidcTimeoutsPtrOutput `pulumi:"timeouts"` +} + +// NewCloudProjectContainerregistryOidc registers a new resource with the given unique name, arguments, and options. +func NewCloudProjectContainerregistryOidc(ctx *pulumi.Context, + name string, args *CloudProjectContainerregistryOidcArgs, opts ...pulumi.ResourceOption) (*CloudProjectContainerregistryOidc, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.OidcClientId == nil { + return nil, errors.New("invalid value for required argument 'OidcClientId'") + } + if args.OidcClientSecret == nil { + return nil, errors.New("invalid value for required argument 'OidcClientSecret'") + } + if args.OidcEndpoint == nil { + return nil, errors.New("invalid value for required argument 'OidcEndpoint'") + } + if args.OidcName == nil { + return nil, errors.New("invalid value for required argument 'OidcName'") + } + if args.OidcScope == nil { + return nil, errors.New("invalid value for required argument 'OidcScope'") + } + if args.RegistryId == nil { + return nil, errors.New("invalid value for required argument 'RegistryId'") + } + if args.OidcClientSecret != nil { + args.OidcClientSecret = pulumi.ToSecret(args.OidcClientSecret).(pulumi.StringInput) + } + secrets := pulumi.AdditionalSecretOutputs([]string{ + "oidcClientSecret", + }) + opts = append(opts, secrets) + opts = internal.PkgResourceDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var resource CloudProjectContainerregistryOidc + err = ctx.RegisterPackageResource("ovh:index/cloudProjectContainerregistryOidc:CloudProjectContainerregistryOidc", name, args, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetCloudProjectContainerregistryOidc gets an existing CloudProjectContainerregistryOidc resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetCloudProjectContainerregistryOidc(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *CloudProjectContainerregistryOidcState, opts ...pulumi.ResourceOption) (*CloudProjectContainerregistryOidc, error) { + var resource CloudProjectContainerregistryOidc + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + err = ctx.ReadPackageResource("ovh:index/cloudProjectContainerregistryOidc:CloudProjectContainerregistryOidc", name, id, state, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering CloudProjectContainerregistryOidc resources. +type cloudProjectContainerregistryOidcState struct { + DeleteUsers *bool `pulumi:"deleteUsers"` + OidcAdminGroup *string `pulumi:"oidcAdminGroup"` + OidcAutoOnboard *bool `pulumi:"oidcAutoOnboard"` + OidcClientId *string `pulumi:"oidcClientId"` + OidcClientSecret *string `pulumi:"oidcClientSecret"` + OidcEndpoint *string `pulumi:"oidcEndpoint"` + OidcGroupsClaim *string `pulumi:"oidcGroupsClaim"` + OidcName *string `pulumi:"oidcName"` + OidcScope *string `pulumi:"oidcScope"` + OidcUserClaim *string `pulumi:"oidcUserClaim"` + OidcVerifyCert *bool `pulumi:"oidcVerifyCert"` + RegistryId *string `pulumi:"registryId"` + ServiceName *string `pulumi:"serviceName"` + Timeouts *CloudProjectContainerregistryOidcTimeouts `pulumi:"timeouts"` +} + +type CloudProjectContainerregistryOidcState struct { + DeleteUsers pulumi.BoolPtrInput + OidcAdminGroup pulumi.StringPtrInput + OidcAutoOnboard pulumi.BoolPtrInput + OidcClientId pulumi.StringPtrInput + OidcClientSecret pulumi.StringPtrInput + OidcEndpoint pulumi.StringPtrInput + OidcGroupsClaim pulumi.StringPtrInput + OidcName pulumi.StringPtrInput + OidcScope pulumi.StringPtrInput + OidcUserClaim pulumi.StringPtrInput + OidcVerifyCert pulumi.BoolPtrInput + RegistryId pulumi.StringPtrInput + ServiceName pulumi.StringPtrInput + Timeouts CloudProjectContainerregistryOidcTimeoutsPtrInput +} + +func (CloudProjectContainerregistryOidcState) ElementType() reflect.Type { + return reflect.TypeOf((*cloudProjectContainerregistryOidcState)(nil)).Elem() +} + +type cloudProjectContainerregistryOidcArgs struct { + DeleteUsers *bool `pulumi:"deleteUsers"` + OidcAdminGroup *string `pulumi:"oidcAdminGroup"` + OidcAutoOnboard *bool `pulumi:"oidcAutoOnboard"` + OidcClientId string `pulumi:"oidcClientId"` + OidcClientSecret string `pulumi:"oidcClientSecret"` + OidcEndpoint string `pulumi:"oidcEndpoint"` + OidcGroupsClaim *string `pulumi:"oidcGroupsClaim"` + OidcName string `pulumi:"oidcName"` + OidcScope string `pulumi:"oidcScope"` + OidcUserClaim *string `pulumi:"oidcUserClaim"` + OidcVerifyCert *bool `pulumi:"oidcVerifyCert"` + RegistryId string `pulumi:"registryId"` + ServiceName *string `pulumi:"serviceName"` + Timeouts *CloudProjectContainerregistryOidcTimeouts `pulumi:"timeouts"` +} + +// The set of arguments for constructing a CloudProjectContainerregistryOidc resource. +type CloudProjectContainerregistryOidcArgs struct { + DeleteUsers pulumi.BoolPtrInput + OidcAdminGroup pulumi.StringPtrInput + OidcAutoOnboard pulumi.BoolPtrInput + OidcClientId pulumi.StringInput + OidcClientSecret pulumi.StringInput + OidcEndpoint pulumi.StringInput + OidcGroupsClaim pulumi.StringPtrInput + OidcName pulumi.StringInput + OidcScope pulumi.StringInput + OidcUserClaim pulumi.StringPtrInput + OidcVerifyCert pulumi.BoolPtrInput + RegistryId pulumi.StringInput + ServiceName pulumi.StringPtrInput + Timeouts CloudProjectContainerregistryOidcTimeoutsPtrInput +} + +func (CloudProjectContainerregistryOidcArgs) ElementType() reflect.Type { + return reflect.TypeOf((*cloudProjectContainerregistryOidcArgs)(nil)).Elem() +} + +type CloudProjectContainerregistryOidcInput interface { + pulumi.Input + + ToCloudProjectContainerregistryOidcOutput() CloudProjectContainerregistryOidcOutput + ToCloudProjectContainerregistryOidcOutputWithContext(ctx context.Context) CloudProjectContainerregistryOidcOutput +} + +func (*CloudProjectContainerregistryOidc) ElementType() reflect.Type { + return reflect.TypeOf((**CloudProjectContainerregistryOidc)(nil)).Elem() +} + +func (i *CloudProjectContainerregistryOidc) ToCloudProjectContainerregistryOidcOutput() CloudProjectContainerregistryOidcOutput { + return i.ToCloudProjectContainerregistryOidcOutputWithContext(context.Background()) +} + +func (i *CloudProjectContainerregistryOidc) ToCloudProjectContainerregistryOidcOutputWithContext(ctx context.Context) CloudProjectContainerregistryOidcOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectContainerregistryOidcOutput) +} + +type CloudProjectContainerregistryOidcOutput struct{ *pulumi.OutputState } + +func (CloudProjectContainerregistryOidcOutput) ElementType() reflect.Type { + return reflect.TypeOf((**CloudProjectContainerregistryOidc)(nil)).Elem() +} + +func (o CloudProjectContainerregistryOidcOutput) ToCloudProjectContainerregistryOidcOutput() CloudProjectContainerregistryOidcOutput { + return o +} + +func (o CloudProjectContainerregistryOidcOutput) ToCloudProjectContainerregistryOidcOutputWithContext(ctx context.Context) CloudProjectContainerregistryOidcOutput { + return o +} + +func (o CloudProjectContainerregistryOidcOutput) DeleteUsers() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *CloudProjectContainerregistryOidc) pulumi.BoolPtrOutput { return v.DeleteUsers }).(pulumi.BoolPtrOutput) +} + +func (o CloudProjectContainerregistryOidcOutput) OidcAdminGroup() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudProjectContainerregistryOidc) pulumi.StringPtrOutput { return v.OidcAdminGroup }).(pulumi.StringPtrOutput) +} + +func (o CloudProjectContainerregistryOidcOutput) OidcAutoOnboard() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *CloudProjectContainerregistryOidc) pulumi.BoolPtrOutput { return v.OidcAutoOnboard }).(pulumi.BoolPtrOutput) +} + +func (o CloudProjectContainerregistryOidcOutput) OidcClientId() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectContainerregistryOidc) pulumi.StringOutput { return v.OidcClientId }).(pulumi.StringOutput) +} + +func (o CloudProjectContainerregistryOidcOutput) OidcClientSecret() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectContainerregistryOidc) pulumi.StringOutput { return v.OidcClientSecret }).(pulumi.StringOutput) +} + +func (o CloudProjectContainerregistryOidcOutput) OidcEndpoint() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectContainerregistryOidc) pulumi.StringOutput { return v.OidcEndpoint }).(pulumi.StringOutput) +} + +func (o CloudProjectContainerregistryOidcOutput) OidcGroupsClaim() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudProjectContainerregistryOidc) pulumi.StringPtrOutput { return v.OidcGroupsClaim }).(pulumi.StringPtrOutput) +} + +func (o CloudProjectContainerregistryOidcOutput) OidcName() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectContainerregistryOidc) pulumi.StringOutput { return v.OidcName }).(pulumi.StringOutput) +} + +func (o CloudProjectContainerregistryOidcOutput) OidcScope() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectContainerregistryOidc) pulumi.StringOutput { return v.OidcScope }).(pulumi.StringOutput) +} + +func (o CloudProjectContainerregistryOidcOutput) OidcUserClaim() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudProjectContainerregistryOidc) pulumi.StringPtrOutput { return v.OidcUserClaim }).(pulumi.StringPtrOutput) +} + +func (o CloudProjectContainerregistryOidcOutput) OidcVerifyCert() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *CloudProjectContainerregistryOidc) pulumi.BoolPtrOutput { return v.OidcVerifyCert }).(pulumi.BoolPtrOutput) +} + +func (o CloudProjectContainerregistryOidcOutput) RegistryId() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectContainerregistryOidc) pulumi.StringOutput { return v.RegistryId }).(pulumi.StringOutput) +} + +func (o CloudProjectContainerregistryOidcOutput) ServiceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudProjectContainerregistryOidc) pulumi.StringPtrOutput { return v.ServiceName }).(pulumi.StringPtrOutput) +} + +func (o CloudProjectContainerregistryOidcOutput) Timeouts() CloudProjectContainerregistryOidcTimeoutsPtrOutput { + return o.ApplyT(func(v *CloudProjectContainerregistryOidc) CloudProjectContainerregistryOidcTimeoutsPtrOutput { + return v.Timeouts + }).(CloudProjectContainerregistryOidcTimeoutsPtrOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*CloudProjectContainerregistryOidcInput)(nil)).Elem(), &CloudProjectContainerregistryOidc{}) + pulumi.RegisterOutputType(CloudProjectContainerregistryOidcOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectContainerregistryUser.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectContainerregistryUser.go new file mode 100644 index 00000000..b19a524c --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectContainerregistryUser.go @@ -0,0 +1,209 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type CloudProjectContainerregistryUser struct { + pulumi.CustomResourceState + + // User email. + Email pulumi.StringOutput `pulumi:"email"` + // Registry name + Login pulumi.StringOutput `pulumi:"login"` + // User password + Password pulumi.StringOutput `pulumi:"password"` + // RegistryID + RegistryId pulumi.StringOutput `pulumi:"registryId"` + // Service name + ServiceName pulumi.StringPtrOutput `pulumi:"serviceName"` + // User name + User pulumi.StringOutput `pulumi:"user"` +} + +// NewCloudProjectContainerregistryUser registers a new resource with the given unique name, arguments, and options. +func NewCloudProjectContainerregistryUser(ctx *pulumi.Context, + name string, args *CloudProjectContainerregistryUserArgs, opts ...pulumi.ResourceOption) (*CloudProjectContainerregistryUser, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.Email == nil { + return nil, errors.New("invalid value for required argument 'Email'") + } + if args.Login == nil { + return nil, errors.New("invalid value for required argument 'Login'") + } + if args.RegistryId == nil { + return nil, errors.New("invalid value for required argument 'RegistryId'") + } + secrets := pulumi.AdditionalSecretOutputs([]string{ + "password", + }) + opts = append(opts, secrets) + opts = internal.PkgResourceDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var resource CloudProjectContainerregistryUser + err = ctx.RegisterPackageResource("ovh:index/cloudProjectContainerregistryUser:CloudProjectContainerregistryUser", name, args, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetCloudProjectContainerregistryUser gets an existing CloudProjectContainerregistryUser resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetCloudProjectContainerregistryUser(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *CloudProjectContainerregistryUserState, opts ...pulumi.ResourceOption) (*CloudProjectContainerregistryUser, error) { + var resource CloudProjectContainerregistryUser + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + err = ctx.ReadPackageResource("ovh:index/cloudProjectContainerregistryUser:CloudProjectContainerregistryUser", name, id, state, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering CloudProjectContainerregistryUser resources. +type cloudProjectContainerregistryUserState struct { + // User email. + Email *string `pulumi:"email"` + // Registry name + Login *string `pulumi:"login"` + // User password + Password *string `pulumi:"password"` + // RegistryID + RegistryId *string `pulumi:"registryId"` + // Service name + ServiceName *string `pulumi:"serviceName"` + // User name + User *string `pulumi:"user"` +} + +type CloudProjectContainerregistryUserState struct { + // User email. + Email pulumi.StringPtrInput + // Registry name + Login pulumi.StringPtrInput + // User password + Password pulumi.StringPtrInput + // RegistryID + RegistryId pulumi.StringPtrInput + // Service name + ServiceName pulumi.StringPtrInput + // User name + User pulumi.StringPtrInput +} + +func (CloudProjectContainerregistryUserState) ElementType() reflect.Type { + return reflect.TypeOf((*cloudProjectContainerregistryUserState)(nil)).Elem() +} + +type cloudProjectContainerregistryUserArgs struct { + // User email. + Email string `pulumi:"email"` + // Registry name + Login string `pulumi:"login"` + // RegistryID + RegistryId string `pulumi:"registryId"` + // Service name + ServiceName *string `pulumi:"serviceName"` +} + +// The set of arguments for constructing a CloudProjectContainerregistryUser resource. +type CloudProjectContainerregistryUserArgs struct { + // User email. + Email pulumi.StringInput + // Registry name + Login pulumi.StringInput + // RegistryID + RegistryId pulumi.StringInput + // Service name + ServiceName pulumi.StringPtrInput +} + +func (CloudProjectContainerregistryUserArgs) ElementType() reflect.Type { + return reflect.TypeOf((*cloudProjectContainerregistryUserArgs)(nil)).Elem() +} + +type CloudProjectContainerregistryUserInput interface { + pulumi.Input + + ToCloudProjectContainerregistryUserOutput() CloudProjectContainerregistryUserOutput + ToCloudProjectContainerregistryUserOutputWithContext(ctx context.Context) CloudProjectContainerregistryUserOutput +} + +func (*CloudProjectContainerregistryUser) ElementType() reflect.Type { + return reflect.TypeOf((**CloudProjectContainerregistryUser)(nil)).Elem() +} + +func (i *CloudProjectContainerregistryUser) ToCloudProjectContainerregistryUserOutput() CloudProjectContainerregistryUserOutput { + return i.ToCloudProjectContainerregistryUserOutputWithContext(context.Background()) +} + +func (i *CloudProjectContainerregistryUser) ToCloudProjectContainerregistryUserOutputWithContext(ctx context.Context) CloudProjectContainerregistryUserOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectContainerregistryUserOutput) +} + +type CloudProjectContainerregistryUserOutput struct{ *pulumi.OutputState } + +func (CloudProjectContainerregistryUserOutput) ElementType() reflect.Type { + return reflect.TypeOf((**CloudProjectContainerregistryUser)(nil)).Elem() +} + +func (o CloudProjectContainerregistryUserOutput) ToCloudProjectContainerregistryUserOutput() CloudProjectContainerregistryUserOutput { + return o +} + +func (o CloudProjectContainerregistryUserOutput) ToCloudProjectContainerregistryUserOutputWithContext(ctx context.Context) CloudProjectContainerregistryUserOutput { + return o +} + +// User email. +func (o CloudProjectContainerregistryUserOutput) Email() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectContainerregistryUser) pulumi.StringOutput { return v.Email }).(pulumi.StringOutput) +} + +// Registry name +func (o CloudProjectContainerregistryUserOutput) Login() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectContainerregistryUser) pulumi.StringOutput { return v.Login }).(pulumi.StringOutput) +} + +// User password +func (o CloudProjectContainerregistryUserOutput) Password() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectContainerregistryUser) pulumi.StringOutput { return v.Password }).(pulumi.StringOutput) +} + +// RegistryID +func (o CloudProjectContainerregistryUserOutput) RegistryId() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectContainerregistryUser) pulumi.StringOutput { return v.RegistryId }).(pulumi.StringOutput) +} + +// Service name +func (o CloudProjectContainerregistryUserOutput) ServiceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudProjectContainerregistryUser) pulumi.StringPtrOutput { return v.ServiceName }).(pulumi.StringPtrOutput) +} + +// User name +func (o CloudProjectContainerregistryUserOutput) User() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectContainerregistryUser) pulumi.StringOutput { return v.User }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*CloudProjectContainerregistryUserInput)(nil)).Elem(), &CloudProjectContainerregistryUser{}) + pulumi.RegisterOutputType(CloudProjectContainerregistryUserOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectDatabase.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectDatabase.go new file mode 100644 index 00000000..89e8bab8 --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectDatabase.go @@ -0,0 +1,431 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type CloudProjectDatabase struct { + pulumi.CustomResourceState + + // Advanced configuration key / value + AdvancedConfiguration pulumi.StringMapOutput `pulumi:"advancedConfiguration"` + // List of region where backups are pushed. Not more than 1 regions for MongoDB. Not more than 2 regions for the other + // engines with one being the same as the nodes[].region field + BackupRegions pulumi.StringArrayOutput `pulumi:"backupRegions"` + // Time on which backups start every day + BackupTime pulumi.StringOutput `pulumi:"backupTime"` + // Date of the creation of the cluster + CreatedAt pulumi.StringOutput `pulumi:"createdAt"` + // Description of the cluster + Description pulumi.StringPtrOutput `pulumi:"description"` + // Disk size attributes of the cluster + DiskSize pulumi.Float64Output `pulumi:"diskSize"` + // Disk type attributes of the cluster + DiskType pulumi.StringOutput `pulumi:"diskType"` + // List of all endpoints of the service + Endpoints CloudProjectDatabaseEndpointArrayOutput `pulumi:"endpoints"` + // Name of the engine of the service + Engine pulumi.StringOutput `pulumi:"engine"` + // The node flavor used for this cluster + Flavor pulumi.StringOutput `pulumi:"flavor"` + // IP Blocks authorized to access to the cluster + IpRestrictions CloudProjectDatabaseIpRestrictionTypeArrayOutput `pulumi:"ipRestrictions"` + // Defines whether the REST API is enabled on a Kafka cluster + KafkaRestApi pulumi.BoolPtrOutput `pulumi:"kafkaRestApi"` + // Defines whether the schema registry is enabled on a Kafka cluster + KafkaSchemaRegistry pulumi.BoolPtrOutput `pulumi:"kafkaSchemaRegistry"` + // Time on which maintenances can start every day + MaintenanceTime pulumi.StringOutput `pulumi:"maintenanceTime"` + // Type of network of the cluster + NetworkType pulumi.StringOutput `pulumi:"networkType"` + // List of nodes composing the service + Nodes CloudProjectDatabaseNodeArrayOutput `pulumi:"nodes"` + // Defines whether the ACLs are enabled on an Opensearch cluster + OpensearchAclsEnabled pulumi.BoolPtrOutput `pulumi:"opensearchAclsEnabled"` + // Plan of the cluster + Plan pulumi.StringOutput `pulumi:"plan"` + ServiceName pulumi.StringPtrOutput `pulumi:"serviceName"` + // Current status of the cluster + Status pulumi.StringOutput `pulumi:"status"` + Timeouts CloudProjectDatabaseTimeoutsPtrOutput `pulumi:"timeouts"` + // Version of the engine deployed on the cluster + Version pulumi.StringOutput `pulumi:"version"` +} + +// NewCloudProjectDatabase registers a new resource with the given unique name, arguments, and options. +func NewCloudProjectDatabase(ctx *pulumi.Context, + name string, args *CloudProjectDatabaseArgs, opts ...pulumi.ResourceOption) (*CloudProjectDatabase, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.Engine == nil { + return nil, errors.New("invalid value for required argument 'Engine'") + } + if args.Flavor == nil { + return nil, errors.New("invalid value for required argument 'Flavor'") + } + if args.Nodes == nil { + return nil, errors.New("invalid value for required argument 'Nodes'") + } + if args.Plan == nil { + return nil, errors.New("invalid value for required argument 'Plan'") + } + if args.Version == nil { + return nil, errors.New("invalid value for required argument 'Version'") + } + opts = internal.PkgResourceDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var resource CloudProjectDatabase + err = ctx.RegisterPackageResource("ovh:index/cloudProjectDatabase:CloudProjectDatabase", name, args, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetCloudProjectDatabase gets an existing CloudProjectDatabase resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetCloudProjectDatabase(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *CloudProjectDatabaseState, opts ...pulumi.ResourceOption) (*CloudProjectDatabase, error) { + var resource CloudProjectDatabase + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + err = ctx.ReadPackageResource("ovh:index/cloudProjectDatabase:CloudProjectDatabase", name, id, state, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering CloudProjectDatabase resources. +type cloudProjectDatabaseState struct { + // Advanced configuration key / value + AdvancedConfiguration map[string]string `pulumi:"advancedConfiguration"` + // List of region where backups are pushed. Not more than 1 regions for MongoDB. Not more than 2 regions for the other + // engines with one being the same as the nodes[].region field + BackupRegions []string `pulumi:"backupRegions"` + // Time on which backups start every day + BackupTime *string `pulumi:"backupTime"` + // Date of the creation of the cluster + CreatedAt *string `pulumi:"createdAt"` + // Description of the cluster + Description *string `pulumi:"description"` + // Disk size attributes of the cluster + DiskSize *float64 `pulumi:"diskSize"` + // Disk type attributes of the cluster + DiskType *string `pulumi:"diskType"` + // List of all endpoints of the service + Endpoints []CloudProjectDatabaseEndpoint `pulumi:"endpoints"` + // Name of the engine of the service + Engine *string `pulumi:"engine"` + // The node flavor used for this cluster + Flavor *string `pulumi:"flavor"` + // IP Blocks authorized to access to the cluster + IpRestrictions []CloudProjectDatabaseIpRestrictionType `pulumi:"ipRestrictions"` + // Defines whether the REST API is enabled on a Kafka cluster + KafkaRestApi *bool `pulumi:"kafkaRestApi"` + // Defines whether the schema registry is enabled on a Kafka cluster + KafkaSchemaRegistry *bool `pulumi:"kafkaSchemaRegistry"` + // Time on which maintenances can start every day + MaintenanceTime *string `pulumi:"maintenanceTime"` + // Type of network of the cluster + NetworkType *string `pulumi:"networkType"` + // List of nodes composing the service + Nodes []CloudProjectDatabaseNode `pulumi:"nodes"` + // Defines whether the ACLs are enabled on an Opensearch cluster + OpensearchAclsEnabled *bool `pulumi:"opensearchAclsEnabled"` + // Plan of the cluster + Plan *string `pulumi:"plan"` + ServiceName *string `pulumi:"serviceName"` + // Current status of the cluster + Status *string `pulumi:"status"` + Timeouts *CloudProjectDatabaseTimeouts `pulumi:"timeouts"` + // Version of the engine deployed on the cluster + Version *string `pulumi:"version"` +} + +type CloudProjectDatabaseState struct { + // Advanced configuration key / value + AdvancedConfiguration pulumi.StringMapInput + // List of region where backups are pushed. Not more than 1 regions for MongoDB. Not more than 2 regions for the other + // engines with one being the same as the nodes[].region field + BackupRegions pulumi.StringArrayInput + // Time on which backups start every day + BackupTime pulumi.StringPtrInput + // Date of the creation of the cluster + CreatedAt pulumi.StringPtrInput + // Description of the cluster + Description pulumi.StringPtrInput + // Disk size attributes of the cluster + DiskSize pulumi.Float64PtrInput + // Disk type attributes of the cluster + DiskType pulumi.StringPtrInput + // List of all endpoints of the service + Endpoints CloudProjectDatabaseEndpointArrayInput + // Name of the engine of the service + Engine pulumi.StringPtrInput + // The node flavor used for this cluster + Flavor pulumi.StringPtrInput + // IP Blocks authorized to access to the cluster + IpRestrictions CloudProjectDatabaseIpRestrictionTypeArrayInput + // Defines whether the REST API is enabled on a Kafka cluster + KafkaRestApi pulumi.BoolPtrInput + // Defines whether the schema registry is enabled on a Kafka cluster + KafkaSchemaRegistry pulumi.BoolPtrInput + // Time on which maintenances can start every day + MaintenanceTime pulumi.StringPtrInput + // Type of network of the cluster + NetworkType pulumi.StringPtrInput + // List of nodes composing the service + Nodes CloudProjectDatabaseNodeArrayInput + // Defines whether the ACLs are enabled on an Opensearch cluster + OpensearchAclsEnabled pulumi.BoolPtrInput + // Plan of the cluster + Plan pulumi.StringPtrInput + ServiceName pulumi.StringPtrInput + // Current status of the cluster + Status pulumi.StringPtrInput + Timeouts CloudProjectDatabaseTimeoutsPtrInput + // Version of the engine deployed on the cluster + Version pulumi.StringPtrInput +} + +func (CloudProjectDatabaseState) ElementType() reflect.Type { + return reflect.TypeOf((*cloudProjectDatabaseState)(nil)).Elem() +} + +type cloudProjectDatabaseArgs struct { + // Advanced configuration key / value + AdvancedConfiguration map[string]string `pulumi:"advancedConfiguration"` + // List of region where backups are pushed. Not more than 1 regions for MongoDB. Not more than 2 regions for the other + // engines with one being the same as the nodes[].region field + BackupRegions []string `pulumi:"backupRegions"` + // Time on which backups start every day + BackupTime *string `pulumi:"backupTime"` + // Description of the cluster + Description *string `pulumi:"description"` + // Disk size attributes of the cluster + DiskSize *float64 `pulumi:"diskSize"` + // Name of the engine of the service + Engine string `pulumi:"engine"` + // The node flavor used for this cluster + Flavor string `pulumi:"flavor"` + // IP Blocks authorized to access to the cluster + IpRestrictions []CloudProjectDatabaseIpRestrictionType `pulumi:"ipRestrictions"` + // Defines whether the REST API is enabled on a Kafka cluster + KafkaRestApi *bool `pulumi:"kafkaRestApi"` + // Defines whether the schema registry is enabled on a Kafka cluster + KafkaSchemaRegistry *bool `pulumi:"kafkaSchemaRegistry"` + // List of nodes composing the service + Nodes []CloudProjectDatabaseNode `pulumi:"nodes"` + // Defines whether the ACLs are enabled on an Opensearch cluster + OpensearchAclsEnabled *bool `pulumi:"opensearchAclsEnabled"` + // Plan of the cluster + Plan string `pulumi:"plan"` + ServiceName *string `pulumi:"serviceName"` + Timeouts *CloudProjectDatabaseTimeouts `pulumi:"timeouts"` + // Version of the engine deployed on the cluster + Version string `pulumi:"version"` +} + +// The set of arguments for constructing a CloudProjectDatabase resource. +type CloudProjectDatabaseArgs struct { + // Advanced configuration key / value + AdvancedConfiguration pulumi.StringMapInput + // List of region where backups are pushed. Not more than 1 regions for MongoDB. Not more than 2 regions for the other + // engines with one being the same as the nodes[].region field + BackupRegions pulumi.StringArrayInput + // Time on which backups start every day + BackupTime pulumi.StringPtrInput + // Description of the cluster + Description pulumi.StringPtrInput + // Disk size attributes of the cluster + DiskSize pulumi.Float64PtrInput + // Name of the engine of the service + Engine pulumi.StringInput + // The node flavor used for this cluster + Flavor pulumi.StringInput + // IP Blocks authorized to access to the cluster + IpRestrictions CloudProjectDatabaseIpRestrictionTypeArrayInput + // Defines whether the REST API is enabled on a Kafka cluster + KafkaRestApi pulumi.BoolPtrInput + // Defines whether the schema registry is enabled on a Kafka cluster + KafkaSchemaRegistry pulumi.BoolPtrInput + // List of nodes composing the service + Nodes CloudProjectDatabaseNodeArrayInput + // Defines whether the ACLs are enabled on an Opensearch cluster + OpensearchAclsEnabled pulumi.BoolPtrInput + // Plan of the cluster + Plan pulumi.StringInput + ServiceName pulumi.StringPtrInput + Timeouts CloudProjectDatabaseTimeoutsPtrInput + // Version of the engine deployed on the cluster + Version pulumi.StringInput +} + +func (CloudProjectDatabaseArgs) ElementType() reflect.Type { + return reflect.TypeOf((*cloudProjectDatabaseArgs)(nil)).Elem() +} + +type CloudProjectDatabaseInput interface { + pulumi.Input + + ToCloudProjectDatabaseOutput() CloudProjectDatabaseOutput + ToCloudProjectDatabaseOutputWithContext(ctx context.Context) CloudProjectDatabaseOutput +} + +func (*CloudProjectDatabase) ElementType() reflect.Type { + return reflect.TypeOf((**CloudProjectDatabase)(nil)).Elem() +} + +func (i *CloudProjectDatabase) ToCloudProjectDatabaseOutput() CloudProjectDatabaseOutput { + return i.ToCloudProjectDatabaseOutputWithContext(context.Background()) +} + +func (i *CloudProjectDatabase) ToCloudProjectDatabaseOutputWithContext(ctx context.Context) CloudProjectDatabaseOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectDatabaseOutput) +} + +type CloudProjectDatabaseOutput struct{ *pulumi.OutputState } + +func (CloudProjectDatabaseOutput) ElementType() reflect.Type { + return reflect.TypeOf((**CloudProjectDatabase)(nil)).Elem() +} + +func (o CloudProjectDatabaseOutput) ToCloudProjectDatabaseOutput() CloudProjectDatabaseOutput { + return o +} + +func (o CloudProjectDatabaseOutput) ToCloudProjectDatabaseOutputWithContext(ctx context.Context) CloudProjectDatabaseOutput { + return o +} + +// Advanced configuration key / value +func (o CloudProjectDatabaseOutput) AdvancedConfiguration() pulumi.StringMapOutput { + return o.ApplyT(func(v *CloudProjectDatabase) pulumi.StringMapOutput { return v.AdvancedConfiguration }).(pulumi.StringMapOutput) +} + +// List of region where backups are pushed. Not more than 1 regions for MongoDB. Not more than 2 regions for the other +// engines with one being the same as the nodes[].region field +func (o CloudProjectDatabaseOutput) BackupRegions() pulumi.StringArrayOutput { + return o.ApplyT(func(v *CloudProjectDatabase) pulumi.StringArrayOutput { return v.BackupRegions }).(pulumi.StringArrayOutput) +} + +// Time on which backups start every day +func (o CloudProjectDatabaseOutput) BackupTime() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectDatabase) pulumi.StringOutput { return v.BackupTime }).(pulumi.StringOutput) +} + +// Date of the creation of the cluster +func (o CloudProjectDatabaseOutput) CreatedAt() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectDatabase) pulumi.StringOutput { return v.CreatedAt }).(pulumi.StringOutput) +} + +// Description of the cluster +func (o CloudProjectDatabaseOutput) Description() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudProjectDatabase) pulumi.StringPtrOutput { return v.Description }).(pulumi.StringPtrOutput) +} + +// Disk size attributes of the cluster +func (o CloudProjectDatabaseOutput) DiskSize() pulumi.Float64Output { + return o.ApplyT(func(v *CloudProjectDatabase) pulumi.Float64Output { return v.DiskSize }).(pulumi.Float64Output) +} + +// Disk type attributes of the cluster +func (o CloudProjectDatabaseOutput) DiskType() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectDatabase) pulumi.StringOutput { return v.DiskType }).(pulumi.StringOutput) +} + +// List of all endpoints of the service +func (o CloudProjectDatabaseOutput) Endpoints() CloudProjectDatabaseEndpointArrayOutput { + return o.ApplyT(func(v *CloudProjectDatabase) CloudProjectDatabaseEndpointArrayOutput { return v.Endpoints }).(CloudProjectDatabaseEndpointArrayOutput) +} + +// Name of the engine of the service +func (o CloudProjectDatabaseOutput) Engine() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectDatabase) pulumi.StringOutput { return v.Engine }).(pulumi.StringOutput) +} + +// The node flavor used for this cluster +func (o CloudProjectDatabaseOutput) Flavor() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectDatabase) pulumi.StringOutput { return v.Flavor }).(pulumi.StringOutput) +} + +// IP Blocks authorized to access to the cluster +func (o CloudProjectDatabaseOutput) IpRestrictions() CloudProjectDatabaseIpRestrictionTypeArrayOutput { + return o.ApplyT(func(v *CloudProjectDatabase) CloudProjectDatabaseIpRestrictionTypeArrayOutput { + return v.IpRestrictions + }).(CloudProjectDatabaseIpRestrictionTypeArrayOutput) +} + +// Defines whether the REST API is enabled on a Kafka cluster +func (o CloudProjectDatabaseOutput) KafkaRestApi() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *CloudProjectDatabase) pulumi.BoolPtrOutput { return v.KafkaRestApi }).(pulumi.BoolPtrOutput) +} + +// Defines whether the schema registry is enabled on a Kafka cluster +func (o CloudProjectDatabaseOutput) KafkaSchemaRegistry() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *CloudProjectDatabase) pulumi.BoolPtrOutput { return v.KafkaSchemaRegistry }).(pulumi.BoolPtrOutput) +} + +// Time on which maintenances can start every day +func (o CloudProjectDatabaseOutput) MaintenanceTime() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectDatabase) pulumi.StringOutput { return v.MaintenanceTime }).(pulumi.StringOutput) +} + +// Type of network of the cluster +func (o CloudProjectDatabaseOutput) NetworkType() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectDatabase) pulumi.StringOutput { return v.NetworkType }).(pulumi.StringOutput) +} + +// List of nodes composing the service +func (o CloudProjectDatabaseOutput) Nodes() CloudProjectDatabaseNodeArrayOutput { + return o.ApplyT(func(v *CloudProjectDatabase) CloudProjectDatabaseNodeArrayOutput { return v.Nodes }).(CloudProjectDatabaseNodeArrayOutput) +} + +// Defines whether the ACLs are enabled on an Opensearch cluster +func (o CloudProjectDatabaseOutput) OpensearchAclsEnabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *CloudProjectDatabase) pulumi.BoolPtrOutput { return v.OpensearchAclsEnabled }).(pulumi.BoolPtrOutput) +} + +// Plan of the cluster +func (o CloudProjectDatabaseOutput) Plan() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectDatabase) pulumi.StringOutput { return v.Plan }).(pulumi.StringOutput) +} + +func (o CloudProjectDatabaseOutput) ServiceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudProjectDatabase) pulumi.StringPtrOutput { return v.ServiceName }).(pulumi.StringPtrOutput) +} + +// Current status of the cluster +func (o CloudProjectDatabaseOutput) Status() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectDatabase) pulumi.StringOutput { return v.Status }).(pulumi.StringOutput) +} + +func (o CloudProjectDatabaseOutput) Timeouts() CloudProjectDatabaseTimeoutsPtrOutput { + return o.ApplyT(func(v *CloudProjectDatabase) CloudProjectDatabaseTimeoutsPtrOutput { return v.Timeouts }).(CloudProjectDatabaseTimeoutsPtrOutput) +} + +// Version of the engine deployed on the cluster +func (o CloudProjectDatabaseOutput) Version() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectDatabase) pulumi.StringOutput { return v.Version }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*CloudProjectDatabaseInput)(nil)).Elem(), &CloudProjectDatabase{}) + pulumi.RegisterOutputType(CloudProjectDatabaseOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectDatabaseDatabase.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectDatabaseDatabase.go new file mode 100644 index 00000000..9cf0907d --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectDatabaseDatabase.go @@ -0,0 +1,194 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type CloudProjectDatabaseDatabase struct { + pulumi.CustomResourceState + + // Id of the database cluster + ClusterId pulumi.StringOutput `pulumi:"clusterId"` + // Defines if the database has been created by default + Default pulumi.BoolOutput `pulumi:"default"` + // Name of the engine of the service + Engine pulumi.StringOutput `pulumi:"engine"` + // Database name + Name pulumi.StringOutput `pulumi:"name"` + ServiceName pulumi.StringPtrOutput `pulumi:"serviceName"` + Timeouts CloudProjectDatabaseDatabaseTimeoutsPtrOutput `pulumi:"timeouts"` +} + +// NewCloudProjectDatabaseDatabase registers a new resource with the given unique name, arguments, and options. +func NewCloudProjectDatabaseDatabase(ctx *pulumi.Context, + name string, args *CloudProjectDatabaseDatabaseArgs, opts ...pulumi.ResourceOption) (*CloudProjectDatabaseDatabase, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.ClusterId == nil { + return nil, errors.New("invalid value for required argument 'ClusterId'") + } + if args.Engine == nil { + return nil, errors.New("invalid value for required argument 'Engine'") + } + opts = internal.PkgResourceDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var resource CloudProjectDatabaseDatabase + err = ctx.RegisterPackageResource("ovh:index/cloudProjectDatabaseDatabase:CloudProjectDatabaseDatabase", name, args, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetCloudProjectDatabaseDatabase gets an existing CloudProjectDatabaseDatabase resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetCloudProjectDatabaseDatabase(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *CloudProjectDatabaseDatabaseState, opts ...pulumi.ResourceOption) (*CloudProjectDatabaseDatabase, error) { + var resource CloudProjectDatabaseDatabase + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + err = ctx.ReadPackageResource("ovh:index/cloudProjectDatabaseDatabase:CloudProjectDatabaseDatabase", name, id, state, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering CloudProjectDatabaseDatabase resources. +type cloudProjectDatabaseDatabaseState struct { + // Id of the database cluster + ClusterId *string `pulumi:"clusterId"` + // Defines if the database has been created by default + Default *bool `pulumi:"default"` + // Name of the engine of the service + Engine *string `pulumi:"engine"` + // Database name + Name *string `pulumi:"name"` + ServiceName *string `pulumi:"serviceName"` + Timeouts *CloudProjectDatabaseDatabaseTimeouts `pulumi:"timeouts"` +} + +type CloudProjectDatabaseDatabaseState struct { + // Id of the database cluster + ClusterId pulumi.StringPtrInput + // Defines if the database has been created by default + Default pulumi.BoolPtrInput + // Name of the engine of the service + Engine pulumi.StringPtrInput + // Database name + Name pulumi.StringPtrInput + ServiceName pulumi.StringPtrInput + Timeouts CloudProjectDatabaseDatabaseTimeoutsPtrInput +} + +func (CloudProjectDatabaseDatabaseState) ElementType() reflect.Type { + return reflect.TypeOf((*cloudProjectDatabaseDatabaseState)(nil)).Elem() +} + +type cloudProjectDatabaseDatabaseArgs struct { + // Id of the database cluster + ClusterId string `pulumi:"clusterId"` + // Name of the engine of the service + Engine string `pulumi:"engine"` + // Database name + Name *string `pulumi:"name"` + ServiceName *string `pulumi:"serviceName"` + Timeouts *CloudProjectDatabaseDatabaseTimeouts `pulumi:"timeouts"` +} + +// The set of arguments for constructing a CloudProjectDatabaseDatabase resource. +type CloudProjectDatabaseDatabaseArgs struct { + // Id of the database cluster + ClusterId pulumi.StringInput + // Name of the engine of the service + Engine pulumi.StringInput + // Database name + Name pulumi.StringPtrInput + ServiceName pulumi.StringPtrInput + Timeouts CloudProjectDatabaseDatabaseTimeoutsPtrInput +} + +func (CloudProjectDatabaseDatabaseArgs) ElementType() reflect.Type { + return reflect.TypeOf((*cloudProjectDatabaseDatabaseArgs)(nil)).Elem() +} + +type CloudProjectDatabaseDatabaseInput interface { + pulumi.Input + + ToCloudProjectDatabaseDatabaseOutput() CloudProjectDatabaseDatabaseOutput + ToCloudProjectDatabaseDatabaseOutputWithContext(ctx context.Context) CloudProjectDatabaseDatabaseOutput +} + +func (*CloudProjectDatabaseDatabase) ElementType() reflect.Type { + return reflect.TypeOf((**CloudProjectDatabaseDatabase)(nil)).Elem() +} + +func (i *CloudProjectDatabaseDatabase) ToCloudProjectDatabaseDatabaseOutput() CloudProjectDatabaseDatabaseOutput { + return i.ToCloudProjectDatabaseDatabaseOutputWithContext(context.Background()) +} + +func (i *CloudProjectDatabaseDatabase) ToCloudProjectDatabaseDatabaseOutputWithContext(ctx context.Context) CloudProjectDatabaseDatabaseOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectDatabaseDatabaseOutput) +} + +type CloudProjectDatabaseDatabaseOutput struct{ *pulumi.OutputState } + +func (CloudProjectDatabaseDatabaseOutput) ElementType() reflect.Type { + return reflect.TypeOf((**CloudProjectDatabaseDatabase)(nil)).Elem() +} + +func (o CloudProjectDatabaseDatabaseOutput) ToCloudProjectDatabaseDatabaseOutput() CloudProjectDatabaseDatabaseOutput { + return o +} + +func (o CloudProjectDatabaseDatabaseOutput) ToCloudProjectDatabaseDatabaseOutputWithContext(ctx context.Context) CloudProjectDatabaseDatabaseOutput { + return o +} + +// Id of the database cluster +func (o CloudProjectDatabaseDatabaseOutput) ClusterId() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectDatabaseDatabase) pulumi.StringOutput { return v.ClusterId }).(pulumi.StringOutput) +} + +// Defines if the database has been created by default +func (o CloudProjectDatabaseDatabaseOutput) Default() pulumi.BoolOutput { + return o.ApplyT(func(v *CloudProjectDatabaseDatabase) pulumi.BoolOutput { return v.Default }).(pulumi.BoolOutput) +} + +// Name of the engine of the service +func (o CloudProjectDatabaseDatabaseOutput) Engine() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectDatabaseDatabase) pulumi.StringOutput { return v.Engine }).(pulumi.StringOutput) +} + +// Database name +func (o CloudProjectDatabaseDatabaseOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectDatabaseDatabase) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +func (o CloudProjectDatabaseDatabaseOutput) ServiceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudProjectDatabaseDatabase) pulumi.StringPtrOutput { return v.ServiceName }).(pulumi.StringPtrOutput) +} + +func (o CloudProjectDatabaseDatabaseOutput) Timeouts() CloudProjectDatabaseDatabaseTimeoutsPtrOutput { + return o.ApplyT(func(v *CloudProjectDatabaseDatabase) CloudProjectDatabaseDatabaseTimeoutsPtrOutput { return v.Timeouts }).(CloudProjectDatabaseDatabaseTimeoutsPtrOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*CloudProjectDatabaseDatabaseInput)(nil)).Elem(), &CloudProjectDatabaseDatabase{}) + pulumi.RegisterOutputType(CloudProjectDatabaseDatabaseOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectDatabaseIntegration.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectDatabaseIntegration.go new file mode 100644 index 00000000..586c8448 --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectDatabaseIntegration.go @@ -0,0 +1,247 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type CloudProjectDatabaseIntegration struct { + pulumi.CustomResourceState + + // Id of the database cluster + ClusterId pulumi.StringOutput `pulumi:"clusterId"` + // ID of the destination service + DestinationServiceId pulumi.StringOutput `pulumi:"destinationServiceId"` + // Name of the engine of the service + Engine pulumi.StringOutput `pulumi:"engine"` + // Parameters for the integration + Parameters pulumi.StringMapOutput `pulumi:"parameters"` + ServiceName pulumi.StringPtrOutput `pulumi:"serviceName"` + // ID of the source service + SourceServiceId pulumi.StringOutput `pulumi:"sourceServiceId"` + // Current status of the integration + Status pulumi.StringOutput `pulumi:"status"` + Timeouts CloudProjectDatabaseIntegrationTimeoutsPtrOutput `pulumi:"timeouts"` + // Type of the integration + Type pulumi.StringOutput `pulumi:"type"` +} + +// NewCloudProjectDatabaseIntegration registers a new resource with the given unique name, arguments, and options. +func NewCloudProjectDatabaseIntegration(ctx *pulumi.Context, + name string, args *CloudProjectDatabaseIntegrationArgs, opts ...pulumi.ResourceOption) (*CloudProjectDatabaseIntegration, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.ClusterId == nil { + return nil, errors.New("invalid value for required argument 'ClusterId'") + } + if args.DestinationServiceId == nil { + return nil, errors.New("invalid value for required argument 'DestinationServiceId'") + } + if args.Engine == nil { + return nil, errors.New("invalid value for required argument 'Engine'") + } + if args.SourceServiceId == nil { + return nil, errors.New("invalid value for required argument 'SourceServiceId'") + } + opts = internal.PkgResourceDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var resource CloudProjectDatabaseIntegration + err = ctx.RegisterPackageResource("ovh:index/cloudProjectDatabaseIntegration:CloudProjectDatabaseIntegration", name, args, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetCloudProjectDatabaseIntegration gets an existing CloudProjectDatabaseIntegration resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetCloudProjectDatabaseIntegration(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *CloudProjectDatabaseIntegrationState, opts ...pulumi.ResourceOption) (*CloudProjectDatabaseIntegration, error) { + var resource CloudProjectDatabaseIntegration + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + err = ctx.ReadPackageResource("ovh:index/cloudProjectDatabaseIntegration:CloudProjectDatabaseIntegration", name, id, state, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering CloudProjectDatabaseIntegration resources. +type cloudProjectDatabaseIntegrationState struct { + // Id of the database cluster + ClusterId *string `pulumi:"clusterId"` + // ID of the destination service + DestinationServiceId *string `pulumi:"destinationServiceId"` + // Name of the engine of the service + Engine *string `pulumi:"engine"` + // Parameters for the integration + Parameters map[string]string `pulumi:"parameters"` + ServiceName *string `pulumi:"serviceName"` + // ID of the source service + SourceServiceId *string `pulumi:"sourceServiceId"` + // Current status of the integration + Status *string `pulumi:"status"` + Timeouts *CloudProjectDatabaseIntegrationTimeouts `pulumi:"timeouts"` + // Type of the integration + Type *string `pulumi:"type"` +} + +type CloudProjectDatabaseIntegrationState struct { + // Id of the database cluster + ClusterId pulumi.StringPtrInput + // ID of the destination service + DestinationServiceId pulumi.StringPtrInput + // Name of the engine of the service + Engine pulumi.StringPtrInput + // Parameters for the integration + Parameters pulumi.StringMapInput + ServiceName pulumi.StringPtrInput + // ID of the source service + SourceServiceId pulumi.StringPtrInput + // Current status of the integration + Status pulumi.StringPtrInput + Timeouts CloudProjectDatabaseIntegrationTimeoutsPtrInput + // Type of the integration + Type pulumi.StringPtrInput +} + +func (CloudProjectDatabaseIntegrationState) ElementType() reflect.Type { + return reflect.TypeOf((*cloudProjectDatabaseIntegrationState)(nil)).Elem() +} + +type cloudProjectDatabaseIntegrationArgs struct { + // Id of the database cluster + ClusterId string `pulumi:"clusterId"` + // ID of the destination service + DestinationServiceId string `pulumi:"destinationServiceId"` + // Name of the engine of the service + Engine string `pulumi:"engine"` + // Parameters for the integration + Parameters map[string]string `pulumi:"parameters"` + ServiceName *string `pulumi:"serviceName"` + // ID of the source service + SourceServiceId string `pulumi:"sourceServiceId"` + Timeouts *CloudProjectDatabaseIntegrationTimeouts `pulumi:"timeouts"` + // Type of the integration + Type *string `pulumi:"type"` +} + +// The set of arguments for constructing a CloudProjectDatabaseIntegration resource. +type CloudProjectDatabaseIntegrationArgs struct { + // Id of the database cluster + ClusterId pulumi.StringInput + // ID of the destination service + DestinationServiceId pulumi.StringInput + // Name of the engine of the service + Engine pulumi.StringInput + // Parameters for the integration + Parameters pulumi.StringMapInput + ServiceName pulumi.StringPtrInput + // ID of the source service + SourceServiceId pulumi.StringInput + Timeouts CloudProjectDatabaseIntegrationTimeoutsPtrInput + // Type of the integration + Type pulumi.StringPtrInput +} + +func (CloudProjectDatabaseIntegrationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*cloudProjectDatabaseIntegrationArgs)(nil)).Elem() +} + +type CloudProjectDatabaseIntegrationInput interface { + pulumi.Input + + ToCloudProjectDatabaseIntegrationOutput() CloudProjectDatabaseIntegrationOutput + ToCloudProjectDatabaseIntegrationOutputWithContext(ctx context.Context) CloudProjectDatabaseIntegrationOutput +} + +func (*CloudProjectDatabaseIntegration) ElementType() reflect.Type { + return reflect.TypeOf((**CloudProjectDatabaseIntegration)(nil)).Elem() +} + +func (i *CloudProjectDatabaseIntegration) ToCloudProjectDatabaseIntegrationOutput() CloudProjectDatabaseIntegrationOutput { + return i.ToCloudProjectDatabaseIntegrationOutputWithContext(context.Background()) +} + +func (i *CloudProjectDatabaseIntegration) ToCloudProjectDatabaseIntegrationOutputWithContext(ctx context.Context) CloudProjectDatabaseIntegrationOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectDatabaseIntegrationOutput) +} + +type CloudProjectDatabaseIntegrationOutput struct{ *pulumi.OutputState } + +func (CloudProjectDatabaseIntegrationOutput) ElementType() reflect.Type { + return reflect.TypeOf((**CloudProjectDatabaseIntegration)(nil)).Elem() +} + +func (o CloudProjectDatabaseIntegrationOutput) ToCloudProjectDatabaseIntegrationOutput() CloudProjectDatabaseIntegrationOutput { + return o +} + +func (o CloudProjectDatabaseIntegrationOutput) ToCloudProjectDatabaseIntegrationOutputWithContext(ctx context.Context) CloudProjectDatabaseIntegrationOutput { + return o +} + +// Id of the database cluster +func (o CloudProjectDatabaseIntegrationOutput) ClusterId() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectDatabaseIntegration) pulumi.StringOutput { return v.ClusterId }).(pulumi.StringOutput) +} + +// ID of the destination service +func (o CloudProjectDatabaseIntegrationOutput) DestinationServiceId() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectDatabaseIntegration) pulumi.StringOutput { return v.DestinationServiceId }).(pulumi.StringOutput) +} + +// Name of the engine of the service +func (o CloudProjectDatabaseIntegrationOutput) Engine() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectDatabaseIntegration) pulumi.StringOutput { return v.Engine }).(pulumi.StringOutput) +} + +// Parameters for the integration +func (o CloudProjectDatabaseIntegrationOutput) Parameters() pulumi.StringMapOutput { + return o.ApplyT(func(v *CloudProjectDatabaseIntegration) pulumi.StringMapOutput { return v.Parameters }).(pulumi.StringMapOutput) +} + +func (o CloudProjectDatabaseIntegrationOutput) ServiceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudProjectDatabaseIntegration) pulumi.StringPtrOutput { return v.ServiceName }).(pulumi.StringPtrOutput) +} + +// ID of the source service +func (o CloudProjectDatabaseIntegrationOutput) SourceServiceId() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectDatabaseIntegration) pulumi.StringOutput { return v.SourceServiceId }).(pulumi.StringOutput) +} + +// Current status of the integration +func (o CloudProjectDatabaseIntegrationOutput) Status() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectDatabaseIntegration) pulumi.StringOutput { return v.Status }).(pulumi.StringOutput) +} + +func (o CloudProjectDatabaseIntegrationOutput) Timeouts() CloudProjectDatabaseIntegrationTimeoutsPtrOutput { + return o.ApplyT(func(v *CloudProjectDatabaseIntegration) CloudProjectDatabaseIntegrationTimeoutsPtrOutput { + return v.Timeouts + }).(CloudProjectDatabaseIntegrationTimeoutsPtrOutput) +} + +// Type of the integration +func (o CloudProjectDatabaseIntegrationOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectDatabaseIntegration) pulumi.StringOutput { return v.Type }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*CloudProjectDatabaseIntegrationInput)(nil)).Elem(), &CloudProjectDatabaseIntegration{}) + pulumi.RegisterOutputType(CloudProjectDatabaseIntegrationOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectDatabaseIpRestriction.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectDatabaseIpRestriction.go new file mode 100644 index 00000000..4a84ff75 --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectDatabaseIpRestriction.go @@ -0,0 +1,214 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type CloudProjectDatabaseIpRestriction struct { + pulumi.CustomResourceState + + // Id of the database cluster + ClusterId pulumi.StringOutput `pulumi:"clusterId"` + // Description of the IP restriction + Description pulumi.StringPtrOutput `pulumi:"description"` + // Name of the engine of the service + Engine pulumi.StringOutput `pulumi:"engine"` + // Authorized IP + Ip pulumi.StringOutput `pulumi:"ip"` + ServiceName pulumi.StringPtrOutput `pulumi:"serviceName"` + // Current status of the IP restriction + Status pulumi.StringOutput `pulumi:"status"` + Timeouts CloudProjectDatabaseIpRestrictionTimeoutsPtrOutput `pulumi:"timeouts"` +} + +// NewCloudProjectDatabaseIpRestriction registers a new resource with the given unique name, arguments, and options. +func NewCloudProjectDatabaseIpRestriction(ctx *pulumi.Context, + name string, args *CloudProjectDatabaseIpRestrictionArgs, opts ...pulumi.ResourceOption) (*CloudProjectDatabaseIpRestriction, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.ClusterId == nil { + return nil, errors.New("invalid value for required argument 'ClusterId'") + } + if args.Engine == nil { + return nil, errors.New("invalid value for required argument 'Engine'") + } + if args.Ip == nil { + return nil, errors.New("invalid value for required argument 'Ip'") + } + opts = internal.PkgResourceDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var resource CloudProjectDatabaseIpRestriction + err = ctx.RegisterPackageResource("ovh:index/cloudProjectDatabaseIpRestriction:CloudProjectDatabaseIpRestriction", name, args, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetCloudProjectDatabaseIpRestriction gets an existing CloudProjectDatabaseIpRestriction resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetCloudProjectDatabaseIpRestriction(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *CloudProjectDatabaseIpRestrictionState, opts ...pulumi.ResourceOption) (*CloudProjectDatabaseIpRestriction, error) { + var resource CloudProjectDatabaseIpRestriction + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + err = ctx.ReadPackageResource("ovh:index/cloudProjectDatabaseIpRestriction:CloudProjectDatabaseIpRestriction", name, id, state, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering CloudProjectDatabaseIpRestriction resources. +type cloudProjectDatabaseIpRestrictionState struct { + // Id of the database cluster + ClusterId *string `pulumi:"clusterId"` + // Description of the IP restriction + Description *string `pulumi:"description"` + // Name of the engine of the service + Engine *string `pulumi:"engine"` + // Authorized IP + Ip *string `pulumi:"ip"` + ServiceName *string `pulumi:"serviceName"` + // Current status of the IP restriction + Status *string `pulumi:"status"` + Timeouts *CloudProjectDatabaseIpRestrictionTimeouts `pulumi:"timeouts"` +} + +type CloudProjectDatabaseIpRestrictionState struct { + // Id of the database cluster + ClusterId pulumi.StringPtrInput + // Description of the IP restriction + Description pulumi.StringPtrInput + // Name of the engine of the service + Engine pulumi.StringPtrInput + // Authorized IP + Ip pulumi.StringPtrInput + ServiceName pulumi.StringPtrInput + // Current status of the IP restriction + Status pulumi.StringPtrInput + Timeouts CloudProjectDatabaseIpRestrictionTimeoutsPtrInput +} + +func (CloudProjectDatabaseIpRestrictionState) ElementType() reflect.Type { + return reflect.TypeOf((*cloudProjectDatabaseIpRestrictionState)(nil)).Elem() +} + +type cloudProjectDatabaseIpRestrictionArgs struct { + // Id of the database cluster + ClusterId string `pulumi:"clusterId"` + // Description of the IP restriction + Description *string `pulumi:"description"` + // Name of the engine of the service + Engine string `pulumi:"engine"` + // Authorized IP + Ip string `pulumi:"ip"` + ServiceName *string `pulumi:"serviceName"` + Timeouts *CloudProjectDatabaseIpRestrictionTimeouts `pulumi:"timeouts"` +} + +// The set of arguments for constructing a CloudProjectDatabaseIpRestriction resource. +type CloudProjectDatabaseIpRestrictionArgs struct { + // Id of the database cluster + ClusterId pulumi.StringInput + // Description of the IP restriction + Description pulumi.StringPtrInput + // Name of the engine of the service + Engine pulumi.StringInput + // Authorized IP + Ip pulumi.StringInput + ServiceName pulumi.StringPtrInput + Timeouts CloudProjectDatabaseIpRestrictionTimeoutsPtrInput +} + +func (CloudProjectDatabaseIpRestrictionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*cloudProjectDatabaseIpRestrictionArgs)(nil)).Elem() +} + +type CloudProjectDatabaseIpRestrictionInput interface { + pulumi.Input + + ToCloudProjectDatabaseIpRestrictionOutput() CloudProjectDatabaseIpRestrictionOutput + ToCloudProjectDatabaseIpRestrictionOutputWithContext(ctx context.Context) CloudProjectDatabaseIpRestrictionOutput +} + +func (*CloudProjectDatabaseIpRestriction) ElementType() reflect.Type { + return reflect.TypeOf((**CloudProjectDatabaseIpRestriction)(nil)).Elem() +} + +func (i *CloudProjectDatabaseIpRestriction) ToCloudProjectDatabaseIpRestrictionOutput() CloudProjectDatabaseIpRestrictionOutput { + return i.ToCloudProjectDatabaseIpRestrictionOutputWithContext(context.Background()) +} + +func (i *CloudProjectDatabaseIpRestriction) ToCloudProjectDatabaseIpRestrictionOutputWithContext(ctx context.Context) CloudProjectDatabaseIpRestrictionOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectDatabaseIpRestrictionOutput) +} + +type CloudProjectDatabaseIpRestrictionOutput struct{ *pulumi.OutputState } + +func (CloudProjectDatabaseIpRestrictionOutput) ElementType() reflect.Type { + return reflect.TypeOf((**CloudProjectDatabaseIpRestriction)(nil)).Elem() +} + +func (o CloudProjectDatabaseIpRestrictionOutput) ToCloudProjectDatabaseIpRestrictionOutput() CloudProjectDatabaseIpRestrictionOutput { + return o +} + +func (o CloudProjectDatabaseIpRestrictionOutput) ToCloudProjectDatabaseIpRestrictionOutputWithContext(ctx context.Context) CloudProjectDatabaseIpRestrictionOutput { + return o +} + +// Id of the database cluster +func (o CloudProjectDatabaseIpRestrictionOutput) ClusterId() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectDatabaseIpRestriction) pulumi.StringOutput { return v.ClusterId }).(pulumi.StringOutput) +} + +// Description of the IP restriction +func (o CloudProjectDatabaseIpRestrictionOutput) Description() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudProjectDatabaseIpRestriction) pulumi.StringPtrOutput { return v.Description }).(pulumi.StringPtrOutput) +} + +// Name of the engine of the service +func (o CloudProjectDatabaseIpRestrictionOutput) Engine() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectDatabaseIpRestriction) pulumi.StringOutput { return v.Engine }).(pulumi.StringOutput) +} + +// Authorized IP +func (o CloudProjectDatabaseIpRestrictionOutput) Ip() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectDatabaseIpRestriction) pulumi.StringOutput { return v.Ip }).(pulumi.StringOutput) +} + +func (o CloudProjectDatabaseIpRestrictionOutput) ServiceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudProjectDatabaseIpRestriction) pulumi.StringPtrOutput { return v.ServiceName }).(pulumi.StringPtrOutput) +} + +// Current status of the IP restriction +func (o CloudProjectDatabaseIpRestrictionOutput) Status() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectDatabaseIpRestriction) pulumi.StringOutput { return v.Status }).(pulumi.StringOutput) +} + +func (o CloudProjectDatabaseIpRestrictionOutput) Timeouts() CloudProjectDatabaseIpRestrictionTimeoutsPtrOutput { + return o.ApplyT(func(v *CloudProjectDatabaseIpRestriction) CloudProjectDatabaseIpRestrictionTimeoutsPtrOutput { + return v.Timeouts + }).(CloudProjectDatabaseIpRestrictionTimeoutsPtrOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*CloudProjectDatabaseIpRestrictionInput)(nil)).Elem(), &CloudProjectDatabaseIpRestriction{}) + pulumi.RegisterOutputType(CloudProjectDatabaseIpRestrictionOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectDatabaseKafkaAcl.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectDatabaseKafkaAcl.go new file mode 100644 index 00000000..703739b5 --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectDatabaseKafkaAcl.go @@ -0,0 +1,204 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type CloudProjectDatabaseKafkaAcl struct { + pulumi.CustomResourceState + + // Id of the database cluster + ClusterId pulumi.StringOutput `pulumi:"clusterId"` + // Permission to give to this username on this topic + Permission pulumi.StringOutput `pulumi:"permission"` + ServiceName pulumi.StringPtrOutput `pulumi:"serviceName"` + Timeouts CloudProjectDatabaseKafkaAclTimeoutsPtrOutput `pulumi:"timeouts"` + // Topic affected by this acl + Topic pulumi.StringOutput `pulumi:"topic"` + // Username affected by this acl + Username pulumi.StringOutput `pulumi:"username"` +} + +// NewCloudProjectDatabaseKafkaAcl registers a new resource with the given unique name, arguments, and options. +func NewCloudProjectDatabaseKafkaAcl(ctx *pulumi.Context, + name string, args *CloudProjectDatabaseKafkaAclArgs, opts ...pulumi.ResourceOption) (*CloudProjectDatabaseKafkaAcl, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.ClusterId == nil { + return nil, errors.New("invalid value for required argument 'ClusterId'") + } + if args.Permission == nil { + return nil, errors.New("invalid value for required argument 'Permission'") + } + if args.Topic == nil { + return nil, errors.New("invalid value for required argument 'Topic'") + } + if args.Username == nil { + return nil, errors.New("invalid value for required argument 'Username'") + } + opts = internal.PkgResourceDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var resource CloudProjectDatabaseKafkaAcl + err = ctx.RegisterPackageResource("ovh:index/cloudProjectDatabaseKafkaAcl:CloudProjectDatabaseKafkaAcl", name, args, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetCloudProjectDatabaseKafkaAcl gets an existing CloudProjectDatabaseKafkaAcl resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetCloudProjectDatabaseKafkaAcl(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *CloudProjectDatabaseKafkaAclState, opts ...pulumi.ResourceOption) (*CloudProjectDatabaseKafkaAcl, error) { + var resource CloudProjectDatabaseKafkaAcl + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + err = ctx.ReadPackageResource("ovh:index/cloudProjectDatabaseKafkaAcl:CloudProjectDatabaseKafkaAcl", name, id, state, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering CloudProjectDatabaseKafkaAcl resources. +type cloudProjectDatabaseKafkaAclState struct { + // Id of the database cluster + ClusterId *string `pulumi:"clusterId"` + // Permission to give to this username on this topic + Permission *string `pulumi:"permission"` + ServiceName *string `pulumi:"serviceName"` + Timeouts *CloudProjectDatabaseKafkaAclTimeouts `pulumi:"timeouts"` + // Topic affected by this acl + Topic *string `pulumi:"topic"` + // Username affected by this acl + Username *string `pulumi:"username"` +} + +type CloudProjectDatabaseKafkaAclState struct { + // Id of the database cluster + ClusterId pulumi.StringPtrInput + // Permission to give to this username on this topic + Permission pulumi.StringPtrInput + ServiceName pulumi.StringPtrInput + Timeouts CloudProjectDatabaseKafkaAclTimeoutsPtrInput + // Topic affected by this acl + Topic pulumi.StringPtrInput + // Username affected by this acl + Username pulumi.StringPtrInput +} + +func (CloudProjectDatabaseKafkaAclState) ElementType() reflect.Type { + return reflect.TypeOf((*cloudProjectDatabaseKafkaAclState)(nil)).Elem() +} + +type cloudProjectDatabaseKafkaAclArgs struct { + // Id of the database cluster + ClusterId string `pulumi:"clusterId"` + // Permission to give to this username on this topic + Permission string `pulumi:"permission"` + ServiceName *string `pulumi:"serviceName"` + Timeouts *CloudProjectDatabaseKafkaAclTimeouts `pulumi:"timeouts"` + // Topic affected by this acl + Topic string `pulumi:"topic"` + // Username affected by this acl + Username string `pulumi:"username"` +} + +// The set of arguments for constructing a CloudProjectDatabaseKafkaAcl resource. +type CloudProjectDatabaseKafkaAclArgs struct { + // Id of the database cluster + ClusterId pulumi.StringInput + // Permission to give to this username on this topic + Permission pulumi.StringInput + ServiceName pulumi.StringPtrInput + Timeouts CloudProjectDatabaseKafkaAclTimeoutsPtrInput + // Topic affected by this acl + Topic pulumi.StringInput + // Username affected by this acl + Username pulumi.StringInput +} + +func (CloudProjectDatabaseKafkaAclArgs) ElementType() reflect.Type { + return reflect.TypeOf((*cloudProjectDatabaseKafkaAclArgs)(nil)).Elem() +} + +type CloudProjectDatabaseKafkaAclInput interface { + pulumi.Input + + ToCloudProjectDatabaseKafkaAclOutput() CloudProjectDatabaseKafkaAclOutput + ToCloudProjectDatabaseKafkaAclOutputWithContext(ctx context.Context) CloudProjectDatabaseKafkaAclOutput +} + +func (*CloudProjectDatabaseKafkaAcl) ElementType() reflect.Type { + return reflect.TypeOf((**CloudProjectDatabaseKafkaAcl)(nil)).Elem() +} + +func (i *CloudProjectDatabaseKafkaAcl) ToCloudProjectDatabaseKafkaAclOutput() CloudProjectDatabaseKafkaAclOutput { + return i.ToCloudProjectDatabaseKafkaAclOutputWithContext(context.Background()) +} + +func (i *CloudProjectDatabaseKafkaAcl) ToCloudProjectDatabaseKafkaAclOutputWithContext(ctx context.Context) CloudProjectDatabaseKafkaAclOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectDatabaseKafkaAclOutput) +} + +type CloudProjectDatabaseKafkaAclOutput struct{ *pulumi.OutputState } + +func (CloudProjectDatabaseKafkaAclOutput) ElementType() reflect.Type { + return reflect.TypeOf((**CloudProjectDatabaseKafkaAcl)(nil)).Elem() +} + +func (o CloudProjectDatabaseKafkaAclOutput) ToCloudProjectDatabaseKafkaAclOutput() CloudProjectDatabaseKafkaAclOutput { + return o +} + +func (o CloudProjectDatabaseKafkaAclOutput) ToCloudProjectDatabaseKafkaAclOutputWithContext(ctx context.Context) CloudProjectDatabaseKafkaAclOutput { + return o +} + +// Id of the database cluster +func (o CloudProjectDatabaseKafkaAclOutput) ClusterId() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectDatabaseKafkaAcl) pulumi.StringOutput { return v.ClusterId }).(pulumi.StringOutput) +} + +// Permission to give to this username on this topic +func (o CloudProjectDatabaseKafkaAclOutput) Permission() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectDatabaseKafkaAcl) pulumi.StringOutput { return v.Permission }).(pulumi.StringOutput) +} + +func (o CloudProjectDatabaseKafkaAclOutput) ServiceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudProjectDatabaseKafkaAcl) pulumi.StringPtrOutput { return v.ServiceName }).(pulumi.StringPtrOutput) +} + +func (o CloudProjectDatabaseKafkaAclOutput) Timeouts() CloudProjectDatabaseKafkaAclTimeoutsPtrOutput { + return o.ApplyT(func(v *CloudProjectDatabaseKafkaAcl) CloudProjectDatabaseKafkaAclTimeoutsPtrOutput { return v.Timeouts }).(CloudProjectDatabaseKafkaAclTimeoutsPtrOutput) +} + +// Topic affected by this acl +func (o CloudProjectDatabaseKafkaAclOutput) Topic() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectDatabaseKafkaAcl) pulumi.StringOutput { return v.Topic }).(pulumi.StringOutput) +} + +// Username affected by this acl +func (o CloudProjectDatabaseKafkaAclOutput) Username() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectDatabaseKafkaAcl) pulumi.StringOutput { return v.Username }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*CloudProjectDatabaseKafkaAclInput)(nil)).Elem(), &CloudProjectDatabaseKafkaAcl{}) + pulumi.RegisterOutputType(CloudProjectDatabaseKafkaAclOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectDatabaseKafkaSchemaregistryacl.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectDatabaseKafkaSchemaregistryacl.go new file mode 100644 index 00000000..1ca08a6d --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectDatabaseKafkaSchemaregistryacl.go @@ -0,0 +1,206 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type CloudProjectDatabaseKafkaSchemaregistryacl struct { + pulumi.CustomResourceState + + // Id of the database cluster + ClusterId pulumi.StringOutput `pulumi:"clusterId"` + // Permission to give to this username on this resource + Permission pulumi.StringOutput `pulumi:"permission"` + // Resource affected by this acl + Resource pulumi.StringOutput `pulumi:"resource"` + ServiceName pulumi.StringPtrOutput `pulumi:"serviceName"` + Timeouts CloudProjectDatabaseKafkaSchemaregistryaclTimeoutsPtrOutput `pulumi:"timeouts"` + // Username affected by this acl + Username pulumi.StringOutput `pulumi:"username"` +} + +// NewCloudProjectDatabaseKafkaSchemaregistryacl registers a new resource with the given unique name, arguments, and options. +func NewCloudProjectDatabaseKafkaSchemaregistryacl(ctx *pulumi.Context, + name string, args *CloudProjectDatabaseKafkaSchemaregistryaclArgs, opts ...pulumi.ResourceOption) (*CloudProjectDatabaseKafkaSchemaregistryacl, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.ClusterId == nil { + return nil, errors.New("invalid value for required argument 'ClusterId'") + } + if args.Permission == nil { + return nil, errors.New("invalid value for required argument 'Permission'") + } + if args.Resource == nil { + return nil, errors.New("invalid value for required argument 'Resource'") + } + if args.Username == nil { + return nil, errors.New("invalid value for required argument 'Username'") + } + opts = internal.PkgResourceDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var resource CloudProjectDatabaseKafkaSchemaregistryacl + err = ctx.RegisterPackageResource("ovh:index/cloudProjectDatabaseKafkaSchemaregistryacl:CloudProjectDatabaseKafkaSchemaregistryacl", name, args, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetCloudProjectDatabaseKafkaSchemaregistryacl gets an existing CloudProjectDatabaseKafkaSchemaregistryacl resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetCloudProjectDatabaseKafkaSchemaregistryacl(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *CloudProjectDatabaseKafkaSchemaregistryaclState, opts ...pulumi.ResourceOption) (*CloudProjectDatabaseKafkaSchemaregistryacl, error) { + var resource CloudProjectDatabaseKafkaSchemaregistryacl + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + err = ctx.ReadPackageResource("ovh:index/cloudProjectDatabaseKafkaSchemaregistryacl:CloudProjectDatabaseKafkaSchemaregistryacl", name, id, state, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering CloudProjectDatabaseKafkaSchemaregistryacl resources. +type cloudProjectDatabaseKafkaSchemaregistryaclState struct { + // Id of the database cluster + ClusterId *string `pulumi:"clusterId"` + // Permission to give to this username on this resource + Permission *string `pulumi:"permission"` + // Resource affected by this acl + Resource *string `pulumi:"resource"` + ServiceName *string `pulumi:"serviceName"` + Timeouts *CloudProjectDatabaseKafkaSchemaregistryaclTimeouts `pulumi:"timeouts"` + // Username affected by this acl + Username *string `pulumi:"username"` +} + +type CloudProjectDatabaseKafkaSchemaregistryaclState struct { + // Id of the database cluster + ClusterId pulumi.StringPtrInput + // Permission to give to this username on this resource + Permission pulumi.StringPtrInput + // Resource affected by this acl + Resource pulumi.StringPtrInput + ServiceName pulumi.StringPtrInput + Timeouts CloudProjectDatabaseKafkaSchemaregistryaclTimeoutsPtrInput + // Username affected by this acl + Username pulumi.StringPtrInput +} + +func (CloudProjectDatabaseKafkaSchemaregistryaclState) ElementType() reflect.Type { + return reflect.TypeOf((*cloudProjectDatabaseKafkaSchemaregistryaclState)(nil)).Elem() +} + +type cloudProjectDatabaseKafkaSchemaregistryaclArgs struct { + // Id of the database cluster + ClusterId string `pulumi:"clusterId"` + // Permission to give to this username on this resource + Permission string `pulumi:"permission"` + // Resource affected by this acl + Resource string `pulumi:"resource"` + ServiceName *string `pulumi:"serviceName"` + Timeouts *CloudProjectDatabaseKafkaSchemaregistryaclTimeouts `pulumi:"timeouts"` + // Username affected by this acl + Username string `pulumi:"username"` +} + +// The set of arguments for constructing a CloudProjectDatabaseKafkaSchemaregistryacl resource. +type CloudProjectDatabaseKafkaSchemaregistryaclArgs struct { + // Id of the database cluster + ClusterId pulumi.StringInput + // Permission to give to this username on this resource + Permission pulumi.StringInput + // Resource affected by this acl + Resource pulumi.StringInput + ServiceName pulumi.StringPtrInput + Timeouts CloudProjectDatabaseKafkaSchemaregistryaclTimeoutsPtrInput + // Username affected by this acl + Username pulumi.StringInput +} + +func (CloudProjectDatabaseKafkaSchemaregistryaclArgs) ElementType() reflect.Type { + return reflect.TypeOf((*cloudProjectDatabaseKafkaSchemaregistryaclArgs)(nil)).Elem() +} + +type CloudProjectDatabaseKafkaSchemaregistryaclInput interface { + pulumi.Input + + ToCloudProjectDatabaseKafkaSchemaregistryaclOutput() CloudProjectDatabaseKafkaSchemaregistryaclOutput + ToCloudProjectDatabaseKafkaSchemaregistryaclOutputWithContext(ctx context.Context) CloudProjectDatabaseKafkaSchemaregistryaclOutput +} + +func (*CloudProjectDatabaseKafkaSchemaregistryacl) ElementType() reflect.Type { + return reflect.TypeOf((**CloudProjectDatabaseKafkaSchemaregistryacl)(nil)).Elem() +} + +func (i *CloudProjectDatabaseKafkaSchemaregistryacl) ToCloudProjectDatabaseKafkaSchemaregistryaclOutput() CloudProjectDatabaseKafkaSchemaregistryaclOutput { + return i.ToCloudProjectDatabaseKafkaSchemaregistryaclOutputWithContext(context.Background()) +} + +func (i *CloudProjectDatabaseKafkaSchemaregistryacl) ToCloudProjectDatabaseKafkaSchemaregistryaclOutputWithContext(ctx context.Context) CloudProjectDatabaseKafkaSchemaregistryaclOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectDatabaseKafkaSchemaregistryaclOutput) +} + +type CloudProjectDatabaseKafkaSchemaregistryaclOutput struct{ *pulumi.OutputState } + +func (CloudProjectDatabaseKafkaSchemaregistryaclOutput) ElementType() reflect.Type { + return reflect.TypeOf((**CloudProjectDatabaseKafkaSchemaregistryacl)(nil)).Elem() +} + +func (o CloudProjectDatabaseKafkaSchemaregistryaclOutput) ToCloudProjectDatabaseKafkaSchemaregistryaclOutput() CloudProjectDatabaseKafkaSchemaregistryaclOutput { + return o +} + +func (o CloudProjectDatabaseKafkaSchemaregistryaclOutput) ToCloudProjectDatabaseKafkaSchemaregistryaclOutputWithContext(ctx context.Context) CloudProjectDatabaseKafkaSchemaregistryaclOutput { + return o +} + +// Id of the database cluster +func (o CloudProjectDatabaseKafkaSchemaregistryaclOutput) ClusterId() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectDatabaseKafkaSchemaregistryacl) pulumi.StringOutput { return v.ClusterId }).(pulumi.StringOutput) +} + +// Permission to give to this username on this resource +func (o CloudProjectDatabaseKafkaSchemaregistryaclOutput) Permission() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectDatabaseKafkaSchemaregistryacl) pulumi.StringOutput { return v.Permission }).(pulumi.StringOutput) +} + +// Resource affected by this acl +func (o CloudProjectDatabaseKafkaSchemaregistryaclOutput) Resource() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectDatabaseKafkaSchemaregistryacl) pulumi.StringOutput { return v.Resource }).(pulumi.StringOutput) +} + +func (o CloudProjectDatabaseKafkaSchemaregistryaclOutput) ServiceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudProjectDatabaseKafkaSchemaregistryacl) pulumi.StringPtrOutput { return v.ServiceName }).(pulumi.StringPtrOutput) +} + +func (o CloudProjectDatabaseKafkaSchemaregistryaclOutput) Timeouts() CloudProjectDatabaseKafkaSchemaregistryaclTimeoutsPtrOutput { + return o.ApplyT(func(v *CloudProjectDatabaseKafkaSchemaregistryacl) CloudProjectDatabaseKafkaSchemaregistryaclTimeoutsPtrOutput { + return v.Timeouts + }).(CloudProjectDatabaseKafkaSchemaregistryaclTimeoutsPtrOutput) +} + +// Username affected by this acl +func (o CloudProjectDatabaseKafkaSchemaregistryaclOutput) Username() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectDatabaseKafkaSchemaregistryacl) pulumi.StringOutput { return v.Username }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*CloudProjectDatabaseKafkaSchemaregistryaclInput)(nil)).Elem(), &CloudProjectDatabaseKafkaSchemaregistryacl{}) + pulumi.RegisterOutputType(CloudProjectDatabaseKafkaSchemaregistryaclOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectDatabaseKafkaTopic.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectDatabaseKafkaTopic.go new file mode 100644 index 00000000..4ffc78e3 --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectDatabaseKafkaTopic.go @@ -0,0 +1,242 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type CloudProjectDatabaseKafkaTopic struct { + pulumi.CustomResourceState + + // Id of the database cluster + ClusterId pulumi.StringOutput `pulumi:"clusterId"` + // Minimum insync replica accepted for this topic + MinInsyncReplicas pulumi.Float64Output `pulumi:"minInsyncReplicas"` + // Name of the topic + Name pulumi.StringOutput `pulumi:"name"` + // Number of partitions for this topic + Partitions pulumi.Float64Output `pulumi:"partitions"` + // Number of replication for this topic + Replication pulumi.Float64Output `pulumi:"replication"` + // Number of bytes for the retention of the data for this topic + RetentionBytes pulumi.Float64Output `pulumi:"retentionBytes"` + // Number of hours for the retention of the data for this topic + RetentionHours pulumi.Float64Output `pulumi:"retentionHours"` + ServiceName pulumi.StringPtrOutput `pulumi:"serviceName"` + Timeouts CloudProjectDatabaseKafkaTopicTimeoutsPtrOutput `pulumi:"timeouts"` +} + +// NewCloudProjectDatabaseKafkaTopic registers a new resource with the given unique name, arguments, and options. +func NewCloudProjectDatabaseKafkaTopic(ctx *pulumi.Context, + name string, args *CloudProjectDatabaseKafkaTopicArgs, opts ...pulumi.ResourceOption) (*CloudProjectDatabaseKafkaTopic, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.ClusterId == nil { + return nil, errors.New("invalid value for required argument 'ClusterId'") + } + opts = internal.PkgResourceDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var resource CloudProjectDatabaseKafkaTopic + err = ctx.RegisterPackageResource("ovh:index/cloudProjectDatabaseKafkaTopic:CloudProjectDatabaseKafkaTopic", name, args, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetCloudProjectDatabaseKafkaTopic gets an existing CloudProjectDatabaseKafkaTopic resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetCloudProjectDatabaseKafkaTopic(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *CloudProjectDatabaseKafkaTopicState, opts ...pulumi.ResourceOption) (*CloudProjectDatabaseKafkaTopic, error) { + var resource CloudProjectDatabaseKafkaTopic + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + err = ctx.ReadPackageResource("ovh:index/cloudProjectDatabaseKafkaTopic:CloudProjectDatabaseKafkaTopic", name, id, state, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering CloudProjectDatabaseKafkaTopic resources. +type cloudProjectDatabaseKafkaTopicState struct { + // Id of the database cluster + ClusterId *string `pulumi:"clusterId"` + // Minimum insync replica accepted for this topic + MinInsyncReplicas *float64 `pulumi:"minInsyncReplicas"` + // Name of the topic + Name *string `pulumi:"name"` + // Number of partitions for this topic + Partitions *float64 `pulumi:"partitions"` + // Number of replication for this topic + Replication *float64 `pulumi:"replication"` + // Number of bytes for the retention of the data for this topic + RetentionBytes *float64 `pulumi:"retentionBytes"` + // Number of hours for the retention of the data for this topic + RetentionHours *float64 `pulumi:"retentionHours"` + ServiceName *string `pulumi:"serviceName"` + Timeouts *CloudProjectDatabaseKafkaTopicTimeouts `pulumi:"timeouts"` +} + +type CloudProjectDatabaseKafkaTopicState struct { + // Id of the database cluster + ClusterId pulumi.StringPtrInput + // Minimum insync replica accepted for this topic + MinInsyncReplicas pulumi.Float64PtrInput + // Name of the topic + Name pulumi.StringPtrInput + // Number of partitions for this topic + Partitions pulumi.Float64PtrInput + // Number of replication for this topic + Replication pulumi.Float64PtrInput + // Number of bytes for the retention of the data for this topic + RetentionBytes pulumi.Float64PtrInput + // Number of hours for the retention of the data for this topic + RetentionHours pulumi.Float64PtrInput + ServiceName pulumi.StringPtrInput + Timeouts CloudProjectDatabaseKafkaTopicTimeoutsPtrInput +} + +func (CloudProjectDatabaseKafkaTopicState) ElementType() reflect.Type { + return reflect.TypeOf((*cloudProjectDatabaseKafkaTopicState)(nil)).Elem() +} + +type cloudProjectDatabaseKafkaTopicArgs struct { + // Id of the database cluster + ClusterId string `pulumi:"clusterId"` + // Minimum insync replica accepted for this topic + MinInsyncReplicas *float64 `pulumi:"minInsyncReplicas"` + // Name of the topic + Name *string `pulumi:"name"` + // Number of partitions for this topic + Partitions *float64 `pulumi:"partitions"` + // Number of replication for this topic + Replication *float64 `pulumi:"replication"` + // Number of bytes for the retention of the data for this topic + RetentionBytes *float64 `pulumi:"retentionBytes"` + // Number of hours for the retention of the data for this topic + RetentionHours *float64 `pulumi:"retentionHours"` + ServiceName *string `pulumi:"serviceName"` + Timeouts *CloudProjectDatabaseKafkaTopicTimeouts `pulumi:"timeouts"` +} + +// The set of arguments for constructing a CloudProjectDatabaseKafkaTopic resource. +type CloudProjectDatabaseKafkaTopicArgs struct { + // Id of the database cluster + ClusterId pulumi.StringInput + // Minimum insync replica accepted for this topic + MinInsyncReplicas pulumi.Float64PtrInput + // Name of the topic + Name pulumi.StringPtrInput + // Number of partitions for this topic + Partitions pulumi.Float64PtrInput + // Number of replication for this topic + Replication pulumi.Float64PtrInput + // Number of bytes for the retention of the data for this topic + RetentionBytes pulumi.Float64PtrInput + // Number of hours for the retention of the data for this topic + RetentionHours pulumi.Float64PtrInput + ServiceName pulumi.StringPtrInput + Timeouts CloudProjectDatabaseKafkaTopicTimeoutsPtrInput +} + +func (CloudProjectDatabaseKafkaTopicArgs) ElementType() reflect.Type { + return reflect.TypeOf((*cloudProjectDatabaseKafkaTopicArgs)(nil)).Elem() +} + +type CloudProjectDatabaseKafkaTopicInput interface { + pulumi.Input + + ToCloudProjectDatabaseKafkaTopicOutput() CloudProjectDatabaseKafkaTopicOutput + ToCloudProjectDatabaseKafkaTopicOutputWithContext(ctx context.Context) CloudProjectDatabaseKafkaTopicOutput +} + +func (*CloudProjectDatabaseKafkaTopic) ElementType() reflect.Type { + return reflect.TypeOf((**CloudProjectDatabaseKafkaTopic)(nil)).Elem() +} + +func (i *CloudProjectDatabaseKafkaTopic) ToCloudProjectDatabaseKafkaTopicOutput() CloudProjectDatabaseKafkaTopicOutput { + return i.ToCloudProjectDatabaseKafkaTopicOutputWithContext(context.Background()) +} + +func (i *CloudProjectDatabaseKafkaTopic) ToCloudProjectDatabaseKafkaTopicOutputWithContext(ctx context.Context) CloudProjectDatabaseKafkaTopicOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectDatabaseKafkaTopicOutput) +} + +type CloudProjectDatabaseKafkaTopicOutput struct{ *pulumi.OutputState } + +func (CloudProjectDatabaseKafkaTopicOutput) ElementType() reflect.Type { + return reflect.TypeOf((**CloudProjectDatabaseKafkaTopic)(nil)).Elem() +} + +func (o CloudProjectDatabaseKafkaTopicOutput) ToCloudProjectDatabaseKafkaTopicOutput() CloudProjectDatabaseKafkaTopicOutput { + return o +} + +func (o CloudProjectDatabaseKafkaTopicOutput) ToCloudProjectDatabaseKafkaTopicOutputWithContext(ctx context.Context) CloudProjectDatabaseKafkaTopicOutput { + return o +} + +// Id of the database cluster +func (o CloudProjectDatabaseKafkaTopicOutput) ClusterId() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectDatabaseKafkaTopic) pulumi.StringOutput { return v.ClusterId }).(pulumi.StringOutput) +} + +// Minimum insync replica accepted for this topic +func (o CloudProjectDatabaseKafkaTopicOutput) MinInsyncReplicas() pulumi.Float64Output { + return o.ApplyT(func(v *CloudProjectDatabaseKafkaTopic) pulumi.Float64Output { return v.MinInsyncReplicas }).(pulumi.Float64Output) +} + +// Name of the topic +func (o CloudProjectDatabaseKafkaTopicOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectDatabaseKafkaTopic) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +// Number of partitions for this topic +func (o CloudProjectDatabaseKafkaTopicOutput) Partitions() pulumi.Float64Output { + return o.ApplyT(func(v *CloudProjectDatabaseKafkaTopic) pulumi.Float64Output { return v.Partitions }).(pulumi.Float64Output) +} + +// Number of replication for this topic +func (o CloudProjectDatabaseKafkaTopicOutput) Replication() pulumi.Float64Output { + return o.ApplyT(func(v *CloudProjectDatabaseKafkaTopic) pulumi.Float64Output { return v.Replication }).(pulumi.Float64Output) +} + +// Number of bytes for the retention of the data for this topic +func (o CloudProjectDatabaseKafkaTopicOutput) RetentionBytes() pulumi.Float64Output { + return o.ApplyT(func(v *CloudProjectDatabaseKafkaTopic) pulumi.Float64Output { return v.RetentionBytes }).(pulumi.Float64Output) +} + +// Number of hours for the retention of the data for this topic +func (o CloudProjectDatabaseKafkaTopicOutput) RetentionHours() pulumi.Float64Output { + return o.ApplyT(func(v *CloudProjectDatabaseKafkaTopic) pulumi.Float64Output { return v.RetentionHours }).(pulumi.Float64Output) +} + +func (o CloudProjectDatabaseKafkaTopicOutput) ServiceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudProjectDatabaseKafkaTopic) pulumi.StringPtrOutput { return v.ServiceName }).(pulumi.StringPtrOutput) +} + +func (o CloudProjectDatabaseKafkaTopicOutput) Timeouts() CloudProjectDatabaseKafkaTopicTimeoutsPtrOutput { + return o.ApplyT(func(v *CloudProjectDatabaseKafkaTopic) CloudProjectDatabaseKafkaTopicTimeoutsPtrOutput { + return v.Timeouts + }).(CloudProjectDatabaseKafkaTopicTimeoutsPtrOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*CloudProjectDatabaseKafkaTopicInput)(nil)).Elem(), &CloudProjectDatabaseKafkaTopic{}) + pulumi.RegisterOutputType(CloudProjectDatabaseKafkaTopicOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectDatabaseLogSubscription.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectDatabaseLogSubscription.go new file mode 100644 index 00000000..6cfc571b --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectDatabaseLogSubscription.go @@ -0,0 +1,269 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type CloudProjectDatabaseLogSubscription struct { + pulumi.CustomResourceState + + // Id of the database cluster + ClusterId pulumi.StringOutput `pulumi:"clusterId"` + // Creation date of the subscription + CreatedAt pulumi.StringOutput `pulumi:"createdAt"` + // Name of the engine of the service + Engine pulumi.StringOutput `pulumi:"engine"` + // Log kind name of this subscription + Kind pulumi.StringOutput `pulumi:"kind"` + // Name of the destination log service + LdpServiceName pulumi.StringOutput `pulumi:"ldpServiceName"` + // Identifier of the operation + OperationId pulumi.StringOutput `pulumi:"operationId"` + // Name of subscribed resource, where the logs come from + ResourceName pulumi.StringOutput `pulumi:"resourceName"` + // Type of subscribed resource, where the logs come from + ResourceType pulumi.StringOutput `pulumi:"resourceType"` + ServiceName pulumi.StringPtrOutput `pulumi:"serviceName"` + // Id of the target Log data platform stream + StreamId pulumi.StringOutput `pulumi:"streamId"` + Timeouts CloudProjectDatabaseLogSubscriptionTimeoutsPtrOutput `pulumi:"timeouts"` + // Last update date of the subscription + UpdatedAt pulumi.StringOutput `pulumi:"updatedAt"` +} + +// NewCloudProjectDatabaseLogSubscription registers a new resource with the given unique name, arguments, and options. +func NewCloudProjectDatabaseLogSubscription(ctx *pulumi.Context, + name string, args *CloudProjectDatabaseLogSubscriptionArgs, opts ...pulumi.ResourceOption) (*CloudProjectDatabaseLogSubscription, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.ClusterId == nil { + return nil, errors.New("invalid value for required argument 'ClusterId'") + } + if args.Engine == nil { + return nil, errors.New("invalid value for required argument 'Engine'") + } + if args.StreamId == nil { + return nil, errors.New("invalid value for required argument 'StreamId'") + } + secrets := pulumi.AdditionalSecretOutputs([]string{ + "ldpServiceName", + }) + opts = append(opts, secrets) + opts = internal.PkgResourceDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var resource CloudProjectDatabaseLogSubscription + err = ctx.RegisterPackageResource("ovh:index/cloudProjectDatabaseLogSubscription:CloudProjectDatabaseLogSubscription", name, args, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetCloudProjectDatabaseLogSubscription gets an existing CloudProjectDatabaseLogSubscription resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetCloudProjectDatabaseLogSubscription(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *CloudProjectDatabaseLogSubscriptionState, opts ...pulumi.ResourceOption) (*CloudProjectDatabaseLogSubscription, error) { + var resource CloudProjectDatabaseLogSubscription + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + err = ctx.ReadPackageResource("ovh:index/cloudProjectDatabaseLogSubscription:CloudProjectDatabaseLogSubscription", name, id, state, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering CloudProjectDatabaseLogSubscription resources. +type cloudProjectDatabaseLogSubscriptionState struct { + // Id of the database cluster + ClusterId *string `pulumi:"clusterId"` + // Creation date of the subscription + CreatedAt *string `pulumi:"createdAt"` + // Name of the engine of the service + Engine *string `pulumi:"engine"` + // Log kind name of this subscription + Kind *string `pulumi:"kind"` + // Name of the destination log service + LdpServiceName *string `pulumi:"ldpServiceName"` + // Identifier of the operation + OperationId *string `pulumi:"operationId"` + // Name of subscribed resource, where the logs come from + ResourceName *string `pulumi:"resourceName"` + // Type of subscribed resource, where the logs come from + ResourceType *string `pulumi:"resourceType"` + ServiceName *string `pulumi:"serviceName"` + // Id of the target Log data platform stream + StreamId *string `pulumi:"streamId"` + Timeouts *CloudProjectDatabaseLogSubscriptionTimeouts `pulumi:"timeouts"` + // Last update date of the subscription + UpdatedAt *string `pulumi:"updatedAt"` +} + +type CloudProjectDatabaseLogSubscriptionState struct { + // Id of the database cluster + ClusterId pulumi.StringPtrInput + // Creation date of the subscription + CreatedAt pulumi.StringPtrInput + // Name of the engine of the service + Engine pulumi.StringPtrInput + // Log kind name of this subscription + Kind pulumi.StringPtrInput + // Name of the destination log service + LdpServiceName pulumi.StringPtrInput + // Identifier of the operation + OperationId pulumi.StringPtrInput + // Name of subscribed resource, where the logs come from + ResourceName pulumi.StringPtrInput + // Type of subscribed resource, where the logs come from + ResourceType pulumi.StringPtrInput + ServiceName pulumi.StringPtrInput + // Id of the target Log data platform stream + StreamId pulumi.StringPtrInput + Timeouts CloudProjectDatabaseLogSubscriptionTimeoutsPtrInput + // Last update date of the subscription + UpdatedAt pulumi.StringPtrInput +} + +func (CloudProjectDatabaseLogSubscriptionState) ElementType() reflect.Type { + return reflect.TypeOf((*cloudProjectDatabaseLogSubscriptionState)(nil)).Elem() +} + +type cloudProjectDatabaseLogSubscriptionArgs struct { + // Id of the database cluster + ClusterId string `pulumi:"clusterId"` + // Name of the engine of the service + Engine string `pulumi:"engine"` + ServiceName *string `pulumi:"serviceName"` + // Id of the target Log data platform stream + StreamId string `pulumi:"streamId"` + Timeouts *CloudProjectDatabaseLogSubscriptionTimeouts `pulumi:"timeouts"` +} + +// The set of arguments for constructing a CloudProjectDatabaseLogSubscription resource. +type CloudProjectDatabaseLogSubscriptionArgs struct { + // Id of the database cluster + ClusterId pulumi.StringInput + // Name of the engine of the service + Engine pulumi.StringInput + ServiceName pulumi.StringPtrInput + // Id of the target Log data platform stream + StreamId pulumi.StringInput + Timeouts CloudProjectDatabaseLogSubscriptionTimeoutsPtrInput +} + +func (CloudProjectDatabaseLogSubscriptionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*cloudProjectDatabaseLogSubscriptionArgs)(nil)).Elem() +} + +type CloudProjectDatabaseLogSubscriptionInput interface { + pulumi.Input + + ToCloudProjectDatabaseLogSubscriptionOutput() CloudProjectDatabaseLogSubscriptionOutput + ToCloudProjectDatabaseLogSubscriptionOutputWithContext(ctx context.Context) CloudProjectDatabaseLogSubscriptionOutput +} + +func (*CloudProjectDatabaseLogSubscription) ElementType() reflect.Type { + return reflect.TypeOf((**CloudProjectDatabaseLogSubscription)(nil)).Elem() +} + +func (i *CloudProjectDatabaseLogSubscription) ToCloudProjectDatabaseLogSubscriptionOutput() CloudProjectDatabaseLogSubscriptionOutput { + return i.ToCloudProjectDatabaseLogSubscriptionOutputWithContext(context.Background()) +} + +func (i *CloudProjectDatabaseLogSubscription) ToCloudProjectDatabaseLogSubscriptionOutputWithContext(ctx context.Context) CloudProjectDatabaseLogSubscriptionOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectDatabaseLogSubscriptionOutput) +} + +type CloudProjectDatabaseLogSubscriptionOutput struct{ *pulumi.OutputState } + +func (CloudProjectDatabaseLogSubscriptionOutput) ElementType() reflect.Type { + return reflect.TypeOf((**CloudProjectDatabaseLogSubscription)(nil)).Elem() +} + +func (o CloudProjectDatabaseLogSubscriptionOutput) ToCloudProjectDatabaseLogSubscriptionOutput() CloudProjectDatabaseLogSubscriptionOutput { + return o +} + +func (o CloudProjectDatabaseLogSubscriptionOutput) ToCloudProjectDatabaseLogSubscriptionOutputWithContext(ctx context.Context) CloudProjectDatabaseLogSubscriptionOutput { + return o +} + +// Id of the database cluster +func (o CloudProjectDatabaseLogSubscriptionOutput) ClusterId() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectDatabaseLogSubscription) pulumi.StringOutput { return v.ClusterId }).(pulumi.StringOutput) +} + +// Creation date of the subscription +func (o CloudProjectDatabaseLogSubscriptionOutput) CreatedAt() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectDatabaseLogSubscription) pulumi.StringOutput { return v.CreatedAt }).(pulumi.StringOutput) +} + +// Name of the engine of the service +func (o CloudProjectDatabaseLogSubscriptionOutput) Engine() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectDatabaseLogSubscription) pulumi.StringOutput { return v.Engine }).(pulumi.StringOutput) +} + +// Log kind name of this subscription +func (o CloudProjectDatabaseLogSubscriptionOutput) Kind() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectDatabaseLogSubscription) pulumi.StringOutput { return v.Kind }).(pulumi.StringOutput) +} + +// Name of the destination log service +func (o CloudProjectDatabaseLogSubscriptionOutput) LdpServiceName() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectDatabaseLogSubscription) pulumi.StringOutput { return v.LdpServiceName }).(pulumi.StringOutput) +} + +// Identifier of the operation +func (o CloudProjectDatabaseLogSubscriptionOutput) OperationId() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectDatabaseLogSubscription) pulumi.StringOutput { return v.OperationId }).(pulumi.StringOutput) +} + +// Name of subscribed resource, where the logs come from +func (o CloudProjectDatabaseLogSubscriptionOutput) ResourceName() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectDatabaseLogSubscription) pulumi.StringOutput { return v.ResourceName }).(pulumi.StringOutput) +} + +// Type of subscribed resource, where the logs come from +func (o CloudProjectDatabaseLogSubscriptionOutput) ResourceType() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectDatabaseLogSubscription) pulumi.StringOutput { return v.ResourceType }).(pulumi.StringOutput) +} + +func (o CloudProjectDatabaseLogSubscriptionOutput) ServiceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudProjectDatabaseLogSubscription) pulumi.StringPtrOutput { return v.ServiceName }).(pulumi.StringPtrOutput) +} + +// Id of the target Log data platform stream +func (o CloudProjectDatabaseLogSubscriptionOutput) StreamId() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectDatabaseLogSubscription) pulumi.StringOutput { return v.StreamId }).(pulumi.StringOutput) +} + +func (o CloudProjectDatabaseLogSubscriptionOutput) Timeouts() CloudProjectDatabaseLogSubscriptionTimeoutsPtrOutput { + return o.ApplyT(func(v *CloudProjectDatabaseLogSubscription) CloudProjectDatabaseLogSubscriptionTimeoutsPtrOutput { + return v.Timeouts + }).(CloudProjectDatabaseLogSubscriptionTimeoutsPtrOutput) +} + +// Last update date of the subscription +func (o CloudProjectDatabaseLogSubscriptionOutput) UpdatedAt() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectDatabaseLogSubscription) pulumi.StringOutput { return v.UpdatedAt }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*CloudProjectDatabaseLogSubscriptionInput)(nil)).Elem(), &CloudProjectDatabaseLogSubscription{}) + pulumi.RegisterOutputType(CloudProjectDatabaseLogSubscriptionOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectDatabaseM3dbNamespace.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectDatabaseM3dbNamespace.go new file mode 100644 index 00000000..334dc74f --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectDatabaseM3dbNamespace.go @@ -0,0 +1,310 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type CloudProjectDatabaseM3dbNamespace struct { + pulumi.CustomResourceState + + // Id of the database cluster + ClusterId pulumi.StringOutput `pulumi:"clusterId"` + // Name of the namespace + Name pulumi.StringOutput `pulumi:"name"` + // Resolution for an aggregated namespace + Resolution pulumi.StringOutput `pulumi:"resolution"` + // Controls how long we wait before expiring stale data + RetentionBlockDataExpirationDuration pulumi.StringPtrOutput `pulumi:"retentionBlockDataExpirationDuration"` + // Controls how long to keep a block in memory before flushing to a fileset on disk + RetentionBlockSizeDuration pulumi.StringOutput `pulumi:"retentionBlockSizeDuration"` + // Controls how far into the future writes to the namespace will be accepted + RetentionBufferFutureDuration pulumi.StringPtrOutput `pulumi:"retentionBufferFutureDuration"` + // Controls how far into the past writes to the namespace will be accepted + RetentionBufferPastDuration pulumi.StringPtrOutput `pulumi:"retentionBufferPastDuration"` + // Controls the duration of time that M3DB will retain data for the namespace + RetentionPeriodDuration pulumi.StringOutput `pulumi:"retentionPeriodDuration"` + ServiceName pulumi.StringPtrOutput `pulumi:"serviceName"` + // Defines whether M3db will create snapshot files for this namespace + SnapshotEnabled pulumi.BoolPtrOutput `pulumi:"snapshotEnabled"` + Timeouts CloudProjectDatabaseM3dbNamespaceTimeoutsPtrOutput `pulumi:"timeouts"` + // Type of namespace + Type pulumi.StringOutput `pulumi:"type"` + // Defines whether M3db will include writes to this namespace in the commit log + WritesToCommitLogEnabled pulumi.BoolPtrOutput `pulumi:"writesToCommitLogEnabled"` +} + +// NewCloudProjectDatabaseM3dbNamespace registers a new resource with the given unique name, arguments, and options. +func NewCloudProjectDatabaseM3dbNamespace(ctx *pulumi.Context, + name string, args *CloudProjectDatabaseM3dbNamespaceArgs, opts ...pulumi.ResourceOption) (*CloudProjectDatabaseM3dbNamespace, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.ClusterId == nil { + return nil, errors.New("invalid value for required argument 'ClusterId'") + } + if args.Resolution == nil { + return nil, errors.New("invalid value for required argument 'Resolution'") + } + if args.RetentionPeriodDuration == nil { + return nil, errors.New("invalid value for required argument 'RetentionPeriodDuration'") + } + opts = internal.PkgResourceDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var resource CloudProjectDatabaseM3dbNamespace + err = ctx.RegisterPackageResource("ovh:index/cloudProjectDatabaseM3dbNamespace:CloudProjectDatabaseM3dbNamespace", name, args, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetCloudProjectDatabaseM3dbNamespace gets an existing CloudProjectDatabaseM3dbNamespace resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetCloudProjectDatabaseM3dbNamespace(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *CloudProjectDatabaseM3dbNamespaceState, opts ...pulumi.ResourceOption) (*CloudProjectDatabaseM3dbNamespace, error) { + var resource CloudProjectDatabaseM3dbNamespace + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + err = ctx.ReadPackageResource("ovh:index/cloudProjectDatabaseM3dbNamespace:CloudProjectDatabaseM3dbNamespace", name, id, state, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering CloudProjectDatabaseM3dbNamespace resources. +type cloudProjectDatabaseM3dbNamespaceState struct { + // Id of the database cluster + ClusterId *string `pulumi:"clusterId"` + // Name of the namespace + Name *string `pulumi:"name"` + // Resolution for an aggregated namespace + Resolution *string `pulumi:"resolution"` + // Controls how long we wait before expiring stale data + RetentionBlockDataExpirationDuration *string `pulumi:"retentionBlockDataExpirationDuration"` + // Controls how long to keep a block in memory before flushing to a fileset on disk + RetentionBlockSizeDuration *string `pulumi:"retentionBlockSizeDuration"` + // Controls how far into the future writes to the namespace will be accepted + RetentionBufferFutureDuration *string `pulumi:"retentionBufferFutureDuration"` + // Controls how far into the past writes to the namespace will be accepted + RetentionBufferPastDuration *string `pulumi:"retentionBufferPastDuration"` + // Controls the duration of time that M3DB will retain data for the namespace + RetentionPeriodDuration *string `pulumi:"retentionPeriodDuration"` + ServiceName *string `pulumi:"serviceName"` + // Defines whether M3db will create snapshot files for this namespace + SnapshotEnabled *bool `pulumi:"snapshotEnabled"` + Timeouts *CloudProjectDatabaseM3dbNamespaceTimeouts `pulumi:"timeouts"` + // Type of namespace + Type *string `pulumi:"type"` + // Defines whether M3db will include writes to this namespace in the commit log + WritesToCommitLogEnabled *bool `pulumi:"writesToCommitLogEnabled"` +} + +type CloudProjectDatabaseM3dbNamespaceState struct { + // Id of the database cluster + ClusterId pulumi.StringPtrInput + // Name of the namespace + Name pulumi.StringPtrInput + // Resolution for an aggregated namespace + Resolution pulumi.StringPtrInput + // Controls how long we wait before expiring stale data + RetentionBlockDataExpirationDuration pulumi.StringPtrInput + // Controls how long to keep a block in memory before flushing to a fileset on disk + RetentionBlockSizeDuration pulumi.StringPtrInput + // Controls how far into the future writes to the namespace will be accepted + RetentionBufferFutureDuration pulumi.StringPtrInput + // Controls how far into the past writes to the namespace will be accepted + RetentionBufferPastDuration pulumi.StringPtrInput + // Controls the duration of time that M3DB will retain data for the namespace + RetentionPeriodDuration pulumi.StringPtrInput + ServiceName pulumi.StringPtrInput + // Defines whether M3db will create snapshot files for this namespace + SnapshotEnabled pulumi.BoolPtrInput + Timeouts CloudProjectDatabaseM3dbNamespaceTimeoutsPtrInput + // Type of namespace + Type pulumi.StringPtrInput + // Defines whether M3db will include writes to this namespace in the commit log + WritesToCommitLogEnabled pulumi.BoolPtrInput +} + +func (CloudProjectDatabaseM3dbNamespaceState) ElementType() reflect.Type { + return reflect.TypeOf((*cloudProjectDatabaseM3dbNamespaceState)(nil)).Elem() +} + +type cloudProjectDatabaseM3dbNamespaceArgs struct { + // Id of the database cluster + ClusterId string `pulumi:"clusterId"` + // Name of the namespace + Name *string `pulumi:"name"` + // Resolution for an aggregated namespace + Resolution string `pulumi:"resolution"` + // Controls how long we wait before expiring stale data + RetentionBlockDataExpirationDuration *string `pulumi:"retentionBlockDataExpirationDuration"` + // Controls how long to keep a block in memory before flushing to a fileset on disk + RetentionBlockSizeDuration *string `pulumi:"retentionBlockSizeDuration"` + // Controls how far into the future writes to the namespace will be accepted + RetentionBufferFutureDuration *string `pulumi:"retentionBufferFutureDuration"` + // Controls how far into the past writes to the namespace will be accepted + RetentionBufferPastDuration *string `pulumi:"retentionBufferPastDuration"` + // Controls the duration of time that M3DB will retain data for the namespace + RetentionPeriodDuration string `pulumi:"retentionPeriodDuration"` + ServiceName *string `pulumi:"serviceName"` + // Defines whether M3db will create snapshot files for this namespace + SnapshotEnabled *bool `pulumi:"snapshotEnabled"` + Timeouts *CloudProjectDatabaseM3dbNamespaceTimeouts `pulumi:"timeouts"` + // Defines whether M3db will include writes to this namespace in the commit log + WritesToCommitLogEnabled *bool `pulumi:"writesToCommitLogEnabled"` +} + +// The set of arguments for constructing a CloudProjectDatabaseM3dbNamespace resource. +type CloudProjectDatabaseM3dbNamespaceArgs struct { + // Id of the database cluster + ClusterId pulumi.StringInput + // Name of the namespace + Name pulumi.StringPtrInput + // Resolution for an aggregated namespace + Resolution pulumi.StringInput + // Controls how long we wait before expiring stale data + RetentionBlockDataExpirationDuration pulumi.StringPtrInput + // Controls how long to keep a block in memory before flushing to a fileset on disk + RetentionBlockSizeDuration pulumi.StringPtrInput + // Controls how far into the future writes to the namespace will be accepted + RetentionBufferFutureDuration pulumi.StringPtrInput + // Controls how far into the past writes to the namespace will be accepted + RetentionBufferPastDuration pulumi.StringPtrInput + // Controls the duration of time that M3DB will retain data for the namespace + RetentionPeriodDuration pulumi.StringInput + ServiceName pulumi.StringPtrInput + // Defines whether M3db will create snapshot files for this namespace + SnapshotEnabled pulumi.BoolPtrInput + Timeouts CloudProjectDatabaseM3dbNamespaceTimeoutsPtrInput + // Defines whether M3db will include writes to this namespace in the commit log + WritesToCommitLogEnabled pulumi.BoolPtrInput +} + +func (CloudProjectDatabaseM3dbNamespaceArgs) ElementType() reflect.Type { + return reflect.TypeOf((*cloudProjectDatabaseM3dbNamespaceArgs)(nil)).Elem() +} + +type CloudProjectDatabaseM3dbNamespaceInput interface { + pulumi.Input + + ToCloudProjectDatabaseM3dbNamespaceOutput() CloudProjectDatabaseM3dbNamespaceOutput + ToCloudProjectDatabaseM3dbNamespaceOutputWithContext(ctx context.Context) CloudProjectDatabaseM3dbNamespaceOutput +} + +func (*CloudProjectDatabaseM3dbNamespace) ElementType() reflect.Type { + return reflect.TypeOf((**CloudProjectDatabaseM3dbNamespace)(nil)).Elem() +} + +func (i *CloudProjectDatabaseM3dbNamespace) ToCloudProjectDatabaseM3dbNamespaceOutput() CloudProjectDatabaseM3dbNamespaceOutput { + return i.ToCloudProjectDatabaseM3dbNamespaceOutputWithContext(context.Background()) +} + +func (i *CloudProjectDatabaseM3dbNamespace) ToCloudProjectDatabaseM3dbNamespaceOutputWithContext(ctx context.Context) CloudProjectDatabaseM3dbNamespaceOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectDatabaseM3dbNamespaceOutput) +} + +type CloudProjectDatabaseM3dbNamespaceOutput struct{ *pulumi.OutputState } + +func (CloudProjectDatabaseM3dbNamespaceOutput) ElementType() reflect.Type { + return reflect.TypeOf((**CloudProjectDatabaseM3dbNamespace)(nil)).Elem() +} + +func (o CloudProjectDatabaseM3dbNamespaceOutput) ToCloudProjectDatabaseM3dbNamespaceOutput() CloudProjectDatabaseM3dbNamespaceOutput { + return o +} + +func (o CloudProjectDatabaseM3dbNamespaceOutput) ToCloudProjectDatabaseM3dbNamespaceOutputWithContext(ctx context.Context) CloudProjectDatabaseM3dbNamespaceOutput { + return o +} + +// Id of the database cluster +func (o CloudProjectDatabaseM3dbNamespaceOutput) ClusterId() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectDatabaseM3dbNamespace) pulumi.StringOutput { return v.ClusterId }).(pulumi.StringOutput) +} + +// Name of the namespace +func (o CloudProjectDatabaseM3dbNamespaceOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectDatabaseM3dbNamespace) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +// Resolution for an aggregated namespace +func (o CloudProjectDatabaseM3dbNamespaceOutput) Resolution() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectDatabaseM3dbNamespace) pulumi.StringOutput { return v.Resolution }).(pulumi.StringOutput) +} + +// Controls how long we wait before expiring stale data +func (o CloudProjectDatabaseM3dbNamespaceOutput) RetentionBlockDataExpirationDuration() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudProjectDatabaseM3dbNamespace) pulumi.StringPtrOutput { + return v.RetentionBlockDataExpirationDuration + }).(pulumi.StringPtrOutput) +} + +// Controls how long to keep a block in memory before flushing to a fileset on disk +func (o CloudProjectDatabaseM3dbNamespaceOutput) RetentionBlockSizeDuration() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectDatabaseM3dbNamespace) pulumi.StringOutput { return v.RetentionBlockSizeDuration }).(pulumi.StringOutput) +} + +// Controls how far into the future writes to the namespace will be accepted +func (o CloudProjectDatabaseM3dbNamespaceOutput) RetentionBufferFutureDuration() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudProjectDatabaseM3dbNamespace) pulumi.StringPtrOutput { + return v.RetentionBufferFutureDuration + }).(pulumi.StringPtrOutput) +} + +// Controls how far into the past writes to the namespace will be accepted +func (o CloudProjectDatabaseM3dbNamespaceOutput) RetentionBufferPastDuration() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudProjectDatabaseM3dbNamespace) pulumi.StringPtrOutput { + return v.RetentionBufferPastDuration + }).(pulumi.StringPtrOutput) +} + +// Controls the duration of time that M3DB will retain data for the namespace +func (o CloudProjectDatabaseM3dbNamespaceOutput) RetentionPeriodDuration() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectDatabaseM3dbNamespace) pulumi.StringOutput { return v.RetentionPeriodDuration }).(pulumi.StringOutput) +} + +func (o CloudProjectDatabaseM3dbNamespaceOutput) ServiceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudProjectDatabaseM3dbNamespace) pulumi.StringPtrOutput { return v.ServiceName }).(pulumi.StringPtrOutput) +} + +// Defines whether M3db will create snapshot files for this namespace +func (o CloudProjectDatabaseM3dbNamespaceOutput) SnapshotEnabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *CloudProjectDatabaseM3dbNamespace) pulumi.BoolPtrOutput { return v.SnapshotEnabled }).(pulumi.BoolPtrOutput) +} + +func (o CloudProjectDatabaseM3dbNamespaceOutput) Timeouts() CloudProjectDatabaseM3dbNamespaceTimeoutsPtrOutput { + return o.ApplyT(func(v *CloudProjectDatabaseM3dbNamespace) CloudProjectDatabaseM3dbNamespaceTimeoutsPtrOutput { + return v.Timeouts + }).(CloudProjectDatabaseM3dbNamespaceTimeoutsPtrOutput) +} + +// Type of namespace +func (o CloudProjectDatabaseM3dbNamespaceOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectDatabaseM3dbNamespace) pulumi.StringOutput { return v.Type }).(pulumi.StringOutput) +} + +// Defines whether M3db will include writes to this namespace in the commit log +func (o CloudProjectDatabaseM3dbNamespaceOutput) WritesToCommitLogEnabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *CloudProjectDatabaseM3dbNamespace) pulumi.BoolPtrOutput { return v.WritesToCommitLogEnabled }).(pulumi.BoolPtrOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*CloudProjectDatabaseM3dbNamespaceInput)(nil)).Elem(), &CloudProjectDatabaseM3dbNamespace{}) + pulumi.RegisterOutputType(CloudProjectDatabaseM3dbNamespaceOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectDatabaseM3dbUser.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectDatabaseM3dbUser.go new file mode 100644 index 00000000..6858c4dc --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectDatabaseM3dbUser.go @@ -0,0 +1,232 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type CloudProjectDatabaseM3dbUser struct { + pulumi.CustomResourceState + + // Id of the database cluster + ClusterId pulumi.StringOutput `pulumi:"clusterId"` + // Date of the creation of the user + CreatedAt pulumi.StringOutput `pulumi:"createdAt"` + // Group of the user + Group pulumi.StringPtrOutput `pulumi:"group"` + // Name of the user + Name pulumi.StringOutput `pulumi:"name"` + // Password of the user + Password pulumi.StringOutput `pulumi:"password"` + // Arbitrary string to change to trigger a password update + PasswordReset pulumi.StringPtrOutput `pulumi:"passwordReset"` + ServiceName pulumi.StringPtrOutput `pulumi:"serviceName"` + // Current status of the user + Status pulumi.StringOutput `pulumi:"status"` + Timeouts CloudProjectDatabaseM3dbUserTimeoutsPtrOutput `pulumi:"timeouts"` +} + +// NewCloudProjectDatabaseM3dbUser registers a new resource with the given unique name, arguments, and options. +func NewCloudProjectDatabaseM3dbUser(ctx *pulumi.Context, + name string, args *CloudProjectDatabaseM3dbUserArgs, opts ...pulumi.ResourceOption) (*CloudProjectDatabaseM3dbUser, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.ClusterId == nil { + return nil, errors.New("invalid value for required argument 'ClusterId'") + } + secrets := pulumi.AdditionalSecretOutputs([]string{ + "password", + }) + opts = append(opts, secrets) + opts = internal.PkgResourceDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var resource CloudProjectDatabaseM3dbUser + err = ctx.RegisterPackageResource("ovh:index/cloudProjectDatabaseM3dbUser:CloudProjectDatabaseM3dbUser", name, args, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetCloudProjectDatabaseM3dbUser gets an existing CloudProjectDatabaseM3dbUser resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetCloudProjectDatabaseM3dbUser(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *CloudProjectDatabaseM3dbUserState, opts ...pulumi.ResourceOption) (*CloudProjectDatabaseM3dbUser, error) { + var resource CloudProjectDatabaseM3dbUser + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + err = ctx.ReadPackageResource("ovh:index/cloudProjectDatabaseM3dbUser:CloudProjectDatabaseM3dbUser", name, id, state, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering CloudProjectDatabaseM3dbUser resources. +type cloudProjectDatabaseM3dbUserState struct { + // Id of the database cluster + ClusterId *string `pulumi:"clusterId"` + // Date of the creation of the user + CreatedAt *string `pulumi:"createdAt"` + // Group of the user + Group *string `pulumi:"group"` + // Name of the user + Name *string `pulumi:"name"` + // Password of the user + Password *string `pulumi:"password"` + // Arbitrary string to change to trigger a password update + PasswordReset *string `pulumi:"passwordReset"` + ServiceName *string `pulumi:"serviceName"` + // Current status of the user + Status *string `pulumi:"status"` + Timeouts *CloudProjectDatabaseM3dbUserTimeouts `pulumi:"timeouts"` +} + +type CloudProjectDatabaseM3dbUserState struct { + // Id of the database cluster + ClusterId pulumi.StringPtrInput + // Date of the creation of the user + CreatedAt pulumi.StringPtrInput + // Group of the user + Group pulumi.StringPtrInput + // Name of the user + Name pulumi.StringPtrInput + // Password of the user + Password pulumi.StringPtrInput + // Arbitrary string to change to trigger a password update + PasswordReset pulumi.StringPtrInput + ServiceName pulumi.StringPtrInput + // Current status of the user + Status pulumi.StringPtrInput + Timeouts CloudProjectDatabaseM3dbUserTimeoutsPtrInput +} + +func (CloudProjectDatabaseM3dbUserState) ElementType() reflect.Type { + return reflect.TypeOf((*cloudProjectDatabaseM3dbUserState)(nil)).Elem() +} + +type cloudProjectDatabaseM3dbUserArgs struct { + // Id of the database cluster + ClusterId string `pulumi:"clusterId"` + // Group of the user + Group *string `pulumi:"group"` + // Name of the user + Name *string `pulumi:"name"` + // Arbitrary string to change to trigger a password update + PasswordReset *string `pulumi:"passwordReset"` + ServiceName *string `pulumi:"serviceName"` + Timeouts *CloudProjectDatabaseM3dbUserTimeouts `pulumi:"timeouts"` +} + +// The set of arguments for constructing a CloudProjectDatabaseM3dbUser resource. +type CloudProjectDatabaseM3dbUserArgs struct { + // Id of the database cluster + ClusterId pulumi.StringInput + // Group of the user + Group pulumi.StringPtrInput + // Name of the user + Name pulumi.StringPtrInput + // Arbitrary string to change to trigger a password update + PasswordReset pulumi.StringPtrInput + ServiceName pulumi.StringPtrInput + Timeouts CloudProjectDatabaseM3dbUserTimeoutsPtrInput +} + +func (CloudProjectDatabaseM3dbUserArgs) ElementType() reflect.Type { + return reflect.TypeOf((*cloudProjectDatabaseM3dbUserArgs)(nil)).Elem() +} + +type CloudProjectDatabaseM3dbUserInput interface { + pulumi.Input + + ToCloudProjectDatabaseM3dbUserOutput() CloudProjectDatabaseM3dbUserOutput + ToCloudProjectDatabaseM3dbUserOutputWithContext(ctx context.Context) CloudProjectDatabaseM3dbUserOutput +} + +func (*CloudProjectDatabaseM3dbUser) ElementType() reflect.Type { + return reflect.TypeOf((**CloudProjectDatabaseM3dbUser)(nil)).Elem() +} + +func (i *CloudProjectDatabaseM3dbUser) ToCloudProjectDatabaseM3dbUserOutput() CloudProjectDatabaseM3dbUserOutput { + return i.ToCloudProjectDatabaseM3dbUserOutputWithContext(context.Background()) +} + +func (i *CloudProjectDatabaseM3dbUser) ToCloudProjectDatabaseM3dbUserOutputWithContext(ctx context.Context) CloudProjectDatabaseM3dbUserOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectDatabaseM3dbUserOutput) +} + +type CloudProjectDatabaseM3dbUserOutput struct{ *pulumi.OutputState } + +func (CloudProjectDatabaseM3dbUserOutput) ElementType() reflect.Type { + return reflect.TypeOf((**CloudProjectDatabaseM3dbUser)(nil)).Elem() +} + +func (o CloudProjectDatabaseM3dbUserOutput) ToCloudProjectDatabaseM3dbUserOutput() CloudProjectDatabaseM3dbUserOutput { + return o +} + +func (o CloudProjectDatabaseM3dbUserOutput) ToCloudProjectDatabaseM3dbUserOutputWithContext(ctx context.Context) CloudProjectDatabaseM3dbUserOutput { + return o +} + +// Id of the database cluster +func (o CloudProjectDatabaseM3dbUserOutput) ClusterId() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectDatabaseM3dbUser) pulumi.StringOutput { return v.ClusterId }).(pulumi.StringOutput) +} + +// Date of the creation of the user +func (o CloudProjectDatabaseM3dbUserOutput) CreatedAt() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectDatabaseM3dbUser) pulumi.StringOutput { return v.CreatedAt }).(pulumi.StringOutput) +} + +// Group of the user +func (o CloudProjectDatabaseM3dbUserOutput) Group() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudProjectDatabaseM3dbUser) pulumi.StringPtrOutput { return v.Group }).(pulumi.StringPtrOutput) +} + +// Name of the user +func (o CloudProjectDatabaseM3dbUserOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectDatabaseM3dbUser) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +// Password of the user +func (o CloudProjectDatabaseM3dbUserOutput) Password() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectDatabaseM3dbUser) pulumi.StringOutput { return v.Password }).(pulumi.StringOutput) +} + +// Arbitrary string to change to trigger a password update +func (o CloudProjectDatabaseM3dbUserOutput) PasswordReset() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudProjectDatabaseM3dbUser) pulumi.StringPtrOutput { return v.PasswordReset }).(pulumi.StringPtrOutput) +} + +func (o CloudProjectDatabaseM3dbUserOutput) ServiceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudProjectDatabaseM3dbUser) pulumi.StringPtrOutput { return v.ServiceName }).(pulumi.StringPtrOutput) +} + +// Current status of the user +func (o CloudProjectDatabaseM3dbUserOutput) Status() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectDatabaseM3dbUser) pulumi.StringOutput { return v.Status }).(pulumi.StringOutput) +} + +func (o CloudProjectDatabaseM3dbUserOutput) Timeouts() CloudProjectDatabaseM3dbUserTimeoutsPtrOutput { + return o.ApplyT(func(v *CloudProjectDatabaseM3dbUser) CloudProjectDatabaseM3dbUserTimeoutsPtrOutput { return v.Timeouts }).(CloudProjectDatabaseM3dbUserTimeoutsPtrOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*CloudProjectDatabaseM3dbUserInput)(nil)).Elem(), &CloudProjectDatabaseM3dbUser{}) + pulumi.RegisterOutputType(CloudProjectDatabaseM3dbUserOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectDatabaseMongodbUser.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectDatabaseMongodbUser.go new file mode 100644 index 00000000..ffca6b4f --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectDatabaseMongodbUser.go @@ -0,0 +1,234 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type CloudProjectDatabaseMongodbUser struct { + pulumi.CustomResourceState + + // Id of the database cluster + ClusterId pulumi.StringOutput `pulumi:"clusterId"` + // Date of the creation of the user + CreatedAt pulumi.StringOutput `pulumi:"createdAt"` + // Name of the user + Name pulumi.StringOutput `pulumi:"name"` + // Password of the user + Password pulumi.StringOutput `pulumi:"password"` + // Arbitrary string to change to trigger a password update + PasswordReset pulumi.StringPtrOutput `pulumi:"passwordReset"` + // Roles the user belongs to with the authentication database + Roles pulumi.StringArrayOutput `pulumi:"roles"` + ServiceName pulumi.StringPtrOutput `pulumi:"serviceName"` + // Current status of the user + Status pulumi.StringOutput `pulumi:"status"` + Timeouts CloudProjectDatabaseMongodbUserTimeoutsPtrOutput `pulumi:"timeouts"` +} + +// NewCloudProjectDatabaseMongodbUser registers a new resource with the given unique name, arguments, and options. +func NewCloudProjectDatabaseMongodbUser(ctx *pulumi.Context, + name string, args *CloudProjectDatabaseMongodbUserArgs, opts ...pulumi.ResourceOption) (*CloudProjectDatabaseMongodbUser, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.ClusterId == nil { + return nil, errors.New("invalid value for required argument 'ClusterId'") + } + secrets := pulumi.AdditionalSecretOutputs([]string{ + "password", + }) + opts = append(opts, secrets) + opts = internal.PkgResourceDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var resource CloudProjectDatabaseMongodbUser + err = ctx.RegisterPackageResource("ovh:index/cloudProjectDatabaseMongodbUser:CloudProjectDatabaseMongodbUser", name, args, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetCloudProjectDatabaseMongodbUser gets an existing CloudProjectDatabaseMongodbUser resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetCloudProjectDatabaseMongodbUser(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *CloudProjectDatabaseMongodbUserState, opts ...pulumi.ResourceOption) (*CloudProjectDatabaseMongodbUser, error) { + var resource CloudProjectDatabaseMongodbUser + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + err = ctx.ReadPackageResource("ovh:index/cloudProjectDatabaseMongodbUser:CloudProjectDatabaseMongodbUser", name, id, state, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering CloudProjectDatabaseMongodbUser resources. +type cloudProjectDatabaseMongodbUserState struct { + // Id of the database cluster + ClusterId *string `pulumi:"clusterId"` + // Date of the creation of the user + CreatedAt *string `pulumi:"createdAt"` + // Name of the user + Name *string `pulumi:"name"` + // Password of the user + Password *string `pulumi:"password"` + // Arbitrary string to change to trigger a password update + PasswordReset *string `pulumi:"passwordReset"` + // Roles the user belongs to with the authentication database + Roles []string `pulumi:"roles"` + ServiceName *string `pulumi:"serviceName"` + // Current status of the user + Status *string `pulumi:"status"` + Timeouts *CloudProjectDatabaseMongodbUserTimeouts `pulumi:"timeouts"` +} + +type CloudProjectDatabaseMongodbUserState struct { + // Id of the database cluster + ClusterId pulumi.StringPtrInput + // Date of the creation of the user + CreatedAt pulumi.StringPtrInput + // Name of the user + Name pulumi.StringPtrInput + // Password of the user + Password pulumi.StringPtrInput + // Arbitrary string to change to trigger a password update + PasswordReset pulumi.StringPtrInput + // Roles the user belongs to with the authentication database + Roles pulumi.StringArrayInput + ServiceName pulumi.StringPtrInput + // Current status of the user + Status pulumi.StringPtrInput + Timeouts CloudProjectDatabaseMongodbUserTimeoutsPtrInput +} + +func (CloudProjectDatabaseMongodbUserState) ElementType() reflect.Type { + return reflect.TypeOf((*cloudProjectDatabaseMongodbUserState)(nil)).Elem() +} + +type cloudProjectDatabaseMongodbUserArgs struct { + // Id of the database cluster + ClusterId string `pulumi:"clusterId"` + // Name of the user + Name *string `pulumi:"name"` + // Arbitrary string to change to trigger a password update + PasswordReset *string `pulumi:"passwordReset"` + // Roles the user belongs to with the authentication database + Roles []string `pulumi:"roles"` + ServiceName *string `pulumi:"serviceName"` + Timeouts *CloudProjectDatabaseMongodbUserTimeouts `pulumi:"timeouts"` +} + +// The set of arguments for constructing a CloudProjectDatabaseMongodbUser resource. +type CloudProjectDatabaseMongodbUserArgs struct { + // Id of the database cluster + ClusterId pulumi.StringInput + // Name of the user + Name pulumi.StringPtrInput + // Arbitrary string to change to trigger a password update + PasswordReset pulumi.StringPtrInput + // Roles the user belongs to with the authentication database + Roles pulumi.StringArrayInput + ServiceName pulumi.StringPtrInput + Timeouts CloudProjectDatabaseMongodbUserTimeoutsPtrInput +} + +func (CloudProjectDatabaseMongodbUserArgs) ElementType() reflect.Type { + return reflect.TypeOf((*cloudProjectDatabaseMongodbUserArgs)(nil)).Elem() +} + +type CloudProjectDatabaseMongodbUserInput interface { + pulumi.Input + + ToCloudProjectDatabaseMongodbUserOutput() CloudProjectDatabaseMongodbUserOutput + ToCloudProjectDatabaseMongodbUserOutputWithContext(ctx context.Context) CloudProjectDatabaseMongodbUserOutput +} + +func (*CloudProjectDatabaseMongodbUser) ElementType() reflect.Type { + return reflect.TypeOf((**CloudProjectDatabaseMongodbUser)(nil)).Elem() +} + +func (i *CloudProjectDatabaseMongodbUser) ToCloudProjectDatabaseMongodbUserOutput() CloudProjectDatabaseMongodbUserOutput { + return i.ToCloudProjectDatabaseMongodbUserOutputWithContext(context.Background()) +} + +func (i *CloudProjectDatabaseMongodbUser) ToCloudProjectDatabaseMongodbUserOutputWithContext(ctx context.Context) CloudProjectDatabaseMongodbUserOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectDatabaseMongodbUserOutput) +} + +type CloudProjectDatabaseMongodbUserOutput struct{ *pulumi.OutputState } + +func (CloudProjectDatabaseMongodbUserOutput) ElementType() reflect.Type { + return reflect.TypeOf((**CloudProjectDatabaseMongodbUser)(nil)).Elem() +} + +func (o CloudProjectDatabaseMongodbUserOutput) ToCloudProjectDatabaseMongodbUserOutput() CloudProjectDatabaseMongodbUserOutput { + return o +} + +func (o CloudProjectDatabaseMongodbUserOutput) ToCloudProjectDatabaseMongodbUserOutputWithContext(ctx context.Context) CloudProjectDatabaseMongodbUserOutput { + return o +} + +// Id of the database cluster +func (o CloudProjectDatabaseMongodbUserOutput) ClusterId() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectDatabaseMongodbUser) pulumi.StringOutput { return v.ClusterId }).(pulumi.StringOutput) +} + +// Date of the creation of the user +func (o CloudProjectDatabaseMongodbUserOutput) CreatedAt() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectDatabaseMongodbUser) pulumi.StringOutput { return v.CreatedAt }).(pulumi.StringOutput) +} + +// Name of the user +func (o CloudProjectDatabaseMongodbUserOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectDatabaseMongodbUser) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +// Password of the user +func (o CloudProjectDatabaseMongodbUserOutput) Password() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectDatabaseMongodbUser) pulumi.StringOutput { return v.Password }).(pulumi.StringOutput) +} + +// Arbitrary string to change to trigger a password update +func (o CloudProjectDatabaseMongodbUserOutput) PasswordReset() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudProjectDatabaseMongodbUser) pulumi.StringPtrOutput { return v.PasswordReset }).(pulumi.StringPtrOutput) +} + +// Roles the user belongs to with the authentication database +func (o CloudProjectDatabaseMongodbUserOutput) Roles() pulumi.StringArrayOutput { + return o.ApplyT(func(v *CloudProjectDatabaseMongodbUser) pulumi.StringArrayOutput { return v.Roles }).(pulumi.StringArrayOutput) +} + +func (o CloudProjectDatabaseMongodbUserOutput) ServiceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudProjectDatabaseMongodbUser) pulumi.StringPtrOutput { return v.ServiceName }).(pulumi.StringPtrOutput) +} + +// Current status of the user +func (o CloudProjectDatabaseMongodbUserOutput) Status() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectDatabaseMongodbUser) pulumi.StringOutput { return v.Status }).(pulumi.StringOutput) +} + +func (o CloudProjectDatabaseMongodbUserOutput) Timeouts() CloudProjectDatabaseMongodbUserTimeoutsPtrOutput { + return o.ApplyT(func(v *CloudProjectDatabaseMongodbUser) CloudProjectDatabaseMongodbUserTimeoutsPtrOutput { + return v.Timeouts + }).(CloudProjectDatabaseMongodbUserTimeoutsPtrOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*CloudProjectDatabaseMongodbUserInput)(nil)).Elem(), &CloudProjectDatabaseMongodbUser{}) + pulumi.RegisterOutputType(CloudProjectDatabaseMongodbUserOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectDatabaseOpensearchPattern.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectDatabaseOpensearchPattern.go new file mode 100644 index 00000000..7a355dee --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectDatabaseOpensearchPattern.go @@ -0,0 +1,185 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type CloudProjectDatabaseOpensearchPattern struct { + pulumi.CustomResourceState + + // Id of the database cluster + ClusterId pulumi.StringOutput `pulumi:"clusterId"` + // Maximum number of index for this pattern + MaxIndexCount pulumi.Float64PtrOutput `pulumi:"maxIndexCount"` + // Pattern format + Pattern pulumi.StringOutput `pulumi:"pattern"` + ServiceName pulumi.StringPtrOutput `pulumi:"serviceName"` + Timeouts CloudProjectDatabaseOpensearchPatternTimeoutsPtrOutput `pulumi:"timeouts"` +} + +// NewCloudProjectDatabaseOpensearchPattern registers a new resource with the given unique name, arguments, and options. +func NewCloudProjectDatabaseOpensearchPattern(ctx *pulumi.Context, + name string, args *CloudProjectDatabaseOpensearchPatternArgs, opts ...pulumi.ResourceOption) (*CloudProjectDatabaseOpensearchPattern, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.ClusterId == nil { + return nil, errors.New("invalid value for required argument 'ClusterId'") + } + if args.Pattern == nil { + return nil, errors.New("invalid value for required argument 'Pattern'") + } + opts = internal.PkgResourceDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var resource CloudProjectDatabaseOpensearchPattern + err = ctx.RegisterPackageResource("ovh:index/cloudProjectDatabaseOpensearchPattern:CloudProjectDatabaseOpensearchPattern", name, args, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetCloudProjectDatabaseOpensearchPattern gets an existing CloudProjectDatabaseOpensearchPattern resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetCloudProjectDatabaseOpensearchPattern(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *CloudProjectDatabaseOpensearchPatternState, opts ...pulumi.ResourceOption) (*CloudProjectDatabaseOpensearchPattern, error) { + var resource CloudProjectDatabaseOpensearchPattern + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + err = ctx.ReadPackageResource("ovh:index/cloudProjectDatabaseOpensearchPattern:CloudProjectDatabaseOpensearchPattern", name, id, state, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering CloudProjectDatabaseOpensearchPattern resources. +type cloudProjectDatabaseOpensearchPatternState struct { + // Id of the database cluster + ClusterId *string `pulumi:"clusterId"` + // Maximum number of index for this pattern + MaxIndexCount *float64 `pulumi:"maxIndexCount"` + // Pattern format + Pattern *string `pulumi:"pattern"` + ServiceName *string `pulumi:"serviceName"` + Timeouts *CloudProjectDatabaseOpensearchPatternTimeouts `pulumi:"timeouts"` +} + +type CloudProjectDatabaseOpensearchPatternState struct { + // Id of the database cluster + ClusterId pulumi.StringPtrInput + // Maximum number of index for this pattern + MaxIndexCount pulumi.Float64PtrInput + // Pattern format + Pattern pulumi.StringPtrInput + ServiceName pulumi.StringPtrInput + Timeouts CloudProjectDatabaseOpensearchPatternTimeoutsPtrInput +} + +func (CloudProjectDatabaseOpensearchPatternState) ElementType() reflect.Type { + return reflect.TypeOf((*cloudProjectDatabaseOpensearchPatternState)(nil)).Elem() +} + +type cloudProjectDatabaseOpensearchPatternArgs struct { + // Id of the database cluster + ClusterId string `pulumi:"clusterId"` + // Maximum number of index for this pattern + MaxIndexCount *float64 `pulumi:"maxIndexCount"` + // Pattern format + Pattern string `pulumi:"pattern"` + ServiceName *string `pulumi:"serviceName"` + Timeouts *CloudProjectDatabaseOpensearchPatternTimeouts `pulumi:"timeouts"` +} + +// The set of arguments for constructing a CloudProjectDatabaseOpensearchPattern resource. +type CloudProjectDatabaseOpensearchPatternArgs struct { + // Id of the database cluster + ClusterId pulumi.StringInput + // Maximum number of index for this pattern + MaxIndexCount pulumi.Float64PtrInput + // Pattern format + Pattern pulumi.StringInput + ServiceName pulumi.StringPtrInput + Timeouts CloudProjectDatabaseOpensearchPatternTimeoutsPtrInput +} + +func (CloudProjectDatabaseOpensearchPatternArgs) ElementType() reflect.Type { + return reflect.TypeOf((*cloudProjectDatabaseOpensearchPatternArgs)(nil)).Elem() +} + +type CloudProjectDatabaseOpensearchPatternInput interface { + pulumi.Input + + ToCloudProjectDatabaseOpensearchPatternOutput() CloudProjectDatabaseOpensearchPatternOutput + ToCloudProjectDatabaseOpensearchPatternOutputWithContext(ctx context.Context) CloudProjectDatabaseOpensearchPatternOutput +} + +func (*CloudProjectDatabaseOpensearchPattern) ElementType() reflect.Type { + return reflect.TypeOf((**CloudProjectDatabaseOpensearchPattern)(nil)).Elem() +} + +func (i *CloudProjectDatabaseOpensearchPattern) ToCloudProjectDatabaseOpensearchPatternOutput() CloudProjectDatabaseOpensearchPatternOutput { + return i.ToCloudProjectDatabaseOpensearchPatternOutputWithContext(context.Background()) +} + +func (i *CloudProjectDatabaseOpensearchPattern) ToCloudProjectDatabaseOpensearchPatternOutputWithContext(ctx context.Context) CloudProjectDatabaseOpensearchPatternOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectDatabaseOpensearchPatternOutput) +} + +type CloudProjectDatabaseOpensearchPatternOutput struct{ *pulumi.OutputState } + +func (CloudProjectDatabaseOpensearchPatternOutput) ElementType() reflect.Type { + return reflect.TypeOf((**CloudProjectDatabaseOpensearchPattern)(nil)).Elem() +} + +func (o CloudProjectDatabaseOpensearchPatternOutput) ToCloudProjectDatabaseOpensearchPatternOutput() CloudProjectDatabaseOpensearchPatternOutput { + return o +} + +func (o CloudProjectDatabaseOpensearchPatternOutput) ToCloudProjectDatabaseOpensearchPatternOutputWithContext(ctx context.Context) CloudProjectDatabaseOpensearchPatternOutput { + return o +} + +// Id of the database cluster +func (o CloudProjectDatabaseOpensearchPatternOutput) ClusterId() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectDatabaseOpensearchPattern) pulumi.StringOutput { return v.ClusterId }).(pulumi.StringOutput) +} + +// Maximum number of index for this pattern +func (o CloudProjectDatabaseOpensearchPatternOutput) MaxIndexCount() pulumi.Float64PtrOutput { + return o.ApplyT(func(v *CloudProjectDatabaseOpensearchPattern) pulumi.Float64PtrOutput { return v.MaxIndexCount }).(pulumi.Float64PtrOutput) +} + +// Pattern format +func (o CloudProjectDatabaseOpensearchPatternOutput) Pattern() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectDatabaseOpensearchPattern) pulumi.StringOutput { return v.Pattern }).(pulumi.StringOutput) +} + +func (o CloudProjectDatabaseOpensearchPatternOutput) ServiceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudProjectDatabaseOpensearchPattern) pulumi.StringPtrOutput { return v.ServiceName }).(pulumi.StringPtrOutput) +} + +func (o CloudProjectDatabaseOpensearchPatternOutput) Timeouts() CloudProjectDatabaseOpensearchPatternTimeoutsPtrOutput { + return o.ApplyT(func(v *CloudProjectDatabaseOpensearchPattern) CloudProjectDatabaseOpensearchPatternTimeoutsPtrOutput { + return v.Timeouts + }).(CloudProjectDatabaseOpensearchPatternTimeoutsPtrOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*CloudProjectDatabaseOpensearchPatternInput)(nil)).Elem(), &CloudProjectDatabaseOpensearchPattern{}) + pulumi.RegisterOutputType(CloudProjectDatabaseOpensearchPatternOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectDatabaseOpensearchUser.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectDatabaseOpensearchUser.go new file mode 100644 index 00000000..dc0e4195 --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectDatabaseOpensearchUser.go @@ -0,0 +1,236 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type CloudProjectDatabaseOpensearchUser struct { + pulumi.CustomResourceState + + // Acls of the user + Acls CloudProjectDatabaseOpensearchUserAclArrayOutput `pulumi:"acls"` + // Id of the database cluster + ClusterId pulumi.StringOutput `pulumi:"clusterId"` + // Date of the creation of the user + CreatedAt pulumi.StringOutput `pulumi:"createdAt"` + // Name of the user + Name pulumi.StringOutput `pulumi:"name"` + // Password of the user + Password pulumi.StringOutput `pulumi:"password"` + // Arbitrary string to change to trigger a password update + PasswordReset pulumi.StringPtrOutput `pulumi:"passwordReset"` + ServiceName pulumi.StringPtrOutput `pulumi:"serviceName"` + // Current status of the user + Status pulumi.StringOutput `pulumi:"status"` + Timeouts CloudProjectDatabaseOpensearchUserTimeoutsPtrOutput `pulumi:"timeouts"` +} + +// NewCloudProjectDatabaseOpensearchUser registers a new resource with the given unique name, arguments, and options. +func NewCloudProjectDatabaseOpensearchUser(ctx *pulumi.Context, + name string, args *CloudProjectDatabaseOpensearchUserArgs, opts ...pulumi.ResourceOption) (*CloudProjectDatabaseOpensearchUser, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.ClusterId == nil { + return nil, errors.New("invalid value for required argument 'ClusterId'") + } + secrets := pulumi.AdditionalSecretOutputs([]string{ + "password", + }) + opts = append(opts, secrets) + opts = internal.PkgResourceDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var resource CloudProjectDatabaseOpensearchUser + err = ctx.RegisterPackageResource("ovh:index/cloudProjectDatabaseOpensearchUser:CloudProjectDatabaseOpensearchUser", name, args, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetCloudProjectDatabaseOpensearchUser gets an existing CloudProjectDatabaseOpensearchUser resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetCloudProjectDatabaseOpensearchUser(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *CloudProjectDatabaseOpensearchUserState, opts ...pulumi.ResourceOption) (*CloudProjectDatabaseOpensearchUser, error) { + var resource CloudProjectDatabaseOpensearchUser + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + err = ctx.ReadPackageResource("ovh:index/cloudProjectDatabaseOpensearchUser:CloudProjectDatabaseOpensearchUser", name, id, state, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering CloudProjectDatabaseOpensearchUser resources. +type cloudProjectDatabaseOpensearchUserState struct { + // Acls of the user + Acls []CloudProjectDatabaseOpensearchUserAcl `pulumi:"acls"` + // Id of the database cluster + ClusterId *string `pulumi:"clusterId"` + // Date of the creation of the user + CreatedAt *string `pulumi:"createdAt"` + // Name of the user + Name *string `pulumi:"name"` + // Password of the user + Password *string `pulumi:"password"` + // Arbitrary string to change to trigger a password update + PasswordReset *string `pulumi:"passwordReset"` + ServiceName *string `pulumi:"serviceName"` + // Current status of the user + Status *string `pulumi:"status"` + Timeouts *CloudProjectDatabaseOpensearchUserTimeouts `pulumi:"timeouts"` +} + +type CloudProjectDatabaseOpensearchUserState struct { + // Acls of the user + Acls CloudProjectDatabaseOpensearchUserAclArrayInput + // Id of the database cluster + ClusterId pulumi.StringPtrInput + // Date of the creation of the user + CreatedAt pulumi.StringPtrInput + // Name of the user + Name pulumi.StringPtrInput + // Password of the user + Password pulumi.StringPtrInput + // Arbitrary string to change to trigger a password update + PasswordReset pulumi.StringPtrInput + ServiceName pulumi.StringPtrInput + // Current status of the user + Status pulumi.StringPtrInput + Timeouts CloudProjectDatabaseOpensearchUserTimeoutsPtrInput +} + +func (CloudProjectDatabaseOpensearchUserState) ElementType() reflect.Type { + return reflect.TypeOf((*cloudProjectDatabaseOpensearchUserState)(nil)).Elem() +} + +type cloudProjectDatabaseOpensearchUserArgs struct { + // Acls of the user + Acls []CloudProjectDatabaseOpensearchUserAcl `pulumi:"acls"` + // Id of the database cluster + ClusterId string `pulumi:"clusterId"` + // Name of the user + Name *string `pulumi:"name"` + // Arbitrary string to change to trigger a password update + PasswordReset *string `pulumi:"passwordReset"` + ServiceName *string `pulumi:"serviceName"` + Timeouts *CloudProjectDatabaseOpensearchUserTimeouts `pulumi:"timeouts"` +} + +// The set of arguments for constructing a CloudProjectDatabaseOpensearchUser resource. +type CloudProjectDatabaseOpensearchUserArgs struct { + // Acls of the user + Acls CloudProjectDatabaseOpensearchUserAclArrayInput + // Id of the database cluster + ClusterId pulumi.StringInput + // Name of the user + Name pulumi.StringPtrInput + // Arbitrary string to change to trigger a password update + PasswordReset pulumi.StringPtrInput + ServiceName pulumi.StringPtrInput + Timeouts CloudProjectDatabaseOpensearchUserTimeoutsPtrInput +} + +func (CloudProjectDatabaseOpensearchUserArgs) ElementType() reflect.Type { + return reflect.TypeOf((*cloudProjectDatabaseOpensearchUserArgs)(nil)).Elem() +} + +type CloudProjectDatabaseOpensearchUserInput interface { + pulumi.Input + + ToCloudProjectDatabaseOpensearchUserOutput() CloudProjectDatabaseOpensearchUserOutput + ToCloudProjectDatabaseOpensearchUserOutputWithContext(ctx context.Context) CloudProjectDatabaseOpensearchUserOutput +} + +func (*CloudProjectDatabaseOpensearchUser) ElementType() reflect.Type { + return reflect.TypeOf((**CloudProjectDatabaseOpensearchUser)(nil)).Elem() +} + +func (i *CloudProjectDatabaseOpensearchUser) ToCloudProjectDatabaseOpensearchUserOutput() CloudProjectDatabaseOpensearchUserOutput { + return i.ToCloudProjectDatabaseOpensearchUserOutputWithContext(context.Background()) +} + +func (i *CloudProjectDatabaseOpensearchUser) ToCloudProjectDatabaseOpensearchUserOutputWithContext(ctx context.Context) CloudProjectDatabaseOpensearchUserOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectDatabaseOpensearchUserOutput) +} + +type CloudProjectDatabaseOpensearchUserOutput struct{ *pulumi.OutputState } + +func (CloudProjectDatabaseOpensearchUserOutput) ElementType() reflect.Type { + return reflect.TypeOf((**CloudProjectDatabaseOpensearchUser)(nil)).Elem() +} + +func (o CloudProjectDatabaseOpensearchUserOutput) ToCloudProjectDatabaseOpensearchUserOutput() CloudProjectDatabaseOpensearchUserOutput { + return o +} + +func (o CloudProjectDatabaseOpensearchUserOutput) ToCloudProjectDatabaseOpensearchUserOutputWithContext(ctx context.Context) CloudProjectDatabaseOpensearchUserOutput { + return o +} + +// Acls of the user +func (o CloudProjectDatabaseOpensearchUserOutput) Acls() CloudProjectDatabaseOpensearchUserAclArrayOutput { + return o.ApplyT(func(v *CloudProjectDatabaseOpensearchUser) CloudProjectDatabaseOpensearchUserAclArrayOutput { + return v.Acls + }).(CloudProjectDatabaseOpensearchUserAclArrayOutput) +} + +// Id of the database cluster +func (o CloudProjectDatabaseOpensearchUserOutput) ClusterId() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectDatabaseOpensearchUser) pulumi.StringOutput { return v.ClusterId }).(pulumi.StringOutput) +} + +// Date of the creation of the user +func (o CloudProjectDatabaseOpensearchUserOutput) CreatedAt() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectDatabaseOpensearchUser) pulumi.StringOutput { return v.CreatedAt }).(pulumi.StringOutput) +} + +// Name of the user +func (o CloudProjectDatabaseOpensearchUserOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectDatabaseOpensearchUser) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +// Password of the user +func (o CloudProjectDatabaseOpensearchUserOutput) Password() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectDatabaseOpensearchUser) pulumi.StringOutput { return v.Password }).(pulumi.StringOutput) +} + +// Arbitrary string to change to trigger a password update +func (o CloudProjectDatabaseOpensearchUserOutput) PasswordReset() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudProjectDatabaseOpensearchUser) pulumi.StringPtrOutput { return v.PasswordReset }).(pulumi.StringPtrOutput) +} + +func (o CloudProjectDatabaseOpensearchUserOutput) ServiceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudProjectDatabaseOpensearchUser) pulumi.StringPtrOutput { return v.ServiceName }).(pulumi.StringPtrOutput) +} + +// Current status of the user +func (o CloudProjectDatabaseOpensearchUserOutput) Status() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectDatabaseOpensearchUser) pulumi.StringOutput { return v.Status }).(pulumi.StringOutput) +} + +func (o CloudProjectDatabaseOpensearchUserOutput) Timeouts() CloudProjectDatabaseOpensearchUserTimeoutsPtrOutput { + return o.ApplyT(func(v *CloudProjectDatabaseOpensearchUser) CloudProjectDatabaseOpensearchUserTimeoutsPtrOutput { + return v.Timeouts + }).(CloudProjectDatabaseOpensearchUserTimeoutsPtrOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*CloudProjectDatabaseOpensearchUserInput)(nil)).Elem(), &CloudProjectDatabaseOpensearchUser{}) + pulumi.RegisterOutputType(CloudProjectDatabaseOpensearchUserOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectDatabasePostgresqlConnectionPool.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectDatabasePostgresqlConnectionPool.go new file mode 100644 index 00000000..84e92360 --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectDatabasePostgresqlConnectionPool.go @@ -0,0 +1,269 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type CloudProjectDatabasePostgresqlConnectionPool struct { + pulumi.CustomResourceState + + // Id of the database cluster + ClusterId pulumi.StringOutput `pulumi:"clusterId"` + // Database used for the connection pool + DatabaseId pulumi.StringOutput `pulumi:"databaseId"` + // Connection mode to the connection pool + Mode pulumi.StringOutput `pulumi:"mode"` + // Name of the connection pool + Name pulumi.StringOutput `pulumi:"name"` + // Port of the connection pool + Port pulumi.Float64Output `pulumi:"port"` + ServiceName pulumi.StringPtrOutput `pulumi:"serviceName"` + // Size of the connection pool + Size pulumi.Float64Output `pulumi:"size"` + // SSL connection mode for the pool + SslMode pulumi.StringOutput `pulumi:"sslMode"` + Timeouts CloudProjectDatabasePostgresqlConnectionPoolTimeoutsPtrOutput `pulumi:"timeouts"` + // Connection URI to the pool + Uri pulumi.StringOutput `pulumi:"uri"` + // Database user authorized to connect to the pool, if none all the users are allowed + UserId pulumi.StringOutput `pulumi:"userId"` +} + +// NewCloudProjectDatabasePostgresqlConnectionPool registers a new resource with the given unique name, arguments, and options. +func NewCloudProjectDatabasePostgresqlConnectionPool(ctx *pulumi.Context, + name string, args *CloudProjectDatabasePostgresqlConnectionPoolArgs, opts ...pulumi.ResourceOption) (*CloudProjectDatabasePostgresqlConnectionPool, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.ClusterId == nil { + return nil, errors.New("invalid value for required argument 'ClusterId'") + } + if args.DatabaseId == nil { + return nil, errors.New("invalid value for required argument 'DatabaseId'") + } + if args.Mode == nil { + return nil, errors.New("invalid value for required argument 'Mode'") + } + if args.Size == nil { + return nil, errors.New("invalid value for required argument 'Size'") + } + opts = internal.PkgResourceDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var resource CloudProjectDatabasePostgresqlConnectionPool + err = ctx.RegisterPackageResource("ovh:index/cloudProjectDatabasePostgresqlConnectionPool:CloudProjectDatabasePostgresqlConnectionPool", name, args, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetCloudProjectDatabasePostgresqlConnectionPool gets an existing CloudProjectDatabasePostgresqlConnectionPool resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetCloudProjectDatabasePostgresqlConnectionPool(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *CloudProjectDatabasePostgresqlConnectionPoolState, opts ...pulumi.ResourceOption) (*CloudProjectDatabasePostgresqlConnectionPool, error) { + var resource CloudProjectDatabasePostgresqlConnectionPool + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + err = ctx.ReadPackageResource("ovh:index/cloudProjectDatabasePostgresqlConnectionPool:CloudProjectDatabasePostgresqlConnectionPool", name, id, state, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering CloudProjectDatabasePostgresqlConnectionPool resources. +type cloudProjectDatabasePostgresqlConnectionPoolState struct { + // Id of the database cluster + ClusterId *string `pulumi:"clusterId"` + // Database used for the connection pool + DatabaseId *string `pulumi:"databaseId"` + // Connection mode to the connection pool + Mode *string `pulumi:"mode"` + // Name of the connection pool + Name *string `pulumi:"name"` + // Port of the connection pool + Port *float64 `pulumi:"port"` + ServiceName *string `pulumi:"serviceName"` + // Size of the connection pool + Size *float64 `pulumi:"size"` + // SSL connection mode for the pool + SslMode *string `pulumi:"sslMode"` + Timeouts *CloudProjectDatabasePostgresqlConnectionPoolTimeouts `pulumi:"timeouts"` + // Connection URI to the pool + Uri *string `pulumi:"uri"` + // Database user authorized to connect to the pool, if none all the users are allowed + UserId *string `pulumi:"userId"` +} + +type CloudProjectDatabasePostgresqlConnectionPoolState struct { + // Id of the database cluster + ClusterId pulumi.StringPtrInput + // Database used for the connection pool + DatabaseId pulumi.StringPtrInput + // Connection mode to the connection pool + Mode pulumi.StringPtrInput + // Name of the connection pool + Name pulumi.StringPtrInput + // Port of the connection pool + Port pulumi.Float64PtrInput + ServiceName pulumi.StringPtrInput + // Size of the connection pool + Size pulumi.Float64PtrInput + // SSL connection mode for the pool + SslMode pulumi.StringPtrInput + Timeouts CloudProjectDatabasePostgresqlConnectionPoolTimeoutsPtrInput + // Connection URI to the pool + Uri pulumi.StringPtrInput + // Database user authorized to connect to the pool, if none all the users are allowed + UserId pulumi.StringPtrInput +} + +func (CloudProjectDatabasePostgresqlConnectionPoolState) ElementType() reflect.Type { + return reflect.TypeOf((*cloudProjectDatabasePostgresqlConnectionPoolState)(nil)).Elem() +} + +type cloudProjectDatabasePostgresqlConnectionPoolArgs struct { + // Id of the database cluster + ClusterId string `pulumi:"clusterId"` + // Database used for the connection pool + DatabaseId string `pulumi:"databaseId"` + // Connection mode to the connection pool + Mode string `pulumi:"mode"` + // Name of the connection pool + Name *string `pulumi:"name"` + ServiceName *string `pulumi:"serviceName"` + // Size of the connection pool + Size float64 `pulumi:"size"` + Timeouts *CloudProjectDatabasePostgresqlConnectionPoolTimeouts `pulumi:"timeouts"` + // Database user authorized to connect to the pool, if none all the users are allowed + UserId *string `pulumi:"userId"` +} + +// The set of arguments for constructing a CloudProjectDatabasePostgresqlConnectionPool resource. +type CloudProjectDatabasePostgresqlConnectionPoolArgs struct { + // Id of the database cluster + ClusterId pulumi.StringInput + // Database used for the connection pool + DatabaseId pulumi.StringInput + // Connection mode to the connection pool + Mode pulumi.StringInput + // Name of the connection pool + Name pulumi.StringPtrInput + ServiceName pulumi.StringPtrInput + // Size of the connection pool + Size pulumi.Float64Input + Timeouts CloudProjectDatabasePostgresqlConnectionPoolTimeoutsPtrInput + // Database user authorized to connect to the pool, if none all the users are allowed + UserId pulumi.StringPtrInput +} + +func (CloudProjectDatabasePostgresqlConnectionPoolArgs) ElementType() reflect.Type { + return reflect.TypeOf((*cloudProjectDatabasePostgresqlConnectionPoolArgs)(nil)).Elem() +} + +type CloudProjectDatabasePostgresqlConnectionPoolInput interface { + pulumi.Input + + ToCloudProjectDatabasePostgresqlConnectionPoolOutput() CloudProjectDatabasePostgresqlConnectionPoolOutput + ToCloudProjectDatabasePostgresqlConnectionPoolOutputWithContext(ctx context.Context) CloudProjectDatabasePostgresqlConnectionPoolOutput +} + +func (*CloudProjectDatabasePostgresqlConnectionPool) ElementType() reflect.Type { + return reflect.TypeOf((**CloudProjectDatabasePostgresqlConnectionPool)(nil)).Elem() +} + +func (i *CloudProjectDatabasePostgresqlConnectionPool) ToCloudProjectDatabasePostgresqlConnectionPoolOutput() CloudProjectDatabasePostgresqlConnectionPoolOutput { + return i.ToCloudProjectDatabasePostgresqlConnectionPoolOutputWithContext(context.Background()) +} + +func (i *CloudProjectDatabasePostgresqlConnectionPool) ToCloudProjectDatabasePostgresqlConnectionPoolOutputWithContext(ctx context.Context) CloudProjectDatabasePostgresqlConnectionPoolOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectDatabasePostgresqlConnectionPoolOutput) +} + +type CloudProjectDatabasePostgresqlConnectionPoolOutput struct{ *pulumi.OutputState } + +func (CloudProjectDatabasePostgresqlConnectionPoolOutput) ElementType() reflect.Type { + return reflect.TypeOf((**CloudProjectDatabasePostgresqlConnectionPool)(nil)).Elem() +} + +func (o CloudProjectDatabasePostgresqlConnectionPoolOutput) ToCloudProjectDatabasePostgresqlConnectionPoolOutput() CloudProjectDatabasePostgresqlConnectionPoolOutput { + return o +} + +func (o CloudProjectDatabasePostgresqlConnectionPoolOutput) ToCloudProjectDatabasePostgresqlConnectionPoolOutputWithContext(ctx context.Context) CloudProjectDatabasePostgresqlConnectionPoolOutput { + return o +} + +// Id of the database cluster +func (o CloudProjectDatabasePostgresqlConnectionPoolOutput) ClusterId() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectDatabasePostgresqlConnectionPool) pulumi.StringOutput { return v.ClusterId }).(pulumi.StringOutput) +} + +// Database used for the connection pool +func (o CloudProjectDatabasePostgresqlConnectionPoolOutput) DatabaseId() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectDatabasePostgresqlConnectionPool) pulumi.StringOutput { return v.DatabaseId }).(pulumi.StringOutput) +} + +// Connection mode to the connection pool +func (o CloudProjectDatabasePostgresqlConnectionPoolOutput) Mode() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectDatabasePostgresqlConnectionPool) pulumi.StringOutput { return v.Mode }).(pulumi.StringOutput) +} + +// Name of the connection pool +func (o CloudProjectDatabasePostgresqlConnectionPoolOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectDatabasePostgresqlConnectionPool) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +// Port of the connection pool +func (o CloudProjectDatabasePostgresqlConnectionPoolOutput) Port() pulumi.Float64Output { + return o.ApplyT(func(v *CloudProjectDatabasePostgresqlConnectionPool) pulumi.Float64Output { return v.Port }).(pulumi.Float64Output) +} + +func (o CloudProjectDatabasePostgresqlConnectionPoolOutput) ServiceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudProjectDatabasePostgresqlConnectionPool) pulumi.StringPtrOutput { return v.ServiceName }).(pulumi.StringPtrOutput) +} + +// Size of the connection pool +func (o CloudProjectDatabasePostgresqlConnectionPoolOutput) Size() pulumi.Float64Output { + return o.ApplyT(func(v *CloudProjectDatabasePostgresqlConnectionPool) pulumi.Float64Output { return v.Size }).(pulumi.Float64Output) +} + +// SSL connection mode for the pool +func (o CloudProjectDatabasePostgresqlConnectionPoolOutput) SslMode() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectDatabasePostgresqlConnectionPool) pulumi.StringOutput { return v.SslMode }).(pulumi.StringOutput) +} + +func (o CloudProjectDatabasePostgresqlConnectionPoolOutput) Timeouts() CloudProjectDatabasePostgresqlConnectionPoolTimeoutsPtrOutput { + return o.ApplyT(func(v *CloudProjectDatabasePostgresqlConnectionPool) CloudProjectDatabasePostgresqlConnectionPoolTimeoutsPtrOutput { + return v.Timeouts + }).(CloudProjectDatabasePostgresqlConnectionPoolTimeoutsPtrOutput) +} + +// Connection URI to the pool +func (o CloudProjectDatabasePostgresqlConnectionPoolOutput) Uri() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectDatabasePostgresqlConnectionPool) pulumi.StringOutput { return v.Uri }).(pulumi.StringOutput) +} + +// Database user authorized to connect to the pool, if none all the users are allowed +func (o CloudProjectDatabasePostgresqlConnectionPoolOutput) UserId() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectDatabasePostgresqlConnectionPool) pulumi.StringOutput { return v.UserId }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*CloudProjectDatabasePostgresqlConnectionPoolInput)(nil)).Elem(), &CloudProjectDatabasePostgresqlConnectionPool{}) + pulumi.RegisterOutputType(CloudProjectDatabasePostgresqlConnectionPoolOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectDatabasePostgresqlUser.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectDatabasePostgresqlUser.go new file mode 100644 index 00000000..25db01a0 --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectDatabasePostgresqlUser.go @@ -0,0 +1,234 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type CloudProjectDatabasePostgresqlUser struct { + pulumi.CustomResourceState + + // Id of the database cluster + ClusterId pulumi.StringOutput `pulumi:"clusterId"` + // Date of the creation of the user + CreatedAt pulumi.StringOutput `pulumi:"createdAt"` + // Name of the user + Name pulumi.StringOutput `pulumi:"name"` + // Password of the user + Password pulumi.StringOutput `pulumi:"password"` + // Arbitrary string to change to trigger a password update + PasswordReset pulumi.StringPtrOutput `pulumi:"passwordReset"` + // Roles the user belongs to + Roles pulumi.StringArrayOutput `pulumi:"roles"` + ServiceName pulumi.StringPtrOutput `pulumi:"serviceName"` + // Current status of the user + Status pulumi.StringOutput `pulumi:"status"` + Timeouts CloudProjectDatabasePostgresqlUserTimeoutsPtrOutput `pulumi:"timeouts"` +} + +// NewCloudProjectDatabasePostgresqlUser registers a new resource with the given unique name, arguments, and options. +func NewCloudProjectDatabasePostgresqlUser(ctx *pulumi.Context, + name string, args *CloudProjectDatabasePostgresqlUserArgs, opts ...pulumi.ResourceOption) (*CloudProjectDatabasePostgresqlUser, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.ClusterId == nil { + return nil, errors.New("invalid value for required argument 'ClusterId'") + } + secrets := pulumi.AdditionalSecretOutputs([]string{ + "password", + }) + opts = append(opts, secrets) + opts = internal.PkgResourceDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var resource CloudProjectDatabasePostgresqlUser + err = ctx.RegisterPackageResource("ovh:index/cloudProjectDatabasePostgresqlUser:CloudProjectDatabasePostgresqlUser", name, args, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetCloudProjectDatabasePostgresqlUser gets an existing CloudProjectDatabasePostgresqlUser resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetCloudProjectDatabasePostgresqlUser(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *CloudProjectDatabasePostgresqlUserState, opts ...pulumi.ResourceOption) (*CloudProjectDatabasePostgresqlUser, error) { + var resource CloudProjectDatabasePostgresqlUser + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + err = ctx.ReadPackageResource("ovh:index/cloudProjectDatabasePostgresqlUser:CloudProjectDatabasePostgresqlUser", name, id, state, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering CloudProjectDatabasePostgresqlUser resources. +type cloudProjectDatabasePostgresqlUserState struct { + // Id of the database cluster + ClusterId *string `pulumi:"clusterId"` + // Date of the creation of the user + CreatedAt *string `pulumi:"createdAt"` + // Name of the user + Name *string `pulumi:"name"` + // Password of the user + Password *string `pulumi:"password"` + // Arbitrary string to change to trigger a password update + PasswordReset *string `pulumi:"passwordReset"` + // Roles the user belongs to + Roles []string `pulumi:"roles"` + ServiceName *string `pulumi:"serviceName"` + // Current status of the user + Status *string `pulumi:"status"` + Timeouts *CloudProjectDatabasePostgresqlUserTimeouts `pulumi:"timeouts"` +} + +type CloudProjectDatabasePostgresqlUserState struct { + // Id of the database cluster + ClusterId pulumi.StringPtrInput + // Date of the creation of the user + CreatedAt pulumi.StringPtrInput + // Name of the user + Name pulumi.StringPtrInput + // Password of the user + Password pulumi.StringPtrInput + // Arbitrary string to change to trigger a password update + PasswordReset pulumi.StringPtrInput + // Roles the user belongs to + Roles pulumi.StringArrayInput + ServiceName pulumi.StringPtrInput + // Current status of the user + Status pulumi.StringPtrInput + Timeouts CloudProjectDatabasePostgresqlUserTimeoutsPtrInput +} + +func (CloudProjectDatabasePostgresqlUserState) ElementType() reflect.Type { + return reflect.TypeOf((*cloudProjectDatabasePostgresqlUserState)(nil)).Elem() +} + +type cloudProjectDatabasePostgresqlUserArgs struct { + // Id of the database cluster + ClusterId string `pulumi:"clusterId"` + // Name of the user + Name *string `pulumi:"name"` + // Arbitrary string to change to trigger a password update + PasswordReset *string `pulumi:"passwordReset"` + // Roles the user belongs to + Roles []string `pulumi:"roles"` + ServiceName *string `pulumi:"serviceName"` + Timeouts *CloudProjectDatabasePostgresqlUserTimeouts `pulumi:"timeouts"` +} + +// The set of arguments for constructing a CloudProjectDatabasePostgresqlUser resource. +type CloudProjectDatabasePostgresqlUserArgs struct { + // Id of the database cluster + ClusterId pulumi.StringInput + // Name of the user + Name pulumi.StringPtrInput + // Arbitrary string to change to trigger a password update + PasswordReset pulumi.StringPtrInput + // Roles the user belongs to + Roles pulumi.StringArrayInput + ServiceName pulumi.StringPtrInput + Timeouts CloudProjectDatabasePostgresqlUserTimeoutsPtrInput +} + +func (CloudProjectDatabasePostgresqlUserArgs) ElementType() reflect.Type { + return reflect.TypeOf((*cloudProjectDatabasePostgresqlUserArgs)(nil)).Elem() +} + +type CloudProjectDatabasePostgresqlUserInput interface { + pulumi.Input + + ToCloudProjectDatabasePostgresqlUserOutput() CloudProjectDatabasePostgresqlUserOutput + ToCloudProjectDatabasePostgresqlUserOutputWithContext(ctx context.Context) CloudProjectDatabasePostgresqlUserOutput +} + +func (*CloudProjectDatabasePostgresqlUser) ElementType() reflect.Type { + return reflect.TypeOf((**CloudProjectDatabasePostgresqlUser)(nil)).Elem() +} + +func (i *CloudProjectDatabasePostgresqlUser) ToCloudProjectDatabasePostgresqlUserOutput() CloudProjectDatabasePostgresqlUserOutput { + return i.ToCloudProjectDatabasePostgresqlUserOutputWithContext(context.Background()) +} + +func (i *CloudProjectDatabasePostgresqlUser) ToCloudProjectDatabasePostgresqlUserOutputWithContext(ctx context.Context) CloudProjectDatabasePostgresqlUserOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectDatabasePostgresqlUserOutput) +} + +type CloudProjectDatabasePostgresqlUserOutput struct{ *pulumi.OutputState } + +func (CloudProjectDatabasePostgresqlUserOutput) ElementType() reflect.Type { + return reflect.TypeOf((**CloudProjectDatabasePostgresqlUser)(nil)).Elem() +} + +func (o CloudProjectDatabasePostgresqlUserOutput) ToCloudProjectDatabasePostgresqlUserOutput() CloudProjectDatabasePostgresqlUserOutput { + return o +} + +func (o CloudProjectDatabasePostgresqlUserOutput) ToCloudProjectDatabasePostgresqlUserOutputWithContext(ctx context.Context) CloudProjectDatabasePostgresqlUserOutput { + return o +} + +// Id of the database cluster +func (o CloudProjectDatabasePostgresqlUserOutput) ClusterId() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectDatabasePostgresqlUser) pulumi.StringOutput { return v.ClusterId }).(pulumi.StringOutput) +} + +// Date of the creation of the user +func (o CloudProjectDatabasePostgresqlUserOutput) CreatedAt() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectDatabasePostgresqlUser) pulumi.StringOutput { return v.CreatedAt }).(pulumi.StringOutput) +} + +// Name of the user +func (o CloudProjectDatabasePostgresqlUserOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectDatabasePostgresqlUser) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +// Password of the user +func (o CloudProjectDatabasePostgresqlUserOutput) Password() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectDatabasePostgresqlUser) pulumi.StringOutput { return v.Password }).(pulumi.StringOutput) +} + +// Arbitrary string to change to trigger a password update +func (o CloudProjectDatabasePostgresqlUserOutput) PasswordReset() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudProjectDatabasePostgresqlUser) pulumi.StringPtrOutput { return v.PasswordReset }).(pulumi.StringPtrOutput) +} + +// Roles the user belongs to +func (o CloudProjectDatabasePostgresqlUserOutput) Roles() pulumi.StringArrayOutput { + return o.ApplyT(func(v *CloudProjectDatabasePostgresqlUser) pulumi.StringArrayOutput { return v.Roles }).(pulumi.StringArrayOutput) +} + +func (o CloudProjectDatabasePostgresqlUserOutput) ServiceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudProjectDatabasePostgresqlUser) pulumi.StringPtrOutput { return v.ServiceName }).(pulumi.StringPtrOutput) +} + +// Current status of the user +func (o CloudProjectDatabasePostgresqlUserOutput) Status() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectDatabasePostgresqlUser) pulumi.StringOutput { return v.Status }).(pulumi.StringOutput) +} + +func (o CloudProjectDatabasePostgresqlUserOutput) Timeouts() CloudProjectDatabasePostgresqlUserTimeoutsPtrOutput { + return o.ApplyT(func(v *CloudProjectDatabasePostgresqlUser) CloudProjectDatabasePostgresqlUserTimeoutsPtrOutput { + return v.Timeouts + }).(CloudProjectDatabasePostgresqlUserTimeoutsPtrOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*CloudProjectDatabasePostgresqlUserInput)(nil)).Elem(), &CloudProjectDatabasePostgresqlUser{}) + pulumi.RegisterOutputType(CloudProjectDatabasePostgresqlUserOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectDatabaseRedisUser.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectDatabaseRedisUser.go new file mode 100644 index 00000000..8cd228a7 --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectDatabaseRedisUser.go @@ -0,0 +1,279 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type CloudProjectDatabaseRedisUser struct { + pulumi.CustomResourceState + + // Categories of the user + Categories pulumi.StringArrayOutput `pulumi:"categories"` + // Channels of the user + Channels pulumi.StringArrayOutput `pulumi:"channels"` + // Id of the database cluster + ClusterId pulumi.StringOutput `pulumi:"clusterId"` + // Commands of the user + Commands pulumi.StringArrayOutput `pulumi:"commands"` + // Date of the creation of the user + CreatedAt pulumi.StringOutput `pulumi:"createdAt"` + // Keys of the user + Keys pulumi.StringArrayOutput `pulumi:"keys"` + // Name of the user + Name pulumi.StringOutput `pulumi:"name"` + // Password of the user + Password pulumi.StringOutput `pulumi:"password"` + // Arbitrary string to change to trigger a password update + PasswordReset pulumi.StringPtrOutput `pulumi:"passwordReset"` + ServiceName pulumi.StringPtrOutput `pulumi:"serviceName"` + // Current status of the user + Status pulumi.StringOutput `pulumi:"status"` + Timeouts CloudProjectDatabaseRedisUserTimeoutsPtrOutput `pulumi:"timeouts"` +} + +// NewCloudProjectDatabaseRedisUser registers a new resource with the given unique name, arguments, and options. +func NewCloudProjectDatabaseRedisUser(ctx *pulumi.Context, + name string, args *CloudProjectDatabaseRedisUserArgs, opts ...pulumi.ResourceOption) (*CloudProjectDatabaseRedisUser, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.ClusterId == nil { + return nil, errors.New("invalid value for required argument 'ClusterId'") + } + secrets := pulumi.AdditionalSecretOutputs([]string{ + "password", + }) + opts = append(opts, secrets) + opts = internal.PkgResourceDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var resource CloudProjectDatabaseRedisUser + err = ctx.RegisterPackageResource("ovh:index/cloudProjectDatabaseRedisUser:CloudProjectDatabaseRedisUser", name, args, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetCloudProjectDatabaseRedisUser gets an existing CloudProjectDatabaseRedisUser resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetCloudProjectDatabaseRedisUser(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *CloudProjectDatabaseRedisUserState, opts ...pulumi.ResourceOption) (*CloudProjectDatabaseRedisUser, error) { + var resource CloudProjectDatabaseRedisUser + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + err = ctx.ReadPackageResource("ovh:index/cloudProjectDatabaseRedisUser:CloudProjectDatabaseRedisUser", name, id, state, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering CloudProjectDatabaseRedisUser resources. +type cloudProjectDatabaseRedisUserState struct { + // Categories of the user + Categories []string `pulumi:"categories"` + // Channels of the user + Channels []string `pulumi:"channels"` + // Id of the database cluster + ClusterId *string `pulumi:"clusterId"` + // Commands of the user + Commands []string `pulumi:"commands"` + // Date of the creation of the user + CreatedAt *string `pulumi:"createdAt"` + // Keys of the user + Keys []string `pulumi:"keys"` + // Name of the user + Name *string `pulumi:"name"` + // Password of the user + Password *string `pulumi:"password"` + // Arbitrary string to change to trigger a password update + PasswordReset *string `pulumi:"passwordReset"` + ServiceName *string `pulumi:"serviceName"` + // Current status of the user + Status *string `pulumi:"status"` + Timeouts *CloudProjectDatabaseRedisUserTimeouts `pulumi:"timeouts"` +} + +type CloudProjectDatabaseRedisUserState struct { + // Categories of the user + Categories pulumi.StringArrayInput + // Channels of the user + Channels pulumi.StringArrayInput + // Id of the database cluster + ClusterId pulumi.StringPtrInput + // Commands of the user + Commands pulumi.StringArrayInput + // Date of the creation of the user + CreatedAt pulumi.StringPtrInput + // Keys of the user + Keys pulumi.StringArrayInput + // Name of the user + Name pulumi.StringPtrInput + // Password of the user + Password pulumi.StringPtrInput + // Arbitrary string to change to trigger a password update + PasswordReset pulumi.StringPtrInput + ServiceName pulumi.StringPtrInput + // Current status of the user + Status pulumi.StringPtrInput + Timeouts CloudProjectDatabaseRedisUserTimeoutsPtrInput +} + +func (CloudProjectDatabaseRedisUserState) ElementType() reflect.Type { + return reflect.TypeOf((*cloudProjectDatabaseRedisUserState)(nil)).Elem() +} + +type cloudProjectDatabaseRedisUserArgs struct { + // Categories of the user + Categories []string `pulumi:"categories"` + // Channels of the user + Channels []string `pulumi:"channels"` + // Id of the database cluster + ClusterId string `pulumi:"clusterId"` + // Commands of the user + Commands []string `pulumi:"commands"` + // Keys of the user + Keys []string `pulumi:"keys"` + // Name of the user + Name *string `pulumi:"name"` + // Arbitrary string to change to trigger a password update + PasswordReset *string `pulumi:"passwordReset"` + ServiceName *string `pulumi:"serviceName"` + Timeouts *CloudProjectDatabaseRedisUserTimeouts `pulumi:"timeouts"` +} + +// The set of arguments for constructing a CloudProjectDatabaseRedisUser resource. +type CloudProjectDatabaseRedisUserArgs struct { + // Categories of the user + Categories pulumi.StringArrayInput + // Channels of the user + Channels pulumi.StringArrayInput + // Id of the database cluster + ClusterId pulumi.StringInput + // Commands of the user + Commands pulumi.StringArrayInput + // Keys of the user + Keys pulumi.StringArrayInput + // Name of the user + Name pulumi.StringPtrInput + // Arbitrary string to change to trigger a password update + PasswordReset pulumi.StringPtrInput + ServiceName pulumi.StringPtrInput + Timeouts CloudProjectDatabaseRedisUserTimeoutsPtrInput +} + +func (CloudProjectDatabaseRedisUserArgs) ElementType() reflect.Type { + return reflect.TypeOf((*cloudProjectDatabaseRedisUserArgs)(nil)).Elem() +} + +type CloudProjectDatabaseRedisUserInput interface { + pulumi.Input + + ToCloudProjectDatabaseRedisUserOutput() CloudProjectDatabaseRedisUserOutput + ToCloudProjectDatabaseRedisUserOutputWithContext(ctx context.Context) CloudProjectDatabaseRedisUserOutput +} + +func (*CloudProjectDatabaseRedisUser) ElementType() reflect.Type { + return reflect.TypeOf((**CloudProjectDatabaseRedisUser)(nil)).Elem() +} + +func (i *CloudProjectDatabaseRedisUser) ToCloudProjectDatabaseRedisUserOutput() CloudProjectDatabaseRedisUserOutput { + return i.ToCloudProjectDatabaseRedisUserOutputWithContext(context.Background()) +} + +func (i *CloudProjectDatabaseRedisUser) ToCloudProjectDatabaseRedisUserOutputWithContext(ctx context.Context) CloudProjectDatabaseRedisUserOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectDatabaseRedisUserOutput) +} + +type CloudProjectDatabaseRedisUserOutput struct{ *pulumi.OutputState } + +func (CloudProjectDatabaseRedisUserOutput) ElementType() reflect.Type { + return reflect.TypeOf((**CloudProjectDatabaseRedisUser)(nil)).Elem() +} + +func (o CloudProjectDatabaseRedisUserOutput) ToCloudProjectDatabaseRedisUserOutput() CloudProjectDatabaseRedisUserOutput { + return o +} + +func (o CloudProjectDatabaseRedisUserOutput) ToCloudProjectDatabaseRedisUserOutputWithContext(ctx context.Context) CloudProjectDatabaseRedisUserOutput { + return o +} + +// Categories of the user +func (o CloudProjectDatabaseRedisUserOutput) Categories() pulumi.StringArrayOutput { + return o.ApplyT(func(v *CloudProjectDatabaseRedisUser) pulumi.StringArrayOutput { return v.Categories }).(pulumi.StringArrayOutput) +} + +// Channels of the user +func (o CloudProjectDatabaseRedisUserOutput) Channels() pulumi.StringArrayOutput { + return o.ApplyT(func(v *CloudProjectDatabaseRedisUser) pulumi.StringArrayOutput { return v.Channels }).(pulumi.StringArrayOutput) +} + +// Id of the database cluster +func (o CloudProjectDatabaseRedisUserOutput) ClusterId() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectDatabaseRedisUser) pulumi.StringOutput { return v.ClusterId }).(pulumi.StringOutput) +} + +// Commands of the user +func (o CloudProjectDatabaseRedisUserOutput) Commands() pulumi.StringArrayOutput { + return o.ApplyT(func(v *CloudProjectDatabaseRedisUser) pulumi.StringArrayOutput { return v.Commands }).(pulumi.StringArrayOutput) +} + +// Date of the creation of the user +func (o CloudProjectDatabaseRedisUserOutput) CreatedAt() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectDatabaseRedisUser) pulumi.StringOutput { return v.CreatedAt }).(pulumi.StringOutput) +} + +// Keys of the user +func (o CloudProjectDatabaseRedisUserOutput) Keys() pulumi.StringArrayOutput { + return o.ApplyT(func(v *CloudProjectDatabaseRedisUser) pulumi.StringArrayOutput { return v.Keys }).(pulumi.StringArrayOutput) +} + +// Name of the user +func (o CloudProjectDatabaseRedisUserOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectDatabaseRedisUser) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +// Password of the user +func (o CloudProjectDatabaseRedisUserOutput) Password() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectDatabaseRedisUser) pulumi.StringOutput { return v.Password }).(pulumi.StringOutput) +} + +// Arbitrary string to change to trigger a password update +func (o CloudProjectDatabaseRedisUserOutput) PasswordReset() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudProjectDatabaseRedisUser) pulumi.StringPtrOutput { return v.PasswordReset }).(pulumi.StringPtrOutput) +} + +func (o CloudProjectDatabaseRedisUserOutput) ServiceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudProjectDatabaseRedisUser) pulumi.StringPtrOutput { return v.ServiceName }).(pulumi.StringPtrOutput) +} + +// Current status of the user +func (o CloudProjectDatabaseRedisUserOutput) Status() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectDatabaseRedisUser) pulumi.StringOutput { return v.Status }).(pulumi.StringOutput) +} + +func (o CloudProjectDatabaseRedisUserOutput) Timeouts() CloudProjectDatabaseRedisUserTimeoutsPtrOutput { + return o.ApplyT(func(v *CloudProjectDatabaseRedisUser) CloudProjectDatabaseRedisUserTimeoutsPtrOutput { + return v.Timeouts + }).(CloudProjectDatabaseRedisUserTimeoutsPtrOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*CloudProjectDatabaseRedisUserInput)(nil)).Elem(), &CloudProjectDatabaseRedisUser{}) + pulumi.RegisterOutputType(CloudProjectDatabaseRedisUserOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectDatabaseUser.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectDatabaseUser.go new file mode 100644 index 00000000..036245ff --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectDatabaseUser.go @@ -0,0 +1,235 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type CloudProjectDatabaseUser struct { + pulumi.CustomResourceState + + // Id of the database cluster + ClusterId pulumi.StringOutput `pulumi:"clusterId"` + // Date of the creation of the user + CreatedAt pulumi.StringOutput `pulumi:"createdAt"` + // Name of the engine of the service + Engine pulumi.StringOutput `pulumi:"engine"` + // Name of the user + Name pulumi.StringOutput `pulumi:"name"` + // Password of the user + Password pulumi.StringOutput `pulumi:"password"` + // Arbitrary string to change to trigger a password update + PasswordReset pulumi.StringPtrOutput `pulumi:"passwordReset"` + ServiceName pulumi.StringPtrOutput `pulumi:"serviceName"` + // Current status of the user + Status pulumi.StringOutput `pulumi:"status"` + Timeouts CloudProjectDatabaseUserTimeoutsPtrOutput `pulumi:"timeouts"` +} + +// NewCloudProjectDatabaseUser registers a new resource with the given unique name, arguments, and options. +func NewCloudProjectDatabaseUser(ctx *pulumi.Context, + name string, args *CloudProjectDatabaseUserArgs, opts ...pulumi.ResourceOption) (*CloudProjectDatabaseUser, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.ClusterId == nil { + return nil, errors.New("invalid value for required argument 'ClusterId'") + } + if args.Engine == nil { + return nil, errors.New("invalid value for required argument 'Engine'") + } + secrets := pulumi.AdditionalSecretOutputs([]string{ + "password", + }) + opts = append(opts, secrets) + opts = internal.PkgResourceDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var resource CloudProjectDatabaseUser + err = ctx.RegisterPackageResource("ovh:index/cloudProjectDatabaseUser:CloudProjectDatabaseUser", name, args, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetCloudProjectDatabaseUser gets an existing CloudProjectDatabaseUser resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetCloudProjectDatabaseUser(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *CloudProjectDatabaseUserState, opts ...pulumi.ResourceOption) (*CloudProjectDatabaseUser, error) { + var resource CloudProjectDatabaseUser + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + err = ctx.ReadPackageResource("ovh:index/cloudProjectDatabaseUser:CloudProjectDatabaseUser", name, id, state, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering CloudProjectDatabaseUser resources. +type cloudProjectDatabaseUserState struct { + // Id of the database cluster + ClusterId *string `pulumi:"clusterId"` + // Date of the creation of the user + CreatedAt *string `pulumi:"createdAt"` + // Name of the engine of the service + Engine *string `pulumi:"engine"` + // Name of the user + Name *string `pulumi:"name"` + // Password of the user + Password *string `pulumi:"password"` + // Arbitrary string to change to trigger a password update + PasswordReset *string `pulumi:"passwordReset"` + ServiceName *string `pulumi:"serviceName"` + // Current status of the user + Status *string `pulumi:"status"` + Timeouts *CloudProjectDatabaseUserTimeouts `pulumi:"timeouts"` +} + +type CloudProjectDatabaseUserState struct { + // Id of the database cluster + ClusterId pulumi.StringPtrInput + // Date of the creation of the user + CreatedAt pulumi.StringPtrInput + // Name of the engine of the service + Engine pulumi.StringPtrInput + // Name of the user + Name pulumi.StringPtrInput + // Password of the user + Password pulumi.StringPtrInput + // Arbitrary string to change to trigger a password update + PasswordReset pulumi.StringPtrInput + ServiceName pulumi.StringPtrInput + // Current status of the user + Status pulumi.StringPtrInput + Timeouts CloudProjectDatabaseUserTimeoutsPtrInput +} + +func (CloudProjectDatabaseUserState) ElementType() reflect.Type { + return reflect.TypeOf((*cloudProjectDatabaseUserState)(nil)).Elem() +} + +type cloudProjectDatabaseUserArgs struct { + // Id of the database cluster + ClusterId string `pulumi:"clusterId"` + // Name of the engine of the service + Engine string `pulumi:"engine"` + // Name of the user + Name *string `pulumi:"name"` + // Arbitrary string to change to trigger a password update + PasswordReset *string `pulumi:"passwordReset"` + ServiceName *string `pulumi:"serviceName"` + Timeouts *CloudProjectDatabaseUserTimeouts `pulumi:"timeouts"` +} + +// The set of arguments for constructing a CloudProjectDatabaseUser resource. +type CloudProjectDatabaseUserArgs struct { + // Id of the database cluster + ClusterId pulumi.StringInput + // Name of the engine of the service + Engine pulumi.StringInput + // Name of the user + Name pulumi.StringPtrInput + // Arbitrary string to change to trigger a password update + PasswordReset pulumi.StringPtrInput + ServiceName pulumi.StringPtrInput + Timeouts CloudProjectDatabaseUserTimeoutsPtrInput +} + +func (CloudProjectDatabaseUserArgs) ElementType() reflect.Type { + return reflect.TypeOf((*cloudProjectDatabaseUserArgs)(nil)).Elem() +} + +type CloudProjectDatabaseUserInput interface { + pulumi.Input + + ToCloudProjectDatabaseUserOutput() CloudProjectDatabaseUserOutput + ToCloudProjectDatabaseUserOutputWithContext(ctx context.Context) CloudProjectDatabaseUserOutput +} + +func (*CloudProjectDatabaseUser) ElementType() reflect.Type { + return reflect.TypeOf((**CloudProjectDatabaseUser)(nil)).Elem() +} + +func (i *CloudProjectDatabaseUser) ToCloudProjectDatabaseUserOutput() CloudProjectDatabaseUserOutput { + return i.ToCloudProjectDatabaseUserOutputWithContext(context.Background()) +} + +func (i *CloudProjectDatabaseUser) ToCloudProjectDatabaseUserOutputWithContext(ctx context.Context) CloudProjectDatabaseUserOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectDatabaseUserOutput) +} + +type CloudProjectDatabaseUserOutput struct{ *pulumi.OutputState } + +func (CloudProjectDatabaseUserOutput) ElementType() reflect.Type { + return reflect.TypeOf((**CloudProjectDatabaseUser)(nil)).Elem() +} + +func (o CloudProjectDatabaseUserOutput) ToCloudProjectDatabaseUserOutput() CloudProjectDatabaseUserOutput { + return o +} + +func (o CloudProjectDatabaseUserOutput) ToCloudProjectDatabaseUserOutputWithContext(ctx context.Context) CloudProjectDatabaseUserOutput { + return o +} + +// Id of the database cluster +func (o CloudProjectDatabaseUserOutput) ClusterId() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectDatabaseUser) pulumi.StringOutput { return v.ClusterId }).(pulumi.StringOutput) +} + +// Date of the creation of the user +func (o CloudProjectDatabaseUserOutput) CreatedAt() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectDatabaseUser) pulumi.StringOutput { return v.CreatedAt }).(pulumi.StringOutput) +} + +// Name of the engine of the service +func (o CloudProjectDatabaseUserOutput) Engine() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectDatabaseUser) pulumi.StringOutput { return v.Engine }).(pulumi.StringOutput) +} + +// Name of the user +func (o CloudProjectDatabaseUserOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectDatabaseUser) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +// Password of the user +func (o CloudProjectDatabaseUserOutput) Password() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectDatabaseUser) pulumi.StringOutput { return v.Password }).(pulumi.StringOutput) +} + +// Arbitrary string to change to trigger a password update +func (o CloudProjectDatabaseUserOutput) PasswordReset() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudProjectDatabaseUser) pulumi.StringPtrOutput { return v.PasswordReset }).(pulumi.StringPtrOutput) +} + +func (o CloudProjectDatabaseUserOutput) ServiceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudProjectDatabaseUser) pulumi.StringPtrOutput { return v.ServiceName }).(pulumi.StringPtrOutput) +} + +// Current status of the user +func (o CloudProjectDatabaseUserOutput) Status() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectDatabaseUser) pulumi.StringOutput { return v.Status }).(pulumi.StringOutput) +} + +func (o CloudProjectDatabaseUserOutput) Timeouts() CloudProjectDatabaseUserTimeoutsPtrOutput { + return o.ApplyT(func(v *CloudProjectDatabaseUser) CloudProjectDatabaseUserTimeoutsPtrOutput { return v.Timeouts }).(CloudProjectDatabaseUserTimeoutsPtrOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*CloudProjectDatabaseUserInput)(nil)).Elem(), &CloudProjectDatabaseUser{}) + pulumi.RegisterOutputType(CloudProjectDatabaseUserOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectFailoverIpAttach.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectFailoverIpAttach.go new file mode 100644 index 00000000..98e235e5 --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectFailoverIpAttach.go @@ -0,0 +1,240 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type CloudProjectFailoverIpAttach struct { + pulumi.CustomResourceState + + // IP block + Block pulumi.StringOutput `pulumi:"block"` + // Ip continent + ContinentCode pulumi.StringOutput `pulumi:"continentCode"` + // Ip location + GeoLoc pulumi.StringOutput `pulumi:"geoLoc"` + // Ip + Ip pulumi.StringOutput `pulumi:"ip"` + // Current operation progress in percent + Progress pulumi.Float64Output `pulumi:"progress"` + // Instance where ip is routed to + RoutedTo pulumi.StringOutput `pulumi:"routedTo"` + // The service name + ServiceName pulumi.StringOutput `pulumi:"serviceName"` + // Ip status + Status pulumi.StringOutput `pulumi:"status"` + // IP sub type + SubType pulumi.StringOutput `pulumi:"subType"` +} + +// NewCloudProjectFailoverIpAttach registers a new resource with the given unique name, arguments, and options. +func NewCloudProjectFailoverIpAttach(ctx *pulumi.Context, + name string, args *CloudProjectFailoverIpAttachArgs, opts ...pulumi.ResourceOption) (*CloudProjectFailoverIpAttach, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.ServiceName == nil { + return nil, errors.New("invalid value for required argument 'ServiceName'") + } + opts = internal.PkgResourceDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var resource CloudProjectFailoverIpAttach + err = ctx.RegisterPackageResource("ovh:index/cloudProjectFailoverIpAttach:CloudProjectFailoverIpAttach", name, args, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetCloudProjectFailoverIpAttach gets an existing CloudProjectFailoverIpAttach resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetCloudProjectFailoverIpAttach(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *CloudProjectFailoverIpAttachState, opts ...pulumi.ResourceOption) (*CloudProjectFailoverIpAttach, error) { + var resource CloudProjectFailoverIpAttach + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + err = ctx.ReadPackageResource("ovh:index/cloudProjectFailoverIpAttach:CloudProjectFailoverIpAttach", name, id, state, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering CloudProjectFailoverIpAttach resources. +type cloudProjectFailoverIpAttachState struct { + // IP block + Block *string `pulumi:"block"` + // Ip continent + ContinentCode *string `pulumi:"continentCode"` + // Ip location + GeoLoc *string `pulumi:"geoLoc"` + // Ip + Ip *string `pulumi:"ip"` + // Current operation progress in percent + Progress *float64 `pulumi:"progress"` + // Instance where ip is routed to + RoutedTo *string `pulumi:"routedTo"` + // The service name + ServiceName *string `pulumi:"serviceName"` + // Ip status + Status *string `pulumi:"status"` + // IP sub type + SubType *string `pulumi:"subType"` +} + +type CloudProjectFailoverIpAttachState struct { + // IP block + Block pulumi.StringPtrInput + // Ip continent + ContinentCode pulumi.StringPtrInput + // Ip location + GeoLoc pulumi.StringPtrInput + // Ip + Ip pulumi.StringPtrInput + // Current operation progress in percent + Progress pulumi.Float64PtrInput + // Instance where ip is routed to + RoutedTo pulumi.StringPtrInput + // The service name + ServiceName pulumi.StringPtrInput + // Ip status + Status pulumi.StringPtrInput + // IP sub type + SubType pulumi.StringPtrInput +} + +func (CloudProjectFailoverIpAttachState) ElementType() reflect.Type { + return reflect.TypeOf((*cloudProjectFailoverIpAttachState)(nil)).Elem() +} + +type cloudProjectFailoverIpAttachArgs struct { + // IP block + Block *string `pulumi:"block"` + // Ip continent + ContinentCode *string `pulumi:"continentCode"` + // Ip location + GeoLoc *string `pulumi:"geoLoc"` + // Ip + Ip *string `pulumi:"ip"` + // Instance where ip is routed to + RoutedTo *string `pulumi:"routedTo"` + // The service name + ServiceName string `pulumi:"serviceName"` +} + +// The set of arguments for constructing a CloudProjectFailoverIpAttach resource. +type CloudProjectFailoverIpAttachArgs struct { + // IP block + Block pulumi.StringPtrInput + // Ip continent + ContinentCode pulumi.StringPtrInput + // Ip location + GeoLoc pulumi.StringPtrInput + // Ip + Ip pulumi.StringPtrInput + // Instance where ip is routed to + RoutedTo pulumi.StringPtrInput + // The service name + ServiceName pulumi.StringInput +} + +func (CloudProjectFailoverIpAttachArgs) ElementType() reflect.Type { + return reflect.TypeOf((*cloudProjectFailoverIpAttachArgs)(nil)).Elem() +} + +type CloudProjectFailoverIpAttachInput interface { + pulumi.Input + + ToCloudProjectFailoverIpAttachOutput() CloudProjectFailoverIpAttachOutput + ToCloudProjectFailoverIpAttachOutputWithContext(ctx context.Context) CloudProjectFailoverIpAttachOutput +} + +func (*CloudProjectFailoverIpAttach) ElementType() reflect.Type { + return reflect.TypeOf((**CloudProjectFailoverIpAttach)(nil)).Elem() +} + +func (i *CloudProjectFailoverIpAttach) ToCloudProjectFailoverIpAttachOutput() CloudProjectFailoverIpAttachOutput { + return i.ToCloudProjectFailoverIpAttachOutputWithContext(context.Background()) +} + +func (i *CloudProjectFailoverIpAttach) ToCloudProjectFailoverIpAttachOutputWithContext(ctx context.Context) CloudProjectFailoverIpAttachOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectFailoverIpAttachOutput) +} + +type CloudProjectFailoverIpAttachOutput struct{ *pulumi.OutputState } + +func (CloudProjectFailoverIpAttachOutput) ElementType() reflect.Type { + return reflect.TypeOf((**CloudProjectFailoverIpAttach)(nil)).Elem() +} + +func (o CloudProjectFailoverIpAttachOutput) ToCloudProjectFailoverIpAttachOutput() CloudProjectFailoverIpAttachOutput { + return o +} + +func (o CloudProjectFailoverIpAttachOutput) ToCloudProjectFailoverIpAttachOutputWithContext(ctx context.Context) CloudProjectFailoverIpAttachOutput { + return o +} + +// IP block +func (o CloudProjectFailoverIpAttachOutput) Block() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectFailoverIpAttach) pulumi.StringOutput { return v.Block }).(pulumi.StringOutput) +} + +// Ip continent +func (o CloudProjectFailoverIpAttachOutput) ContinentCode() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectFailoverIpAttach) pulumi.StringOutput { return v.ContinentCode }).(pulumi.StringOutput) +} + +// Ip location +func (o CloudProjectFailoverIpAttachOutput) GeoLoc() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectFailoverIpAttach) pulumi.StringOutput { return v.GeoLoc }).(pulumi.StringOutput) +} + +// Ip +func (o CloudProjectFailoverIpAttachOutput) Ip() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectFailoverIpAttach) pulumi.StringOutput { return v.Ip }).(pulumi.StringOutput) +} + +// Current operation progress in percent +func (o CloudProjectFailoverIpAttachOutput) Progress() pulumi.Float64Output { + return o.ApplyT(func(v *CloudProjectFailoverIpAttach) pulumi.Float64Output { return v.Progress }).(pulumi.Float64Output) +} + +// Instance where ip is routed to +func (o CloudProjectFailoverIpAttachOutput) RoutedTo() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectFailoverIpAttach) pulumi.StringOutput { return v.RoutedTo }).(pulumi.StringOutput) +} + +// The service name +func (o CloudProjectFailoverIpAttachOutput) ServiceName() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectFailoverIpAttach) pulumi.StringOutput { return v.ServiceName }).(pulumi.StringOutput) +} + +// Ip status +func (o CloudProjectFailoverIpAttachOutput) Status() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectFailoverIpAttach) pulumi.StringOutput { return v.Status }).(pulumi.StringOutput) +} + +// IP sub type +func (o CloudProjectFailoverIpAttachOutput) SubType() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectFailoverIpAttach) pulumi.StringOutput { return v.SubType }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*CloudProjectFailoverIpAttachInput)(nil)).Elem(), &CloudProjectFailoverIpAttach{}) + pulumi.RegisterOutputType(CloudProjectFailoverIpAttachOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectGateway.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectGateway.go new file mode 100644 index 00000000..f6f2377d --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectGateway.go @@ -0,0 +1,217 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type CloudProjectGateway struct { + pulumi.CustomResourceState + + // External information of the gateway + ExternalInformations CloudProjectGatewayExternalInformationArrayOutput `pulumi:"externalInformations"` + // Interfaces list of the gateway + Interfaces CloudProjectGatewayInterfaceTypeArrayOutput `pulumi:"interfaces"` + Model pulumi.StringOutput `pulumi:"model"` + Name pulumi.StringOutput `pulumi:"name"` + NetworkId pulumi.StringOutput `pulumi:"networkId"` + Region pulumi.StringOutput `pulumi:"region"` + // Service name of the resource representing the id of the cloud project. + ServiceName pulumi.StringPtrOutput `pulumi:"serviceName"` + Status pulumi.StringOutput `pulumi:"status"` + SubnetId pulumi.StringOutput `pulumi:"subnetId"` +} + +// NewCloudProjectGateway registers a new resource with the given unique name, arguments, and options. +func NewCloudProjectGateway(ctx *pulumi.Context, + name string, args *CloudProjectGatewayArgs, opts ...pulumi.ResourceOption) (*CloudProjectGateway, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.Model == nil { + return nil, errors.New("invalid value for required argument 'Model'") + } + if args.NetworkId == nil { + return nil, errors.New("invalid value for required argument 'NetworkId'") + } + if args.Region == nil { + return nil, errors.New("invalid value for required argument 'Region'") + } + if args.SubnetId == nil { + return nil, errors.New("invalid value for required argument 'SubnetId'") + } + opts = internal.PkgResourceDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var resource CloudProjectGateway + err = ctx.RegisterPackageResource("ovh:index/cloudProjectGateway:CloudProjectGateway", name, args, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetCloudProjectGateway gets an existing CloudProjectGateway resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetCloudProjectGateway(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *CloudProjectGatewayState, opts ...pulumi.ResourceOption) (*CloudProjectGateway, error) { + var resource CloudProjectGateway + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + err = ctx.ReadPackageResource("ovh:index/cloudProjectGateway:CloudProjectGateway", name, id, state, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering CloudProjectGateway resources. +type cloudProjectGatewayState struct { + // External information of the gateway + ExternalInformations []CloudProjectGatewayExternalInformation `pulumi:"externalInformations"` + // Interfaces list of the gateway + Interfaces []CloudProjectGatewayInterfaceType `pulumi:"interfaces"` + Model *string `pulumi:"model"` + Name *string `pulumi:"name"` + NetworkId *string `pulumi:"networkId"` + Region *string `pulumi:"region"` + // Service name of the resource representing the id of the cloud project. + ServiceName *string `pulumi:"serviceName"` + Status *string `pulumi:"status"` + SubnetId *string `pulumi:"subnetId"` +} + +type CloudProjectGatewayState struct { + // External information of the gateway + ExternalInformations CloudProjectGatewayExternalInformationArrayInput + // Interfaces list of the gateway + Interfaces CloudProjectGatewayInterfaceTypeArrayInput + Model pulumi.StringPtrInput + Name pulumi.StringPtrInput + NetworkId pulumi.StringPtrInput + Region pulumi.StringPtrInput + // Service name of the resource representing the id of the cloud project. + ServiceName pulumi.StringPtrInput + Status pulumi.StringPtrInput + SubnetId pulumi.StringPtrInput +} + +func (CloudProjectGatewayState) ElementType() reflect.Type { + return reflect.TypeOf((*cloudProjectGatewayState)(nil)).Elem() +} + +type cloudProjectGatewayArgs struct { + Model string `pulumi:"model"` + Name *string `pulumi:"name"` + NetworkId string `pulumi:"networkId"` + Region string `pulumi:"region"` + // Service name of the resource representing the id of the cloud project. + ServiceName *string `pulumi:"serviceName"` + SubnetId string `pulumi:"subnetId"` +} + +// The set of arguments for constructing a CloudProjectGateway resource. +type CloudProjectGatewayArgs struct { + Model pulumi.StringInput + Name pulumi.StringPtrInput + NetworkId pulumi.StringInput + Region pulumi.StringInput + // Service name of the resource representing the id of the cloud project. + ServiceName pulumi.StringPtrInput + SubnetId pulumi.StringInput +} + +func (CloudProjectGatewayArgs) ElementType() reflect.Type { + return reflect.TypeOf((*cloudProjectGatewayArgs)(nil)).Elem() +} + +type CloudProjectGatewayInput interface { + pulumi.Input + + ToCloudProjectGatewayOutput() CloudProjectGatewayOutput + ToCloudProjectGatewayOutputWithContext(ctx context.Context) CloudProjectGatewayOutput +} + +func (*CloudProjectGateway) ElementType() reflect.Type { + return reflect.TypeOf((**CloudProjectGateway)(nil)).Elem() +} + +func (i *CloudProjectGateway) ToCloudProjectGatewayOutput() CloudProjectGatewayOutput { + return i.ToCloudProjectGatewayOutputWithContext(context.Background()) +} + +func (i *CloudProjectGateway) ToCloudProjectGatewayOutputWithContext(ctx context.Context) CloudProjectGatewayOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectGatewayOutput) +} + +type CloudProjectGatewayOutput struct{ *pulumi.OutputState } + +func (CloudProjectGatewayOutput) ElementType() reflect.Type { + return reflect.TypeOf((**CloudProjectGateway)(nil)).Elem() +} + +func (o CloudProjectGatewayOutput) ToCloudProjectGatewayOutput() CloudProjectGatewayOutput { + return o +} + +func (o CloudProjectGatewayOutput) ToCloudProjectGatewayOutputWithContext(ctx context.Context) CloudProjectGatewayOutput { + return o +} + +// External information of the gateway +func (o CloudProjectGatewayOutput) ExternalInformations() CloudProjectGatewayExternalInformationArrayOutput { + return o.ApplyT(func(v *CloudProjectGateway) CloudProjectGatewayExternalInformationArrayOutput { + return v.ExternalInformations + }).(CloudProjectGatewayExternalInformationArrayOutput) +} + +// Interfaces list of the gateway +func (o CloudProjectGatewayOutput) Interfaces() CloudProjectGatewayInterfaceTypeArrayOutput { + return o.ApplyT(func(v *CloudProjectGateway) CloudProjectGatewayInterfaceTypeArrayOutput { return v.Interfaces }).(CloudProjectGatewayInterfaceTypeArrayOutput) +} + +func (o CloudProjectGatewayOutput) Model() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectGateway) pulumi.StringOutput { return v.Model }).(pulumi.StringOutput) +} + +func (o CloudProjectGatewayOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectGateway) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +func (o CloudProjectGatewayOutput) NetworkId() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectGateway) pulumi.StringOutput { return v.NetworkId }).(pulumi.StringOutput) +} + +func (o CloudProjectGatewayOutput) Region() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectGateway) pulumi.StringOutput { return v.Region }).(pulumi.StringOutput) +} + +// Service name of the resource representing the id of the cloud project. +func (o CloudProjectGatewayOutput) ServiceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudProjectGateway) pulumi.StringPtrOutput { return v.ServiceName }).(pulumi.StringPtrOutput) +} + +func (o CloudProjectGatewayOutput) Status() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectGateway) pulumi.StringOutput { return v.Status }).(pulumi.StringOutput) +} + +func (o CloudProjectGatewayOutput) SubnetId() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectGateway) pulumi.StringOutput { return v.SubnetId }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*CloudProjectGatewayInput)(nil)).Elem(), &CloudProjectGateway{}) + pulumi.RegisterOutputType(CloudProjectGatewayOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectGatewayInterface.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectGatewayInterface.go new file mode 100644 index 00000000..7b6812ed --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectGatewayInterface.go @@ -0,0 +1,205 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type CloudProjectGatewayInterface struct { + pulumi.CustomResourceState + + // Interface ID + InterfaceId pulumi.StringOutput `pulumi:"interfaceId"` + // IP of the interface + Ip pulumi.StringOutput `pulumi:"ip"` + // Network ID of the interface + NetworkId pulumi.StringOutput `pulumi:"networkId"` + // Region name + Region pulumi.StringOutput `pulumi:"region"` + // Service name + ServiceName pulumi.StringOutput `pulumi:"serviceName"` + // Subnet id to add + SubnetId pulumi.StringOutput `pulumi:"subnetId"` +} + +// NewCloudProjectGatewayInterface registers a new resource with the given unique name, arguments, and options. +func NewCloudProjectGatewayInterface(ctx *pulumi.Context, + name string, args *CloudProjectGatewayInterfaceArgs, opts ...pulumi.ResourceOption) (*CloudProjectGatewayInterface, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.Region == nil { + return nil, errors.New("invalid value for required argument 'Region'") + } + if args.ServiceName == nil { + return nil, errors.New("invalid value for required argument 'ServiceName'") + } + if args.SubnetId == nil { + return nil, errors.New("invalid value for required argument 'SubnetId'") + } + opts = internal.PkgResourceDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var resource CloudProjectGatewayInterface + err = ctx.RegisterPackageResource("ovh:index/cloudProjectGatewayInterface:CloudProjectGatewayInterface", name, args, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetCloudProjectGatewayInterface gets an existing CloudProjectGatewayInterface resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetCloudProjectGatewayInterface(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *CloudProjectGatewayInterfaceState, opts ...pulumi.ResourceOption) (*CloudProjectGatewayInterface, error) { + var resource CloudProjectGatewayInterface + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + err = ctx.ReadPackageResource("ovh:index/cloudProjectGatewayInterface:CloudProjectGatewayInterface", name, id, state, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering CloudProjectGatewayInterface resources. +type cloudProjectGatewayInterfaceState struct { + // Interface ID + InterfaceId *string `pulumi:"interfaceId"` + // IP of the interface + Ip *string `pulumi:"ip"` + // Network ID of the interface + NetworkId *string `pulumi:"networkId"` + // Region name + Region *string `pulumi:"region"` + // Service name + ServiceName *string `pulumi:"serviceName"` + // Subnet id to add + SubnetId *string `pulumi:"subnetId"` +} + +type CloudProjectGatewayInterfaceState struct { + // Interface ID + InterfaceId pulumi.StringPtrInput + // IP of the interface + Ip pulumi.StringPtrInput + // Network ID of the interface + NetworkId pulumi.StringPtrInput + // Region name + Region pulumi.StringPtrInput + // Service name + ServiceName pulumi.StringPtrInput + // Subnet id to add + SubnetId pulumi.StringPtrInput +} + +func (CloudProjectGatewayInterfaceState) ElementType() reflect.Type { + return reflect.TypeOf((*cloudProjectGatewayInterfaceState)(nil)).Elem() +} + +type cloudProjectGatewayInterfaceArgs struct { + // Interface ID + InterfaceId *string `pulumi:"interfaceId"` + // Region name + Region string `pulumi:"region"` + // Service name + ServiceName string `pulumi:"serviceName"` + // Subnet id to add + SubnetId string `pulumi:"subnetId"` +} + +// The set of arguments for constructing a CloudProjectGatewayInterface resource. +type CloudProjectGatewayInterfaceArgs struct { + // Interface ID + InterfaceId pulumi.StringPtrInput + // Region name + Region pulumi.StringInput + // Service name + ServiceName pulumi.StringInput + // Subnet id to add + SubnetId pulumi.StringInput +} + +func (CloudProjectGatewayInterfaceArgs) ElementType() reflect.Type { + return reflect.TypeOf((*cloudProjectGatewayInterfaceArgs)(nil)).Elem() +} + +type CloudProjectGatewayInterfaceInput interface { + pulumi.Input + + ToCloudProjectGatewayInterfaceOutput() CloudProjectGatewayInterfaceOutput + ToCloudProjectGatewayInterfaceOutputWithContext(ctx context.Context) CloudProjectGatewayInterfaceOutput +} + +func (*CloudProjectGatewayInterface) ElementType() reflect.Type { + return reflect.TypeOf((**CloudProjectGatewayInterface)(nil)).Elem() +} + +func (i *CloudProjectGatewayInterface) ToCloudProjectGatewayInterfaceOutput() CloudProjectGatewayInterfaceOutput { + return i.ToCloudProjectGatewayInterfaceOutputWithContext(context.Background()) +} + +func (i *CloudProjectGatewayInterface) ToCloudProjectGatewayInterfaceOutputWithContext(ctx context.Context) CloudProjectGatewayInterfaceOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectGatewayInterfaceOutput) +} + +type CloudProjectGatewayInterfaceOutput struct{ *pulumi.OutputState } + +func (CloudProjectGatewayInterfaceOutput) ElementType() reflect.Type { + return reflect.TypeOf((**CloudProjectGatewayInterface)(nil)).Elem() +} + +func (o CloudProjectGatewayInterfaceOutput) ToCloudProjectGatewayInterfaceOutput() CloudProjectGatewayInterfaceOutput { + return o +} + +func (o CloudProjectGatewayInterfaceOutput) ToCloudProjectGatewayInterfaceOutputWithContext(ctx context.Context) CloudProjectGatewayInterfaceOutput { + return o +} + +// Interface ID +func (o CloudProjectGatewayInterfaceOutput) InterfaceId() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectGatewayInterface) pulumi.StringOutput { return v.InterfaceId }).(pulumi.StringOutput) +} + +// IP of the interface +func (o CloudProjectGatewayInterfaceOutput) Ip() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectGatewayInterface) pulumi.StringOutput { return v.Ip }).(pulumi.StringOutput) +} + +// Network ID of the interface +func (o CloudProjectGatewayInterfaceOutput) NetworkId() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectGatewayInterface) pulumi.StringOutput { return v.NetworkId }).(pulumi.StringOutput) +} + +// Region name +func (o CloudProjectGatewayInterfaceOutput) Region() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectGatewayInterface) pulumi.StringOutput { return v.Region }).(pulumi.StringOutput) +} + +// Service name +func (o CloudProjectGatewayInterfaceOutput) ServiceName() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectGatewayInterface) pulumi.StringOutput { return v.ServiceName }).(pulumi.StringOutput) +} + +// Subnet id to add +func (o CloudProjectGatewayInterfaceOutput) SubnetId() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectGatewayInterface) pulumi.StringOutput { return v.SubnetId }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*CloudProjectGatewayInterfaceInput)(nil)).Elem(), &CloudProjectGatewayInterface{}) + pulumi.RegisterOutputType(CloudProjectGatewayInterfaceOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectKube.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectKube.go new file mode 100644 index 00000000..eec2bac0 --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectKube.go @@ -0,0 +1,322 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type CloudProjectKube struct { + pulumi.CustomResourceState + + ControlPlaneIsUpToDate pulumi.BoolOutput `pulumi:"controlPlaneIsUpToDate"` + CustomizationApiservers CloudProjectKubeCustomizationApiserverArrayOutput `pulumi:"customizationApiservers"` + CustomizationKubeProxy CloudProjectKubeCustomizationKubeProxyPtrOutput `pulumi:"customizationKubeProxy"` + // Deprecated: Deprecated + Customizations CloudProjectKubeCustomizationArrayOutput `pulumi:"customizations"` + IsUpToDate pulumi.BoolOutput `pulumi:"isUpToDate"` + KubeProxyMode pulumi.StringOutput `pulumi:"kubeProxyMode"` + Kubeconfig pulumi.StringOutput `pulumi:"kubeconfig"` + // The kubeconfig configuration file of the Kubernetes cluster + KubeconfigAttributes CloudProjectKubeKubeconfigAttributeArrayOutput `pulumi:"kubeconfigAttributes"` + LoadBalancersSubnetId pulumi.StringPtrOutput `pulumi:"loadBalancersSubnetId"` + Name pulumi.StringOutput `pulumi:"name"` + NextUpgradeVersions pulumi.StringArrayOutput `pulumi:"nextUpgradeVersions"` + NodesSubnetId pulumi.StringOutput `pulumi:"nodesSubnetId"` + NodesUrl pulumi.StringOutput `pulumi:"nodesUrl"` + PrivateNetworkConfiguration CloudProjectKubePrivateNetworkConfigurationPtrOutput `pulumi:"privateNetworkConfiguration"` + PrivateNetworkId pulumi.StringPtrOutput `pulumi:"privateNetworkId"` + Region pulumi.StringOutput `pulumi:"region"` + ServiceName pulumi.StringPtrOutput `pulumi:"serviceName"` + Status pulumi.StringOutput `pulumi:"status"` + Timeouts CloudProjectKubeTimeoutsPtrOutput `pulumi:"timeouts"` + UpdatePolicy pulumi.StringOutput `pulumi:"updatePolicy"` + Url pulumi.StringOutput `pulumi:"url"` + Version pulumi.StringOutput `pulumi:"version"` +} + +// NewCloudProjectKube registers a new resource with the given unique name, arguments, and options. +func NewCloudProjectKube(ctx *pulumi.Context, + name string, args *CloudProjectKubeArgs, opts ...pulumi.ResourceOption) (*CloudProjectKube, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.Region == nil { + return nil, errors.New("invalid value for required argument 'Region'") + } + secrets := pulumi.AdditionalSecretOutputs([]string{ + "kubeconfig", + "kubeconfigAttributes", + }) + opts = append(opts, secrets) + opts = internal.PkgResourceDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var resource CloudProjectKube + err = ctx.RegisterPackageResource("ovh:index/cloudProjectKube:CloudProjectKube", name, args, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetCloudProjectKube gets an existing CloudProjectKube resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetCloudProjectKube(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *CloudProjectKubeState, opts ...pulumi.ResourceOption) (*CloudProjectKube, error) { + var resource CloudProjectKube + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + err = ctx.ReadPackageResource("ovh:index/cloudProjectKube:CloudProjectKube", name, id, state, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering CloudProjectKube resources. +type cloudProjectKubeState struct { + ControlPlaneIsUpToDate *bool `pulumi:"controlPlaneIsUpToDate"` + CustomizationApiservers []CloudProjectKubeCustomizationApiserver `pulumi:"customizationApiservers"` + CustomizationKubeProxy *CloudProjectKubeCustomizationKubeProxy `pulumi:"customizationKubeProxy"` + // Deprecated: Deprecated + Customizations []CloudProjectKubeCustomization `pulumi:"customizations"` + IsUpToDate *bool `pulumi:"isUpToDate"` + KubeProxyMode *string `pulumi:"kubeProxyMode"` + Kubeconfig *string `pulumi:"kubeconfig"` + // The kubeconfig configuration file of the Kubernetes cluster + KubeconfigAttributes []CloudProjectKubeKubeconfigAttribute `pulumi:"kubeconfigAttributes"` + LoadBalancersSubnetId *string `pulumi:"loadBalancersSubnetId"` + Name *string `pulumi:"name"` + NextUpgradeVersions []string `pulumi:"nextUpgradeVersions"` + NodesSubnetId *string `pulumi:"nodesSubnetId"` + NodesUrl *string `pulumi:"nodesUrl"` + PrivateNetworkConfiguration *CloudProjectKubePrivateNetworkConfiguration `pulumi:"privateNetworkConfiguration"` + PrivateNetworkId *string `pulumi:"privateNetworkId"` + Region *string `pulumi:"region"` + ServiceName *string `pulumi:"serviceName"` + Status *string `pulumi:"status"` + Timeouts *CloudProjectKubeTimeouts `pulumi:"timeouts"` + UpdatePolicy *string `pulumi:"updatePolicy"` + Url *string `pulumi:"url"` + Version *string `pulumi:"version"` +} + +type CloudProjectKubeState struct { + ControlPlaneIsUpToDate pulumi.BoolPtrInput + CustomizationApiservers CloudProjectKubeCustomizationApiserverArrayInput + CustomizationKubeProxy CloudProjectKubeCustomizationKubeProxyPtrInput + // Deprecated: Deprecated + Customizations CloudProjectKubeCustomizationArrayInput + IsUpToDate pulumi.BoolPtrInput + KubeProxyMode pulumi.StringPtrInput + Kubeconfig pulumi.StringPtrInput + // The kubeconfig configuration file of the Kubernetes cluster + KubeconfigAttributes CloudProjectKubeKubeconfigAttributeArrayInput + LoadBalancersSubnetId pulumi.StringPtrInput + Name pulumi.StringPtrInput + NextUpgradeVersions pulumi.StringArrayInput + NodesSubnetId pulumi.StringPtrInput + NodesUrl pulumi.StringPtrInput + PrivateNetworkConfiguration CloudProjectKubePrivateNetworkConfigurationPtrInput + PrivateNetworkId pulumi.StringPtrInput + Region pulumi.StringPtrInput + ServiceName pulumi.StringPtrInput + Status pulumi.StringPtrInput + Timeouts CloudProjectKubeTimeoutsPtrInput + UpdatePolicy pulumi.StringPtrInput + Url pulumi.StringPtrInput + Version pulumi.StringPtrInput +} + +func (CloudProjectKubeState) ElementType() reflect.Type { + return reflect.TypeOf((*cloudProjectKubeState)(nil)).Elem() +} + +type cloudProjectKubeArgs struct { + CustomizationApiservers []CloudProjectKubeCustomizationApiserver `pulumi:"customizationApiservers"` + CustomizationKubeProxy *CloudProjectKubeCustomizationKubeProxy `pulumi:"customizationKubeProxy"` + // Deprecated: Deprecated + Customizations []CloudProjectKubeCustomization `pulumi:"customizations"` + KubeProxyMode *string `pulumi:"kubeProxyMode"` + LoadBalancersSubnetId *string `pulumi:"loadBalancersSubnetId"` + Name *string `pulumi:"name"` + NodesSubnetId *string `pulumi:"nodesSubnetId"` + PrivateNetworkConfiguration *CloudProjectKubePrivateNetworkConfiguration `pulumi:"privateNetworkConfiguration"` + PrivateNetworkId *string `pulumi:"privateNetworkId"` + Region string `pulumi:"region"` + ServiceName *string `pulumi:"serviceName"` + Timeouts *CloudProjectKubeTimeouts `pulumi:"timeouts"` + UpdatePolicy *string `pulumi:"updatePolicy"` + Version *string `pulumi:"version"` +} + +// The set of arguments for constructing a CloudProjectKube resource. +type CloudProjectKubeArgs struct { + CustomizationApiservers CloudProjectKubeCustomizationApiserverArrayInput + CustomizationKubeProxy CloudProjectKubeCustomizationKubeProxyPtrInput + // Deprecated: Deprecated + Customizations CloudProjectKubeCustomizationArrayInput + KubeProxyMode pulumi.StringPtrInput + LoadBalancersSubnetId pulumi.StringPtrInput + Name pulumi.StringPtrInput + NodesSubnetId pulumi.StringPtrInput + PrivateNetworkConfiguration CloudProjectKubePrivateNetworkConfigurationPtrInput + PrivateNetworkId pulumi.StringPtrInput + Region pulumi.StringInput + ServiceName pulumi.StringPtrInput + Timeouts CloudProjectKubeTimeoutsPtrInput + UpdatePolicy pulumi.StringPtrInput + Version pulumi.StringPtrInput +} + +func (CloudProjectKubeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*cloudProjectKubeArgs)(nil)).Elem() +} + +type CloudProjectKubeInput interface { + pulumi.Input + + ToCloudProjectKubeOutput() CloudProjectKubeOutput + ToCloudProjectKubeOutputWithContext(ctx context.Context) CloudProjectKubeOutput +} + +func (*CloudProjectKube) ElementType() reflect.Type { + return reflect.TypeOf((**CloudProjectKube)(nil)).Elem() +} + +func (i *CloudProjectKube) ToCloudProjectKubeOutput() CloudProjectKubeOutput { + return i.ToCloudProjectKubeOutputWithContext(context.Background()) +} + +func (i *CloudProjectKube) ToCloudProjectKubeOutputWithContext(ctx context.Context) CloudProjectKubeOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectKubeOutput) +} + +type CloudProjectKubeOutput struct{ *pulumi.OutputState } + +func (CloudProjectKubeOutput) ElementType() reflect.Type { + return reflect.TypeOf((**CloudProjectKube)(nil)).Elem() +} + +func (o CloudProjectKubeOutput) ToCloudProjectKubeOutput() CloudProjectKubeOutput { + return o +} + +func (o CloudProjectKubeOutput) ToCloudProjectKubeOutputWithContext(ctx context.Context) CloudProjectKubeOutput { + return o +} + +func (o CloudProjectKubeOutput) ControlPlaneIsUpToDate() pulumi.BoolOutput { + return o.ApplyT(func(v *CloudProjectKube) pulumi.BoolOutput { return v.ControlPlaneIsUpToDate }).(pulumi.BoolOutput) +} + +func (o CloudProjectKubeOutput) CustomizationApiservers() CloudProjectKubeCustomizationApiserverArrayOutput { + return o.ApplyT(func(v *CloudProjectKube) CloudProjectKubeCustomizationApiserverArrayOutput { + return v.CustomizationApiservers + }).(CloudProjectKubeCustomizationApiserverArrayOutput) +} + +func (o CloudProjectKubeOutput) CustomizationKubeProxy() CloudProjectKubeCustomizationKubeProxyPtrOutput { + return o.ApplyT(func(v *CloudProjectKube) CloudProjectKubeCustomizationKubeProxyPtrOutput { + return v.CustomizationKubeProxy + }).(CloudProjectKubeCustomizationKubeProxyPtrOutput) +} + +// Deprecated: Deprecated +func (o CloudProjectKubeOutput) Customizations() CloudProjectKubeCustomizationArrayOutput { + return o.ApplyT(func(v *CloudProjectKube) CloudProjectKubeCustomizationArrayOutput { return v.Customizations }).(CloudProjectKubeCustomizationArrayOutput) +} + +func (o CloudProjectKubeOutput) IsUpToDate() pulumi.BoolOutput { + return o.ApplyT(func(v *CloudProjectKube) pulumi.BoolOutput { return v.IsUpToDate }).(pulumi.BoolOutput) +} + +func (o CloudProjectKubeOutput) KubeProxyMode() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectKube) pulumi.StringOutput { return v.KubeProxyMode }).(pulumi.StringOutput) +} + +func (o CloudProjectKubeOutput) Kubeconfig() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectKube) pulumi.StringOutput { return v.Kubeconfig }).(pulumi.StringOutput) +} + +// The kubeconfig configuration file of the Kubernetes cluster +func (o CloudProjectKubeOutput) KubeconfigAttributes() CloudProjectKubeKubeconfigAttributeArrayOutput { + return o.ApplyT(func(v *CloudProjectKube) CloudProjectKubeKubeconfigAttributeArrayOutput { + return v.KubeconfigAttributes + }).(CloudProjectKubeKubeconfigAttributeArrayOutput) +} + +func (o CloudProjectKubeOutput) LoadBalancersSubnetId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudProjectKube) pulumi.StringPtrOutput { return v.LoadBalancersSubnetId }).(pulumi.StringPtrOutput) +} + +func (o CloudProjectKubeOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectKube) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +func (o CloudProjectKubeOutput) NextUpgradeVersions() pulumi.StringArrayOutput { + return o.ApplyT(func(v *CloudProjectKube) pulumi.StringArrayOutput { return v.NextUpgradeVersions }).(pulumi.StringArrayOutput) +} + +func (o CloudProjectKubeOutput) NodesSubnetId() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectKube) pulumi.StringOutput { return v.NodesSubnetId }).(pulumi.StringOutput) +} + +func (o CloudProjectKubeOutput) NodesUrl() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectKube) pulumi.StringOutput { return v.NodesUrl }).(pulumi.StringOutput) +} + +func (o CloudProjectKubeOutput) PrivateNetworkConfiguration() CloudProjectKubePrivateNetworkConfigurationPtrOutput { + return o.ApplyT(func(v *CloudProjectKube) CloudProjectKubePrivateNetworkConfigurationPtrOutput { + return v.PrivateNetworkConfiguration + }).(CloudProjectKubePrivateNetworkConfigurationPtrOutput) +} + +func (o CloudProjectKubeOutput) PrivateNetworkId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudProjectKube) pulumi.StringPtrOutput { return v.PrivateNetworkId }).(pulumi.StringPtrOutput) +} + +func (o CloudProjectKubeOutput) Region() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectKube) pulumi.StringOutput { return v.Region }).(pulumi.StringOutput) +} + +func (o CloudProjectKubeOutput) ServiceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudProjectKube) pulumi.StringPtrOutput { return v.ServiceName }).(pulumi.StringPtrOutput) +} + +func (o CloudProjectKubeOutput) Status() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectKube) pulumi.StringOutput { return v.Status }).(pulumi.StringOutput) +} + +func (o CloudProjectKubeOutput) Timeouts() CloudProjectKubeTimeoutsPtrOutput { + return o.ApplyT(func(v *CloudProjectKube) CloudProjectKubeTimeoutsPtrOutput { return v.Timeouts }).(CloudProjectKubeTimeoutsPtrOutput) +} + +func (o CloudProjectKubeOutput) UpdatePolicy() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectKube) pulumi.StringOutput { return v.UpdatePolicy }).(pulumi.StringOutput) +} + +func (o CloudProjectKubeOutput) Url() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectKube) pulumi.StringOutput { return v.Url }).(pulumi.StringOutput) +} + +func (o CloudProjectKubeOutput) Version() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectKube) pulumi.StringOutput { return v.Version }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*CloudProjectKubeInput)(nil)).Elem(), &CloudProjectKube{}) + pulumi.RegisterOutputType(CloudProjectKubeOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectKubeIprestrictions.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectKubeIprestrictions.go new file mode 100644 index 00000000..39f7e3c9 --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectKubeIprestrictions.go @@ -0,0 +1,176 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type CloudProjectKubeIprestrictions struct { + pulumi.CustomResourceState + + // List of IP restrictions for the cluster + Ips pulumi.StringArrayOutput `pulumi:"ips"` + // Kube ID + KubeId pulumi.StringOutput `pulumi:"kubeId"` + // Service name + ServiceName pulumi.StringPtrOutput `pulumi:"serviceName"` + Timeouts CloudProjectKubeIprestrictionsTimeoutsPtrOutput `pulumi:"timeouts"` +} + +// NewCloudProjectKubeIprestrictions registers a new resource with the given unique name, arguments, and options. +func NewCloudProjectKubeIprestrictions(ctx *pulumi.Context, + name string, args *CloudProjectKubeIprestrictionsArgs, opts ...pulumi.ResourceOption) (*CloudProjectKubeIprestrictions, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.Ips == nil { + return nil, errors.New("invalid value for required argument 'Ips'") + } + if args.KubeId == nil { + return nil, errors.New("invalid value for required argument 'KubeId'") + } + opts = internal.PkgResourceDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var resource CloudProjectKubeIprestrictions + err = ctx.RegisterPackageResource("ovh:index/cloudProjectKubeIprestrictions:CloudProjectKubeIprestrictions", name, args, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetCloudProjectKubeIprestrictions gets an existing CloudProjectKubeIprestrictions resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetCloudProjectKubeIprestrictions(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *CloudProjectKubeIprestrictionsState, opts ...pulumi.ResourceOption) (*CloudProjectKubeIprestrictions, error) { + var resource CloudProjectKubeIprestrictions + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + err = ctx.ReadPackageResource("ovh:index/cloudProjectKubeIprestrictions:CloudProjectKubeIprestrictions", name, id, state, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering CloudProjectKubeIprestrictions resources. +type cloudProjectKubeIprestrictionsState struct { + // List of IP restrictions for the cluster + Ips []string `pulumi:"ips"` + // Kube ID + KubeId *string `pulumi:"kubeId"` + // Service name + ServiceName *string `pulumi:"serviceName"` + Timeouts *CloudProjectKubeIprestrictionsTimeouts `pulumi:"timeouts"` +} + +type CloudProjectKubeIprestrictionsState struct { + // List of IP restrictions for the cluster + Ips pulumi.StringArrayInput + // Kube ID + KubeId pulumi.StringPtrInput + // Service name + ServiceName pulumi.StringPtrInput + Timeouts CloudProjectKubeIprestrictionsTimeoutsPtrInput +} + +func (CloudProjectKubeIprestrictionsState) ElementType() reflect.Type { + return reflect.TypeOf((*cloudProjectKubeIprestrictionsState)(nil)).Elem() +} + +type cloudProjectKubeIprestrictionsArgs struct { + // List of IP restrictions for the cluster + Ips []string `pulumi:"ips"` + // Kube ID + KubeId string `pulumi:"kubeId"` + // Service name + ServiceName *string `pulumi:"serviceName"` + Timeouts *CloudProjectKubeIprestrictionsTimeouts `pulumi:"timeouts"` +} + +// The set of arguments for constructing a CloudProjectKubeIprestrictions resource. +type CloudProjectKubeIprestrictionsArgs struct { + // List of IP restrictions for the cluster + Ips pulumi.StringArrayInput + // Kube ID + KubeId pulumi.StringInput + // Service name + ServiceName pulumi.StringPtrInput + Timeouts CloudProjectKubeIprestrictionsTimeoutsPtrInput +} + +func (CloudProjectKubeIprestrictionsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*cloudProjectKubeIprestrictionsArgs)(nil)).Elem() +} + +type CloudProjectKubeIprestrictionsInput interface { + pulumi.Input + + ToCloudProjectKubeIprestrictionsOutput() CloudProjectKubeIprestrictionsOutput + ToCloudProjectKubeIprestrictionsOutputWithContext(ctx context.Context) CloudProjectKubeIprestrictionsOutput +} + +func (*CloudProjectKubeIprestrictions) ElementType() reflect.Type { + return reflect.TypeOf((**CloudProjectKubeIprestrictions)(nil)).Elem() +} + +func (i *CloudProjectKubeIprestrictions) ToCloudProjectKubeIprestrictionsOutput() CloudProjectKubeIprestrictionsOutput { + return i.ToCloudProjectKubeIprestrictionsOutputWithContext(context.Background()) +} + +func (i *CloudProjectKubeIprestrictions) ToCloudProjectKubeIprestrictionsOutputWithContext(ctx context.Context) CloudProjectKubeIprestrictionsOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectKubeIprestrictionsOutput) +} + +type CloudProjectKubeIprestrictionsOutput struct{ *pulumi.OutputState } + +func (CloudProjectKubeIprestrictionsOutput) ElementType() reflect.Type { + return reflect.TypeOf((**CloudProjectKubeIprestrictions)(nil)).Elem() +} + +func (o CloudProjectKubeIprestrictionsOutput) ToCloudProjectKubeIprestrictionsOutput() CloudProjectKubeIprestrictionsOutput { + return o +} + +func (o CloudProjectKubeIprestrictionsOutput) ToCloudProjectKubeIprestrictionsOutputWithContext(ctx context.Context) CloudProjectKubeIprestrictionsOutput { + return o +} + +// List of IP restrictions for the cluster +func (o CloudProjectKubeIprestrictionsOutput) Ips() pulumi.StringArrayOutput { + return o.ApplyT(func(v *CloudProjectKubeIprestrictions) pulumi.StringArrayOutput { return v.Ips }).(pulumi.StringArrayOutput) +} + +// Kube ID +func (o CloudProjectKubeIprestrictionsOutput) KubeId() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectKubeIprestrictions) pulumi.StringOutput { return v.KubeId }).(pulumi.StringOutput) +} + +// Service name +func (o CloudProjectKubeIprestrictionsOutput) ServiceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudProjectKubeIprestrictions) pulumi.StringPtrOutput { return v.ServiceName }).(pulumi.StringPtrOutput) +} + +func (o CloudProjectKubeIprestrictionsOutput) Timeouts() CloudProjectKubeIprestrictionsTimeoutsPtrOutput { + return o.ApplyT(func(v *CloudProjectKubeIprestrictions) CloudProjectKubeIprestrictionsTimeoutsPtrOutput { + return v.Timeouts + }).(CloudProjectKubeIprestrictionsTimeoutsPtrOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*CloudProjectKubeIprestrictionsInput)(nil)).Elem(), &CloudProjectKubeIprestrictions{}) + pulumi.RegisterOutputType(CloudProjectKubeIprestrictionsOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectKubeNodepool.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectKubeNodepool.go new file mode 100644 index 00000000..51f2e116 --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectKubeNodepool.go @@ -0,0 +1,444 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type CloudProjectKubeNodepool struct { + pulumi.CustomResourceState + + // Enable anti affinity groups for nodes in the pool + AntiAffinity pulumi.BoolOutput `pulumi:"antiAffinity"` + // Enable auto-scaling for the pool + Autoscale pulumi.BoolOutput `pulumi:"autoscale"` + // scaleDownUnneededTimeSeconds for autoscaling + AutoscalingScaleDownUnneededTimeSeconds pulumi.Float64Output `pulumi:"autoscalingScaleDownUnneededTimeSeconds"` + // scaleDownUnreadyTimeSeconds for autoscaling + AutoscalingScaleDownUnreadyTimeSeconds pulumi.Float64Output `pulumi:"autoscalingScaleDownUnreadyTimeSeconds"` + // scaleDownUtilizationThreshold for autoscaling + AutoscalingScaleDownUtilizationThreshold pulumi.Float64Output `pulumi:"autoscalingScaleDownUtilizationThreshold"` + // Number of nodes which are actually ready in the pool + AvailableNodes pulumi.Float64Output `pulumi:"availableNodes"` + // Creation date + CreatedAt pulumi.StringOutput `pulumi:"createdAt"` + // Number of nodes present in the pool + CurrentNodes pulumi.Float64Output `pulumi:"currentNodes"` + // Number of nodes you desire in the pool + DesiredNodes pulumi.Float64Output `pulumi:"desiredNodes"` + // Flavor name + Flavor pulumi.StringOutput `pulumi:"flavor"` + // Flavor name + FlavorName pulumi.StringOutput `pulumi:"flavorName"` + // Kube ID + KubeId pulumi.StringOutput `pulumi:"kubeId"` + // Number of nodes you desire in the pool + MaxNodes pulumi.Float64Output `pulumi:"maxNodes"` + // Number of nodes you desire in the pool + MinNodes pulumi.Float64Output `pulumi:"minNodes"` + // Enable monthly billing on all nodes in the pool + MonthlyBilled pulumi.BoolOutput `pulumi:"monthlyBilled"` + // NodePool resource name + Name pulumi.StringOutput `pulumi:"name"` + // Project id + ProjectId pulumi.StringOutput `pulumi:"projectId"` + // Service name + ServiceName pulumi.StringPtrOutput `pulumi:"serviceName"` + // Status describing the state between number of nodes wanted and available ones + SizeStatus pulumi.StringOutput `pulumi:"sizeStatus"` + // Current status + Status pulumi.StringOutput `pulumi:"status"` + // Node pool template + Template CloudProjectKubeNodepoolTemplatePtrOutput `pulumi:"template"` + Timeouts CloudProjectKubeNodepoolTimeoutsPtrOutput `pulumi:"timeouts"` + // Number of nodes with latest version installed in the pool + UpToDateNodes pulumi.Float64Output `pulumi:"upToDateNodes"` + // Last update date + UpdatedAt pulumi.StringOutput `pulumi:"updatedAt"` +} + +// NewCloudProjectKubeNodepool registers a new resource with the given unique name, arguments, and options. +func NewCloudProjectKubeNodepool(ctx *pulumi.Context, + name string, args *CloudProjectKubeNodepoolArgs, opts ...pulumi.ResourceOption) (*CloudProjectKubeNodepool, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.FlavorName == nil { + return nil, errors.New("invalid value for required argument 'FlavorName'") + } + if args.KubeId == nil { + return nil, errors.New("invalid value for required argument 'KubeId'") + } + opts = internal.PkgResourceDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var resource CloudProjectKubeNodepool + err = ctx.RegisterPackageResource("ovh:index/cloudProjectKubeNodepool:CloudProjectKubeNodepool", name, args, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetCloudProjectKubeNodepool gets an existing CloudProjectKubeNodepool resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetCloudProjectKubeNodepool(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *CloudProjectKubeNodepoolState, opts ...pulumi.ResourceOption) (*CloudProjectKubeNodepool, error) { + var resource CloudProjectKubeNodepool + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + err = ctx.ReadPackageResource("ovh:index/cloudProjectKubeNodepool:CloudProjectKubeNodepool", name, id, state, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering CloudProjectKubeNodepool resources. +type cloudProjectKubeNodepoolState struct { + // Enable anti affinity groups for nodes in the pool + AntiAffinity *bool `pulumi:"antiAffinity"` + // Enable auto-scaling for the pool + Autoscale *bool `pulumi:"autoscale"` + // scaleDownUnneededTimeSeconds for autoscaling + AutoscalingScaleDownUnneededTimeSeconds *float64 `pulumi:"autoscalingScaleDownUnneededTimeSeconds"` + // scaleDownUnreadyTimeSeconds for autoscaling + AutoscalingScaleDownUnreadyTimeSeconds *float64 `pulumi:"autoscalingScaleDownUnreadyTimeSeconds"` + // scaleDownUtilizationThreshold for autoscaling + AutoscalingScaleDownUtilizationThreshold *float64 `pulumi:"autoscalingScaleDownUtilizationThreshold"` + // Number of nodes which are actually ready in the pool + AvailableNodes *float64 `pulumi:"availableNodes"` + // Creation date + CreatedAt *string `pulumi:"createdAt"` + // Number of nodes present in the pool + CurrentNodes *float64 `pulumi:"currentNodes"` + // Number of nodes you desire in the pool + DesiredNodes *float64 `pulumi:"desiredNodes"` + // Flavor name + Flavor *string `pulumi:"flavor"` + // Flavor name + FlavorName *string `pulumi:"flavorName"` + // Kube ID + KubeId *string `pulumi:"kubeId"` + // Number of nodes you desire in the pool + MaxNodes *float64 `pulumi:"maxNodes"` + // Number of nodes you desire in the pool + MinNodes *float64 `pulumi:"minNodes"` + // Enable monthly billing on all nodes in the pool + MonthlyBilled *bool `pulumi:"monthlyBilled"` + // NodePool resource name + Name *string `pulumi:"name"` + // Project id + ProjectId *string `pulumi:"projectId"` + // Service name + ServiceName *string `pulumi:"serviceName"` + // Status describing the state between number of nodes wanted and available ones + SizeStatus *string `pulumi:"sizeStatus"` + // Current status + Status *string `pulumi:"status"` + // Node pool template + Template *CloudProjectKubeNodepoolTemplate `pulumi:"template"` + Timeouts *CloudProjectKubeNodepoolTimeouts `pulumi:"timeouts"` + // Number of nodes with latest version installed in the pool + UpToDateNodes *float64 `pulumi:"upToDateNodes"` + // Last update date + UpdatedAt *string `pulumi:"updatedAt"` +} + +type CloudProjectKubeNodepoolState struct { + // Enable anti affinity groups for nodes in the pool + AntiAffinity pulumi.BoolPtrInput + // Enable auto-scaling for the pool + Autoscale pulumi.BoolPtrInput + // scaleDownUnneededTimeSeconds for autoscaling + AutoscalingScaleDownUnneededTimeSeconds pulumi.Float64PtrInput + // scaleDownUnreadyTimeSeconds for autoscaling + AutoscalingScaleDownUnreadyTimeSeconds pulumi.Float64PtrInput + // scaleDownUtilizationThreshold for autoscaling + AutoscalingScaleDownUtilizationThreshold pulumi.Float64PtrInput + // Number of nodes which are actually ready in the pool + AvailableNodes pulumi.Float64PtrInput + // Creation date + CreatedAt pulumi.StringPtrInput + // Number of nodes present in the pool + CurrentNodes pulumi.Float64PtrInput + // Number of nodes you desire in the pool + DesiredNodes pulumi.Float64PtrInput + // Flavor name + Flavor pulumi.StringPtrInput + // Flavor name + FlavorName pulumi.StringPtrInput + // Kube ID + KubeId pulumi.StringPtrInput + // Number of nodes you desire in the pool + MaxNodes pulumi.Float64PtrInput + // Number of nodes you desire in the pool + MinNodes pulumi.Float64PtrInput + // Enable monthly billing on all nodes in the pool + MonthlyBilled pulumi.BoolPtrInput + // NodePool resource name + Name pulumi.StringPtrInput + // Project id + ProjectId pulumi.StringPtrInput + // Service name + ServiceName pulumi.StringPtrInput + // Status describing the state between number of nodes wanted and available ones + SizeStatus pulumi.StringPtrInput + // Current status + Status pulumi.StringPtrInput + // Node pool template + Template CloudProjectKubeNodepoolTemplatePtrInput + Timeouts CloudProjectKubeNodepoolTimeoutsPtrInput + // Number of nodes with latest version installed in the pool + UpToDateNodes pulumi.Float64PtrInput + // Last update date + UpdatedAt pulumi.StringPtrInput +} + +func (CloudProjectKubeNodepoolState) ElementType() reflect.Type { + return reflect.TypeOf((*cloudProjectKubeNodepoolState)(nil)).Elem() +} + +type cloudProjectKubeNodepoolArgs struct { + // Enable anti affinity groups for nodes in the pool + AntiAffinity *bool `pulumi:"antiAffinity"` + // Enable auto-scaling for the pool + Autoscale *bool `pulumi:"autoscale"` + // scaleDownUnneededTimeSeconds for autoscaling + AutoscalingScaleDownUnneededTimeSeconds *float64 `pulumi:"autoscalingScaleDownUnneededTimeSeconds"` + // scaleDownUnreadyTimeSeconds for autoscaling + AutoscalingScaleDownUnreadyTimeSeconds *float64 `pulumi:"autoscalingScaleDownUnreadyTimeSeconds"` + // scaleDownUtilizationThreshold for autoscaling + AutoscalingScaleDownUtilizationThreshold *float64 `pulumi:"autoscalingScaleDownUtilizationThreshold"` + // Number of nodes you desire in the pool + DesiredNodes *float64 `pulumi:"desiredNodes"` + // Flavor name + FlavorName string `pulumi:"flavorName"` + // Kube ID + KubeId string `pulumi:"kubeId"` + // Number of nodes you desire in the pool + MaxNodes *float64 `pulumi:"maxNodes"` + // Number of nodes you desire in the pool + MinNodes *float64 `pulumi:"minNodes"` + // Enable monthly billing on all nodes in the pool + MonthlyBilled *bool `pulumi:"monthlyBilled"` + // NodePool resource name + Name *string `pulumi:"name"` + // Service name + ServiceName *string `pulumi:"serviceName"` + // Node pool template + Template *CloudProjectKubeNodepoolTemplate `pulumi:"template"` + Timeouts *CloudProjectKubeNodepoolTimeouts `pulumi:"timeouts"` +} + +// The set of arguments for constructing a CloudProjectKubeNodepool resource. +type CloudProjectKubeNodepoolArgs struct { + // Enable anti affinity groups for nodes in the pool + AntiAffinity pulumi.BoolPtrInput + // Enable auto-scaling for the pool + Autoscale pulumi.BoolPtrInput + // scaleDownUnneededTimeSeconds for autoscaling + AutoscalingScaleDownUnneededTimeSeconds pulumi.Float64PtrInput + // scaleDownUnreadyTimeSeconds for autoscaling + AutoscalingScaleDownUnreadyTimeSeconds pulumi.Float64PtrInput + // scaleDownUtilizationThreshold for autoscaling + AutoscalingScaleDownUtilizationThreshold pulumi.Float64PtrInput + // Number of nodes you desire in the pool + DesiredNodes pulumi.Float64PtrInput + // Flavor name + FlavorName pulumi.StringInput + // Kube ID + KubeId pulumi.StringInput + // Number of nodes you desire in the pool + MaxNodes pulumi.Float64PtrInput + // Number of nodes you desire in the pool + MinNodes pulumi.Float64PtrInput + // Enable monthly billing on all nodes in the pool + MonthlyBilled pulumi.BoolPtrInput + // NodePool resource name + Name pulumi.StringPtrInput + // Service name + ServiceName pulumi.StringPtrInput + // Node pool template + Template CloudProjectKubeNodepoolTemplatePtrInput + Timeouts CloudProjectKubeNodepoolTimeoutsPtrInput +} + +func (CloudProjectKubeNodepoolArgs) ElementType() reflect.Type { + return reflect.TypeOf((*cloudProjectKubeNodepoolArgs)(nil)).Elem() +} + +type CloudProjectKubeNodepoolInput interface { + pulumi.Input + + ToCloudProjectKubeNodepoolOutput() CloudProjectKubeNodepoolOutput + ToCloudProjectKubeNodepoolOutputWithContext(ctx context.Context) CloudProjectKubeNodepoolOutput +} + +func (*CloudProjectKubeNodepool) ElementType() reflect.Type { + return reflect.TypeOf((**CloudProjectKubeNodepool)(nil)).Elem() +} + +func (i *CloudProjectKubeNodepool) ToCloudProjectKubeNodepoolOutput() CloudProjectKubeNodepoolOutput { + return i.ToCloudProjectKubeNodepoolOutputWithContext(context.Background()) +} + +func (i *CloudProjectKubeNodepool) ToCloudProjectKubeNodepoolOutputWithContext(ctx context.Context) CloudProjectKubeNodepoolOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectKubeNodepoolOutput) +} + +type CloudProjectKubeNodepoolOutput struct{ *pulumi.OutputState } + +func (CloudProjectKubeNodepoolOutput) ElementType() reflect.Type { + return reflect.TypeOf((**CloudProjectKubeNodepool)(nil)).Elem() +} + +func (o CloudProjectKubeNodepoolOutput) ToCloudProjectKubeNodepoolOutput() CloudProjectKubeNodepoolOutput { + return o +} + +func (o CloudProjectKubeNodepoolOutput) ToCloudProjectKubeNodepoolOutputWithContext(ctx context.Context) CloudProjectKubeNodepoolOutput { + return o +} + +// Enable anti affinity groups for nodes in the pool +func (o CloudProjectKubeNodepoolOutput) AntiAffinity() pulumi.BoolOutput { + return o.ApplyT(func(v *CloudProjectKubeNodepool) pulumi.BoolOutput { return v.AntiAffinity }).(pulumi.BoolOutput) +} + +// Enable auto-scaling for the pool +func (o CloudProjectKubeNodepoolOutput) Autoscale() pulumi.BoolOutput { + return o.ApplyT(func(v *CloudProjectKubeNodepool) pulumi.BoolOutput { return v.Autoscale }).(pulumi.BoolOutput) +} + +// scaleDownUnneededTimeSeconds for autoscaling +func (o CloudProjectKubeNodepoolOutput) AutoscalingScaleDownUnneededTimeSeconds() pulumi.Float64Output { + return o.ApplyT(func(v *CloudProjectKubeNodepool) pulumi.Float64Output { + return v.AutoscalingScaleDownUnneededTimeSeconds + }).(pulumi.Float64Output) +} + +// scaleDownUnreadyTimeSeconds for autoscaling +func (o CloudProjectKubeNodepoolOutput) AutoscalingScaleDownUnreadyTimeSeconds() pulumi.Float64Output { + return o.ApplyT(func(v *CloudProjectKubeNodepool) pulumi.Float64Output { + return v.AutoscalingScaleDownUnreadyTimeSeconds + }).(pulumi.Float64Output) +} + +// scaleDownUtilizationThreshold for autoscaling +func (o CloudProjectKubeNodepoolOutput) AutoscalingScaleDownUtilizationThreshold() pulumi.Float64Output { + return o.ApplyT(func(v *CloudProjectKubeNodepool) pulumi.Float64Output { + return v.AutoscalingScaleDownUtilizationThreshold + }).(pulumi.Float64Output) +} + +// Number of nodes which are actually ready in the pool +func (o CloudProjectKubeNodepoolOutput) AvailableNodes() pulumi.Float64Output { + return o.ApplyT(func(v *CloudProjectKubeNodepool) pulumi.Float64Output { return v.AvailableNodes }).(pulumi.Float64Output) +} + +// Creation date +func (o CloudProjectKubeNodepoolOutput) CreatedAt() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectKubeNodepool) pulumi.StringOutput { return v.CreatedAt }).(pulumi.StringOutput) +} + +// Number of nodes present in the pool +func (o CloudProjectKubeNodepoolOutput) CurrentNodes() pulumi.Float64Output { + return o.ApplyT(func(v *CloudProjectKubeNodepool) pulumi.Float64Output { return v.CurrentNodes }).(pulumi.Float64Output) +} + +// Number of nodes you desire in the pool +func (o CloudProjectKubeNodepoolOutput) DesiredNodes() pulumi.Float64Output { + return o.ApplyT(func(v *CloudProjectKubeNodepool) pulumi.Float64Output { return v.DesiredNodes }).(pulumi.Float64Output) +} + +// Flavor name +func (o CloudProjectKubeNodepoolOutput) Flavor() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectKubeNodepool) pulumi.StringOutput { return v.Flavor }).(pulumi.StringOutput) +} + +// Flavor name +func (o CloudProjectKubeNodepoolOutput) FlavorName() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectKubeNodepool) pulumi.StringOutput { return v.FlavorName }).(pulumi.StringOutput) +} + +// Kube ID +func (o CloudProjectKubeNodepoolOutput) KubeId() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectKubeNodepool) pulumi.StringOutput { return v.KubeId }).(pulumi.StringOutput) +} + +// Number of nodes you desire in the pool +func (o CloudProjectKubeNodepoolOutput) MaxNodes() pulumi.Float64Output { + return o.ApplyT(func(v *CloudProjectKubeNodepool) pulumi.Float64Output { return v.MaxNodes }).(pulumi.Float64Output) +} + +// Number of nodes you desire in the pool +func (o CloudProjectKubeNodepoolOutput) MinNodes() pulumi.Float64Output { + return o.ApplyT(func(v *CloudProjectKubeNodepool) pulumi.Float64Output { return v.MinNodes }).(pulumi.Float64Output) +} + +// Enable monthly billing on all nodes in the pool +func (o CloudProjectKubeNodepoolOutput) MonthlyBilled() pulumi.BoolOutput { + return o.ApplyT(func(v *CloudProjectKubeNodepool) pulumi.BoolOutput { return v.MonthlyBilled }).(pulumi.BoolOutput) +} + +// NodePool resource name +func (o CloudProjectKubeNodepoolOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectKubeNodepool) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +// Project id +func (o CloudProjectKubeNodepoolOutput) ProjectId() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectKubeNodepool) pulumi.StringOutput { return v.ProjectId }).(pulumi.StringOutput) +} + +// Service name +func (o CloudProjectKubeNodepoolOutput) ServiceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudProjectKubeNodepool) pulumi.StringPtrOutput { return v.ServiceName }).(pulumi.StringPtrOutput) +} + +// Status describing the state between number of nodes wanted and available ones +func (o CloudProjectKubeNodepoolOutput) SizeStatus() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectKubeNodepool) pulumi.StringOutput { return v.SizeStatus }).(pulumi.StringOutput) +} + +// Current status +func (o CloudProjectKubeNodepoolOutput) Status() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectKubeNodepool) pulumi.StringOutput { return v.Status }).(pulumi.StringOutput) +} + +// Node pool template +func (o CloudProjectKubeNodepoolOutput) Template() CloudProjectKubeNodepoolTemplatePtrOutput { + return o.ApplyT(func(v *CloudProjectKubeNodepool) CloudProjectKubeNodepoolTemplatePtrOutput { return v.Template }).(CloudProjectKubeNodepoolTemplatePtrOutput) +} + +func (o CloudProjectKubeNodepoolOutput) Timeouts() CloudProjectKubeNodepoolTimeoutsPtrOutput { + return o.ApplyT(func(v *CloudProjectKubeNodepool) CloudProjectKubeNodepoolTimeoutsPtrOutput { return v.Timeouts }).(CloudProjectKubeNodepoolTimeoutsPtrOutput) +} + +// Number of nodes with latest version installed in the pool +func (o CloudProjectKubeNodepoolOutput) UpToDateNodes() pulumi.Float64Output { + return o.ApplyT(func(v *CloudProjectKubeNodepool) pulumi.Float64Output { return v.UpToDateNodes }).(pulumi.Float64Output) +} + +// Last update date +func (o CloudProjectKubeNodepoolOutput) UpdatedAt() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectKubeNodepool) pulumi.StringOutput { return v.UpdatedAt }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*CloudProjectKubeNodepoolInput)(nil)).Elem(), &CloudProjectKubeNodepool{}) + pulumi.RegisterOutputType(CloudProjectKubeNodepoolOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectKubeOidc.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectKubeOidc.go new file mode 100644 index 00000000..d753c8ec --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectKubeOidc.go @@ -0,0 +1,231 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type CloudProjectKubeOidc struct { + pulumi.CustomResourceState + + ClientId pulumi.StringOutput `pulumi:"clientId"` + IssuerUrl pulumi.StringOutput `pulumi:"issuerUrl"` + KubeId pulumi.StringOutput `pulumi:"kubeId"` + OidcCaContent pulumi.StringPtrOutput `pulumi:"oidcCaContent"` + OidcGroupsClaims pulumi.StringArrayOutput `pulumi:"oidcGroupsClaims"` + OidcGroupsPrefix pulumi.StringPtrOutput `pulumi:"oidcGroupsPrefix"` + OidcRequiredClaims pulumi.StringArrayOutput `pulumi:"oidcRequiredClaims"` + OidcSigningAlgs pulumi.StringArrayOutput `pulumi:"oidcSigningAlgs"` + OidcUsernameClaim pulumi.StringPtrOutput `pulumi:"oidcUsernameClaim"` + OidcUsernamePrefix pulumi.StringPtrOutput `pulumi:"oidcUsernamePrefix"` + ServiceName pulumi.StringPtrOutput `pulumi:"serviceName"` + Timeouts CloudProjectKubeOidcTimeoutsPtrOutput `pulumi:"timeouts"` +} + +// NewCloudProjectKubeOidc registers a new resource with the given unique name, arguments, and options. +func NewCloudProjectKubeOidc(ctx *pulumi.Context, + name string, args *CloudProjectKubeOidcArgs, opts ...pulumi.ResourceOption) (*CloudProjectKubeOidc, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.ClientId == nil { + return nil, errors.New("invalid value for required argument 'ClientId'") + } + if args.IssuerUrl == nil { + return nil, errors.New("invalid value for required argument 'IssuerUrl'") + } + if args.KubeId == nil { + return nil, errors.New("invalid value for required argument 'KubeId'") + } + opts = internal.PkgResourceDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var resource CloudProjectKubeOidc + err = ctx.RegisterPackageResource("ovh:index/cloudProjectKubeOidc:CloudProjectKubeOidc", name, args, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetCloudProjectKubeOidc gets an existing CloudProjectKubeOidc resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetCloudProjectKubeOidc(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *CloudProjectKubeOidcState, opts ...pulumi.ResourceOption) (*CloudProjectKubeOidc, error) { + var resource CloudProjectKubeOidc + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + err = ctx.ReadPackageResource("ovh:index/cloudProjectKubeOidc:CloudProjectKubeOidc", name, id, state, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering CloudProjectKubeOidc resources. +type cloudProjectKubeOidcState struct { + ClientId *string `pulumi:"clientId"` + IssuerUrl *string `pulumi:"issuerUrl"` + KubeId *string `pulumi:"kubeId"` + OidcCaContent *string `pulumi:"oidcCaContent"` + OidcGroupsClaims []string `pulumi:"oidcGroupsClaims"` + OidcGroupsPrefix *string `pulumi:"oidcGroupsPrefix"` + OidcRequiredClaims []string `pulumi:"oidcRequiredClaims"` + OidcSigningAlgs []string `pulumi:"oidcSigningAlgs"` + OidcUsernameClaim *string `pulumi:"oidcUsernameClaim"` + OidcUsernamePrefix *string `pulumi:"oidcUsernamePrefix"` + ServiceName *string `pulumi:"serviceName"` + Timeouts *CloudProjectKubeOidcTimeouts `pulumi:"timeouts"` +} + +type CloudProjectKubeOidcState struct { + ClientId pulumi.StringPtrInput + IssuerUrl pulumi.StringPtrInput + KubeId pulumi.StringPtrInput + OidcCaContent pulumi.StringPtrInput + OidcGroupsClaims pulumi.StringArrayInput + OidcGroupsPrefix pulumi.StringPtrInput + OidcRequiredClaims pulumi.StringArrayInput + OidcSigningAlgs pulumi.StringArrayInput + OidcUsernameClaim pulumi.StringPtrInput + OidcUsernamePrefix pulumi.StringPtrInput + ServiceName pulumi.StringPtrInput + Timeouts CloudProjectKubeOidcTimeoutsPtrInput +} + +func (CloudProjectKubeOidcState) ElementType() reflect.Type { + return reflect.TypeOf((*cloudProjectKubeOidcState)(nil)).Elem() +} + +type cloudProjectKubeOidcArgs struct { + ClientId string `pulumi:"clientId"` + IssuerUrl string `pulumi:"issuerUrl"` + KubeId string `pulumi:"kubeId"` + OidcCaContent *string `pulumi:"oidcCaContent"` + OidcGroupsClaims []string `pulumi:"oidcGroupsClaims"` + OidcGroupsPrefix *string `pulumi:"oidcGroupsPrefix"` + OidcRequiredClaims []string `pulumi:"oidcRequiredClaims"` + OidcSigningAlgs []string `pulumi:"oidcSigningAlgs"` + OidcUsernameClaim *string `pulumi:"oidcUsernameClaim"` + OidcUsernamePrefix *string `pulumi:"oidcUsernamePrefix"` + ServiceName *string `pulumi:"serviceName"` + Timeouts *CloudProjectKubeOidcTimeouts `pulumi:"timeouts"` +} + +// The set of arguments for constructing a CloudProjectKubeOidc resource. +type CloudProjectKubeOidcArgs struct { + ClientId pulumi.StringInput + IssuerUrl pulumi.StringInput + KubeId pulumi.StringInput + OidcCaContent pulumi.StringPtrInput + OidcGroupsClaims pulumi.StringArrayInput + OidcGroupsPrefix pulumi.StringPtrInput + OidcRequiredClaims pulumi.StringArrayInput + OidcSigningAlgs pulumi.StringArrayInput + OidcUsernameClaim pulumi.StringPtrInput + OidcUsernamePrefix pulumi.StringPtrInput + ServiceName pulumi.StringPtrInput + Timeouts CloudProjectKubeOidcTimeoutsPtrInput +} + +func (CloudProjectKubeOidcArgs) ElementType() reflect.Type { + return reflect.TypeOf((*cloudProjectKubeOidcArgs)(nil)).Elem() +} + +type CloudProjectKubeOidcInput interface { + pulumi.Input + + ToCloudProjectKubeOidcOutput() CloudProjectKubeOidcOutput + ToCloudProjectKubeOidcOutputWithContext(ctx context.Context) CloudProjectKubeOidcOutput +} + +func (*CloudProjectKubeOidc) ElementType() reflect.Type { + return reflect.TypeOf((**CloudProjectKubeOidc)(nil)).Elem() +} + +func (i *CloudProjectKubeOidc) ToCloudProjectKubeOidcOutput() CloudProjectKubeOidcOutput { + return i.ToCloudProjectKubeOidcOutputWithContext(context.Background()) +} + +func (i *CloudProjectKubeOidc) ToCloudProjectKubeOidcOutputWithContext(ctx context.Context) CloudProjectKubeOidcOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectKubeOidcOutput) +} + +type CloudProjectKubeOidcOutput struct{ *pulumi.OutputState } + +func (CloudProjectKubeOidcOutput) ElementType() reflect.Type { + return reflect.TypeOf((**CloudProjectKubeOidc)(nil)).Elem() +} + +func (o CloudProjectKubeOidcOutput) ToCloudProjectKubeOidcOutput() CloudProjectKubeOidcOutput { + return o +} + +func (o CloudProjectKubeOidcOutput) ToCloudProjectKubeOidcOutputWithContext(ctx context.Context) CloudProjectKubeOidcOutput { + return o +} + +func (o CloudProjectKubeOidcOutput) ClientId() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectKubeOidc) pulumi.StringOutput { return v.ClientId }).(pulumi.StringOutput) +} + +func (o CloudProjectKubeOidcOutput) IssuerUrl() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectKubeOidc) pulumi.StringOutput { return v.IssuerUrl }).(pulumi.StringOutput) +} + +func (o CloudProjectKubeOidcOutput) KubeId() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectKubeOidc) pulumi.StringOutput { return v.KubeId }).(pulumi.StringOutput) +} + +func (o CloudProjectKubeOidcOutput) OidcCaContent() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudProjectKubeOidc) pulumi.StringPtrOutput { return v.OidcCaContent }).(pulumi.StringPtrOutput) +} + +func (o CloudProjectKubeOidcOutput) OidcGroupsClaims() pulumi.StringArrayOutput { + return o.ApplyT(func(v *CloudProjectKubeOidc) pulumi.StringArrayOutput { return v.OidcGroupsClaims }).(pulumi.StringArrayOutput) +} + +func (o CloudProjectKubeOidcOutput) OidcGroupsPrefix() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudProjectKubeOidc) pulumi.StringPtrOutput { return v.OidcGroupsPrefix }).(pulumi.StringPtrOutput) +} + +func (o CloudProjectKubeOidcOutput) OidcRequiredClaims() pulumi.StringArrayOutput { + return o.ApplyT(func(v *CloudProjectKubeOidc) pulumi.StringArrayOutput { return v.OidcRequiredClaims }).(pulumi.StringArrayOutput) +} + +func (o CloudProjectKubeOidcOutput) OidcSigningAlgs() pulumi.StringArrayOutput { + return o.ApplyT(func(v *CloudProjectKubeOidc) pulumi.StringArrayOutput { return v.OidcSigningAlgs }).(pulumi.StringArrayOutput) +} + +func (o CloudProjectKubeOidcOutput) OidcUsernameClaim() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudProjectKubeOidc) pulumi.StringPtrOutput { return v.OidcUsernameClaim }).(pulumi.StringPtrOutput) +} + +func (o CloudProjectKubeOidcOutput) OidcUsernamePrefix() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudProjectKubeOidc) pulumi.StringPtrOutput { return v.OidcUsernamePrefix }).(pulumi.StringPtrOutput) +} + +func (o CloudProjectKubeOidcOutput) ServiceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudProjectKubeOidc) pulumi.StringPtrOutput { return v.ServiceName }).(pulumi.StringPtrOutput) +} + +func (o CloudProjectKubeOidcOutput) Timeouts() CloudProjectKubeOidcTimeoutsPtrOutput { + return o.ApplyT(func(v *CloudProjectKubeOidc) CloudProjectKubeOidcTimeoutsPtrOutput { return v.Timeouts }).(CloudProjectKubeOidcTimeoutsPtrOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*CloudProjectKubeOidcInput)(nil)).Elem(), &CloudProjectKubeOidc{}) + pulumi.RegisterOutputType(CloudProjectKubeOidcOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectNetworkPrivate.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectNetworkPrivate.go new file mode 100644 index 00000000..b1848c59 --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectNetworkPrivate.go @@ -0,0 +1,191 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type CloudProjectNetworkPrivate struct { + pulumi.CustomResourceState + + Name pulumi.StringOutput `pulumi:"name"` + Regions pulumi.StringArrayOutput `pulumi:"regions"` + RegionsAttributes CloudProjectNetworkPrivateRegionsAttributeArrayOutput `pulumi:"regionsAttributes"` + // Deprecated: Deprecated + RegionsStatuses CloudProjectNetworkPrivateRegionsStatusArrayOutput `pulumi:"regionsStatuses"` + // Service name of the resource representing the id of the cloud project. + ServiceName pulumi.StringPtrOutput `pulumi:"serviceName"` + Status pulumi.StringOutput `pulumi:"status"` + Type pulumi.StringOutput `pulumi:"type"` + VlanId pulumi.Float64PtrOutput `pulumi:"vlanId"` +} + +// NewCloudProjectNetworkPrivate registers a new resource with the given unique name, arguments, and options. +func NewCloudProjectNetworkPrivate(ctx *pulumi.Context, + name string, args *CloudProjectNetworkPrivateArgs, opts ...pulumi.ResourceOption) (*CloudProjectNetworkPrivate, error) { + if args == nil { + args = &CloudProjectNetworkPrivateArgs{} + } + + opts = internal.PkgResourceDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var resource CloudProjectNetworkPrivate + err = ctx.RegisterPackageResource("ovh:index/cloudProjectNetworkPrivate:CloudProjectNetworkPrivate", name, args, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetCloudProjectNetworkPrivate gets an existing CloudProjectNetworkPrivate resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetCloudProjectNetworkPrivate(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *CloudProjectNetworkPrivateState, opts ...pulumi.ResourceOption) (*CloudProjectNetworkPrivate, error) { + var resource CloudProjectNetworkPrivate + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + err = ctx.ReadPackageResource("ovh:index/cloudProjectNetworkPrivate:CloudProjectNetworkPrivate", name, id, state, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering CloudProjectNetworkPrivate resources. +type cloudProjectNetworkPrivateState struct { + Name *string `pulumi:"name"` + Regions []string `pulumi:"regions"` + RegionsAttributes []CloudProjectNetworkPrivateRegionsAttribute `pulumi:"regionsAttributes"` + // Deprecated: Deprecated + RegionsStatuses []CloudProjectNetworkPrivateRegionsStatus `pulumi:"regionsStatuses"` + // Service name of the resource representing the id of the cloud project. + ServiceName *string `pulumi:"serviceName"` + Status *string `pulumi:"status"` + Type *string `pulumi:"type"` + VlanId *float64 `pulumi:"vlanId"` +} + +type CloudProjectNetworkPrivateState struct { + Name pulumi.StringPtrInput + Regions pulumi.StringArrayInput + RegionsAttributes CloudProjectNetworkPrivateRegionsAttributeArrayInput + // Deprecated: Deprecated + RegionsStatuses CloudProjectNetworkPrivateRegionsStatusArrayInput + // Service name of the resource representing the id of the cloud project. + ServiceName pulumi.StringPtrInput + Status pulumi.StringPtrInput + Type pulumi.StringPtrInput + VlanId pulumi.Float64PtrInput +} + +func (CloudProjectNetworkPrivateState) ElementType() reflect.Type { + return reflect.TypeOf((*cloudProjectNetworkPrivateState)(nil)).Elem() +} + +type cloudProjectNetworkPrivateArgs struct { + Name *string `pulumi:"name"` + Regions []string `pulumi:"regions"` + // Service name of the resource representing the id of the cloud project. + ServiceName *string `pulumi:"serviceName"` + VlanId *float64 `pulumi:"vlanId"` +} + +// The set of arguments for constructing a CloudProjectNetworkPrivate resource. +type CloudProjectNetworkPrivateArgs struct { + Name pulumi.StringPtrInput + Regions pulumi.StringArrayInput + // Service name of the resource representing the id of the cloud project. + ServiceName pulumi.StringPtrInput + VlanId pulumi.Float64PtrInput +} + +func (CloudProjectNetworkPrivateArgs) ElementType() reflect.Type { + return reflect.TypeOf((*cloudProjectNetworkPrivateArgs)(nil)).Elem() +} + +type CloudProjectNetworkPrivateInput interface { + pulumi.Input + + ToCloudProjectNetworkPrivateOutput() CloudProjectNetworkPrivateOutput + ToCloudProjectNetworkPrivateOutputWithContext(ctx context.Context) CloudProjectNetworkPrivateOutput +} + +func (*CloudProjectNetworkPrivate) ElementType() reflect.Type { + return reflect.TypeOf((**CloudProjectNetworkPrivate)(nil)).Elem() +} + +func (i *CloudProjectNetworkPrivate) ToCloudProjectNetworkPrivateOutput() CloudProjectNetworkPrivateOutput { + return i.ToCloudProjectNetworkPrivateOutputWithContext(context.Background()) +} + +func (i *CloudProjectNetworkPrivate) ToCloudProjectNetworkPrivateOutputWithContext(ctx context.Context) CloudProjectNetworkPrivateOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectNetworkPrivateOutput) +} + +type CloudProjectNetworkPrivateOutput struct{ *pulumi.OutputState } + +func (CloudProjectNetworkPrivateOutput) ElementType() reflect.Type { + return reflect.TypeOf((**CloudProjectNetworkPrivate)(nil)).Elem() +} + +func (o CloudProjectNetworkPrivateOutput) ToCloudProjectNetworkPrivateOutput() CloudProjectNetworkPrivateOutput { + return o +} + +func (o CloudProjectNetworkPrivateOutput) ToCloudProjectNetworkPrivateOutputWithContext(ctx context.Context) CloudProjectNetworkPrivateOutput { + return o +} + +func (o CloudProjectNetworkPrivateOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectNetworkPrivate) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +func (o CloudProjectNetworkPrivateOutput) Regions() pulumi.StringArrayOutput { + return o.ApplyT(func(v *CloudProjectNetworkPrivate) pulumi.StringArrayOutput { return v.Regions }).(pulumi.StringArrayOutput) +} + +func (o CloudProjectNetworkPrivateOutput) RegionsAttributes() CloudProjectNetworkPrivateRegionsAttributeArrayOutput { + return o.ApplyT(func(v *CloudProjectNetworkPrivate) CloudProjectNetworkPrivateRegionsAttributeArrayOutput { + return v.RegionsAttributes + }).(CloudProjectNetworkPrivateRegionsAttributeArrayOutput) +} + +// Deprecated: Deprecated +func (o CloudProjectNetworkPrivateOutput) RegionsStatuses() CloudProjectNetworkPrivateRegionsStatusArrayOutput { + return o.ApplyT(func(v *CloudProjectNetworkPrivate) CloudProjectNetworkPrivateRegionsStatusArrayOutput { + return v.RegionsStatuses + }).(CloudProjectNetworkPrivateRegionsStatusArrayOutput) +} + +// Service name of the resource representing the id of the cloud project. +func (o CloudProjectNetworkPrivateOutput) ServiceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudProjectNetworkPrivate) pulumi.StringPtrOutput { return v.ServiceName }).(pulumi.StringPtrOutput) +} + +func (o CloudProjectNetworkPrivateOutput) Status() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectNetworkPrivate) pulumi.StringOutput { return v.Status }).(pulumi.StringOutput) +} + +func (o CloudProjectNetworkPrivateOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectNetworkPrivate) pulumi.StringOutput { return v.Type }).(pulumi.StringOutput) +} + +func (o CloudProjectNetworkPrivateOutput) VlanId() pulumi.Float64PtrOutput { + return o.ApplyT(func(v *CloudProjectNetworkPrivate) pulumi.Float64PtrOutput { return v.VlanId }).(pulumi.Float64PtrOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*CloudProjectNetworkPrivateInput)(nil)).Elem(), &CloudProjectNetworkPrivate{}) + pulumi.RegisterOutputType(CloudProjectNetworkPrivateOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectNetworkPrivateSubnet.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectNetworkPrivateSubnet.go new file mode 100644 index 00000000..e4d99f15 --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectNetworkPrivateSubnet.go @@ -0,0 +1,230 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type CloudProjectNetworkPrivateSubnet struct { + pulumi.CustomResourceState + + Cidr pulumi.StringOutput `pulumi:"cidr"` + Dhcp pulumi.BoolPtrOutput `pulumi:"dhcp"` + End pulumi.StringOutput `pulumi:"end"` + GatewayIp pulumi.StringOutput `pulumi:"gatewayIp"` + IpPools CloudProjectNetworkPrivateSubnetIpPoolArrayOutput `pulumi:"ipPools"` + Network pulumi.StringOutput `pulumi:"network"` + NetworkId pulumi.StringOutput `pulumi:"networkId"` + NoGateway pulumi.BoolPtrOutput `pulumi:"noGateway"` + Region pulumi.StringOutput `pulumi:"region"` + // Service name of the resource representing the id of the cloud project. + ServiceName pulumi.StringPtrOutput `pulumi:"serviceName"` + Start pulumi.StringOutput `pulumi:"start"` +} + +// NewCloudProjectNetworkPrivateSubnet registers a new resource with the given unique name, arguments, and options. +func NewCloudProjectNetworkPrivateSubnet(ctx *pulumi.Context, + name string, args *CloudProjectNetworkPrivateSubnetArgs, opts ...pulumi.ResourceOption) (*CloudProjectNetworkPrivateSubnet, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.End == nil { + return nil, errors.New("invalid value for required argument 'End'") + } + if args.Network == nil { + return nil, errors.New("invalid value for required argument 'Network'") + } + if args.NetworkId == nil { + return nil, errors.New("invalid value for required argument 'NetworkId'") + } + if args.Region == nil { + return nil, errors.New("invalid value for required argument 'Region'") + } + if args.Start == nil { + return nil, errors.New("invalid value for required argument 'Start'") + } + opts = internal.PkgResourceDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var resource CloudProjectNetworkPrivateSubnet + err = ctx.RegisterPackageResource("ovh:index/cloudProjectNetworkPrivateSubnet:CloudProjectNetworkPrivateSubnet", name, args, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetCloudProjectNetworkPrivateSubnet gets an existing CloudProjectNetworkPrivateSubnet resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetCloudProjectNetworkPrivateSubnet(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *CloudProjectNetworkPrivateSubnetState, opts ...pulumi.ResourceOption) (*CloudProjectNetworkPrivateSubnet, error) { + var resource CloudProjectNetworkPrivateSubnet + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + err = ctx.ReadPackageResource("ovh:index/cloudProjectNetworkPrivateSubnet:CloudProjectNetworkPrivateSubnet", name, id, state, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering CloudProjectNetworkPrivateSubnet resources. +type cloudProjectNetworkPrivateSubnetState struct { + Cidr *string `pulumi:"cidr"` + Dhcp *bool `pulumi:"dhcp"` + End *string `pulumi:"end"` + GatewayIp *string `pulumi:"gatewayIp"` + IpPools []CloudProjectNetworkPrivateSubnetIpPool `pulumi:"ipPools"` + Network *string `pulumi:"network"` + NetworkId *string `pulumi:"networkId"` + NoGateway *bool `pulumi:"noGateway"` + Region *string `pulumi:"region"` + // Service name of the resource representing the id of the cloud project. + ServiceName *string `pulumi:"serviceName"` + Start *string `pulumi:"start"` +} + +type CloudProjectNetworkPrivateSubnetState struct { + Cidr pulumi.StringPtrInput + Dhcp pulumi.BoolPtrInput + End pulumi.StringPtrInput + GatewayIp pulumi.StringPtrInput + IpPools CloudProjectNetworkPrivateSubnetIpPoolArrayInput + Network pulumi.StringPtrInput + NetworkId pulumi.StringPtrInput + NoGateway pulumi.BoolPtrInput + Region pulumi.StringPtrInput + // Service name of the resource representing the id of the cloud project. + ServiceName pulumi.StringPtrInput + Start pulumi.StringPtrInput +} + +func (CloudProjectNetworkPrivateSubnetState) ElementType() reflect.Type { + return reflect.TypeOf((*cloudProjectNetworkPrivateSubnetState)(nil)).Elem() +} + +type cloudProjectNetworkPrivateSubnetArgs struct { + Dhcp *bool `pulumi:"dhcp"` + End string `pulumi:"end"` + Network string `pulumi:"network"` + NetworkId string `pulumi:"networkId"` + NoGateway *bool `pulumi:"noGateway"` + Region string `pulumi:"region"` + // Service name of the resource representing the id of the cloud project. + ServiceName *string `pulumi:"serviceName"` + Start string `pulumi:"start"` +} + +// The set of arguments for constructing a CloudProjectNetworkPrivateSubnet resource. +type CloudProjectNetworkPrivateSubnetArgs struct { + Dhcp pulumi.BoolPtrInput + End pulumi.StringInput + Network pulumi.StringInput + NetworkId pulumi.StringInput + NoGateway pulumi.BoolPtrInput + Region pulumi.StringInput + // Service name of the resource representing the id of the cloud project. + ServiceName pulumi.StringPtrInput + Start pulumi.StringInput +} + +func (CloudProjectNetworkPrivateSubnetArgs) ElementType() reflect.Type { + return reflect.TypeOf((*cloudProjectNetworkPrivateSubnetArgs)(nil)).Elem() +} + +type CloudProjectNetworkPrivateSubnetInput interface { + pulumi.Input + + ToCloudProjectNetworkPrivateSubnetOutput() CloudProjectNetworkPrivateSubnetOutput + ToCloudProjectNetworkPrivateSubnetOutputWithContext(ctx context.Context) CloudProjectNetworkPrivateSubnetOutput +} + +func (*CloudProjectNetworkPrivateSubnet) ElementType() reflect.Type { + return reflect.TypeOf((**CloudProjectNetworkPrivateSubnet)(nil)).Elem() +} + +func (i *CloudProjectNetworkPrivateSubnet) ToCloudProjectNetworkPrivateSubnetOutput() CloudProjectNetworkPrivateSubnetOutput { + return i.ToCloudProjectNetworkPrivateSubnetOutputWithContext(context.Background()) +} + +func (i *CloudProjectNetworkPrivateSubnet) ToCloudProjectNetworkPrivateSubnetOutputWithContext(ctx context.Context) CloudProjectNetworkPrivateSubnetOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectNetworkPrivateSubnetOutput) +} + +type CloudProjectNetworkPrivateSubnetOutput struct{ *pulumi.OutputState } + +func (CloudProjectNetworkPrivateSubnetOutput) ElementType() reflect.Type { + return reflect.TypeOf((**CloudProjectNetworkPrivateSubnet)(nil)).Elem() +} + +func (o CloudProjectNetworkPrivateSubnetOutput) ToCloudProjectNetworkPrivateSubnetOutput() CloudProjectNetworkPrivateSubnetOutput { + return o +} + +func (o CloudProjectNetworkPrivateSubnetOutput) ToCloudProjectNetworkPrivateSubnetOutputWithContext(ctx context.Context) CloudProjectNetworkPrivateSubnetOutput { + return o +} + +func (o CloudProjectNetworkPrivateSubnetOutput) Cidr() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectNetworkPrivateSubnet) pulumi.StringOutput { return v.Cidr }).(pulumi.StringOutput) +} + +func (o CloudProjectNetworkPrivateSubnetOutput) Dhcp() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *CloudProjectNetworkPrivateSubnet) pulumi.BoolPtrOutput { return v.Dhcp }).(pulumi.BoolPtrOutput) +} + +func (o CloudProjectNetworkPrivateSubnetOutput) End() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectNetworkPrivateSubnet) pulumi.StringOutput { return v.End }).(pulumi.StringOutput) +} + +func (o CloudProjectNetworkPrivateSubnetOutput) GatewayIp() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectNetworkPrivateSubnet) pulumi.StringOutput { return v.GatewayIp }).(pulumi.StringOutput) +} + +func (o CloudProjectNetworkPrivateSubnetOutput) IpPools() CloudProjectNetworkPrivateSubnetIpPoolArrayOutput { + return o.ApplyT(func(v *CloudProjectNetworkPrivateSubnet) CloudProjectNetworkPrivateSubnetIpPoolArrayOutput { + return v.IpPools + }).(CloudProjectNetworkPrivateSubnetIpPoolArrayOutput) +} + +func (o CloudProjectNetworkPrivateSubnetOutput) Network() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectNetworkPrivateSubnet) pulumi.StringOutput { return v.Network }).(pulumi.StringOutput) +} + +func (o CloudProjectNetworkPrivateSubnetOutput) NetworkId() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectNetworkPrivateSubnet) pulumi.StringOutput { return v.NetworkId }).(pulumi.StringOutput) +} + +func (o CloudProjectNetworkPrivateSubnetOutput) NoGateway() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *CloudProjectNetworkPrivateSubnet) pulumi.BoolPtrOutput { return v.NoGateway }).(pulumi.BoolPtrOutput) +} + +func (o CloudProjectNetworkPrivateSubnetOutput) Region() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectNetworkPrivateSubnet) pulumi.StringOutput { return v.Region }).(pulumi.StringOutput) +} + +// Service name of the resource representing the id of the cloud project. +func (o CloudProjectNetworkPrivateSubnetOutput) ServiceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudProjectNetworkPrivateSubnet) pulumi.StringPtrOutput { return v.ServiceName }).(pulumi.StringPtrOutput) +} + +func (o CloudProjectNetworkPrivateSubnetOutput) Start() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectNetworkPrivateSubnet) pulumi.StringOutput { return v.Start }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*CloudProjectNetworkPrivateSubnetInput)(nil)).Elem(), &CloudProjectNetworkPrivateSubnet{}) + pulumi.RegisterOutputType(CloudProjectNetworkPrivateSubnetOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectRegionLoadbalancerLogSubscription.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectRegionLoadbalancerLogSubscription.go new file mode 100644 index 00000000..ff0ce6a8 --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectRegionLoadbalancerLogSubscription.go @@ -0,0 +1,278 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type CloudProjectRegionLoadbalancerLogSubscription struct { + pulumi.CustomResourceState + + // Creation date of the subscription + CreatedAt pulumi.StringOutput `pulumi:"createdAt"` + // Log kind name of this subscription + Kind pulumi.StringOutput `pulumi:"kind"` + // Name of the destination log service + LdpServiceName pulumi.StringOutput `pulumi:"ldpServiceName"` + // ID representing the loadbalancer of the resource + LoadbalancerId pulumi.StringOutput `pulumi:"loadbalancerId"` + // Identifier of the operation + OperationId pulumi.StringOutput `pulumi:"operationId"` + // Region name of the resource representing the name of the region. + RegionName pulumi.StringOutput `pulumi:"regionName"` + // Name of subscribed resource, where the logs come from + ResourceName pulumi.StringOutput `pulumi:"resourceName"` + // Type of subscribed resource, where the logs come from + ResourceType pulumi.StringOutput `pulumi:"resourceType"` + // Service name of the resource representing the id of the cloud project. + ServiceName pulumi.StringPtrOutput `pulumi:"serviceName"` + // ID representing the stream of the resource + StreamId pulumi.StringOutput `pulumi:"streamId"` + // Id of the subscription + SubscriptionId pulumi.StringOutput `pulumi:"subscriptionId"` + // Last update date of the subscription + UpdatedAt pulumi.StringOutput `pulumi:"updatedAt"` +} + +// NewCloudProjectRegionLoadbalancerLogSubscription registers a new resource with the given unique name, arguments, and options. +func NewCloudProjectRegionLoadbalancerLogSubscription(ctx *pulumi.Context, + name string, args *CloudProjectRegionLoadbalancerLogSubscriptionArgs, opts ...pulumi.ResourceOption) (*CloudProjectRegionLoadbalancerLogSubscription, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.Kind == nil { + return nil, errors.New("invalid value for required argument 'Kind'") + } + if args.LoadbalancerId == nil { + return nil, errors.New("invalid value for required argument 'LoadbalancerId'") + } + if args.RegionName == nil { + return nil, errors.New("invalid value for required argument 'RegionName'") + } + if args.StreamId == nil { + return nil, errors.New("invalid value for required argument 'StreamId'") + } + opts = internal.PkgResourceDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var resource CloudProjectRegionLoadbalancerLogSubscription + err = ctx.RegisterPackageResource("ovh:index/cloudProjectRegionLoadbalancerLogSubscription:CloudProjectRegionLoadbalancerLogSubscription", name, args, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetCloudProjectRegionLoadbalancerLogSubscription gets an existing CloudProjectRegionLoadbalancerLogSubscription resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetCloudProjectRegionLoadbalancerLogSubscription(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *CloudProjectRegionLoadbalancerLogSubscriptionState, opts ...pulumi.ResourceOption) (*CloudProjectRegionLoadbalancerLogSubscription, error) { + var resource CloudProjectRegionLoadbalancerLogSubscription + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + err = ctx.ReadPackageResource("ovh:index/cloudProjectRegionLoadbalancerLogSubscription:CloudProjectRegionLoadbalancerLogSubscription", name, id, state, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering CloudProjectRegionLoadbalancerLogSubscription resources. +type cloudProjectRegionLoadbalancerLogSubscriptionState struct { + // Creation date of the subscription + CreatedAt *string `pulumi:"createdAt"` + // Log kind name of this subscription + Kind *string `pulumi:"kind"` + // Name of the destination log service + LdpServiceName *string `pulumi:"ldpServiceName"` + // ID representing the loadbalancer of the resource + LoadbalancerId *string `pulumi:"loadbalancerId"` + // Identifier of the operation + OperationId *string `pulumi:"operationId"` + // Region name of the resource representing the name of the region. + RegionName *string `pulumi:"regionName"` + // Name of subscribed resource, where the logs come from + ResourceName *string `pulumi:"resourceName"` + // Type of subscribed resource, where the logs come from + ResourceType *string `pulumi:"resourceType"` + // Service name of the resource representing the id of the cloud project. + ServiceName *string `pulumi:"serviceName"` + // ID representing the stream of the resource + StreamId *string `pulumi:"streamId"` + // Id of the subscription + SubscriptionId *string `pulumi:"subscriptionId"` + // Last update date of the subscription + UpdatedAt *string `pulumi:"updatedAt"` +} + +type CloudProjectRegionLoadbalancerLogSubscriptionState struct { + // Creation date of the subscription + CreatedAt pulumi.StringPtrInput + // Log kind name of this subscription + Kind pulumi.StringPtrInput + // Name of the destination log service + LdpServiceName pulumi.StringPtrInput + // ID representing the loadbalancer of the resource + LoadbalancerId pulumi.StringPtrInput + // Identifier of the operation + OperationId pulumi.StringPtrInput + // Region name of the resource representing the name of the region. + RegionName pulumi.StringPtrInput + // Name of subscribed resource, where the logs come from + ResourceName pulumi.StringPtrInput + // Type of subscribed resource, where the logs come from + ResourceType pulumi.StringPtrInput + // Service name of the resource representing the id of the cloud project. + ServiceName pulumi.StringPtrInput + // ID representing the stream of the resource + StreamId pulumi.StringPtrInput + // Id of the subscription + SubscriptionId pulumi.StringPtrInput + // Last update date of the subscription + UpdatedAt pulumi.StringPtrInput +} + +func (CloudProjectRegionLoadbalancerLogSubscriptionState) ElementType() reflect.Type { + return reflect.TypeOf((*cloudProjectRegionLoadbalancerLogSubscriptionState)(nil)).Elem() +} + +type cloudProjectRegionLoadbalancerLogSubscriptionArgs struct { + // Log kind name of this subscription + Kind string `pulumi:"kind"` + // ID representing the loadbalancer of the resource + LoadbalancerId string `pulumi:"loadbalancerId"` + // Region name of the resource representing the name of the region. + RegionName string `pulumi:"regionName"` + // Service name of the resource representing the id of the cloud project. + ServiceName *string `pulumi:"serviceName"` + // ID representing the stream of the resource + StreamId string `pulumi:"streamId"` +} + +// The set of arguments for constructing a CloudProjectRegionLoadbalancerLogSubscription resource. +type CloudProjectRegionLoadbalancerLogSubscriptionArgs struct { + // Log kind name of this subscription + Kind pulumi.StringInput + // ID representing the loadbalancer of the resource + LoadbalancerId pulumi.StringInput + // Region name of the resource representing the name of the region. + RegionName pulumi.StringInput + // Service name of the resource representing the id of the cloud project. + ServiceName pulumi.StringPtrInput + // ID representing the stream of the resource + StreamId pulumi.StringInput +} + +func (CloudProjectRegionLoadbalancerLogSubscriptionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*cloudProjectRegionLoadbalancerLogSubscriptionArgs)(nil)).Elem() +} + +type CloudProjectRegionLoadbalancerLogSubscriptionInput interface { + pulumi.Input + + ToCloudProjectRegionLoadbalancerLogSubscriptionOutput() CloudProjectRegionLoadbalancerLogSubscriptionOutput + ToCloudProjectRegionLoadbalancerLogSubscriptionOutputWithContext(ctx context.Context) CloudProjectRegionLoadbalancerLogSubscriptionOutput +} + +func (*CloudProjectRegionLoadbalancerLogSubscription) ElementType() reflect.Type { + return reflect.TypeOf((**CloudProjectRegionLoadbalancerLogSubscription)(nil)).Elem() +} + +func (i *CloudProjectRegionLoadbalancerLogSubscription) ToCloudProjectRegionLoadbalancerLogSubscriptionOutput() CloudProjectRegionLoadbalancerLogSubscriptionOutput { + return i.ToCloudProjectRegionLoadbalancerLogSubscriptionOutputWithContext(context.Background()) +} + +func (i *CloudProjectRegionLoadbalancerLogSubscription) ToCloudProjectRegionLoadbalancerLogSubscriptionOutputWithContext(ctx context.Context) CloudProjectRegionLoadbalancerLogSubscriptionOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectRegionLoadbalancerLogSubscriptionOutput) +} + +type CloudProjectRegionLoadbalancerLogSubscriptionOutput struct{ *pulumi.OutputState } + +func (CloudProjectRegionLoadbalancerLogSubscriptionOutput) ElementType() reflect.Type { + return reflect.TypeOf((**CloudProjectRegionLoadbalancerLogSubscription)(nil)).Elem() +} + +func (o CloudProjectRegionLoadbalancerLogSubscriptionOutput) ToCloudProjectRegionLoadbalancerLogSubscriptionOutput() CloudProjectRegionLoadbalancerLogSubscriptionOutput { + return o +} + +func (o CloudProjectRegionLoadbalancerLogSubscriptionOutput) ToCloudProjectRegionLoadbalancerLogSubscriptionOutputWithContext(ctx context.Context) CloudProjectRegionLoadbalancerLogSubscriptionOutput { + return o +} + +// Creation date of the subscription +func (o CloudProjectRegionLoadbalancerLogSubscriptionOutput) CreatedAt() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectRegionLoadbalancerLogSubscription) pulumi.StringOutput { return v.CreatedAt }).(pulumi.StringOutput) +} + +// Log kind name of this subscription +func (o CloudProjectRegionLoadbalancerLogSubscriptionOutput) Kind() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectRegionLoadbalancerLogSubscription) pulumi.StringOutput { return v.Kind }).(pulumi.StringOutput) +} + +// Name of the destination log service +func (o CloudProjectRegionLoadbalancerLogSubscriptionOutput) LdpServiceName() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectRegionLoadbalancerLogSubscription) pulumi.StringOutput { return v.LdpServiceName }).(pulumi.StringOutput) +} + +// ID representing the loadbalancer of the resource +func (o CloudProjectRegionLoadbalancerLogSubscriptionOutput) LoadbalancerId() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectRegionLoadbalancerLogSubscription) pulumi.StringOutput { return v.LoadbalancerId }).(pulumi.StringOutput) +} + +// Identifier of the operation +func (o CloudProjectRegionLoadbalancerLogSubscriptionOutput) OperationId() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectRegionLoadbalancerLogSubscription) pulumi.StringOutput { return v.OperationId }).(pulumi.StringOutput) +} + +// Region name of the resource representing the name of the region. +func (o CloudProjectRegionLoadbalancerLogSubscriptionOutput) RegionName() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectRegionLoadbalancerLogSubscription) pulumi.StringOutput { return v.RegionName }).(pulumi.StringOutput) +} + +// Name of subscribed resource, where the logs come from +func (o CloudProjectRegionLoadbalancerLogSubscriptionOutput) ResourceName() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectRegionLoadbalancerLogSubscription) pulumi.StringOutput { return v.ResourceName }).(pulumi.StringOutput) +} + +// Type of subscribed resource, where the logs come from +func (o CloudProjectRegionLoadbalancerLogSubscriptionOutput) ResourceType() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectRegionLoadbalancerLogSubscription) pulumi.StringOutput { return v.ResourceType }).(pulumi.StringOutput) +} + +// Service name of the resource representing the id of the cloud project. +func (o CloudProjectRegionLoadbalancerLogSubscriptionOutput) ServiceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudProjectRegionLoadbalancerLogSubscription) pulumi.StringPtrOutput { return v.ServiceName }).(pulumi.StringPtrOutput) +} + +// ID representing the stream of the resource +func (o CloudProjectRegionLoadbalancerLogSubscriptionOutput) StreamId() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectRegionLoadbalancerLogSubscription) pulumi.StringOutput { return v.StreamId }).(pulumi.StringOutput) +} + +// Id of the subscription +func (o CloudProjectRegionLoadbalancerLogSubscriptionOutput) SubscriptionId() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectRegionLoadbalancerLogSubscription) pulumi.StringOutput { return v.SubscriptionId }).(pulumi.StringOutput) +} + +// Last update date of the subscription +func (o CloudProjectRegionLoadbalancerLogSubscriptionOutput) UpdatedAt() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectRegionLoadbalancerLogSubscription) pulumi.StringOutput { return v.UpdatedAt }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*CloudProjectRegionLoadbalancerLogSubscriptionInput)(nil)).Elem(), &CloudProjectRegionLoadbalancerLogSubscription{}) + pulumi.RegisterOutputType(CloudProjectRegionLoadbalancerLogSubscriptionOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectRegionStoragePresign.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectRegionStoragePresign.go new file mode 100644 index 00000000..351c8e78 --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectRegionStoragePresign.go @@ -0,0 +1,221 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type CloudProjectRegionStoragePresign struct { + pulumi.CustomResourceState + + // How long (in seconds) the URL will be valid. + Expire pulumi.Float64Output `pulumi:"expire"` + Method pulumi.StringOutput `pulumi:"method"` + // The S3 storage container's name. + Name pulumi.StringOutput `pulumi:"name"` + // Name of the object to download or upload. + Object pulumi.StringOutput `pulumi:"object"` + // Region name. + RegionName pulumi.StringOutput `pulumi:"regionName"` + // Service name of the resource representing the ID of the cloud project. + ServiceName pulumi.StringPtrOutput `pulumi:"serviceName"` + // Presigned URL. + Url pulumi.StringOutput `pulumi:"url"` +} + +// NewCloudProjectRegionStoragePresign registers a new resource with the given unique name, arguments, and options. +func NewCloudProjectRegionStoragePresign(ctx *pulumi.Context, + name string, args *CloudProjectRegionStoragePresignArgs, opts ...pulumi.ResourceOption) (*CloudProjectRegionStoragePresign, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.Expire == nil { + return nil, errors.New("invalid value for required argument 'Expire'") + } + if args.Method == nil { + return nil, errors.New("invalid value for required argument 'Method'") + } + if args.Object == nil { + return nil, errors.New("invalid value for required argument 'Object'") + } + if args.RegionName == nil { + return nil, errors.New("invalid value for required argument 'RegionName'") + } + opts = internal.PkgResourceDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var resource CloudProjectRegionStoragePresign + err = ctx.RegisterPackageResource("ovh:index/cloudProjectRegionStoragePresign:CloudProjectRegionStoragePresign", name, args, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetCloudProjectRegionStoragePresign gets an existing CloudProjectRegionStoragePresign resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetCloudProjectRegionStoragePresign(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *CloudProjectRegionStoragePresignState, opts ...pulumi.ResourceOption) (*CloudProjectRegionStoragePresign, error) { + var resource CloudProjectRegionStoragePresign + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + err = ctx.ReadPackageResource("ovh:index/cloudProjectRegionStoragePresign:CloudProjectRegionStoragePresign", name, id, state, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering CloudProjectRegionStoragePresign resources. +type cloudProjectRegionStoragePresignState struct { + // How long (in seconds) the URL will be valid. + Expire *float64 `pulumi:"expire"` + Method *string `pulumi:"method"` + // The S3 storage container's name. + Name *string `pulumi:"name"` + // Name of the object to download or upload. + Object *string `pulumi:"object"` + // Region name. + RegionName *string `pulumi:"regionName"` + // Service name of the resource representing the ID of the cloud project. + ServiceName *string `pulumi:"serviceName"` + // Presigned URL. + Url *string `pulumi:"url"` +} + +type CloudProjectRegionStoragePresignState struct { + // How long (in seconds) the URL will be valid. + Expire pulumi.Float64PtrInput + Method pulumi.StringPtrInput + // The S3 storage container's name. + Name pulumi.StringPtrInput + // Name of the object to download or upload. + Object pulumi.StringPtrInput + // Region name. + RegionName pulumi.StringPtrInput + // Service name of the resource representing the ID of the cloud project. + ServiceName pulumi.StringPtrInput + // Presigned URL. + Url pulumi.StringPtrInput +} + +func (CloudProjectRegionStoragePresignState) ElementType() reflect.Type { + return reflect.TypeOf((*cloudProjectRegionStoragePresignState)(nil)).Elem() +} + +type cloudProjectRegionStoragePresignArgs struct { + // How long (in seconds) the URL will be valid. + Expire float64 `pulumi:"expire"` + Method string `pulumi:"method"` + // The S3 storage container's name. + Name *string `pulumi:"name"` + // Name of the object to download or upload. + Object string `pulumi:"object"` + // Region name. + RegionName string `pulumi:"regionName"` + // Service name of the resource representing the ID of the cloud project. + ServiceName *string `pulumi:"serviceName"` +} + +// The set of arguments for constructing a CloudProjectRegionStoragePresign resource. +type CloudProjectRegionStoragePresignArgs struct { + // How long (in seconds) the URL will be valid. + Expire pulumi.Float64Input + Method pulumi.StringInput + // The S3 storage container's name. + Name pulumi.StringPtrInput + // Name of the object to download or upload. + Object pulumi.StringInput + // Region name. + RegionName pulumi.StringInput + // Service name of the resource representing the ID of the cloud project. + ServiceName pulumi.StringPtrInput +} + +func (CloudProjectRegionStoragePresignArgs) ElementType() reflect.Type { + return reflect.TypeOf((*cloudProjectRegionStoragePresignArgs)(nil)).Elem() +} + +type CloudProjectRegionStoragePresignInput interface { + pulumi.Input + + ToCloudProjectRegionStoragePresignOutput() CloudProjectRegionStoragePresignOutput + ToCloudProjectRegionStoragePresignOutputWithContext(ctx context.Context) CloudProjectRegionStoragePresignOutput +} + +func (*CloudProjectRegionStoragePresign) ElementType() reflect.Type { + return reflect.TypeOf((**CloudProjectRegionStoragePresign)(nil)).Elem() +} + +func (i *CloudProjectRegionStoragePresign) ToCloudProjectRegionStoragePresignOutput() CloudProjectRegionStoragePresignOutput { + return i.ToCloudProjectRegionStoragePresignOutputWithContext(context.Background()) +} + +func (i *CloudProjectRegionStoragePresign) ToCloudProjectRegionStoragePresignOutputWithContext(ctx context.Context) CloudProjectRegionStoragePresignOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectRegionStoragePresignOutput) +} + +type CloudProjectRegionStoragePresignOutput struct{ *pulumi.OutputState } + +func (CloudProjectRegionStoragePresignOutput) ElementType() reflect.Type { + return reflect.TypeOf((**CloudProjectRegionStoragePresign)(nil)).Elem() +} + +func (o CloudProjectRegionStoragePresignOutput) ToCloudProjectRegionStoragePresignOutput() CloudProjectRegionStoragePresignOutput { + return o +} + +func (o CloudProjectRegionStoragePresignOutput) ToCloudProjectRegionStoragePresignOutputWithContext(ctx context.Context) CloudProjectRegionStoragePresignOutput { + return o +} + +// How long (in seconds) the URL will be valid. +func (o CloudProjectRegionStoragePresignOutput) Expire() pulumi.Float64Output { + return o.ApplyT(func(v *CloudProjectRegionStoragePresign) pulumi.Float64Output { return v.Expire }).(pulumi.Float64Output) +} + +func (o CloudProjectRegionStoragePresignOutput) Method() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectRegionStoragePresign) pulumi.StringOutput { return v.Method }).(pulumi.StringOutput) +} + +// The S3 storage container's name. +func (o CloudProjectRegionStoragePresignOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectRegionStoragePresign) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +// Name of the object to download or upload. +func (o CloudProjectRegionStoragePresignOutput) Object() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectRegionStoragePresign) pulumi.StringOutput { return v.Object }).(pulumi.StringOutput) +} + +// Region name. +func (o CloudProjectRegionStoragePresignOutput) RegionName() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectRegionStoragePresign) pulumi.StringOutput { return v.RegionName }).(pulumi.StringOutput) +} + +// Service name of the resource representing the ID of the cloud project. +func (o CloudProjectRegionStoragePresignOutput) ServiceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudProjectRegionStoragePresign) pulumi.StringPtrOutput { return v.ServiceName }).(pulumi.StringPtrOutput) +} + +// Presigned URL. +func (o CloudProjectRegionStoragePresignOutput) Url() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectRegionStoragePresign) pulumi.StringOutput { return v.Url }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*CloudProjectRegionStoragePresignInput)(nil)).Elem(), &CloudProjectRegionStoragePresign{}) + pulumi.RegisterOutputType(CloudProjectRegionStoragePresignOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectUser.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectUser.go new file mode 100644 index 00000000..215fe9fa --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectUser.go @@ -0,0 +1,203 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type CloudProjectUser struct { + pulumi.CustomResourceState + + CreationDate pulumi.StringOutput `pulumi:"creationDate"` + Description pulumi.StringPtrOutput `pulumi:"description"` + OpenstackRc pulumi.StringMapOutput `pulumi:"openstackRc"` + Password pulumi.StringOutput `pulumi:"password"` + RoleName pulumi.StringPtrOutput `pulumi:"roleName"` + RoleNames pulumi.StringArrayOutput `pulumi:"roleNames"` + Roles CloudProjectUserRoleArrayOutput `pulumi:"roles"` + // Service name of the resource representing the id of the cloud project. + ServiceName pulumi.StringPtrOutput `pulumi:"serviceName"` + Status pulumi.StringOutput `pulumi:"status"` + Username pulumi.StringOutput `pulumi:"username"` +} + +// NewCloudProjectUser registers a new resource with the given unique name, arguments, and options. +func NewCloudProjectUser(ctx *pulumi.Context, + name string, args *CloudProjectUserArgs, opts ...pulumi.ResourceOption) (*CloudProjectUser, error) { + if args == nil { + args = &CloudProjectUserArgs{} + } + + secrets := pulumi.AdditionalSecretOutputs([]string{ + "password", + }) + opts = append(opts, secrets) + opts = internal.PkgResourceDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var resource CloudProjectUser + err = ctx.RegisterPackageResource("ovh:index/cloudProjectUser:CloudProjectUser", name, args, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetCloudProjectUser gets an existing CloudProjectUser resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetCloudProjectUser(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *CloudProjectUserState, opts ...pulumi.ResourceOption) (*CloudProjectUser, error) { + var resource CloudProjectUser + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + err = ctx.ReadPackageResource("ovh:index/cloudProjectUser:CloudProjectUser", name, id, state, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering CloudProjectUser resources. +type cloudProjectUserState struct { + CreationDate *string `pulumi:"creationDate"` + Description *string `pulumi:"description"` + OpenstackRc map[string]string `pulumi:"openstackRc"` + Password *string `pulumi:"password"` + RoleName *string `pulumi:"roleName"` + RoleNames []string `pulumi:"roleNames"` + Roles []CloudProjectUserRole `pulumi:"roles"` + // Service name of the resource representing the id of the cloud project. + ServiceName *string `pulumi:"serviceName"` + Status *string `pulumi:"status"` + Username *string `pulumi:"username"` +} + +type CloudProjectUserState struct { + CreationDate pulumi.StringPtrInput + Description pulumi.StringPtrInput + OpenstackRc pulumi.StringMapInput + Password pulumi.StringPtrInput + RoleName pulumi.StringPtrInput + RoleNames pulumi.StringArrayInput + Roles CloudProjectUserRoleArrayInput + // Service name of the resource representing the id of the cloud project. + ServiceName pulumi.StringPtrInput + Status pulumi.StringPtrInput + Username pulumi.StringPtrInput +} + +func (CloudProjectUserState) ElementType() reflect.Type { + return reflect.TypeOf((*cloudProjectUserState)(nil)).Elem() +} + +type cloudProjectUserArgs struct { + Description *string `pulumi:"description"` + OpenstackRc map[string]string `pulumi:"openstackRc"` + RoleName *string `pulumi:"roleName"` + RoleNames []string `pulumi:"roleNames"` + // Service name of the resource representing the id of the cloud project. + ServiceName *string `pulumi:"serviceName"` +} + +// The set of arguments for constructing a CloudProjectUser resource. +type CloudProjectUserArgs struct { + Description pulumi.StringPtrInput + OpenstackRc pulumi.StringMapInput + RoleName pulumi.StringPtrInput + RoleNames pulumi.StringArrayInput + // Service name of the resource representing the id of the cloud project. + ServiceName pulumi.StringPtrInput +} + +func (CloudProjectUserArgs) ElementType() reflect.Type { + return reflect.TypeOf((*cloudProjectUserArgs)(nil)).Elem() +} + +type CloudProjectUserInput interface { + pulumi.Input + + ToCloudProjectUserOutput() CloudProjectUserOutput + ToCloudProjectUserOutputWithContext(ctx context.Context) CloudProjectUserOutput +} + +func (*CloudProjectUser) ElementType() reflect.Type { + return reflect.TypeOf((**CloudProjectUser)(nil)).Elem() +} + +func (i *CloudProjectUser) ToCloudProjectUserOutput() CloudProjectUserOutput { + return i.ToCloudProjectUserOutputWithContext(context.Background()) +} + +func (i *CloudProjectUser) ToCloudProjectUserOutputWithContext(ctx context.Context) CloudProjectUserOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectUserOutput) +} + +type CloudProjectUserOutput struct{ *pulumi.OutputState } + +func (CloudProjectUserOutput) ElementType() reflect.Type { + return reflect.TypeOf((**CloudProjectUser)(nil)).Elem() +} + +func (o CloudProjectUserOutput) ToCloudProjectUserOutput() CloudProjectUserOutput { + return o +} + +func (o CloudProjectUserOutput) ToCloudProjectUserOutputWithContext(ctx context.Context) CloudProjectUserOutput { + return o +} + +func (o CloudProjectUserOutput) CreationDate() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectUser) pulumi.StringOutput { return v.CreationDate }).(pulumi.StringOutput) +} + +func (o CloudProjectUserOutput) Description() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudProjectUser) pulumi.StringPtrOutput { return v.Description }).(pulumi.StringPtrOutput) +} + +func (o CloudProjectUserOutput) OpenstackRc() pulumi.StringMapOutput { + return o.ApplyT(func(v *CloudProjectUser) pulumi.StringMapOutput { return v.OpenstackRc }).(pulumi.StringMapOutput) +} + +func (o CloudProjectUserOutput) Password() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectUser) pulumi.StringOutput { return v.Password }).(pulumi.StringOutput) +} + +func (o CloudProjectUserOutput) RoleName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudProjectUser) pulumi.StringPtrOutput { return v.RoleName }).(pulumi.StringPtrOutput) +} + +func (o CloudProjectUserOutput) RoleNames() pulumi.StringArrayOutput { + return o.ApplyT(func(v *CloudProjectUser) pulumi.StringArrayOutput { return v.RoleNames }).(pulumi.StringArrayOutput) +} + +func (o CloudProjectUserOutput) Roles() CloudProjectUserRoleArrayOutput { + return o.ApplyT(func(v *CloudProjectUser) CloudProjectUserRoleArrayOutput { return v.Roles }).(CloudProjectUserRoleArrayOutput) +} + +// Service name of the resource representing the id of the cloud project. +func (o CloudProjectUserOutput) ServiceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudProjectUser) pulumi.StringPtrOutput { return v.ServiceName }).(pulumi.StringPtrOutput) +} + +func (o CloudProjectUserOutput) Status() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectUser) pulumi.StringOutput { return v.Status }).(pulumi.StringOutput) +} + +func (o CloudProjectUserOutput) Username() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectUser) pulumi.StringOutput { return v.Username }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*CloudProjectUserInput)(nil)).Elem(), &CloudProjectUser{}) + pulumi.RegisterOutputType(CloudProjectUserOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectUserS3Credential.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectUserS3Credential.go new file mode 100644 index 00000000..cc655ebc --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectUserS3Credential.go @@ -0,0 +1,172 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type CloudProjectUserS3Credential struct { + pulumi.CustomResourceState + + AccessKeyId pulumi.StringOutput `pulumi:"accessKeyId"` + InternalUserId pulumi.StringOutput `pulumi:"internalUserId"` + SecretAccessKey pulumi.StringOutput `pulumi:"secretAccessKey"` + // Service name of the resource representing the ID of the cloud project. + ServiceName pulumi.StringPtrOutput `pulumi:"serviceName"` + // The user ID + UserId pulumi.StringOutput `pulumi:"userId"` +} + +// NewCloudProjectUserS3Credential registers a new resource with the given unique name, arguments, and options. +func NewCloudProjectUserS3Credential(ctx *pulumi.Context, + name string, args *CloudProjectUserS3CredentialArgs, opts ...pulumi.ResourceOption) (*CloudProjectUserS3Credential, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.UserId == nil { + return nil, errors.New("invalid value for required argument 'UserId'") + } + secrets := pulumi.AdditionalSecretOutputs([]string{ + "secretAccessKey", + }) + opts = append(opts, secrets) + opts = internal.PkgResourceDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var resource CloudProjectUserS3Credential + err = ctx.RegisterPackageResource("ovh:index/cloudProjectUserS3Credential:CloudProjectUserS3Credential", name, args, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetCloudProjectUserS3Credential gets an existing CloudProjectUserS3Credential resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetCloudProjectUserS3Credential(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *CloudProjectUserS3CredentialState, opts ...pulumi.ResourceOption) (*CloudProjectUserS3Credential, error) { + var resource CloudProjectUserS3Credential + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + err = ctx.ReadPackageResource("ovh:index/cloudProjectUserS3Credential:CloudProjectUserS3Credential", name, id, state, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering CloudProjectUserS3Credential resources. +type cloudProjectUserS3CredentialState struct { + AccessKeyId *string `pulumi:"accessKeyId"` + InternalUserId *string `pulumi:"internalUserId"` + SecretAccessKey *string `pulumi:"secretAccessKey"` + // Service name of the resource representing the ID of the cloud project. + ServiceName *string `pulumi:"serviceName"` + // The user ID + UserId *string `pulumi:"userId"` +} + +type CloudProjectUserS3CredentialState struct { + AccessKeyId pulumi.StringPtrInput + InternalUserId pulumi.StringPtrInput + SecretAccessKey pulumi.StringPtrInput + // Service name of the resource representing the ID of the cloud project. + ServiceName pulumi.StringPtrInput + // The user ID + UserId pulumi.StringPtrInput +} + +func (CloudProjectUserS3CredentialState) ElementType() reflect.Type { + return reflect.TypeOf((*cloudProjectUserS3CredentialState)(nil)).Elem() +} + +type cloudProjectUserS3CredentialArgs struct { + // Service name of the resource representing the ID of the cloud project. + ServiceName *string `pulumi:"serviceName"` + // The user ID + UserId string `pulumi:"userId"` +} + +// The set of arguments for constructing a CloudProjectUserS3Credential resource. +type CloudProjectUserS3CredentialArgs struct { + // Service name of the resource representing the ID of the cloud project. + ServiceName pulumi.StringPtrInput + // The user ID + UserId pulumi.StringInput +} + +func (CloudProjectUserS3CredentialArgs) ElementType() reflect.Type { + return reflect.TypeOf((*cloudProjectUserS3CredentialArgs)(nil)).Elem() +} + +type CloudProjectUserS3CredentialInput interface { + pulumi.Input + + ToCloudProjectUserS3CredentialOutput() CloudProjectUserS3CredentialOutput + ToCloudProjectUserS3CredentialOutputWithContext(ctx context.Context) CloudProjectUserS3CredentialOutput +} + +func (*CloudProjectUserS3Credential) ElementType() reflect.Type { + return reflect.TypeOf((**CloudProjectUserS3Credential)(nil)).Elem() +} + +func (i *CloudProjectUserS3Credential) ToCloudProjectUserS3CredentialOutput() CloudProjectUserS3CredentialOutput { + return i.ToCloudProjectUserS3CredentialOutputWithContext(context.Background()) +} + +func (i *CloudProjectUserS3Credential) ToCloudProjectUserS3CredentialOutputWithContext(ctx context.Context) CloudProjectUserS3CredentialOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectUserS3CredentialOutput) +} + +type CloudProjectUserS3CredentialOutput struct{ *pulumi.OutputState } + +func (CloudProjectUserS3CredentialOutput) ElementType() reflect.Type { + return reflect.TypeOf((**CloudProjectUserS3Credential)(nil)).Elem() +} + +func (o CloudProjectUserS3CredentialOutput) ToCloudProjectUserS3CredentialOutput() CloudProjectUserS3CredentialOutput { + return o +} + +func (o CloudProjectUserS3CredentialOutput) ToCloudProjectUserS3CredentialOutputWithContext(ctx context.Context) CloudProjectUserS3CredentialOutput { + return o +} + +func (o CloudProjectUserS3CredentialOutput) AccessKeyId() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectUserS3Credential) pulumi.StringOutput { return v.AccessKeyId }).(pulumi.StringOutput) +} + +func (o CloudProjectUserS3CredentialOutput) InternalUserId() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectUserS3Credential) pulumi.StringOutput { return v.InternalUserId }).(pulumi.StringOutput) +} + +func (o CloudProjectUserS3CredentialOutput) SecretAccessKey() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectUserS3Credential) pulumi.StringOutput { return v.SecretAccessKey }).(pulumi.StringOutput) +} + +// Service name of the resource representing the ID of the cloud project. +func (o CloudProjectUserS3CredentialOutput) ServiceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudProjectUserS3Credential) pulumi.StringPtrOutput { return v.ServiceName }).(pulumi.StringPtrOutput) +} + +// The user ID +func (o CloudProjectUserS3CredentialOutput) UserId() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectUserS3Credential) pulumi.StringOutput { return v.UserId }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*CloudProjectUserS3CredentialInput)(nil)).Elem(), &CloudProjectUserS3Credential{}) + pulumi.RegisterOutputType(CloudProjectUserS3CredentialOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectUserS3Policy.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectUserS3Policy.go new file mode 100644 index 00000000..8628a241 --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectUserS3Policy.go @@ -0,0 +1,165 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type CloudProjectUserS3Policy struct { + pulumi.CustomResourceState + + // The policy document. This is a JSON formatted string. + Policy pulumi.StringOutput `pulumi:"policy"` + // Service name of the resource representing the ID of the cloud project. + ServiceName pulumi.StringPtrOutput `pulumi:"serviceName"` + // The user ID + UserId pulumi.StringOutput `pulumi:"userId"` +} + +// NewCloudProjectUserS3Policy registers a new resource with the given unique name, arguments, and options. +func NewCloudProjectUserS3Policy(ctx *pulumi.Context, + name string, args *CloudProjectUserS3PolicyArgs, opts ...pulumi.ResourceOption) (*CloudProjectUserS3Policy, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.Policy == nil { + return nil, errors.New("invalid value for required argument 'Policy'") + } + if args.UserId == nil { + return nil, errors.New("invalid value for required argument 'UserId'") + } + opts = internal.PkgResourceDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var resource CloudProjectUserS3Policy + err = ctx.RegisterPackageResource("ovh:index/cloudProjectUserS3Policy:CloudProjectUserS3Policy", name, args, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetCloudProjectUserS3Policy gets an existing CloudProjectUserS3Policy resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetCloudProjectUserS3Policy(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *CloudProjectUserS3PolicyState, opts ...pulumi.ResourceOption) (*CloudProjectUserS3Policy, error) { + var resource CloudProjectUserS3Policy + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + err = ctx.ReadPackageResource("ovh:index/cloudProjectUserS3Policy:CloudProjectUserS3Policy", name, id, state, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering CloudProjectUserS3Policy resources. +type cloudProjectUserS3PolicyState struct { + // The policy document. This is a JSON formatted string. + Policy *string `pulumi:"policy"` + // Service name of the resource representing the ID of the cloud project. + ServiceName *string `pulumi:"serviceName"` + // The user ID + UserId *string `pulumi:"userId"` +} + +type CloudProjectUserS3PolicyState struct { + // The policy document. This is a JSON formatted string. + Policy pulumi.StringPtrInput + // Service name of the resource representing the ID of the cloud project. + ServiceName pulumi.StringPtrInput + // The user ID + UserId pulumi.StringPtrInput +} + +func (CloudProjectUserS3PolicyState) ElementType() reflect.Type { + return reflect.TypeOf((*cloudProjectUserS3PolicyState)(nil)).Elem() +} + +type cloudProjectUserS3PolicyArgs struct { + // The policy document. This is a JSON formatted string. + Policy string `pulumi:"policy"` + // Service name of the resource representing the ID of the cloud project. + ServiceName *string `pulumi:"serviceName"` + // The user ID + UserId string `pulumi:"userId"` +} + +// The set of arguments for constructing a CloudProjectUserS3Policy resource. +type CloudProjectUserS3PolicyArgs struct { + // The policy document. This is a JSON formatted string. + Policy pulumi.StringInput + // Service name of the resource representing the ID of the cloud project. + ServiceName pulumi.StringPtrInput + // The user ID + UserId pulumi.StringInput +} + +func (CloudProjectUserS3PolicyArgs) ElementType() reflect.Type { + return reflect.TypeOf((*cloudProjectUserS3PolicyArgs)(nil)).Elem() +} + +type CloudProjectUserS3PolicyInput interface { + pulumi.Input + + ToCloudProjectUserS3PolicyOutput() CloudProjectUserS3PolicyOutput + ToCloudProjectUserS3PolicyOutputWithContext(ctx context.Context) CloudProjectUserS3PolicyOutput +} + +func (*CloudProjectUserS3Policy) ElementType() reflect.Type { + return reflect.TypeOf((**CloudProjectUserS3Policy)(nil)).Elem() +} + +func (i *CloudProjectUserS3Policy) ToCloudProjectUserS3PolicyOutput() CloudProjectUserS3PolicyOutput { + return i.ToCloudProjectUserS3PolicyOutputWithContext(context.Background()) +} + +func (i *CloudProjectUserS3Policy) ToCloudProjectUserS3PolicyOutputWithContext(ctx context.Context) CloudProjectUserS3PolicyOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectUserS3PolicyOutput) +} + +type CloudProjectUserS3PolicyOutput struct{ *pulumi.OutputState } + +func (CloudProjectUserS3PolicyOutput) ElementType() reflect.Type { + return reflect.TypeOf((**CloudProjectUserS3Policy)(nil)).Elem() +} + +func (o CloudProjectUserS3PolicyOutput) ToCloudProjectUserS3PolicyOutput() CloudProjectUserS3PolicyOutput { + return o +} + +func (o CloudProjectUserS3PolicyOutput) ToCloudProjectUserS3PolicyOutputWithContext(ctx context.Context) CloudProjectUserS3PolicyOutput { + return o +} + +// The policy document. This is a JSON formatted string. +func (o CloudProjectUserS3PolicyOutput) Policy() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectUserS3Policy) pulumi.StringOutput { return v.Policy }).(pulumi.StringOutput) +} + +// Service name of the resource representing the ID of the cloud project. +func (o CloudProjectUserS3PolicyOutput) ServiceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudProjectUserS3Policy) pulumi.StringPtrOutput { return v.ServiceName }).(pulumi.StringPtrOutput) +} + +// The user ID +func (o CloudProjectUserS3PolicyOutput) UserId() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectUserS3Policy) pulumi.StringOutput { return v.UserId }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*CloudProjectUserS3PolicyInput)(nil)).Elem(), &CloudProjectUserS3Policy{}) + pulumi.RegisterOutputType(CloudProjectUserS3PolicyOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectWorkflowBackup.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectWorkflowBackup.go new file mode 100644 index 00000000..51df24db --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/cloudProjectWorkflowBackup.go @@ -0,0 +1,211 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type CloudProjectWorkflowBackup struct { + pulumi.CustomResourceState + + BackupName pulumi.StringOutput `pulumi:"backupName"` + CreatedAt pulumi.StringOutput `pulumi:"createdAt"` + Cron pulumi.StringOutput `pulumi:"cron"` + InstanceId pulumi.StringOutput `pulumi:"instanceId"` + MaxExecutionCount pulumi.Float64PtrOutput `pulumi:"maxExecutionCount"` + Name pulumi.StringOutput `pulumi:"name"` + // Region name. + RegionName pulumi.StringOutput `pulumi:"regionName"` + Rotation pulumi.Float64Output `pulumi:"rotation"` + ServiceName pulumi.StringPtrOutput `pulumi:"serviceName"` +} + +// NewCloudProjectWorkflowBackup registers a new resource with the given unique name, arguments, and options. +func NewCloudProjectWorkflowBackup(ctx *pulumi.Context, + name string, args *CloudProjectWorkflowBackupArgs, opts ...pulumi.ResourceOption) (*CloudProjectWorkflowBackup, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.Cron == nil { + return nil, errors.New("invalid value for required argument 'Cron'") + } + if args.InstanceId == nil { + return nil, errors.New("invalid value for required argument 'InstanceId'") + } + if args.RegionName == nil { + return nil, errors.New("invalid value for required argument 'RegionName'") + } + if args.Rotation == nil { + return nil, errors.New("invalid value for required argument 'Rotation'") + } + opts = internal.PkgResourceDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var resource CloudProjectWorkflowBackup + err = ctx.RegisterPackageResource("ovh:index/cloudProjectWorkflowBackup:CloudProjectWorkflowBackup", name, args, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetCloudProjectWorkflowBackup gets an existing CloudProjectWorkflowBackup resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetCloudProjectWorkflowBackup(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *CloudProjectWorkflowBackupState, opts ...pulumi.ResourceOption) (*CloudProjectWorkflowBackup, error) { + var resource CloudProjectWorkflowBackup + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + err = ctx.ReadPackageResource("ovh:index/cloudProjectWorkflowBackup:CloudProjectWorkflowBackup", name, id, state, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering CloudProjectWorkflowBackup resources. +type cloudProjectWorkflowBackupState struct { + BackupName *string `pulumi:"backupName"` + CreatedAt *string `pulumi:"createdAt"` + Cron *string `pulumi:"cron"` + InstanceId *string `pulumi:"instanceId"` + MaxExecutionCount *float64 `pulumi:"maxExecutionCount"` + Name *string `pulumi:"name"` + // Region name. + RegionName *string `pulumi:"regionName"` + Rotation *float64 `pulumi:"rotation"` + ServiceName *string `pulumi:"serviceName"` +} + +type CloudProjectWorkflowBackupState struct { + BackupName pulumi.StringPtrInput + CreatedAt pulumi.StringPtrInput + Cron pulumi.StringPtrInput + InstanceId pulumi.StringPtrInput + MaxExecutionCount pulumi.Float64PtrInput + Name pulumi.StringPtrInput + // Region name. + RegionName pulumi.StringPtrInput + Rotation pulumi.Float64PtrInput + ServiceName pulumi.StringPtrInput +} + +func (CloudProjectWorkflowBackupState) ElementType() reflect.Type { + return reflect.TypeOf((*cloudProjectWorkflowBackupState)(nil)).Elem() +} + +type cloudProjectWorkflowBackupArgs struct { + BackupName *string `pulumi:"backupName"` + Cron string `pulumi:"cron"` + InstanceId string `pulumi:"instanceId"` + MaxExecutionCount *float64 `pulumi:"maxExecutionCount"` + Name *string `pulumi:"name"` + // Region name. + RegionName string `pulumi:"regionName"` + Rotation float64 `pulumi:"rotation"` + ServiceName *string `pulumi:"serviceName"` +} + +// The set of arguments for constructing a CloudProjectWorkflowBackup resource. +type CloudProjectWorkflowBackupArgs struct { + BackupName pulumi.StringPtrInput + Cron pulumi.StringInput + InstanceId pulumi.StringInput + MaxExecutionCount pulumi.Float64PtrInput + Name pulumi.StringPtrInput + // Region name. + RegionName pulumi.StringInput + Rotation pulumi.Float64Input + ServiceName pulumi.StringPtrInput +} + +func (CloudProjectWorkflowBackupArgs) ElementType() reflect.Type { + return reflect.TypeOf((*cloudProjectWorkflowBackupArgs)(nil)).Elem() +} + +type CloudProjectWorkflowBackupInput interface { + pulumi.Input + + ToCloudProjectWorkflowBackupOutput() CloudProjectWorkflowBackupOutput + ToCloudProjectWorkflowBackupOutputWithContext(ctx context.Context) CloudProjectWorkflowBackupOutput +} + +func (*CloudProjectWorkflowBackup) ElementType() reflect.Type { + return reflect.TypeOf((**CloudProjectWorkflowBackup)(nil)).Elem() +} + +func (i *CloudProjectWorkflowBackup) ToCloudProjectWorkflowBackupOutput() CloudProjectWorkflowBackupOutput { + return i.ToCloudProjectWorkflowBackupOutputWithContext(context.Background()) +} + +func (i *CloudProjectWorkflowBackup) ToCloudProjectWorkflowBackupOutputWithContext(ctx context.Context) CloudProjectWorkflowBackupOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectWorkflowBackupOutput) +} + +type CloudProjectWorkflowBackupOutput struct{ *pulumi.OutputState } + +func (CloudProjectWorkflowBackupOutput) ElementType() reflect.Type { + return reflect.TypeOf((**CloudProjectWorkflowBackup)(nil)).Elem() +} + +func (o CloudProjectWorkflowBackupOutput) ToCloudProjectWorkflowBackupOutput() CloudProjectWorkflowBackupOutput { + return o +} + +func (o CloudProjectWorkflowBackupOutput) ToCloudProjectWorkflowBackupOutputWithContext(ctx context.Context) CloudProjectWorkflowBackupOutput { + return o +} + +func (o CloudProjectWorkflowBackupOutput) BackupName() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectWorkflowBackup) pulumi.StringOutput { return v.BackupName }).(pulumi.StringOutput) +} + +func (o CloudProjectWorkflowBackupOutput) CreatedAt() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectWorkflowBackup) pulumi.StringOutput { return v.CreatedAt }).(pulumi.StringOutput) +} + +func (o CloudProjectWorkflowBackupOutput) Cron() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectWorkflowBackup) pulumi.StringOutput { return v.Cron }).(pulumi.StringOutput) +} + +func (o CloudProjectWorkflowBackupOutput) InstanceId() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectWorkflowBackup) pulumi.StringOutput { return v.InstanceId }).(pulumi.StringOutput) +} + +func (o CloudProjectWorkflowBackupOutput) MaxExecutionCount() pulumi.Float64PtrOutput { + return o.ApplyT(func(v *CloudProjectWorkflowBackup) pulumi.Float64PtrOutput { return v.MaxExecutionCount }).(pulumi.Float64PtrOutput) +} + +func (o CloudProjectWorkflowBackupOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectWorkflowBackup) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +// Region name. +func (o CloudProjectWorkflowBackupOutput) RegionName() pulumi.StringOutput { + return o.ApplyT(func(v *CloudProjectWorkflowBackup) pulumi.StringOutput { return v.RegionName }).(pulumi.StringOutput) +} + +func (o CloudProjectWorkflowBackupOutput) Rotation() pulumi.Float64Output { + return o.ApplyT(func(v *CloudProjectWorkflowBackup) pulumi.Float64Output { return v.Rotation }).(pulumi.Float64Output) +} + +func (o CloudProjectWorkflowBackupOutput) ServiceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudProjectWorkflowBackup) pulumi.StringPtrOutput { return v.ServiceName }).(pulumi.StringPtrOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*CloudProjectWorkflowBackupInput)(nil)).Elem(), &CloudProjectWorkflowBackup{}) + pulumi.RegisterOutputType(CloudProjectWorkflowBackupOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/config/config.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/config/config.go new file mode 100644 index 00000000..ec074f57 --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/config/config.go @@ -0,0 +1,47 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package config + +import ( + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi/config" +) + +var _ = internal.GetEnvOrDefault + +// The OVH API Access Token +func GetAccessToken(ctx *pulumi.Context) string { + return config.Get(ctx, "ovh:accessToken") +} + +// The OVH API Application Key +func GetApplicationKey(ctx *pulumi.Context) string { + return config.Get(ctx, "ovh:applicationKey") +} + +// The OVH API Application Secret +func GetApplicationSecret(ctx *pulumi.Context) string { + return config.Get(ctx, "ovh:applicationSecret") +} + +// OAuth 2.0 application's ID +func GetClientId(ctx *pulumi.Context) string { + return config.Get(ctx, "ovh:clientId") +} + +// OAuth 2.0 application's secret +func GetClientSecret(ctx *pulumi.Context) string { + return config.Get(ctx, "ovh:clientSecret") +} + +// The OVH API Consumer Key +func GetConsumerKey(ctx *pulumi.Context) string { + return config.Get(ctx, "ovh:consumerKey") +} + +// The OVH API endpoint to target (ex: "ovh-eu") +func GetEndpoint(ctx *pulumi.Context) string { + return config.Get(ctx, "ovh:endpoint") +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/dbaasLogsCluster.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/dbaasLogsCluster.go new file mode 100644 index 00000000..0c598d2c --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/dbaasLogsCluster.go @@ -0,0 +1,298 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type DbaasLogsCluster struct { + pulumi.CustomResourceState + + // Allowed networks for ARCHIVE flow type + ArchiveAllowedNetworks pulumi.StringArrayOutput `pulumi:"archiveAllowedNetworks"` + ClusterId pulumi.StringPtrOutput `pulumi:"clusterId"` + // Cluster type + ClusterType pulumi.StringOutput `pulumi:"clusterType"` + // PEM for dedicated inputs + DedicatedInputPem pulumi.StringOutput `pulumi:"dedicatedInputPem"` + // Allowed networks for DIRECT_INPUT flow type + DirectInputAllowedNetworks pulumi.StringArrayOutput `pulumi:"directInputAllowedNetworks"` + // PEM for direct inputs + DirectInputPem pulumi.StringOutput `pulumi:"directInputPem"` + // hostname + Hostname pulumi.StringOutput `pulumi:"hostname"` + // Initial allowed networks for ARCHIVE flow type + InitialArchiveAllowedNetworks pulumi.StringArrayOutput `pulumi:"initialArchiveAllowedNetworks"` + // Initial allowed networks for DIRECT_INPUT flow type + InitialDirectInputAllowedNetworks pulumi.StringArrayOutput `pulumi:"initialDirectInputAllowedNetworks"` + // Initial allowed networks for QUERY flow type + InitialQueryAllowedNetworks pulumi.StringArrayOutput `pulumi:"initialQueryAllowedNetworks"` + // All content generated by given service will be placed on this cluster + IsDefault pulumi.BoolOutput `pulumi:"isDefault"` + // Allow given service to perform advanced operations on cluster + IsUnlocked pulumi.BoolOutput `pulumi:"isUnlocked"` + // Allowed networks for QUERY flow type + QueryAllowedNetworks pulumi.StringArrayOutput `pulumi:"queryAllowedNetworks"` + // Data center localization + Region pulumi.StringOutput `pulumi:"region"` + ServiceName pulumi.StringOutput `pulumi:"serviceName"` +} + +// NewDbaasLogsCluster registers a new resource with the given unique name, arguments, and options. +func NewDbaasLogsCluster(ctx *pulumi.Context, + name string, args *DbaasLogsClusterArgs, opts ...pulumi.ResourceOption) (*DbaasLogsCluster, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.ServiceName == nil { + return nil, errors.New("invalid value for required argument 'ServiceName'") + } + secrets := pulumi.AdditionalSecretOutputs([]string{ + "dedicatedInputPem", + "directInputPem", + "initialArchiveAllowedNetworks", + "initialDirectInputAllowedNetworks", + "initialQueryAllowedNetworks", + }) + opts = append(opts, secrets) + opts = internal.PkgResourceDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var resource DbaasLogsCluster + err = ctx.RegisterPackageResource("ovh:index/dbaasLogsCluster:DbaasLogsCluster", name, args, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetDbaasLogsCluster gets an existing DbaasLogsCluster resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetDbaasLogsCluster(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *DbaasLogsClusterState, opts ...pulumi.ResourceOption) (*DbaasLogsCluster, error) { + var resource DbaasLogsCluster + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + err = ctx.ReadPackageResource("ovh:index/dbaasLogsCluster:DbaasLogsCluster", name, id, state, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering DbaasLogsCluster resources. +type dbaasLogsClusterState struct { + // Allowed networks for ARCHIVE flow type + ArchiveAllowedNetworks []string `pulumi:"archiveAllowedNetworks"` + ClusterId *string `pulumi:"clusterId"` + // Cluster type + ClusterType *string `pulumi:"clusterType"` + // PEM for dedicated inputs + DedicatedInputPem *string `pulumi:"dedicatedInputPem"` + // Allowed networks for DIRECT_INPUT flow type + DirectInputAllowedNetworks []string `pulumi:"directInputAllowedNetworks"` + // PEM for direct inputs + DirectInputPem *string `pulumi:"directInputPem"` + // hostname + Hostname *string `pulumi:"hostname"` + // Initial allowed networks for ARCHIVE flow type + InitialArchiveAllowedNetworks []string `pulumi:"initialArchiveAllowedNetworks"` + // Initial allowed networks for DIRECT_INPUT flow type + InitialDirectInputAllowedNetworks []string `pulumi:"initialDirectInputAllowedNetworks"` + // Initial allowed networks for QUERY flow type + InitialQueryAllowedNetworks []string `pulumi:"initialQueryAllowedNetworks"` + // All content generated by given service will be placed on this cluster + IsDefault *bool `pulumi:"isDefault"` + // Allow given service to perform advanced operations on cluster + IsUnlocked *bool `pulumi:"isUnlocked"` + // Allowed networks for QUERY flow type + QueryAllowedNetworks []string `pulumi:"queryAllowedNetworks"` + // Data center localization + Region *string `pulumi:"region"` + ServiceName *string `pulumi:"serviceName"` +} + +type DbaasLogsClusterState struct { + // Allowed networks for ARCHIVE flow type + ArchiveAllowedNetworks pulumi.StringArrayInput + ClusterId pulumi.StringPtrInput + // Cluster type + ClusterType pulumi.StringPtrInput + // PEM for dedicated inputs + DedicatedInputPem pulumi.StringPtrInput + // Allowed networks for DIRECT_INPUT flow type + DirectInputAllowedNetworks pulumi.StringArrayInput + // PEM for direct inputs + DirectInputPem pulumi.StringPtrInput + // hostname + Hostname pulumi.StringPtrInput + // Initial allowed networks for ARCHIVE flow type + InitialArchiveAllowedNetworks pulumi.StringArrayInput + // Initial allowed networks for DIRECT_INPUT flow type + InitialDirectInputAllowedNetworks pulumi.StringArrayInput + // Initial allowed networks for QUERY flow type + InitialQueryAllowedNetworks pulumi.StringArrayInput + // All content generated by given service will be placed on this cluster + IsDefault pulumi.BoolPtrInput + // Allow given service to perform advanced operations on cluster + IsUnlocked pulumi.BoolPtrInput + // Allowed networks for QUERY flow type + QueryAllowedNetworks pulumi.StringArrayInput + // Data center localization + Region pulumi.StringPtrInput + ServiceName pulumi.StringPtrInput +} + +func (DbaasLogsClusterState) ElementType() reflect.Type { + return reflect.TypeOf((*dbaasLogsClusterState)(nil)).Elem() +} + +type dbaasLogsClusterArgs struct { + // Allowed networks for ARCHIVE flow type + ArchiveAllowedNetworks []string `pulumi:"archiveAllowedNetworks"` + ClusterId *string `pulumi:"clusterId"` + // Allowed networks for DIRECT_INPUT flow type + DirectInputAllowedNetworks []string `pulumi:"directInputAllowedNetworks"` + // Allowed networks for QUERY flow type + QueryAllowedNetworks []string `pulumi:"queryAllowedNetworks"` + ServiceName string `pulumi:"serviceName"` +} + +// The set of arguments for constructing a DbaasLogsCluster resource. +type DbaasLogsClusterArgs struct { + // Allowed networks for ARCHIVE flow type + ArchiveAllowedNetworks pulumi.StringArrayInput + ClusterId pulumi.StringPtrInput + // Allowed networks for DIRECT_INPUT flow type + DirectInputAllowedNetworks pulumi.StringArrayInput + // Allowed networks for QUERY flow type + QueryAllowedNetworks pulumi.StringArrayInput + ServiceName pulumi.StringInput +} + +func (DbaasLogsClusterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*dbaasLogsClusterArgs)(nil)).Elem() +} + +type DbaasLogsClusterInput interface { + pulumi.Input + + ToDbaasLogsClusterOutput() DbaasLogsClusterOutput + ToDbaasLogsClusterOutputWithContext(ctx context.Context) DbaasLogsClusterOutput +} + +func (*DbaasLogsCluster) ElementType() reflect.Type { + return reflect.TypeOf((**DbaasLogsCluster)(nil)).Elem() +} + +func (i *DbaasLogsCluster) ToDbaasLogsClusterOutput() DbaasLogsClusterOutput { + return i.ToDbaasLogsClusterOutputWithContext(context.Background()) +} + +func (i *DbaasLogsCluster) ToDbaasLogsClusterOutputWithContext(ctx context.Context) DbaasLogsClusterOutput { + return pulumi.ToOutputWithContext(ctx, i).(DbaasLogsClusterOutput) +} + +type DbaasLogsClusterOutput struct{ *pulumi.OutputState } + +func (DbaasLogsClusterOutput) ElementType() reflect.Type { + return reflect.TypeOf((**DbaasLogsCluster)(nil)).Elem() +} + +func (o DbaasLogsClusterOutput) ToDbaasLogsClusterOutput() DbaasLogsClusterOutput { + return o +} + +func (o DbaasLogsClusterOutput) ToDbaasLogsClusterOutputWithContext(ctx context.Context) DbaasLogsClusterOutput { + return o +} + +// Allowed networks for ARCHIVE flow type +func (o DbaasLogsClusterOutput) ArchiveAllowedNetworks() pulumi.StringArrayOutput { + return o.ApplyT(func(v *DbaasLogsCluster) pulumi.StringArrayOutput { return v.ArchiveAllowedNetworks }).(pulumi.StringArrayOutput) +} + +func (o DbaasLogsClusterOutput) ClusterId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DbaasLogsCluster) pulumi.StringPtrOutput { return v.ClusterId }).(pulumi.StringPtrOutput) +} + +// Cluster type +func (o DbaasLogsClusterOutput) ClusterType() pulumi.StringOutput { + return o.ApplyT(func(v *DbaasLogsCluster) pulumi.StringOutput { return v.ClusterType }).(pulumi.StringOutput) +} + +// PEM for dedicated inputs +func (o DbaasLogsClusterOutput) DedicatedInputPem() pulumi.StringOutput { + return o.ApplyT(func(v *DbaasLogsCluster) pulumi.StringOutput { return v.DedicatedInputPem }).(pulumi.StringOutput) +} + +// Allowed networks for DIRECT_INPUT flow type +func (o DbaasLogsClusterOutput) DirectInputAllowedNetworks() pulumi.StringArrayOutput { + return o.ApplyT(func(v *DbaasLogsCluster) pulumi.StringArrayOutput { return v.DirectInputAllowedNetworks }).(pulumi.StringArrayOutput) +} + +// PEM for direct inputs +func (o DbaasLogsClusterOutput) DirectInputPem() pulumi.StringOutput { + return o.ApplyT(func(v *DbaasLogsCluster) pulumi.StringOutput { return v.DirectInputPem }).(pulumi.StringOutput) +} + +// hostname +func (o DbaasLogsClusterOutput) Hostname() pulumi.StringOutput { + return o.ApplyT(func(v *DbaasLogsCluster) pulumi.StringOutput { return v.Hostname }).(pulumi.StringOutput) +} + +// Initial allowed networks for ARCHIVE flow type +func (o DbaasLogsClusterOutput) InitialArchiveAllowedNetworks() pulumi.StringArrayOutput { + return o.ApplyT(func(v *DbaasLogsCluster) pulumi.StringArrayOutput { return v.InitialArchiveAllowedNetworks }).(pulumi.StringArrayOutput) +} + +// Initial allowed networks for DIRECT_INPUT flow type +func (o DbaasLogsClusterOutput) InitialDirectInputAllowedNetworks() pulumi.StringArrayOutput { + return o.ApplyT(func(v *DbaasLogsCluster) pulumi.StringArrayOutput { return v.InitialDirectInputAllowedNetworks }).(pulumi.StringArrayOutput) +} + +// Initial allowed networks for QUERY flow type +func (o DbaasLogsClusterOutput) InitialQueryAllowedNetworks() pulumi.StringArrayOutput { + return o.ApplyT(func(v *DbaasLogsCluster) pulumi.StringArrayOutput { return v.InitialQueryAllowedNetworks }).(pulumi.StringArrayOutput) +} + +// All content generated by given service will be placed on this cluster +func (o DbaasLogsClusterOutput) IsDefault() pulumi.BoolOutput { + return o.ApplyT(func(v *DbaasLogsCluster) pulumi.BoolOutput { return v.IsDefault }).(pulumi.BoolOutput) +} + +// Allow given service to perform advanced operations on cluster +func (o DbaasLogsClusterOutput) IsUnlocked() pulumi.BoolOutput { + return o.ApplyT(func(v *DbaasLogsCluster) pulumi.BoolOutput { return v.IsUnlocked }).(pulumi.BoolOutput) +} + +// Allowed networks for QUERY flow type +func (o DbaasLogsClusterOutput) QueryAllowedNetworks() pulumi.StringArrayOutput { + return o.ApplyT(func(v *DbaasLogsCluster) pulumi.StringArrayOutput { return v.QueryAllowedNetworks }).(pulumi.StringArrayOutput) +} + +// Data center localization +func (o DbaasLogsClusterOutput) Region() pulumi.StringOutput { + return o.ApplyT(func(v *DbaasLogsCluster) pulumi.StringOutput { return v.Region }).(pulumi.StringOutput) +} + +func (o DbaasLogsClusterOutput) ServiceName() pulumi.StringOutput { + return o.ApplyT(func(v *DbaasLogsCluster) pulumi.StringOutput { return v.ServiceName }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*DbaasLogsClusterInput)(nil)).Elem(), &DbaasLogsCluster{}) + pulumi.RegisterOutputType(DbaasLogsClusterOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/dbaasLogsInput.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/dbaasLogsInput.go new file mode 100644 index 00000000..9e97591f --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/dbaasLogsInput.go @@ -0,0 +1,353 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type DbaasLogsInput struct { + pulumi.CustomResourceState + + // IP blocks + AllowedNetworks pulumi.StringArrayOutput `pulumi:"allowedNetworks"` + // Input configuration + Configuration DbaasLogsInputConfigurationOutput `pulumi:"configuration"` + // Input creation + CreatedAt pulumi.StringOutput `pulumi:"createdAt"` + // Input description + Description pulumi.StringOutput `pulumi:"description"` + // Input engine ID + EngineId pulumi.StringOutput `pulumi:"engineId"` + // Port + ExposedPort pulumi.StringOutput `pulumi:"exposedPort"` + // Hostname + Hostname pulumi.StringOutput `pulumi:"hostname"` + // Input ID + InputId pulumi.StringOutput `pulumi:"inputId"` + // Indicate if input need to be restarted + IsRestartRequired pulumi.BoolOutput `pulumi:"isRestartRequired"` + // Number of instance running + NbInstance pulumi.Float64Output `pulumi:"nbInstance"` + // Input IP address + PublicAddress pulumi.StringOutput `pulumi:"publicAddress"` + ServiceName pulumi.StringOutput `pulumi:"serviceName"` + // Input SSL certificate + SslCertificate pulumi.StringOutput `pulumi:"sslCertificate"` + // init: configuration required, pending: ready to start, running: available + Status pulumi.StringOutput `pulumi:"status"` + // Associated Graylog stream + StreamId pulumi.StringOutput `pulumi:"streamId"` + // Input title + Title pulumi.StringOutput `pulumi:"title"` + // Input last update + UpdatedAt pulumi.StringOutput `pulumi:"updatedAt"` +} + +// NewDbaasLogsInput registers a new resource with the given unique name, arguments, and options. +func NewDbaasLogsInput(ctx *pulumi.Context, + name string, args *DbaasLogsInputArgs, opts ...pulumi.ResourceOption) (*DbaasLogsInput, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.Configuration == nil { + return nil, errors.New("invalid value for required argument 'Configuration'") + } + if args.Description == nil { + return nil, errors.New("invalid value for required argument 'Description'") + } + if args.EngineId == nil { + return nil, errors.New("invalid value for required argument 'EngineId'") + } + if args.ServiceName == nil { + return nil, errors.New("invalid value for required argument 'ServiceName'") + } + if args.StreamId == nil { + return nil, errors.New("invalid value for required argument 'StreamId'") + } + if args.Title == nil { + return nil, errors.New("invalid value for required argument 'Title'") + } + secrets := pulumi.AdditionalSecretOutputs([]string{ + "sslCertificate", + }) + opts = append(opts, secrets) + opts = internal.PkgResourceDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var resource DbaasLogsInput + err = ctx.RegisterPackageResource("ovh:index/dbaasLogsInput:DbaasLogsInput", name, args, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetDbaasLogsInput gets an existing DbaasLogsInput resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetDbaasLogsInput(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *DbaasLogsInputState, opts ...pulumi.ResourceOption) (*DbaasLogsInput, error) { + var resource DbaasLogsInput + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + err = ctx.ReadPackageResource("ovh:index/dbaasLogsInput:DbaasLogsInput", name, id, state, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering DbaasLogsInput resources. +type dbaasLogsInputState struct { + // IP blocks + AllowedNetworks []string `pulumi:"allowedNetworks"` + // Input configuration + Configuration *DbaasLogsInputConfiguration `pulumi:"configuration"` + // Input creation + CreatedAt *string `pulumi:"createdAt"` + // Input description + Description *string `pulumi:"description"` + // Input engine ID + EngineId *string `pulumi:"engineId"` + // Port + ExposedPort *string `pulumi:"exposedPort"` + // Hostname + Hostname *string `pulumi:"hostname"` + // Input ID + InputId *string `pulumi:"inputId"` + // Indicate if input need to be restarted + IsRestartRequired *bool `pulumi:"isRestartRequired"` + // Number of instance running + NbInstance *float64 `pulumi:"nbInstance"` + // Input IP address + PublicAddress *string `pulumi:"publicAddress"` + ServiceName *string `pulumi:"serviceName"` + // Input SSL certificate + SslCertificate *string `pulumi:"sslCertificate"` + // init: configuration required, pending: ready to start, running: available + Status *string `pulumi:"status"` + // Associated Graylog stream + StreamId *string `pulumi:"streamId"` + // Input title + Title *string `pulumi:"title"` + // Input last update + UpdatedAt *string `pulumi:"updatedAt"` +} + +type DbaasLogsInputState struct { + // IP blocks + AllowedNetworks pulumi.StringArrayInput + // Input configuration + Configuration DbaasLogsInputConfigurationPtrInput + // Input creation + CreatedAt pulumi.StringPtrInput + // Input description + Description pulumi.StringPtrInput + // Input engine ID + EngineId pulumi.StringPtrInput + // Port + ExposedPort pulumi.StringPtrInput + // Hostname + Hostname pulumi.StringPtrInput + // Input ID + InputId pulumi.StringPtrInput + // Indicate if input need to be restarted + IsRestartRequired pulumi.BoolPtrInput + // Number of instance running + NbInstance pulumi.Float64PtrInput + // Input IP address + PublicAddress pulumi.StringPtrInput + ServiceName pulumi.StringPtrInput + // Input SSL certificate + SslCertificate pulumi.StringPtrInput + // init: configuration required, pending: ready to start, running: available + Status pulumi.StringPtrInput + // Associated Graylog stream + StreamId pulumi.StringPtrInput + // Input title + Title pulumi.StringPtrInput + // Input last update + UpdatedAt pulumi.StringPtrInput +} + +func (DbaasLogsInputState) ElementType() reflect.Type { + return reflect.TypeOf((*dbaasLogsInputState)(nil)).Elem() +} + +type dbaasLogsInputArgs struct { + // IP blocks + AllowedNetworks []string `pulumi:"allowedNetworks"` + // Input configuration + Configuration DbaasLogsInputConfiguration `pulumi:"configuration"` + // Input description + Description string `pulumi:"description"` + // Input engine ID + EngineId string `pulumi:"engineId"` + // Port + ExposedPort *string `pulumi:"exposedPort"` + // Number of instance running + NbInstance *float64 `pulumi:"nbInstance"` + ServiceName string `pulumi:"serviceName"` + // Associated Graylog stream + StreamId string `pulumi:"streamId"` + // Input title + Title string `pulumi:"title"` +} + +// The set of arguments for constructing a DbaasLogsInput resource. +type DbaasLogsInputArgs struct { + // IP blocks + AllowedNetworks pulumi.StringArrayInput + // Input configuration + Configuration DbaasLogsInputConfigurationInput + // Input description + Description pulumi.StringInput + // Input engine ID + EngineId pulumi.StringInput + // Port + ExposedPort pulumi.StringPtrInput + // Number of instance running + NbInstance pulumi.Float64PtrInput + ServiceName pulumi.StringInput + // Associated Graylog stream + StreamId pulumi.StringInput + // Input title + Title pulumi.StringInput +} + +func (DbaasLogsInputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*dbaasLogsInputArgs)(nil)).Elem() +} + +type DbaasLogsInputInput interface { + pulumi.Input + + ToDbaasLogsInputOutput() DbaasLogsInputOutput + ToDbaasLogsInputOutputWithContext(ctx context.Context) DbaasLogsInputOutput +} + +func (*DbaasLogsInput) ElementType() reflect.Type { + return reflect.TypeOf((**DbaasLogsInput)(nil)).Elem() +} + +func (i *DbaasLogsInput) ToDbaasLogsInputOutput() DbaasLogsInputOutput { + return i.ToDbaasLogsInputOutputWithContext(context.Background()) +} + +func (i *DbaasLogsInput) ToDbaasLogsInputOutputWithContext(ctx context.Context) DbaasLogsInputOutput { + return pulumi.ToOutputWithContext(ctx, i).(DbaasLogsInputOutput) +} + +type DbaasLogsInputOutput struct{ *pulumi.OutputState } + +func (DbaasLogsInputOutput) ElementType() reflect.Type { + return reflect.TypeOf((**DbaasLogsInput)(nil)).Elem() +} + +func (o DbaasLogsInputOutput) ToDbaasLogsInputOutput() DbaasLogsInputOutput { + return o +} + +func (o DbaasLogsInputOutput) ToDbaasLogsInputOutputWithContext(ctx context.Context) DbaasLogsInputOutput { + return o +} + +// IP blocks +func (o DbaasLogsInputOutput) AllowedNetworks() pulumi.StringArrayOutput { + return o.ApplyT(func(v *DbaasLogsInput) pulumi.StringArrayOutput { return v.AllowedNetworks }).(pulumi.StringArrayOutput) +} + +// Input configuration +func (o DbaasLogsInputOutput) Configuration() DbaasLogsInputConfigurationOutput { + return o.ApplyT(func(v *DbaasLogsInput) DbaasLogsInputConfigurationOutput { return v.Configuration }).(DbaasLogsInputConfigurationOutput) +} + +// Input creation +func (o DbaasLogsInputOutput) CreatedAt() pulumi.StringOutput { + return o.ApplyT(func(v *DbaasLogsInput) pulumi.StringOutput { return v.CreatedAt }).(pulumi.StringOutput) +} + +// Input description +func (o DbaasLogsInputOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v *DbaasLogsInput) pulumi.StringOutput { return v.Description }).(pulumi.StringOutput) +} + +// Input engine ID +func (o DbaasLogsInputOutput) EngineId() pulumi.StringOutput { + return o.ApplyT(func(v *DbaasLogsInput) pulumi.StringOutput { return v.EngineId }).(pulumi.StringOutput) +} + +// Port +func (o DbaasLogsInputOutput) ExposedPort() pulumi.StringOutput { + return o.ApplyT(func(v *DbaasLogsInput) pulumi.StringOutput { return v.ExposedPort }).(pulumi.StringOutput) +} + +// Hostname +func (o DbaasLogsInputOutput) Hostname() pulumi.StringOutput { + return o.ApplyT(func(v *DbaasLogsInput) pulumi.StringOutput { return v.Hostname }).(pulumi.StringOutput) +} + +// Input ID +func (o DbaasLogsInputOutput) InputId() pulumi.StringOutput { + return o.ApplyT(func(v *DbaasLogsInput) pulumi.StringOutput { return v.InputId }).(pulumi.StringOutput) +} + +// Indicate if input need to be restarted +func (o DbaasLogsInputOutput) IsRestartRequired() pulumi.BoolOutput { + return o.ApplyT(func(v *DbaasLogsInput) pulumi.BoolOutput { return v.IsRestartRequired }).(pulumi.BoolOutput) +} + +// Number of instance running +func (o DbaasLogsInputOutput) NbInstance() pulumi.Float64Output { + return o.ApplyT(func(v *DbaasLogsInput) pulumi.Float64Output { return v.NbInstance }).(pulumi.Float64Output) +} + +// Input IP address +func (o DbaasLogsInputOutput) PublicAddress() pulumi.StringOutput { + return o.ApplyT(func(v *DbaasLogsInput) pulumi.StringOutput { return v.PublicAddress }).(pulumi.StringOutput) +} + +func (o DbaasLogsInputOutput) ServiceName() pulumi.StringOutput { + return o.ApplyT(func(v *DbaasLogsInput) pulumi.StringOutput { return v.ServiceName }).(pulumi.StringOutput) +} + +// Input SSL certificate +func (o DbaasLogsInputOutput) SslCertificate() pulumi.StringOutput { + return o.ApplyT(func(v *DbaasLogsInput) pulumi.StringOutput { return v.SslCertificate }).(pulumi.StringOutput) +} + +// init: configuration required, pending: ready to start, running: available +func (o DbaasLogsInputOutput) Status() pulumi.StringOutput { + return o.ApplyT(func(v *DbaasLogsInput) pulumi.StringOutput { return v.Status }).(pulumi.StringOutput) +} + +// Associated Graylog stream +func (o DbaasLogsInputOutput) StreamId() pulumi.StringOutput { + return o.ApplyT(func(v *DbaasLogsInput) pulumi.StringOutput { return v.StreamId }).(pulumi.StringOutput) +} + +// Input title +func (o DbaasLogsInputOutput) Title() pulumi.StringOutput { + return o.ApplyT(func(v *DbaasLogsInput) pulumi.StringOutput { return v.Title }).(pulumi.StringOutput) +} + +// Input last update +func (o DbaasLogsInputOutput) UpdatedAt() pulumi.StringOutput { + return o.ApplyT(func(v *DbaasLogsInput) pulumi.StringOutput { return v.UpdatedAt }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*DbaasLogsInputInput)(nil)).Elem(), &DbaasLogsInput{}) + pulumi.RegisterOutputType(DbaasLogsInputOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/dbaasLogsOutputGraylogStream.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/dbaasLogsOutputGraylogStream.go new file mode 100644 index 00000000..35ee75e3 --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/dbaasLogsOutputGraylogStream.go @@ -0,0 +1,466 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type DbaasLogsOutputGraylogStream struct { + pulumi.CustomResourceState + + // Indicates if the current user can create alert on the stream + CanAlert pulumi.BoolOutput `pulumi:"canAlert"` + // Cold storage compression method + ColdStorageCompression pulumi.StringOutput `pulumi:"coldStorageCompression"` + // ColdStorage content + ColdStorageContent pulumi.StringOutput `pulumi:"coldStorageContent"` + // Is Cold storage enabled? + ColdStorageEnabled pulumi.BoolOutput `pulumi:"coldStorageEnabled"` + // Notify on new Cold storage archive + ColdStorageNotifyEnabled pulumi.BoolOutput `pulumi:"coldStorageNotifyEnabled"` + // Cold storage retention in year + ColdStorageRetention pulumi.Float64Output `pulumi:"coldStorageRetention"` + // ColdStorage destination + ColdStorageTarget pulumi.StringOutput `pulumi:"coldStorageTarget"` + // Stream creation + CreatedAt pulumi.StringOutput `pulumi:"createdAt"` + // Stream description + Description pulumi.StringOutput `pulumi:"description"` + // Enable ES indexing + IndexingEnabled pulumi.BoolOutput `pulumi:"indexingEnabled"` + // Maximum indexing size (in GB) + IndexingMaxSize pulumi.Float64Output `pulumi:"indexingMaxSize"` + // If set, notify when size is near 80, 90 or 100 % of the maximum configured setting + IndexingNotifyEnabled pulumi.BoolOutput `pulumi:"indexingNotifyEnabled"` + // Indicates if you are allowed to edit entry + IsEditable pulumi.BoolOutput `pulumi:"isEditable"` + // Indicates if you are allowed to share entry + IsShareable pulumi.BoolOutput `pulumi:"isShareable"` + // Number of alert condition + NbAlertCondition pulumi.Float64Output `pulumi:"nbAlertCondition"` + // Number of coldstored archives + NbArchive pulumi.Float64Output `pulumi:"nbArchive"` + // Parent stream ID + ParentStreamId pulumi.StringPtrOutput `pulumi:"parentStreamId"` + // If set, pause indexing when maximum size is reach + PauseIndexingOnMaxSize pulumi.BoolOutput `pulumi:"pauseIndexingOnMaxSize"` + // Retention ID + RetentionId pulumi.StringOutput `pulumi:"retentionId"` + // The service name + ServiceName pulumi.StringOutput `pulumi:"serviceName"` + // Stream ID + StreamId pulumi.StringOutput `pulumi:"streamId"` + // Stream description + Title pulumi.StringOutput `pulumi:"title"` + // Stream last update + UpdatedAt pulumi.StringOutput `pulumi:"updatedAt"` + // Enable Websocket + WebSocketEnabled pulumi.BoolOutput `pulumi:"webSocketEnabled"` + // Write token of the stream + WriteToken pulumi.StringOutput `pulumi:"writeToken"` +} + +// NewDbaasLogsOutputGraylogStream registers a new resource with the given unique name, arguments, and options. +func NewDbaasLogsOutputGraylogStream(ctx *pulumi.Context, + name string, args *DbaasLogsOutputGraylogStreamArgs, opts ...pulumi.ResourceOption) (*DbaasLogsOutputGraylogStream, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.Description == nil { + return nil, errors.New("invalid value for required argument 'Description'") + } + if args.ServiceName == nil { + return nil, errors.New("invalid value for required argument 'ServiceName'") + } + if args.Title == nil { + return nil, errors.New("invalid value for required argument 'Title'") + } + secrets := pulumi.AdditionalSecretOutputs([]string{ + "writeToken", + }) + opts = append(opts, secrets) + opts = internal.PkgResourceDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var resource DbaasLogsOutputGraylogStream + err = ctx.RegisterPackageResource("ovh:index/dbaasLogsOutputGraylogStream:DbaasLogsOutputGraylogStream", name, args, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetDbaasLogsOutputGraylogStream gets an existing DbaasLogsOutputGraylogStream resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetDbaasLogsOutputGraylogStream(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *DbaasLogsOutputGraylogStreamState, opts ...pulumi.ResourceOption) (*DbaasLogsOutputGraylogStream, error) { + var resource DbaasLogsOutputGraylogStream + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + err = ctx.ReadPackageResource("ovh:index/dbaasLogsOutputGraylogStream:DbaasLogsOutputGraylogStream", name, id, state, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering DbaasLogsOutputGraylogStream resources. +type dbaasLogsOutputGraylogStreamState struct { + // Indicates if the current user can create alert on the stream + CanAlert *bool `pulumi:"canAlert"` + // Cold storage compression method + ColdStorageCompression *string `pulumi:"coldStorageCompression"` + // ColdStorage content + ColdStorageContent *string `pulumi:"coldStorageContent"` + // Is Cold storage enabled? + ColdStorageEnabled *bool `pulumi:"coldStorageEnabled"` + // Notify on new Cold storage archive + ColdStorageNotifyEnabled *bool `pulumi:"coldStorageNotifyEnabled"` + // Cold storage retention in year + ColdStorageRetention *float64 `pulumi:"coldStorageRetention"` + // ColdStorage destination + ColdStorageTarget *string `pulumi:"coldStorageTarget"` + // Stream creation + CreatedAt *string `pulumi:"createdAt"` + // Stream description + Description *string `pulumi:"description"` + // Enable ES indexing + IndexingEnabled *bool `pulumi:"indexingEnabled"` + // Maximum indexing size (in GB) + IndexingMaxSize *float64 `pulumi:"indexingMaxSize"` + // If set, notify when size is near 80, 90 or 100 % of the maximum configured setting + IndexingNotifyEnabled *bool `pulumi:"indexingNotifyEnabled"` + // Indicates if you are allowed to edit entry + IsEditable *bool `pulumi:"isEditable"` + // Indicates if you are allowed to share entry + IsShareable *bool `pulumi:"isShareable"` + // Number of alert condition + NbAlertCondition *float64 `pulumi:"nbAlertCondition"` + // Number of coldstored archives + NbArchive *float64 `pulumi:"nbArchive"` + // Parent stream ID + ParentStreamId *string `pulumi:"parentStreamId"` + // If set, pause indexing when maximum size is reach + PauseIndexingOnMaxSize *bool `pulumi:"pauseIndexingOnMaxSize"` + // Retention ID + RetentionId *string `pulumi:"retentionId"` + // The service name + ServiceName *string `pulumi:"serviceName"` + // Stream ID + StreamId *string `pulumi:"streamId"` + // Stream description + Title *string `pulumi:"title"` + // Stream last update + UpdatedAt *string `pulumi:"updatedAt"` + // Enable Websocket + WebSocketEnabled *bool `pulumi:"webSocketEnabled"` + // Write token of the stream + WriteToken *string `pulumi:"writeToken"` +} + +type DbaasLogsOutputGraylogStreamState struct { + // Indicates if the current user can create alert on the stream + CanAlert pulumi.BoolPtrInput + // Cold storage compression method + ColdStorageCompression pulumi.StringPtrInput + // ColdStorage content + ColdStorageContent pulumi.StringPtrInput + // Is Cold storage enabled? + ColdStorageEnabled pulumi.BoolPtrInput + // Notify on new Cold storage archive + ColdStorageNotifyEnabled pulumi.BoolPtrInput + // Cold storage retention in year + ColdStorageRetention pulumi.Float64PtrInput + // ColdStorage destination + ColdStorageTarget pulumi.StringPtrInput + // Stream creation + CreatedAt pulumi.StringPtrInput + // Stream description + Description pulumi.StringPtrInput + // Enable ES indexing + IndexingEnabled pulumi.BoolPtrInput + // Maximum indexing size (in GB) + IndexingMaxSize pulumi.Float64PtrInput + // If set, notify when size is near 80, 90 or 100 % of the maximum configured setting + IndexingNotifyEnabled pulumi.BoolPtrInput + // Indicates if you are allowed to edit entry + IsEditable pulumi.BoolPtrInput + // Indicates if you are allowed to share entry + IsShareable pulumi.BoolPtrInput + // Number of alert condition + NbAlertCondition pulumi.Float64PtrInput + // Number of coldstored archives + NbArchive pulumi.Float64PtrInput + // Parent stream ID + ParentStreamId pulumi.StringPtrInput + // If set, pause indexing when maximum size is reach + PauseIndexingOnMaxSize pulumi.BoolPtrInput + // Retention ID + RetentionId pulumi.StringPtrInput + // The service name + ServiceName pulumi.StringPtrInput + // Stream ID + StreamId pulumi.StringPtrInput + // Stream description + Title pulumi.StringPtrInput + // Stream last update + UpdatedAt pulumi.StringPtrInput + // Enable Websocket + WebSocketEnabled pulumi.BoolPtrInput + // Write token of the stream + WriteToken pulumi.StringPtrInput +} + +func (DbaasLogsOutputGraylogStreamState) ElementType() reflect.Type { + return reflect.TypeOf((*dbaasLogsOutputGraylogStreamState)(nil)).Elem() +} + +type dbaasLogsOutputGraylogStreamArgs struct { + // Cold storage compression method + ColdStorageCompression *string `pulumi:"coldStorageCompression"` + // ColdStorage content + ColdStorageContent *string `pulumi:"coldStorageContent"` + // Is Cold storage enabled? + ColdStorageEnabled *bool `pulumi:"coldStorageEnabled"` + // Notify on new Cold storage archive + ColdStorageNotifyEnabled *bool `pulumi:"coldStorageNotifyEnabled"` + // Cold storage retention in year + ColdStorageRetention *float64 `pulumi:"coldStorageRetention"` + // ColdStorage destination + ColdStorageTarget *string `pulumi:"coldStorageTarget"` + // Stream description + Description string `pulumi:"description"` + // Enable ES indexing + IndexingEnabled *bool `pulumi:"indexingEnabled"` + // Maximum indexing size (in GB) + IndexingMaxSize *float64 `pulumi:"indexingMaxSize"` + // If set, notify when size is near 80, 90 or 100 % of the maximum configured setting + IndexingNotifyEnabled *bool `pulumi:"indexingNotifyEnabled"` + // Parent stream ID + ParentStreamId *string `pulumi:"parentStreamId"` + // If set, pause indexing when maximum size is reach + PauseIndexingOnMaxSize *bool `pulumi:"pauseIndexingOnMaxSize"` + // Retention ID + RetentionId *string `pulumi:"retentionId"` + // The service name + ServiceName string `pulumi:"serviceName"` + // Stream description + Title string `pulumi:"title"` + // Enable Websocket + WebSocketEnabled *bool `pulumi:"webSocketEnabled"` +} + +// The set of arguments for constructing a DbaasLogsOutputGraylogStream resource. +type DbaasLogsOutputGraylogStreamArgs struct { + // Cold storage compression method + ColdStorageCompression pulumi.StringPtrInput + // ColdStorage content + ColdStorageContent pulumi.StringPtrInput + // Is Cold storage enabled? + ColdStorageEnabled pulumi.BoolPtrInput + // Notify on new Cold storage archive + ColdStorageNotifyEnabled pulumi.BoolPtrInput + // Cold storage retention in year + ColdStorageRetention pulumi.Float64PtrInput + // ColdStorage destination + ColdStorageTarget pulumi.StringPtrInput + // Stream description + Description pulumi.StringInput + // Enable ES indexing + IndexingEnabled pulumi.BoolPtrInput + // Maximum indexing size (in GB) + IndexingMaxSize pulumi.Float64PtrInput + // If set, notify when size is near 80, 90 or 100 % of the maximum configured setting + IndexingNotifyEnabled pulumi.BoolPtrInput + // Parent stream ID + ParentStreamId pulumi.StringPtrInput + // If set, pause indexing when maximum size is reach + PauseIndexingOnMaxSize pulumi.BoolPtrInput + // Retention ID + RetentionId pulumi.StringPtrInput + // The service name + ServiceName pulumi.StringInput + // Stream description + Title pulumi.StringInput + // Enable Websocket + WebSocketEnabled pulumi.BoolPtrInput +} + +func (DbaasLogsOutputGraylogStreamArgs) ElementType() reflect.Type { + return reflect.TypeOf((*dbaasLogsOutputGraylogStreamArgs)(nil)).Elem() +} + +type DbaasLogsOutputGraylogStreamInput interface { + pulumi.Input + + ToDbaasLogsOutputGraylogStreamOutput() DbaasLogsOutputGraylogStreamOutput + ToDbaasLogsOutputGraylogStreamOutputWithContext(ctx context.Context) DbaasLogsOutputGraylogStreamOutput +} + +func (*DbaasLogsOutputGraylogStream) ElementType() reflect.Type { + return reflect.TypeOf((**DbaasLogsOutputGraylogStream)(nil)).Elem() +} + +func (i *DbaasLogsOutputGraylogStream) ToDbaasLogsOutputGraylogStreamOutput() DbaasLogsOutputGraylogStreamOutput { + return i.ToDbaasLogsOutputGraylogStreamOutputWithContext(context.Background()) +} + +func (i *DbaasLogsOutputGraylogStream) ToDbaasLogsOutputGraylogStreamOutputWithContext(ctx context.Context) DbaasLogsOutputGraylogStreamOutput { + return pulumi.ToOutputWithContext(ctx, i).(DbaasLogsOutputGraylogStreamOutput) +} + +type DbaasLogsOutputGraylogStreamOutput struct{ *pulumi.OutputState } + +func (DbaasLogsOutputGraylogStreamOutput) ElementType() reflect.Type { + return reflect.TypeOf((**DbaasLogsOutputGraylogStream)(nil)).Elem() +} + +func (o DbaasLogsOutputGraylogStreamOutput) ToDbaasLogsOutputGraylogStreamOutput() DbaasLogsOutputGraylogStreamOutput { + return o +} + +func (o DbaasLogsOutputGraylogStreamOutput) ToDbaasLogsOutputGraylogStreamOutputWithContext(ctx context.Context) DbaasLogsOutputGraylogStreamOutput { + return o +} + +// Indicates if the current user can create alert on the stream +func (o DbaasLogsOutputGraylogStreamOutput) CanAlert() pulumi.BoolOutput { + return o.ApplyT(func(v *DbaasLogsOutputGraylogStream) pulumi.BoolOutput { return v.CanAlert }).(pulumi.BoolOutput) +} + +// Cold storage compression method +func (o DbaasLogsOutputGraylogStreamOutput) ColdStorageCompression() pulumi.StringOutput { + return o.ApplyT(func(v *DbaasLogsOutputGraylogStream) pulumi.StringOutput { return v.ColdStorageCompression }).(pulumi.StringOutput) +} + +// ColdStorage content +func (o DbaasLogsOutputGraylogStreamOutput) ColdStorageContent() pulumi.StringOutput { + return o.ApplyT(func(v *DbaasLogsOutputGraylogStream) pulumi.StringOutput { return v.ColdStorageContent }).(pulumi.StringOutput) +} + +// Is Cold storage enabled? +func (o DbaasLogsOutputGraylogStreamOutput) ColdStorageEnabled() pulumi.BoolOutput { + return o.ApplyT(func(v *DbaasLogsOutputGraylogStream) pulumi.BoolOutput { return v.ColdStorageEnabled }).(pulumi.BoolOutput) +} + +// Notify on new Cold storage archive +func (o DbaasLogsOutputGraylogStreamOutput) ColdStorageNotifyEnabled() pulumi.BoolOutput { + return o.ApplyT(func(v *DbaasLogsOutputGraylogStream) pulumi.BoolOutput { return v.ColdStorageNotifyEnabled }).(pulumi.BoolOutput) +} + +// Cold storage retention in year +func (o DbaasLogsOutputGraylogStreamOutput) ColdStorageRetention() pulumi.Float64Output { + return o.ApplyT(func(v *DbaasLogsOutputGraylogStream) pulumi.Float64Output { return v.ColdStorageRetention }).(pulumi.Float64Output) +} + +// ColdStorage destination +func (o DbaasLogsOutputGraylogStreamOutput) ColdStorageTarget() pulumi.StringOutput { + return o.ApplyT(func(v *DbaasLogsOutputGraylogStream) pulumi.StringOutput { return v.ColdStorageTarget }).(pulumi.StringOutput) +} + +// Stream creation +func (o DbaasLogsOutputGraylogStreamOutput) CreatedAt() pulumi.StringOutput { + return o.ApplyT(func(v *DbaasLogsOutputGraylogStream) pulumi.StringOutput { return v.CreatedAt }).(pulumi.StringOutput) +} + +// Stream description +func (o DbaasLogsOutputGraylogStreamOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v *DbaasLogsOutputGraylogStream) pulumi.StringOutput { return v.Description }).(pulumi.StringOutput) +} + +// Enable ES indexing +func (o DbaasLogsOutputGraylogStreamOutput) IndexingEnabled() pulumi.BoolOutput { + return o.ApplyT(func(v *DbaasLogsOutputGraylogStream) pulumi.BoolOutput { return v.IndexingEnabled }).(pulumi.BoolOutput) +} + +// Maximum indexing size (in GB) +func (o DbaasLogsOutputGraylogStreamOutput) IndexingMaxSize() pulumi.Float64Output { + return o.ApplyT(func(v *DbaasLogsOutputGraylogStream) pulumi.Float64Output { return v.IndexingMaxSize }).(pulumi.Float64Output) +} + +// If set, notify when size is near 80, 90 or 100 % of the maximum configured setting +func (o DbaasLogsOutputGraylogStreamOutput) IndexingNotifyEnabled() pulumi.BoolOutput { + return o.ApplyT(func(v *DbaasLogsOutputGraylogStream) pulumi.BoolOutput { return v.IndexingNotifyEnabled }).(pulumi.BoolOutput) +} + +// Indicates if you are allowed to edit entry +func (o DbaasLogsOutputGraylogStreamOutput) IsEditable() pulumi.BoolOutput { + return o.ApplyT(func(v *DbaasLogsOutputGraylogStream) pulumi.BoolOutput { return v.IsEditable }).(pulumi.BoolOutput) +} + +// Indicates if you are allowed to share entry +func (o DbaasLogsOutputGraylogStreamOutput) IsShareable() pulumi.BoolOutput { + return o.ApplyT(func(v *DbaasLogsOutputGraylogStream) pulumi.BoolOutput { return v.IsShareable }).(pulumi.BoolOutput) +} + +// Number of alert condition +func (o DbaasLogsOutputGraylogStreamOutput) NbAlertCondition() pulumi.Float64Output { + return o.ApplyT(func(v *DbaasLogsOutputGraylogStream) pulumi.Float64Output { return v.NbAlertCondition }).(pulumi.Float64Output) +} + +// Number of coldstored archives +func (o DbaasLogsOutputGraylogStreamOutput) NbArchive() pulumi.Float64Output { + return o.ApplyT(func(v *DbaasLogsOutputGraylogStream) pulumi.Float64Output { return v.NbArchive }).(pulumi.Float64Output) +} + +// Parent stream ID +func (o DbaasLogsOutputGraylogStreamOutput) ParentStreamId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DbaasLogsOutputGraylogStream) pulumi.StringPtrOutput { return v.ParentStreamId }).(pulumi.StringPtrOutput) +} + +// If set, pause indexing when maximum size is reach +func (o DbaasLogsOutputGraylogStreamOutput) PauseIndexingOnMaxSize() pulumi.BoolOutput { + return o.ApplyT(func(v *DbaasLogsOutputGraylogStream) pulumi.BoolOutput { return v.PauseIndexingOnMaxSize }).(pulumi.BoolOutput) +} + +// Retention ID +func (o DbaasLogsOutputGraylogStreamOutput) RetentionId() pulumi.StringOutput { + return o.ApplyT(func(v *DbaasLogsOutputGraylogStream) pulumi.StringOutput { return v.RetentionId }).(pulumi.StringOutput) +} + +// The service name +func (o DbaasLogsOutputGraylogStreamOutput) ServiceName() pulumi.StringOutput { + return o.ApplyT(func(v *DbaasLogsOutputGraylogStream) pulumi.StringOutput { return v.ServiceName }).(pulumi.StringOutput) +} + +// Stream ID +func (o DbaasLogsOutputGraylogStreamOutput) StreamId() pulumi.StringOutput { + return o.ApplyT(func(v *DbaasLogsOutputGraylogStream) pulumi.StringOutput { return v.StreamId }).(pulumi.StringOutput) +} + +// Stream description +func (o DbaasLogsOutputGraylogStreamOutput) Title() pulumi.StringOutput { + return o.ApplyT(func(v *DbaasLogsOutputGraylogStream) pulumi.StringOutput { return v.Title }).(pulumi.StringOutput) +} + +// Stream last update +func (o DbaasLogsOutputGraylogStreamOutput) UpdatedAt() pulumi.StringOutput { + return o.ApplyT(func(v *DbaasLogsOutputGraylogStream) pulumi.StringOutput { return v.UpdatedAt }).(pulumi.StringOutput) +} + +// Enable Websocket +func (o DbaasLogsOutputGraylogStreamOutput) WebSocketEnabled() pulumi.BoolOutput { + return o.ApplyT(func(v *DbaasLogsOutputGraylogStream) pulumi.BoolOutput { return v.WebSocketEnabled }).(pulumi.BoolOutput) +} + +// Write token of the stream +func (o DbaasLogsOutputGraylogStreamOutput) WriteToken() pulumi.StringOutput { + return o.ApplyT(func(v *DbaasLogsOutputGraylogStream) pulumi.StringOutput { return v.WriteToken }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*DbaasLogsOutputGraylogStreamInput)(nil)).Elem(), &DbaasLogsOutputGraylogStream{}) + pulumi.RegisterOutputType(DbaasLogsOutputGraylogStreamOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/dbaasLogsToken.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/dbaasLogsToken.go new file mode 100644 index 00000000..e2df0710 --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/dbaasLogsToken.go @@ -0,0 +1,210 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type DbaasLogsToken struct { + pulumi.CustomResourceState + + // Cluster ID + ClusterId pulumi.StringOutput `pulumi:"clusterId"` + // Token creation + CreatedAt pulumi.StringOutput `pulumi:"createdAt"` + // Token name + Name pulumi.StringOutput `pulumi:"name"` + // Service name + ServiceName pulumi.StringOutput `pulumi:"serviceName"` + // Token used + TokenId pulumi.StringOutput `pulumi:"tokenId"` + // Token last update + UpdatedAt pulumi.StringOutput `pulumi:"updatedAt"` + // Token value + Value pulumi.StringOutput `pulumi:"value"` +} + +// NewDbaasLogsToken registers a new resource with the given unique name, arguments, and options. +func NewDbaasLogsToken(ctx *pulumi.Context, + name string, args *DbaasLogsTokenArgs, opts ...pulumi.ResourceOption) (*DbaasLogsToken, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.ServiceName == nil { + return nil, errors.New("invalid value for required argument 'ServiceName'") + } + secrets := pulumi.AdditionalSecretOutputs([]string{ + "value", + }) + opts = append(opts, secrets) + opts = internal.PkgResourceDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var resource DbaasLogsToken + err = ctx.RegisterPackageResource("ovh:index/dbaasLogsToken:DbaasLogsToken", name, args, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetDbaasLogsToken gets an existing DbaasLogsToken resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetDbaasLogsToken(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *DbaasLogsTokenState, opts ...pulumi.ResourceOption) (*DbaasLogsToken, error) { + var resource DbaasLogsToken + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + err = ctx.ReadPackageResource("ovh:index/dbaasLogsToken:DbaasLogsToken", name, id, state, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering DbaasLogsToken resources. +type dbaasLogsTokenState struct { + // Cluster ID + ClusterId *string `pulumi:"clusterId"` + // Token creation + CreatedAt *string `pulumi:"createdAt"` + // Token name + Name *string `pulumi:"name"` + // Service name + ServiceName *string `pulumi:"serviceName"` + // Token used + TokenId *string `pulumi:"tokenId"` + // Token last update + UpdatedAt *string `pulumi:"updatedAt"` + // Token value + Value *string `pulumi:"value"` +} + +type DbaasLogsTokenState struct { + // Cluster ID + ClusterId pulumi.StringPtrInput + // Token creation + CreatedAt pulumi.StringPtrInput + // Token name + Name pulumi.StringPtrInput + // Service name + ServiceName pulumi.StringPtrInput + // Token used + TokenId pulumi.StringPtrInput + // Token last update + UpdatedAt pulumi.StringPtrInput + // Token value + Value pulumi.StringPtrInput +} + +func (DbaasLogsTokenState) ElementType() reflect.Type { + return reflect.TypeOf((*dbaasLogsTokenState)(nil)).Elem() +} + +type dbaasLogsTokenArgs struct { + // Cluster ID + ClusterId *string `pulumi:"clusterId"` + // Token name + Name *string `pulumi:"name"` + // Service name + ServiceName string `pulumi:"serviceName"` +} + +// The set of arguments for constructing a DbaasLogsToken resource. +type DbaasLogsTokenArgs struct { + // Cluster ID + ClusterId pulumi.StringPtrInput + // Token name + Name pulumi.StringPtrInput + // Service name + ServiceName pulumi.StringInput +} + +func (DbaasLogsTokenArgs) ElementType() reflect.Type { + return reflect.TypeOf((*dbaasLogsTokenArgs)(nil)).Elem() +} + +type DbaasLogsTokenInput interface { + pulumi.Input + + ToDbaasLogsTokenOutput() DbaasLogsTokenOutput + ToDbaasLogsTokenOutputWithContext(ctx context.Context) DbaasLogsTokenOutput +} + +func (*DbaasLogsToken) ElementType() reflect.Type { + return reflect.TypeOf((**DbaasLogsToken)(nil)).Elem() +} + +func (i *DbaasLogsToken) ToDbaasLogsTokenOutput() DbaasLogsTokenOutput { + return i.ToDbaasLogsTokenOutputWithContext(context.Background()) +} + +func (i *DbaasLogsToken) ToDbaasLogsTokenOutputWithContext(ctx context.Context) DbaasLogsTokenOutput { + return pulumi.ToOutputWithContext(ctx, i).(DbaasLogsTokenOutput) +} + +type DbaasLogsTokenOutput struct{ *pulumi.OutputState } + +func (DbaasLogsTokenOutput) ElementType() reflect.Type { + return reflect.TypeOf((**DbaasLogsToken)(nil)).Elem() +} + +func (o DbaasLogsTokenOutput) ToDbaasLogsTokenOutput() DbaasLogsTokenOutput { + return o +} + +func (o DbaasLogsTokenOutput) ToDbaasLogsTokenOutputWithContext(ctx context.Context) DbaasLogsTokenOutput { + return o +} + +// Cluster ID +func (o DbaasLogsTokenOutput) ClusterId() pulumi.StringOutput { + return o.ApplyT(func(v *DbaasLogsToken) pulumi.StringOutput { return v.ClusterId }).(pulumi.StringOutput) +} + +// Token creation +func (o DbaasLogsTokenOutput) CreatedAt() pulumi.StringOutput { + return o.ApplyT(func(v *DbaasLogsToken) pulumi.StringOutput { return v.CreatedAt }).(pulumi.StringOutput) +} + +// Token name +func (o DbaasLogsTokenOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *DbaasLogsToken) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +// Service name +func (o DbaasLogsTokenOutput) ServiceName() pulumi.StringOutput { + return o.ApplyT(func(v *DbaasLogsToken) pulumi.StringOutput { return v.ServiceName }).(pulumi.StringOutput) +} + +// Token used +func (o DbaasLogsTokenOutput) TokenId() pulumi.StringOutput { + return o.ApplyT(func(v *DbaasLogsToken) pulumi.StringOutput { return v.TokenId }).(pulumi.StringOutput) +} + +// Token last update +func (o DbaasLogsTokenOutput) UpdatedAt() pulumi.StringOutput { + return o.ApplyT(func(v *DbaasLogsToken) pulumi.StringOutput { return v.UpdatedAt }).(pulumi.StringOutput) +} + +// Token value +func (o DbaasLogsTokenOutput) Value() pulumi.StringOutput { + return o.ApplyT(func(v *DbaasLogsToken) pulumi.StringOutput { return v.Value }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*DbaasLogsTokenInput)(nil)).Elem(), &DbaasLogsToken{}) + pulumi.RegisterOutputType(DbaasLogsTokenOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/dedicatedCephAcl.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/dedicatedCephAcl.go new file mode 100644 index 00000000..fe0910f6 --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/dedicatedCephAcl.go @@ -0,0 +1,157 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type DedicatedCephAcl struct { + pulumi.CustomResourceState + + Family pulumi.StringOutput `pulumi:"family"` + Netmask pulumi.StringOutput `pulumi:"netmask"` + Network pulumi.StringOutput `pulumi:"network"` + ServiceName pulumi.StringOutput `pulumi:"serviceName"` +} + +// NewDedicatedCephAcl registers a new resource with the given unique name, arguments, and options. +func NewDedicatedCephAcl(ctx *pulumi.Context, + name string, args *DedicatedCephAclArgs, opts ...pulumi.ResourceOption) (*DedicatedCephAcl, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.Netmask == nil { + return nil, errors.New("invalid value for required argument 'Netmask'") + } + if args.Network == nil { + return nil, errors.New("invalid value for required argument 'Network'") + } + if args.ServiceName == nil { + return nil, errors.New("invalid value for required argument 'ServiceName'") + } + opts = internal.PkgResourceDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var resource DedicatedCephAcl + err = ctx.RegisterPackageResource("ovh:index/dedicatedCephAcl:DedicatedCephAcl", name, args, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetDedicatedCephAcl gets an existing DedicatedCephAcl resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetDedicatedCephAcl(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *DedicatedCephAclState, opts ...pulumi.ResourceOption) (*DedicatedCephAcl, error) { + var resource DedicatedCephAcl + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + err = ctx.ReadPackageResource("ovh:index/dedicatedCephAcl:DedicatedCephAcl", name, id, state, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering DedicatedCephAcl resources. +type dedicatedCephAclState struct { + Family *string `pulumi:"family"` + Netmask *string `pulumi:"netmask"` + Network *string `pulumi:"network"` + ServiceName *string `pulumi:"serviceName"` +} + +type DedicatedCephAclState struct { + Family pulumi.StringPtrInput + Netmask pulumi.StringPtrInput + Network pulumi.StringPtrInput + ServiceName pulumi.StringPtrInput +} + +func (DedicatedCephAclState) ElementType() reflect.Type { + return reflect.TypeOf((*dedicatedCephAclState)(nil)).Elem() +} + +type dedicatedCephAclArgs struct { + Netmask string `pulumi:"netmask"` + Network string `pulumi:"network"` + ServiceName string `pulumi:"serviceName"` +} + +// The set of arguments for constructing a DedicatedCephAcl resource. +type DedicatedCephAclArgs struct { + Netmask pulumi.StringInput + Network pulumi.StringInput + ServiceName pulumi.StringInput +} + +func (DedicatedCephAclArgs) ElementType() reflect.Type { + return reflect.TypeOf((*dedicatedCephAclArgs)(nil)).Elem() +} + +type DedicatedCephAclInput interface { + pulumi.Input + + ToDedicatedCephAclOutput() DedicatedCephAclOutput + ToDedicatedCephAclOutputWithContext(ctx context.Context) DedicatedCephAclOutput +} + +func (*DedicatedCephAcl) ElementType() reflect.Type { + return reflect.TypeOf((**DedicatedCephAcl)(nil)).Elem() +} + +func (i *DedicatedCephAcl) ToDedicatedCephAclOutput() DedicatedCephAclOutput { + return i.ToDedicatedCephAclOutputWithContext(context.Background()) +} + +func (i *DedicatedCephAcl) ToDedicatedCephAclOutputWithContext(ctx context.Context) DedicatedCephAclOutput { + return pulumi.ToOutputWithContext(ctx, i).(DedicatedCephAclOutput) +} + +type DedicatedCephAclOutput struct{ *pulumi.OutputState } + +func (DedicatedCephAclOutput) ElementType() reflect.Type { + return reflect.TypeOf((**DedicatedCephAcl)(nil)).Elem() +} + +func (o DedicatedCephAclOutput) ToDedicatedCephAclOutput() DedicatedCephAclOutput { + return o +} + +func (o DedicatedCephAclOutput) ToDedicatedCephAclOutputWithContext(ctx context.Context) DedicatedCephAclOutput { + return o +} + +func (o DedicatedCephAclOutput) Family() pulumi.StringOutput { + return o.ApplyT(func(v *DedicatedCephAcl) pulumi.StringOutput { return v.Family }).(pulumi.StringOutput) +} + +func (o DedicatedCephAclOutput) Netmask() pulumi.StringOutput { + return o.ApplyT(func(v *DedicatedCephAcl) pulumi.StringOutput { return v.Netmask }).(pulumi.StringOutput) +} + +func (o DedicatedCephAclOutput) Network() pulumi.StringOutput { + return o.ApplyT(func(v *DedicatedCephAcl) pulumi.StringOutput { return v.Network }).(pulumi.StringOutput) +} + +func (o DedicatedCephAclOutput) ServiceName() pulumi.StringOutput { + return o.ApplyT(func(v *DedicatedCephAcl) pulumi.StringOutput { return v.ServiceName }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*DedicatedCephAclInput)(nil)).Elem(), &DedicatedCephAcl{}) + pulumi.RegisterOutputType(DedicatedCephAclOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/dedicatedNashaPartition.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/dedicatedNashaPartition.go new file mode 100644 index 00000000..e08fdf70 --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/dedicatedNashaPartition.go @@ -0,0 +1,182 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type DedicatedNashaPartition struct { + pulumi.CustomResourceState + + Capacity pulumi.Float64Output `pulumi:"capacity"` + Description pulumi.StringPtrOutput `pulumi:"description"` + Name pulumi.StringOutput `pulumi:"name"` + Protocol pulumi.StringOutput `pulumi:"protocol"` + ServiceName pulumi.StringOutput `pulumi:"serviceName"` + Size pulumi.Float64Output `pulumi:"size"` + UsedBySnapshots pulumi.Float64Output `pulumi:"usedBySnapshots"` +} + +// NewDedicatedNashaPartition registers a new resource with the given unique name, arguments, and options. +func NewDedicatedNashaPartition(ctx *pulumi.Context, + name string, args *DedicatedNashaPartitionArgs, opts ...pulumi.ResourceOption) (*DedicatedNashaPartition, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.Protocol == nil { + return nil, errors.New("invalid value for required argument 'Protocol'") + } + if args.ServiceName == nil { + return nil, errors.New("invalid value for required argument 'ServiceName'") + } + if args.Size == nil { + return nil, errors.New("invalid value for required argument 'Size'") + } + opts = internal.PkgResourceDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var resource DedicatedNashaPartition + err = ctx.RegisterPackageResource("ovh:index/dedicatedNashaPartition:DedicatedNashaPartition", name, args, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetDedicatedNashaPartition gets an existing DedicatedNashaPartition resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetDedicatedNashaPartition(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *DedicatedNashaPartitionState, opts ...pulumi.ResourceOption) (*DedicatedNashaPartition, error) { + var resource DedicatedNashaPartition + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + err = ctx.ReadPackageResource("ovh:index/dedicatedNashaPartition:DedicatedNashaPartition", name, id, state, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering DedicatedNashaPartition resources. +type dedicatedNashaPartitionState struct { + Capacity *float64 `pulumi:"capacity"` + Description *string `pulumi:"description"` + Name *string `pulumi:"name"` + Protocol *string `pulumi:"protocol"` + ServiceName *string `pulumi:"serviceName"` + Size *float64 `pulumi:"size"` + UsedBySnapshots *float64 `pulumi:"usedBySnapshots"` +} + +type DedicatedNashaPartitionState struct { + Capacity pulumi.Float64PtrInput + Description pulumi.StringPtrInput + Name pulumi.StringPtrInput + Protocol pulumi.StringPtrInput + ServiceName pulumi.StringPtrInput + Size pulumi.Float64PtrInput + UsedBySnapshots pulumi.Float64PtrInput +} + +func (DedicatedNashaPartitionState) ElementType() reflect.Type { + return reflect.TypeOf((*dedicatedNashaPartitionState)(nil)).Elem() +} + +type dedicatedNashaPartitionArgs struct { + Description *string `pulumi:"description"` + Name *string `pulumi:"name"` + Protocol string `pulumi:"protocol"` + ServiceName string `pulumi:"serviceName"` + Size float64 `pulumi:"size"` +} + +// The set of arguments for constructing a DedicatedNashaPartition resource. +type DedicatedNashaPartitionArgs struct { + Description pulumi.StringPtrInput + Name pulumi.StringPtrInput + Protocol pulumi.StringInput + ServiceName pulumi.StringInput + Size pulumi.Float64Input +} + +func (DedicatedNashaPartitionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*dedicatedNashaPartitionArgs)(nil)).Elem() +} + +type DedicatedNashaPartitionInput interface { + pulumi.Input + + ToDedicatedNashaPartitionOutput() DedicatedNashaPartitionOutput + ToDedicatedNashaPartitionOutputWithContext(ctx context.Context) DedicatedNashaPartitionOutput +} + +func (*DedicatedNashaPartition) ElementType() reflect.Type { + return reflect.TypeOf((**DedicatedNashaPartition)(nil)).Elem() +} + +func (i *DedicatedNashaPartition) ToDedicatedNashaPartitionOutput() DedicatedNashaPartitionOutput { + return i.ToDedicatedNashaPartitionOutputWithContext(context.Background()) +} + +func (i *DedicatedNashaPartition) ToDedicatedNashaPartitionOutputWithContext(ctx context.Context) DedicatedNashaPartitionOutput { + return pulumi.ToOutputWithContext(ctx, i).(DedicatedNashaPartitionOutput) +} + +type DedicatedNashaPartitionOutput struct{ *pulumi.OutputState } + +func (DedicatedNashaPartitionOutput) ElementType() reflect.Type { + return reflect.TypeOf((**DedicatedNashaPartition)(nil)).Elem() +} + +func (o DedicatedNashaPartitionOutput) ToDedicatedNashaPartitionOutput() DedicatedNashaPartitionOutput { + return o +} + +func (o DedicatedNashaPartitionOutput) ToDedicatedNashaPartitionOutputWithContext(ctx context.Context) DedicatedNashaPartitionOutput { + return o +} + +func (o DedicatedNashaPartitionOutput) Capacity() pulumi.Float64Output { + return o.ApplyT(func(v *DedicatedNashaPartition) pulumi.Float64Output { return v.Capacity }).(pulumi.Float64Output) +} + +func (o DedicatedNashaPartitionOutput) Description() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DedicatedNashaPartition) pulumi.StringPtrOutput { return v.Description }).(pulumi.StringPtrOutput) +} + +func (o DedicatedNashaPartitionOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *DedicatedNashaPartition) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +func (o DedicatedNashaPartitionOutput) Protocol() pulumi.StringOutput { + return o.ApplyT(func(v *DedicatedNashaPartition) pulumi.StringOutput { return v.Protocol }).(pulumi.StringOutput) +} + +func (o DedicatedNashaPartitionOutput) ServiceName() pulumi.StringOutput { + return o.ApplyT(func(v *DedicatedNashaPartition) pulumi.StringOutput { return v.ServiceName }).(pulumi.StringOutput) +} + +func (o DedicatedNashaPartitionOutput) Size() pulumi.Float64Output { + return o.ApplyT(func(v *DedicatedNashaPartition) pulumi.Float64Output { return v.Size }).(pulumi.Float64Output) +} + +func (o DedicatedNashaPartitionOutput) UsedBySnapshots() pulumi.Float64Output { + return o.ApplyT(func(v *DedicatedNashaPartition) pulumi.Float64Output { return v.UsedBySnapshots }).(pulumi.Float64Output) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*DedicatedNashaPartitionInput)(nil)).Elem(), &DedicatedNashaPartition{}) + pulumi.RegisterOutputType(DedicatedNashaPartitionOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/dedicatedNashaPartitionAccess.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/dedicatedNashaPartitionAccess.go new file mode 100644 index 00000000..68b0d751 --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/dedicatedNashaPartitionAccess.go @@ -0,0 +1,174 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type DedicatedNashaPartitionAccess struct { + pulumi.CustomResourceState + + // A brief description of the ACL + AclDescription pulumi.StringPtrOutput `pulumi:"aclDescription"` + Ip pulumi.StringOutput `pulumi:"ip"` + PartitionName pulumi.StringOutput `pulumi:"partitionName"` + ServiceName pulumi.StringOutput `pulumi:"serviceName"` + Type pulumi.StringPtrOutput `pulumi:"type"` +} + +// NewDedicatedNashaPartitionAccess registers a new resource with the given unique name, arguments, and options. +func NewDedicatedNashaPartitionAccess(ctx *pulumi.Context, + name string, args *DedicatedNashaPartitionAccessArgs, opts ...pulumi.ResourceOption) (*DedicatedNashaPartitionAccess, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.Ip == nil { + return nil, errors.New("invalid value for required argument 'Ip'") + } + if args.PartitionName == nil { + return nil, errors.New("invalid value for required argument 'PartitionName'") + } + if args.ServiceName == nil { + return nil, errors.New("invalid value for required argument 'ServiceName'") + } + opts = internal.PkgResourceDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var resource DedicatedNashaPartitionAccess + err = ctx.RegisterPackageResource("ovh:index/dedicatedNashaPartitionAccess:DedicatedNashaPartitionAccess", name, args, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetDedicatedNashaPartitionAccess gets an existing DedicatedNashaPartitionAccess resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetDedicatedNashaPartitionAccess(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *DedicatedNashaPartitionAccessState, opts ...pulumi.ResourceOption) (*DedicatedNashaPartitionAccess, error) { + var resource DedicatedNashaPartitionAccess + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + err = ctx.ReadPackageResource("ovh:index/dedicatedNashaPartitionAccess:DedicatedNashaPartitionAccess", name, id, state, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering DedicatedNashaPartitionAccess resources. +type dedicatedNashaPartitionAccessState struct { + // A brief description of the ACL + AclDescription *string `pulumi:"aclDescription"` + Ip *string `pulumi:"ip"` + PartitionName *string `pulumi:"partitionName"` + ServiceName *string `pulumi:"serviceName"` + Type *string `pulumi:"type"` +} + +type DedicatedNashaPartitionAccessState struct { + // A brief description of the ACL + AclDescription pulumi.StringPtrInput + Ip pulumi.StringPtrInput + PartitionName pulumi.StringPtrInput + ServiceName pulumi.StringPtrInput + Type pulumi.StringPtrInput +} + +func (DedicatedNashaPartitionAccessState) ElementType() reflect.Type { + return reflect.TypeOf((*dedicatedNashaPartitionAccessState)(nil)).Elem() +} + +type dedicatedNashaPartitionAccessArgs struct { + // A brief description of the ACL + AclDescription *string `pulumi:"aclDescription"` + Ip string `pulumi:"ip"` + PartitionName string `pulumi:"partitionName"` + ServiceName string `pulumi:"serviceName"` + Type *string `pulumi:"type"` +} + +// The set of arguments for constructing a DedicatedNashaPartitionAccess resource. +type DedicatedNashaPartitionAccessArgs struct { + // A brief description of the ACL + AclDescription pulumi.StringPtrInput + Ip pulumi.StringInput + PartitionName pulumi.StringInput + ServiceName pulumi.StringInput + Type pulumi.StringPtrInput +} + +func (DedicatedNashaPartitionAccessArgs) ElementType() reflect.Type { + return reflect.TypeOf((*dedicatedNashaPartitionAccessArgs)(nil)).Elem() +} + +type DedicatedNashaPartitionAccessInput interface { + pulumi.Input + + ToDedicatedNashaPartitionAccessOutput() DedicatedNashaPartitionAccessOutput + ToDedicatedNashaPartitionAccessOutputWithContext(ctx context.Context) DedicatedNashaPartitionAccessOutput +} + +func (*DedicatedNashaPartitionAccess) ElementType() reflect.Type { + return reflect.TypeOf((**DedicatedNashaPartitionAccess)(nil)).Elem() +} + +func (i *DedicatedNashaPartitionAccess) ToDedicatedNashaPartitionAccessOutput() DedicatedNashaPartitionAccessOutput { + return i.ToDedicatedNashaPartitionAccessOutputWithContext(context.Background()) +} + +func (i *DedicatedNashaPartitionAccess) ToDedicatedNashaPartitionAccessOutputWithContext(ctx context.Context) DedicatedNashaPartitionAccessOutput { + return pulumi.ToOutputWithContext(ctx, i).(DedicatedNashaPartitionAccessOutput) +} + +type DedicatedNashaPartitionAccessOutput struct{ *pulumi.OutputState } + +func (DedicatedNashaPartitionAccessOutput) ElementType() reflect.Type { + return reflect.TypeOf((**DedicatedNashaPartitionAccess)(nil)).Elem() +} + +func (o DedicatedNashaPartitionAccessOutput) ToDedicatedNashaPartitionAccessOutput() DedicatedNashaPartitionAccessOutput { + return o +} + +func (o DedicatedNashaPartitionAccessOutput) ToDedicatedNashaPartitionAccessOutputWithContext(ctx context.Context) DedicatedNashaPartitionAccessOutput { + return o +} + +// A brief description of the ACL +func (o DedicatedNashaPartitionAccessOutput) AclDescription() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DedicatedNashaPartitionAccess) pulumi.StringPtrOutput { return v.AclDescription }).(pulumi.StringPtrOutput) +} + +func (o DedicatedNashaPartitionAccessOutput) Ip() pulumi.StringOutput { + return o.ApplyT(func(v *DedicatedNashaPartitionAccess) pulumi.StringOutput { return v.Ip }).(pulumi.StringOutput) +} + +func (o DedicatedNashaPartitionAccessOutput) PartitionName() pulumi.StringOutput { + return o.ApplyT(func(v *DedicatedNashaPartitionAccess) pulumi.StringOutput { return v.PartitionName }).(pulumi.StringOutput) +} + +func (o DedicatedNashaPartitionAccessOutput) ServiceName() pulumi.StringOutput { + return o.ApplyT(func(v *DedicatedNashaPartitionAccess) pulumi.StringOutput { return v.ServiceName }).(pulumi.StringOutput) +} + +func (o DedicatedNashaPartitionAccessOutput) Type() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DedicatedNashaPartitionAccess) pulumi.StringPtrOutput { return v.Type }).(pulumi.StringPtrOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*DedicatedNashaPartitionAccessInput)(nil)).Elem(), &DedicatedNashaPartitionAccess{}) + pulumi.RegisterOutputType(DedicatedNashaPartitionAccessOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/dedicatedNashaPartitionSnapshot.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/dedicatedNashaPartitionSnapshot.go new file mode 100644 index 00000000..5e294bae --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/dedicatedNashaPartitionSnapshot.go @@ -0,0 +1,150 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type DedicatedNashaPartitionSnapshot struct { + pulumi.CustomResourceState + + PartitionName pulumi.StringOutput `pulumi:"partitionName"` + ServiceName pulumi.StringOutput `pulumi:"serviceName"` + Type pulumi.StringOutput `pulumi:"type"` +} + +// NewDedicatedNashaPartitionSnapshot registers a new resource with the given unique name, arguments, and options. +func NewDedicatedNashaPartitionSnapshot(ctx *pulumi.Context, + name string, args *DedicatedNashaPartitionSnapshotArgs, opts ...pulumi.ResourceOption) (*DedicatedNashaPartitionSnapshot, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.PartitionName == nil { + return nil, errors.New("invalid value for required argument 'PartitionName'") + } + if args.ServiceName == nil { + return nil, errors.New("invalid value for required argument 'ServiceName'") + } + if args.Type == nil { + return nil, errors.New("invalid value for required argument 'Type'") + } + opts = internal.PkgResourceDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var resource DedicatedNashaPartitionSnapshot + err = ctx.RegisterPackageResource("ovh:index/dedicatedNashaPartitionSnapshot:DedicatedNashaPartitionSnapshot", name, args, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetDedicatedNashaPartitionSnapshot gets an existing DedicatedNashaPartitionSnapshot resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetDedicatedNashaPartitionSnapshot(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *DedicatedNashaPartitionSnapshotState, opts ...pulumi.ResourceOption) (*DedicatedNashaPartitionSnapshot, error) { + var resource DedicatedNashaPartitionSnapshot + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + err = ctx.ReadPackageResource("ovh:index/dedicatedNashaPartitionSnapshot:DedicatedNashaPartitionSnapshot", name, id, state, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering DedicatedNashaPartitionSnapshot resources. +type dedicatedNashaPartitionSnapshotState struct { + PartitionName *string `pulumi:"partitionName"` + ServiceName *string `pulumi:"serviceName"` + Type *string `pulumi:"type"` +} + +type DedicatedNashaPartitionSnapshotState struct { + PartitionName pulumi.StringPtrInput + ServiceName pulumi.StringPtrInput + Type pulumi.StringPtrInput +} + +func (DedicatedNashaPartitionSnapshotState) ElementType() reflect.Type { + return reflect.TypeOf((*dedicatedNashaPartitionSnapshotState)(nil)).Elem() +} + +type dedicatedNashaPartitionSnapshotArgs struct { + PartitionName string `pulumi:"partitionName"` + ServiceName string `pulumi:"serviceName"` + Type string `pulumi:"type"` +} + +// The set of arguments for constructing a DedicatedNashaPartitionSnapshot resource. +type DedicatedNashaPartitionSnapshotArgs struct { + PartitionName pulumi.StringInput + ServiceName pulumi.StringInput + Type pulumi.StringInput +} + +func (DedicatedNashaPartitionSnapshotArgs) ElementType() reflect.Type { + return reflect.TypeOf((*dedicatedNashaPartitionSnapshotArgs)(nil)).Elem() +} + +type DedicatedNashaPartitionSnapshotInput interface { + pulumi.Input + + ToDedicatedNashaPartitionSnapshotOutput() DedicatedNashaPartitionSnapshotOutput + ToDedicatedNashaPartitionSnapshotOutputWithContext(ctx context.Context) DedicatedNashaPartitionSnapshotOutput +} + +func (*DedicatedNashaPartitionSnapshot) ElementType() reflect.Type { + return reflect.TypeOf((**DedicatedNashaPartitionSnapshot)(nil)).Elem() +} + +func (i *DedicatedNashaPartitionSnapshot) ToDedicatedNashaPartitionSnapshotOutput() DedicatedNashaPartitionSnapshotOutput { + return i.ToDedicatedNashaPartitionSnapshotOutputWithContext(context.Background()) +} + +func (i *DedicatedNashaPartitionSnapshot) ToDedicatedNashaPartitionSnapshotOutputWithContext(ctx context.Context) DedicatedNashaPartitionSnapshotOutput { + return pulumi.ToOutputWithContext(ctx, i).(DedicatedNashaPartitionSnapshotOutput) +} + +type DedicatedNashaPartitionSnapshotOutput struct{ *pulumi.OutputState } + +func (DedicatedNashaPartitionSnapshotOutput) ElementType() reflect.Type { + return reflect.TypeOf((**DedicatedNashaPartitionSnapshot)(nil)).Elem() +} + +func (o DedicatedNashaPartitionSnapshotOutput) ToDedicatedNashaPartitionSnapshotOutput() DedicatedNashaPartitionSnapshotOutput { + return o +} + +func (o DedicatedNashaPartitionSnapshotOutput) ToDedicatedNashaPartitionSnapshotOutputWithContext(ctx context.Context) DedicatedNashaPartitionSnapshotOutput { + return o +} + +func (o DedicatedNashaPartitionSnapshotOutput) PartitionName() pulumi.StringOutput { + return o.ApplyT(func(v *DedicatedNashaPartitionSnapshot) pulumi.StringOutput { return v.PartitionName }).(pulumi.StringOutput) +} + +func (o DedicatedNashaPartitionSnapshotOutput) ServiceName() pulumi.StringOutput { + return o.ApplyT(func(v *DedicatedNashaPartitionSnapshot) pulumi.StringOutput { return v.ServiceName }).(pulumi.StringOutput) +} + +func (o DedicatedNashaPartitionSnapshotOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v *DedicatedNashaPartitionSnapshot) pulumi.StringOutput { return v.Type }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*DedicatedNashaPartitionSnapshotInput)(nil)).Elem(), &DedicatedNashaPartitionSnapshot{}) + pulumi.RegisterOutputType(DedicatedNashaPartitionSnapshotOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/dedicatedServerInstallTask.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/dedicatedServerInstallTask.go new file mode 100644 index 00000000..683e0f12 --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/dedicatedServerInstallTask.go @@ -0,0 +1,275 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type DedicatedServerInstallTask struct { + pulumi.CustomResourceState + + // If set, reboot the server on the specified boot id during destroy phase + BootidOnDestroy pulumi.Float64PtrOutput `pulumi:"bootidOnDestroy"` + // Details of this task + Comment pulumi.StringOutput `pulumi:"comment"` + Details DedicatedServerInstallTaskDetailsPtrOutput `pulumi:"details"` + // Completion date + DoneDate pulumi.StringOutput `pulumi:"doneDate"` + // Function name + Function pulumi.StringOutput `pulumi:"function"` + // Last update + LastUpdate pulumi.StringOutput `pulumi:"lastUpdate"` + // Partition scheme name. + PartitionSchemeName pulumi.StringPtrOutput `pulumi:"partitionSchemeName"` + // The internal name of your dedicated server. + ServiceName pulumi.StringOutput `pulumi:"serviceName"` + // Task Creation date + StartDate pulumi.StringOutput `pulumi:"startDate"` + // Task status + Status pulumi.StringOutput `pulumi:"status"` + // Template name + TemplateName pulumi.StringOutput `pulumi:"templateName"` + Timeouts DedicatedServerInstallTaskTimeoutsPtrOutput `pulumi:"timeouts"` + UserMetadatas DedicatedServerInstallTaskUserMetadataArrayOutput `pulumi:"userMetadatas"` +} + +// NewDedicatedServerInstallTask registers a new resource with the given unique name, arguments, and options. +func NewDedicatedServerInstallTask(ctx *pulumi.Context, + name string, args *DedicatedServerInstallTaskArgs, opts ...pulumi.ResourceOption) (*DedicatedServerInstallTask, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.ServiceName == nil { + return nil, errors.New("invalid value for required argument 'ServiceName'") + } + if args.TemplateName == nil { + return nil, errors.New("invalid value for required argument 'TemplateName'") + } + opts = internal.PkgResourceDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var resource DedicatedServerInstallTask + err = ctx.RegisterPackageResource("ovh:index/dedicatedServerInstallTask:DedicatedServerInstallTask", name, args, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetDedicatedServerInstallTask gets an existing DedicatedServerInstallTask resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetDedicatedServerInstallTask(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *DedicatedServerInstallTaskState, opts ...pulumi.ResourceOption) (*DedicatedServerInstallTask, error) { + var resource DedicatedServerInstallTask + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + err = ctx.ReadPackageResource("ovh:index/dedicatedServerInstallTask:DedicatedServerInstallTask", name, id, state, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering DedicatedServerInstallTask resources. +type dedicatedServerInstallTaskState struct { + // If set, reboot the server on the specified boot id during destroy phase + BootidOnDestroy *float64 `pulumi:"bootidOnDestroy"` + // Details of this task + Comment *string `pulumi:"comment"` + Details *DedicatedServerInstallTaskDetails `pulumi:"details"` + // Completion date + DoneDate *string `pulumi:"doneDate"` + // Function name + Function *string `pulumi:"function"` + // Last update + LastUpdate *string `pulumi:"lastUpdate"` + // Partition scheme name. + PartitionSchemeName *string `pulumi:"partitionSchemeName"` + // The internal name of your dedicated server. + ServiceName *string `pulumi:"serviceName"` + // Task Creation date + StartDate *string `pulumi:"startDate"` + // Task status + Status *string `pulumi:"status"` + // Template name + TemplateName *string `pulumi:"templateName"` + Timeouts *DedicatedServerInstallTaskTimeouts `pulumi:"timeouts"` + UserMetadatas []DedicatedServerInstallTaskUserMetadata `pulumi:"userMetadatas"` +} + +type DedicatedServerInstallTaskState struct { + // If set, reboot the server on the specified boot id during destroy phase + BootidOnDestroy pulumi.Float64PtrInput + // Details of this task + Comment pulumi.StringPtrInput + Details DedicatedServerInstallTaskDetailsPtrInput + // Completion date + DoneDate pulumi.StringPtrInput + // Function name + Function pulumi.StringPtrInput + // Last update + LastUpdate pulumi.StringPtrInput + // Partition scheme name. + PartitionSchemeName pulumi.StringPtrInput + // The internal name of your dedicated server. + ServiceName pulumi.StringPtrInput + // Task Creation date + StartDate pulumi.StringPtrInput + // Task status + Status pulumi.StringPtrInput + // Template name + TemplateName pulumi.StringPtrInput + Timeouts DedicatedServerInstallTaskTimeoutsPtrInput + UserMetadatas DedicatedServerInstallTaskUserMetadataArrayInput +} + +func (DedicatedServerInstallTaskState) ElementType() reflect.Type { + return reflect.TypeOf((*dedicatedServerInstallTaskState)(nil)).Elem() +} + +type dedicatedServerInstallTaskArgs struct { + // If set, reboot the server on the specified boot id during destroy phase + BootidOnDestroy *float64 `pulumi:"bootidOnDestroy"` + Details *DedicatedServerInstallTaskDetails `pulumi:"details"` + // Partition scheme name. + PartitionSchemeName *string `pulumi:"partitionSchemeName"` + // The internal name of your dedicated server. + ServiceName string `pulumi:"serviceName"` + // Template name + TemplateName string `pulumi:"templateName"` + Timeouts *DedicatedServerInstallTaskTimeouts `pulumi:"timeouts"` + UserMetadatas []DedicatedServerInstallTaskUserMetadata `pulumi:"userMetadatas"` +} + +// The set of arguments for constructing a DedicatedServerInstallTask resource. +type DedicatedServerInstallTaskArgs struct { + // If set, reboot the server on the specified boot id during destroy phase + BootidOnDestroy pulumi.Float64PtrInput + Details DedicatedServerInstallTaskDetailsPtrInput + // Partition scheme name. + PartitionSchemeName pulumi.StringPtrInput + // The internal name of your dedicated server. + ServiceName pulumi.StringInput + // Template name + TemplateName pulumi.StringInput + Timeouts DedicatedServerInstallTaskTimeoutsPtrInput + UserMetadatas DedicatedServerInstallTaskUserMetadataArrayInput +} + +func (DedicatedServerInstallTaskArgs) ElementType() reflect.Type { + return reflect.TypeOf((*dedicatedServerInstallTaskArgs)(nil)).Elem() +} + +type DedicatedServerInstallTaskInput interface { + pulumi.Input + + ToDedicatedServerInstallTaskOutput() DedicatedServerInstallTaskOutput + ToDedicatedServerInstallTaskOutputWithContext(ctx context.Context) DedicatedServerInstallTaskOutput +} + +func (*DedicatedServerInstallTask) ElementType() reflect.Type { + return reflect.TypeOf((**DedicatedServerInstallTask)(nil)).Elem() +} + +func (i *DedicatedServerInstallTask) ToDedicatedServerInstallTaskOutput() DedicatedServerInstallTaskOutput { + return i.ToDedicatedServerInstallTaskOutputWithContext(context.Background()) +} + +func (i *DedicatedServerInstallTask) ToDedicatedServerInstallTaskOutputWithContext(ctx context.Context) DedicatedServerInstallTaskOutput { + return pulumi.ToOutputWithContext(ctx, i).(DedicatedServerInstallTaskOutput) +} + +type DedicatedServerInstallTaskOutput struct{ *pulumi.OutputState } + +func (DedicatedServerInstallTaskOutput) ElementType() reflect.Type { + return reflect.TypeOf((**DedicatedServerInstallTask)(nil)).Elem() +} + +func (o DedicatedServerInstallTaskOutput) ToDedicatedServerInstallTaskOutput() DedicatedServerInstallTaskOutput { + return o +} + +func (o DedicatedServerInstallTaskOutput) ToDedicatedServerInstallTaskOutputWithContext(ctx context.Context) DedicatedServerInstallTaskOutput { + return o +} + +// If set, reboot the server on the specified boot id during destroy phase +func (o DedicatedServerInstallTaskOutput) BootidOnDestroy() pulumi.Float64PtrOutput { + return o.ApplyT(func(v *DedicatedServerInstallTask) pulumi.Float64PtrOutput { return v.BootidOnDestroy }).(pulumi.Float64PtrOutput) +} + +// Details of this task +func (o DedicatedServerInstallTaskOutput) Comment() pulumi.StringOutput { + return o.ApplyT(func(v *DedicatedServerInstallTask) pulumi.StringOutput { return v.Comment }).(pulumi.StringOutput) +} + +func (o DedicatedServerInstallTaskOutput) Details() DedicatedServerInstallTaskDetailsPtrOutput { + return o.ApplyT(func(v *DedicatedServerInstallTask) DedicatedServerInstallTaskDetailsPtrOutput { return v.Details }).(DedicatedServerInstallTaskDetailsPtrOutput) +} + +// Completion date +func (o DedicatedServerInstallTaskOutput) DoneDate() pulumi.StringOutput { + return o.ApplyT(func(v *DedicatedServerInstallTask) pulumi.StringOutput { return v.DoneDate }).(pulumi.StringOutput) +} + +// Function name +func (o DedicatedServerInstallTaskOutput) Function() pulumi.StringOutput { + return o.ApplyT(func(v *DedicatedServerInstallTask) pulumi.StringOutput { return v.Function }).(pulumi.StringOutput) +} + +// Last update +func (o DedicatedServerInstallTaskOutput) LastUpdate() pulumi.StringOutput { + return o.ApplyT(func(v *DedicatedServerInstallTask) pulumi.StringOutput { return v.LastUpdate }).(pulumi.StringOutput) +} + +// Partition scheme name. +func (o DedicatedServerInstallTaskOutput) PartitionSchemeName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DedicatedServerInstallTask) pulumi.StringPtrOutput { return v.PartitionSchemeName }).(pulumi.StringPtrOutput) +} + +// The internal name of your dedicated server. +func (o DedicatedServerInstallTaskOutput) ServiceName() pulumi.StringOutput { + return o.ApplyT(func(v *DedicatedServerInstallTask) pulumi.StringOutput { return v.ServiceName }).(pulumi.StringOutput) +} + +// Task Creation date +func (o DedicatedServerInstallTaskOutput) StartDate() pulumi.StringOutput { + return o.ApplyT(func(v *DedicatedServerInstallTask) pulumi.StringOutput { return v.StartDate }).(pulumi.StringOutput) +} + +// Task status +func (o DedicatedServerInstallTaskOutput) Status() pulumi.StringOutput { + return o.ApplyT(func(v *DedicatedServerInstallTask) pulumi.StringOutput { return v.Status }).(pulumi.StringOutput) +} + +// Template name +func (o DedicatedServerInstallTaskOutput) TemplateName() pulumi.StringOutput { + return o.ApplyT(func(v *DedicatedServerInstallTask) pulumi.StringOutput { return v.TemplateName }).(pulumi.StringOutput) +} + +func (o DedicatedServerInstallTaskOutput) Timeouts() DedicatedServerInstallTaskTimeoutsPtrOutput { + return o.ApplyT(func(v *DedicatedServerInstallTask) DedicatedServerInstallTaskTimeoutsPtrOutput { return v.Timeouts }).(DedicatedServerInstallTaskTimeoutsPtrOutput) +} + +func (o DedicatedServerInstallTaskOutput) UserMetadatas() DedicatedServerInstallTaskUserMetadataArrayOutput { + return o.ApplyT(func(v *DedicatedServerInstallTask) DedicatedServerInstallTaskUserMetadataArrayOutput { + return v.UserMetadatas + }).(DedicatedServerInstallTaskUserMetadataArrayOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*DedicatedServerInstallTaskInput)(nil)).Elem(), &DedicatedServerInstallTask{}) + pulumi.RegisterOutputType(DedicatedServerInstallTaskOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/dedicatedServerNetworking.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/dedicatedServerNetworking.go new file mode 100644 index 00000000..0725f029 --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/dedicatedServerNetworking.go @@ -0,0 +1,181 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type DedicatedServerNetworking struct { + pulumi.CustomResourceState + + // Operation description + Description pulumi.StringOutput `pulumi:"description"` + // Interface or interfaces aggregation. + Interfaces DedicatedServerNetworkingInterfaceArrayOutput `pulumi:"interfaces"` + // The internal name of your dedicated server. + ServiceName pulumi.StringOutput `pulumi:"serviceName"` + // Operation status + Status pulumi.StringOutput `pulumi:"status"` + Timeouts DedicatedServerNetworkingTimeoutsPtrOutput `pulumi:"timeouts"` +} + +// NewDedicatedServerNetworking registers a new resource with the given unique name, arguments, and options. +func NewDedicatedServerNetworking(ctx *pulumi.Context, + name string, args *DedicatedServerNetworkingArgs, opts ...pulumi.ResourceOption) (*DedicatedServerNetworking, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.Interfaces == nil { + return nil, errors.New("invalid value for required argument 'Interfaces'") + } + if args.ServiceName == nil { + return nil, errors.New("invalid value for required argument 'ServiceName'") + } + opts = internal.PkgResourceDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var resource DedicatedServerNetworking + err = ctx.RegisterPackageResource("ovh:index/dedicatedServerNetworking:DedicatedServerNetworking", name, args, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetDedicatedServerNetworking gets an existing DedicatedServerNetworking resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetDedicatedServerNetworking(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *DedicatedServerNetworkingState, opts ...pulumi.ResourceOption) (*DedicatedServerNetworking, error) { + var resource DedicatedServerNetworking + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + err = ctx.ReadPackageResource("ovh:index/dedicatedServerNetworking:DedicatedServerNetworking", name, id, state, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering DedicatedServerNetworking resources. +type dedicatedServerNetworkingState struct { + // Operation description + Description *string `pulumi:"description"` + // Interface or interfaces aggregation. + Interfaces []DedicatedServerNetworkingInterface `pulumi:"interfaces"` + // The internal name of your dedicated server. + ServiceName *string `pulumi:"serviceName"` + // Operation status + Status *string `pulumi:"status"` + Timeouts *DedicatedServerNetworkingTimeouts `pulumi:"timeouts"` +} + +type DedicatedServerNetworkingState struct { + // Operation description + Description pulumi.StringPtrInput + // Interface or interfaces aggregation. + Interfaces DedicatedServerNetworkingInterfaceArrayInput + // The internal name of your dedicated server. + ServiceName pulumi.StringPtrInput + // Operation status + Status pulumi.StringPtrInput + Timeouts DedicatedServerNetworkingTimeoutsPtrInput +} + +func (DedicatedServerNetworkingState) ElementType() reflect.Type { + return reflect.TypeOf((*dedicatedServerNetworkingState)(nil)).Elem() +} + +type dedicatedServerNetworkingArgs struct { + // Interface or interfaces aggregation. + Interfaces []DedicatedServerNetworkingInterface `pulumi:"interfaces"` + // The internal name of your dedicated server. + ServiceName string `pulumi:"serviceName"` + Timeouts *DedicatedServerNetworkingTimeouts `pulumi:"timeouts"` +} + +// The set of arguments for constructing a DedicatedServerNetworking resource. +type DedicatedServerNetworkingArgs struct { + // Interface or interfaces aggregation. + Interfaces DedicatedServerNetworkingInterfaceArrayInput + // The internal name of your dedicated server. + ServiceName pulumi.StringInput + Timeouts DedicatedServerNetworkingTimeoutsPtrInput +} + +func (DedicatedServerNetworkingArgs) ElementType() reflect.Type { + return reflect.TypeOf((*dedicatedServerNetworkingArgs)(nil)).Elem() +} + +type DedicatedServerNetworkingInput interface { + pulumi.Input + + ToDedicatedServerNetworkingOutput() DedicatedServerNetworkingOutput + ToDedicatedServerNetworkingOutputWithContext(ctx context.Context) DedicatedServerNetworkingOutput +} + +func (*DedicatedServerNetworking) ElementType() reflect.Type { + return reflect.TypeOf((**DedicatedServerNetworking)(nil)).Elem() +} + +func (i *DedicatedServerNetworking) ToDedicatedServerNetworkingOutput() DedicatedServerNetworkingOutput { + return i.ToDedicatedServerNetworkingOutputWithContext(context.Background()) +} + +func (i *DedicatedServerNetworking) ToDedicatedServerNetworkingOutputWithContext(ctx context.Context) DedicatedServerNetworkingOutput { + return pulumi.ToOutputWithContext(ctx, i).(DedicatedServerNetworkingOutput) +} + +type DedicatedServerNetworkingOutput struct{ *pulumi.OutputState } + +func (DedicatedServerNetworkingOutput) ElementType() reflect.Type { + return reflect.TypeOf((**DedicatedServerNetworking)(nil)).Elem() +} + +func (o DedicatedServerNetworkingOutput) ToDedicatedServerNetworkingOutput() DedicatedServerNetworkingOutput { + return o +} + +func (o DedicatedServerNetworkingOutput) ToDedicatedServerNetworkingOutputWithContext(ctx context.Context) DedicatedServerNetworkingOutput { + return o +} + +// Operation description +func (o DedicatedServerNetworkingOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v *DedicatedServerNetworking) pulumi.StringOutput { return v.Description }).(pulumi.StringOutput) +} + +// Interface or interfaces aggregation. +func (o DedicatedServerNetworkingOutput) Interfaces() DedicatedServerNetworkingInterfaceArrayOutput { + return o.ApplyT(func(v *DedicatedServerNetworking) DedicatedServerNetworkingInterfaceArrayOutput { return v.Interfaces }).(DedicatedServerNetworkingInterfaceArrayOutput) +} + +// The internal name of your dedicated server. +func (o DedicatedServerNetworkingOutput) ServiceName() pulumi.StringOutput { + return o.ApplyT(func(v *DedicatedServerNetworking) pulumi.StringOutput { return v.ServiceName }).(pulumi.StringOutput) +} + +// Operation status +func (o DedicatedServerNetworkingOutput) Status() pulumi.StringOutput { + return o.ApplyT(func(v *DedicatedServerNetworking) pulumi.StringOutput { return v.Status }).(pulumi.StringOutput) +} + +func (o DedicatedServerNetworkingOutput) Timeouts() DedicatedServerNetworkingTimeoutsPtrOutput { + return o.ApplyT(func(v *DedicatedServerNetworking) DedicatedServerNetworkingTimeoutsPtrOutput { return v.Timeouts }).(DedicatedServerNetworkingTimeoutsPtrOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*DedicatedServerNetworkingInput)(nil)).Elem(), &DedicatedServerNetworking{}) + pulumi.RegisterOutputType(DedicatedServerNetworkingOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/dedicatedServerRebootTask.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/dedicatedServerRebootTask.go new file mode 100644 index 00000000..d11ff35e --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/dedicatedServerRebootTask.go @@ -0,0 +1,216 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type DedicatedServerRebootTask struct { + pulumi.CustomResourceState + + // Details of this task + Comment pulumi.StringOutput `pulumi:"comment"` + // Completion date + DoneDate pulumi.StringOutput `pulumi:"doneDate"` + // Function name + Function pulumi.StringOutput `pulumi:"function"` + // Change this value to recreate a reboot task. + Keepers pulumi.StringArrayOutput `pulumi:"keepers"` + // Last update + LastUpdate pulumi.StringOutput `pulumi:"lastUpdate"` + // The internal name of your dedicated server. + ServiceName pulumi.StringOutput `pulumi:"serviceName"` + // Task Creation date + StartDate pulumi.StringOutput `pulumi:"startDate"` + // Task status + Status pulumi.StringOutput `pulumi:"status"` +} + +// NewDedicatedServerRebootTask registers a new resource with the given unique name, arguments, and options. +func NewDedicatedServerRebootTask(ctx *pulumi.Context, + name string, args *DedicatedServerRebootTaskArgs, opts ...pulumi.ResourceOption) (*DedicatedServerRebootTask, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.Keepers == nil { + return nil, errors.New("invalid value for required argument 'Keepers'") + } + if args.ServiceName == nil { + return nil, errors.New("invalid value for required argument 'ServiceName'") + } + opts = internal.PkgResourceDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var resource DedicatedServerRebootTask + err = ctx.RegisterPackageResource("ovh:index/dedicatedServerRebootTask:DedicatedServerRebootTask", name, args, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetDedicatedServerRebootTask gets an existing DedicatedServerRebootTask resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetDedicatedServerRebootTask(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *DedicatedServerRebootTaskState, opts ...pulumi.ResourceOption) (*DedicatedServerRebootTask, error) { + var resource DedicatedServerRebootTask + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + err = ctx.ReadPackageResource("ovh:index/dedicatedServerRebootTask:DedicatedServerRebootTask", name, id, state, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering DedicatedServerRebootTask resources. +type dedicatedServerRebootTaskState struct { + // Details of this task + Comment *string `pulumi:"comment"` + // Completion date + DoneDate *string `pulumi:"doneDate"` + // Function name + Function *string `pulumi:"function"` + // Change this value to recreate a reboot task. + Keepers []string `pulumi:"keepers"` + // Last update + LastUpdate *string `pulumi:"lastUpdate"` + // The internal name of your dedicated server. + ServiceName *string `pulumi:"serviceName"` + // Task Creation date + StartDate *string `pulumi:"startDate"` + // Task status + Status *string `pulumi:"status"` +} + +type DedicatedServerRebootTaskState struct { + // Details of this task + Comment pulumi.StringPtrInput + // Completion date + DoneDate pulumi.StringPtrInput + // Function name + Function pulumi.StringPtrInput + // Change this value to recreate a reboot task. + Keepers pulumi.StringArrayInput + // Last update + LastUpdate pulumi.StringPtrInput + // The internal name of your dedicated server. + ServiceName pulumi.StringPtrInput + // Task Creation date + StartDate pulumi.StringPtrInput + // Task status + Status pulumi.StringPtrInput +} + +func (DedicatedServerRebootTaskState) ElementType() reflect.Type { + return reflect.TypeOf((*dedicatedServerRebootTaskState)(nil)).Elem() +} + +type dedicatedServerRebootTaskArgs struct { + // Change this value to recreate a reboot task. + Keepers []string `pulumi:"keepers"` + // The internal name of your dedicated server. + ServiceName string `pulumi:"serviceName"` +} + +// The set of arguments for constructing a DedicatedServerRebootTask resource. +type DedicatedServerRebootTaskArgs struct { + // Change this value to recreate a reboot task. + Keepers pulumi.StringArrayInput + // The internal name of your dedicated server. + ServiceName pulumi.StringInput +} + +func (DedicatedServerRebootTaskArgs) ElementType() reflect.Type { + return reflect.TypeOf((*dedicatedServerRebootTaskArgs)(nil)).Elem() +} + +type DedicatedServerRebootTaskInput interface { + pulumi.Input + + ToDedicatedServerRebootTaskOutput() DedicatedServerRebootTaskOutput + ToDedicatedServerRebootTaskOutputWithContext(ctx context.Context) DedicatedServerRebootTaskOutput +} + +func (*DedicatedServerRebootTask) ElementType() reflect.Type { + return reflect.TypeOf((**DedicatedServerRebootTask)(nil)).Elem() +} + +func (i *DedicatedServerRebootTask) ToDedicatedServerRebootTaskOutput() DedicatedServerRebootTaskOutput { + return i.ToDedicatedServerRebootTaskOutputWithContext(context.Background()) +} + +func (i *DedicatedServerRebootTask) ToDedicatedServerRebootTaskOutputWithContext(ctx context.Context) DedicatedServerRebootTaskOutput { + return pulumi.ToOutputWithContext(ctx, i).(DedicatedServerRebootTaskOutput) +} + +type DedicatedServerRebootTaskOutput struct{ *pulumi.OutputState } + +func (DedicatedServerRebootTaskOutput) ElementType() reflect.Type { + return reflect.TypeOf((**DedicatedServerRebootTask)(nil)).Elem() +} + +func (o DedicatedServerRebootTaskOutput) ToDedicatedServerRebootTaskOutput() DedicatedServerRebootTaskOutput { + return o +} + +func (o DedicatedServerRebootTaskOutput) ToDedicatedServerRebootTaskOutputWithContext(ctx context.Context) DedicatedServerRebootTaskOutput { + return o +} + +// Details of this task +func (o DedicatedServerRebootTaskOutput) Comment() pulumi.StringOutput { + return o.ApplyT(func(v *DedicatedServerRebootTask) pulumi.StringOutput { return v.Comment }).(pulumi.StringOutput) +} + +// Completion date +func (o DedicatedServerRebootTaskOutput) DoneDate() pulumi.StringOutput { + return o.ApplyT(func(v *DedicatedServerRebootTask) pulumi.StringOutput { return v.DoneDate }).(pulumi.StringOutput) +} + +// Function name +func (o DedicatedServerRebootTaskOutput) Function() pulumi.StringOutput { + return o.ApplyT(func(v *DedicatedServerRebootTask) pulumi.StringOutput { return v.Function }).(pulumi.StringOutput) +} + +// Change this value to recreate a reboot task. +func (o DedicatedServerRebootTaskOutput) Keepers() pulumi.StringArrayOutput { + return o.ApplyT(func(v *DedicatedServerRebootTask) pulumi.StringArrayOutput { return v.Keepers }).(pulumi.StringArrayOutput) +} + +// Last update +func (o DedicatedServerRebootTaskOutput) LastUpdate() pulumi.StringOutput { + return o.ApplyT(func(v *DedicatedServerRebootTask) pulumi.StringOutput { return v.LastUpdate }).(pulumi.StringOutput) +} + +// The internal name of your dedicated server. +func (o DedicatedServerRebootTaskOutput) ServiceName() pulumi.StringOutput { + return o.ApplyT(func(v *DedicatedServerRebootTask) pulumi.StringOutput { return v.ServiceName }).(pulumi.StringOutput) +} + +// Task Creation date +func (o DedicatedServerRebootTaskOutput) StartDate() pulumi.StringOutput { + return o.ApplyT(func(v *DedicatedServerRebootTask) pulumi.StringOutput { return v.StartDate }).(pulumi.StringOutput) +} + +// Task status +func (o DedicatedServerRebootTaskOutput) Status() pulumi.StringOutput { + return o.ApplyT(func(v *DedicatedServerRebootTask) pulumi.StringOutput { return v.Status }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*DedicatedServerRebootTaskInput)(nil)).Elem(), &DedicatedServerRebootTask{}) + pulumi.RegisterOutputType(DedicatedServerRebootTaskOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/dedicatedServerUpdate.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/dedicatedServerUpdate.go new file mode 100644 index 00000000..21076e46 --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/dedicatedServerUpdate.go @@ -0,0 +1,207 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type DedicatedServerUpdate struct { + pulumi.CustomResourceState + + // The boot id of your dedicated server. + BootId pulumi.Float64Output `pulumi:"bootId"` + // The boot script of your dedicated server. + BootScript pulumi.StringPtrOutput `pulumi:"bootScript"` + // Display name of the dedicated server + DisplayName pulumi.StringOutput `pulumi:"displayName"` + // Icmp monitoring state + Monitoring pulumi.BoolOutput `pulumi:"monitoring"` + // The internal name of your dedicated server. + ServiceName pulumi.StringOutput `pulumi:"serviceName"` + // error, hacked, hackedBlocked, ok + State pulumi.StringOutput `pulumi:"state"` +} + +// NewDedicatedServerUpdate registers a new resource with the given unique name, arguments, and options. +func NewDedicatedServerUpdate(ctx *pulumi.Context, + name string, args *DedicatedServerUpdateArgs, opts ...pulumi.ResourceOption) (*DedicatedServerUpdate, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.ServiceName == nil { + return nil, errors.New("invalid value for required argument 'ServiceName'") + } + opts = internal.PkgResourceDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var resource DedicatedServerUpdate + err = ctx.RegisterPackageResource("ovh:index/dedicatedServerUpdate:DedicatedServerUpdate", name, args, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetDedicatedServerUpdate gets an existing DedicatedServerUpdate resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetDedicatedServerUpdate(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *DedicatedServerUpdateState, opts ...pulumi.ResourceOption) (*DedicatedServerUpdate, error) { + var resource DedicatedServerUpdate + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + err = ctx.ReadPackageResource("ovh:index/dedicatedServerUpdate:DedicatedServerUpdate", name, id, state, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering DedicatedServerUpdate resources. +type dedicatedServerUpdateState struct { + // The boot id of your dedicated server. + BootId *float64 `pulumi:"bootId"` + // The boot script of your dedicated server. + BootScript *string `pulumi:"bootScript"` + // Display name of the dedicated server + DisplayName *string `pulumi:"displayName"` + // Icmp monitoring state + Monitoring *bool `pulumi:"monitoring"` + // The internal name of your dedicated server. + ServiceName *string `pulumi:"serviceName"` + // error, hacked, hackedBlocked, ok + State *string `pulumi:"state"` +} + +type DedicatedServerUpdateState struct { + // The boot id of your dedicated server. + BootId pulumi.Float64PtrInput + // The boot script of your dedicated server. + BootScript pulumi.StringPtrInput + // Display name of the dedicated server + DisplayName pulumi.StringPtrInput + // Icmp monitoring state + Monitoring pulumi.BoolPtrInput + // The internal name of your dedicated server. + ServiceName pulumi.StringPtrInput + // error, hacked, hackedBlocked, ok + State pulumi.StringPtrInput +} + +func (DedicatedServerUpdateState) ElementType() reflect.Type { + return reflect.TypeOf((*dedicatedServerUpdateState)(nil)).Elem() +} + +type dedicatedServerUpdateArgs struct { + // The boot id of your dedicated server. + BootId *float64 `pulumi:"bootId"` + // The boot script of your dedicated server. + BootScript *string `pulumi:"bootScript"` + // Display name of the dedicated server + DisplayName *string `pulumi:"displayName"` + // Icmp monitoring state + Monitoring *bool `pulumi:"monitoring"` + // The internal name of your dedicated server. + ServiceName string `pulumi:"serviceName"` + // error, hacked, hackedBlocked, ok + State *string `pulumi:"state"` +} + +// The set of arguments for constructing a DedicatedServerUpdate resource. +type DedicatedServerUpdateArgs struct { + // The boot id of your dedicated server. + BootId pulumi.Float64PtrInput + // The boot script of your dedicated server. + BootScript pulumi.StringPtrInput + // Display name of the dedicated server + DisplayName pulumi.StringPtrInput + // Icmp monitoring state + Monitoring pulumi.BoolPtrInput + // The internal name of your dedicated server. + ServiceName pulumi.StringInput + // error, hacked, hackedBlocked, ok + State pulumi.StringPtrInput +} + +func (DedicatedServerUpdateArgs) ElementType() reflect.Type { + return reflect.TypeOf((*dedicatedServerUpdateArgs)(nil)).Elem() +} + +type DedicatedServerUpdateInput interface { + pulumi.Input + + ToDedicatedServerUpdateOutput() DedicatedServerUpdateOutput + ToDedicatedServerUpdateOutputWithContext(ctx context.Context) DedicatedServerUpdateOutput +} + +func (*DedicatedServerUpdate) ElementType() reflect.Type { + return reflect.TypeOf((**DedicatedServerUpdate)(nil)).Elem() +} + +func (i *DedicatedServerUpdate) ToDedicatedServerUpdateOutput() DedicatedServerUpdateOutput { + return i.ToDedicatedServerUpdateOutputWithContext(context.Background()) +} + +func (i *DedicatedServerUpdate) ToDedicatedServerUpdateOutputWithContext(ctx context.Context) DedicatedServerUpdateOutput { + return pulumi.ToOutputWithContext(ctx, i).(DedicatedServerUpdateOutput) +} + +type DedicatedServerUpdateOutput struct{ *pulumi.OutputState } + +func (DedicatedServerUpdateOutput) ElementType() reflect.Type { + return reflect.TypeOf((**DedicatedServerUpdate)(nil)).Elem() +} + +func (o DedicatedServerUpdateOutput) ToDedicatedServerUpdateOutput() DedicatedServerUpdateOutput { + return o +} + +func (o DedicatedServerUpdateOutput) ToDedicatedServerUpdateOutputWithContext(ctx context.Context) DedicatedServerUpdateOutput { + return o +} + +// The boot id of your dedicated server. +func (o DedicatedServerUpdateOutput) BootId() pulumi.Float64Output { + return o.ApplyT(func(v *DedicatedServerUpdate) pulumi.Float64Output { return v.BootId }).(pulumi.Float64Output) +} + +// The boot script of your dedicated server. +func (o DedicatedServerUpdateOutput) BootScript() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DedicatedServerUpdate) pulumi.StringPtrOutput { return v.BootScript }).(pulumi.StringPtrOutput) +} + +// Display name of the dedicated server +func (o DedicatedServerUpdateOutput) DisplayName() pulumi.StringOutput { + return o.ApplyT(func(v *DedicatedServerUpdate) pulumi.StringOutput { return v.DisplayName }).(pulumi.StringOutput) +} + +// Icmp monitoring state +func (o DedicatedServerUpdateOutput) Monitoring() pulumi.BoolOutput { + return o.ApplyT(func(v *DedicatedServerUpdate) pulumi.BoolOutput { return v.Monitoring }).(pulumi.BoolOutput) +} + +// The internal name of your dedicated server. +func (o DedicatedServerUpdateOutput) ServiceName() pulumi.StringOutput { + return o.ApplyT(func(v *DedicatedServerUpdate) pulumi.StringOutput { return v.ServiceName }).(pulumi.StringOutput) +} + +// error, hacked, hackedBlocked, ok +func (o DedicatedServerUpdateOutput) State() pulumi.StringOutput { + return o.ApplyT(func(v *DedicatedServerUpdate) pulumi.StringOutput { return v.State }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*DedicatedServerUpdateInput)(nil)).Elem(), &DedicatedServerUpdate{}) + pulumi.RegisterOutputType(DedicatedServerUpdateOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/doc.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/doc.go new file mode 100644 index 00000000..27caba1a --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/doc.go @@ -0,0 +1,2 @@ +// A Pulumi provider dynamically bridged from ovh. +package ovh diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/domainZone.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/domainZone.go new file mode 100644 index 00000000..52ed2ef9 --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/domainZone.go @@ -0,0 +1,269 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type DomainZone struct { + pulumi.CustomResourceState + + // Is DNSSEC supported by this zone + DnssecSupported pulumi.BoolOutput `pulumi:"dnssecSupported"` + // hasDnsAnycast flag of the DNS zone + HasDnsAnycast pulumi.BoolOutput `pulumi:"hasDnsAnycast"` + // Last update date of the DNS zone + LastUpdate pulumi.StringOutput `pulumi:"lastUpdate"` + // Zone name + Name pulumi.StringOutput `pulumi:"name"` + // Name servers that host the DNS zone + NameServers pulumi.StringArrayOutput `pulumi:"nameServers"` + // Details about an Order + Orders DomainZoneOrderArrayOutput `pulumi:"orders"` + // Ovh Subsidiary + OvhSubsidiary pulumi.StringOutput `pulumi:"ovhSubsidiary"` + OvhUrn pulumi.StringOutput `pulumi:"ovhUrn"` + // Ovh payment mode + // + // Deprecated: Deprecated + PaymentMean pulumi.StringPtrOutput `pulumi:"paymentMean"` + // Product Plan to order + Plan DomainZonePlanOutput `pulumi:"plan"` + // Product Plan to order + PlanOptions DomainZonePlanOptionArrayOutput `pulumi:"planOptions"` +} + +// NewDomainZone registers a new resource with the given unique name, arguments, and options. +func NewDomainZone(ctx *pulumi.Context, + name string, args *DomainZoneArgs, opts ...pulumi.ResourceOption) (*DomainZone, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.OvhSubsidiary == nil { + return nil, errors.New("invalid value for required argument 'OvhSubsidiary'") + } + if args.Plan == nil { + return nil, errors.New("invalid value for required argument 'Plan'") + } + opts = internal.PkgResourceDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var resource DomainZone + err = ctx.RegisterPackageResource("ovh:index/domainZone:DomainZone", name, args, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetDomainZone gets an existing DomainZone resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetDomainZone(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *DomainZoneState, opts ...pulumi.ResourceOption) (*DomainZone, error) { + var resource DomainZone + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + err = ctx.ReadPackageResource("ovh:index/domainZone:DomainZone", name, id, state, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering DomainZone resources. +type domainZoneState struct { + // Is DNSSEC supported by this zone + DnssecSupported *bool `pulumi:"dnssecSupported"` + // hasDnsAnycast flag of the DNS zone + HasDnsAnycast *bool `pulumi:"hasDnsAnycast"` + // Last update date of the DNS zone + LastUpdate *string `pulumi:"lastUpdate"` + // Zone name + Name *string `pulumi:"name"` + // Name servers that host the DNS zone + NameServers []string `pulumi:"nameServers"` + // Details about an Order + Orders []DomainZoneOrder `pulumi:"orders"` + // Ovh Subsidiary + OvhSubsidiary *string `pulumi:"ovhSubsidiary"` + OvhUrn *string `pulumi:"ovhUrn"` + // Ovh payment mode + // + // Deprecated: Deprecated + PaymentMean *string `pulumi:"paymentMean"` + // Product Plan to order + Plan *DomainZonePlan `pulumi:"plan"` + // Product Plan to order + PlanOptions []DomainZonePlanOption `pulumi:"planOptions"` +} + +type DomainZoneState struct { + // Is DNSSEC supported by this zone + DnssecSupported pulumi.BoolPtrInput + // hasDnsAnycast flag of the DNS zone + HasDnsAnycast pulumi.BoolPtrInput + // Last update date of the DNS zone + LastUpdate pulumi.StringPtrInput + // Zone name + Name pulumi.StringPtrInput + // Name servers that host the DNS zone + NameServers pulumi.StringArrayInput + // Details about an Order + Orders DomainZoneOrderArrayInput + // Ovh Subsidiary + OvhSubsidiary pulumi.StringPtrInput + OvhUrn pulumi.StringPtrInput + // Ovh payment mode + // + // Deprecated: Deprecated + PaymentMean pulumi.StringPtrInput + // Product Plan to order + Plan DomainZonePlanPtrInput + // Product Plan to order + PlanOptions DomainZonePlanOptionArrayInput +} + +func (DomainZoneState) ElementType() reflect.Type { + return reflect.TypeOf((*domainZoneState)(nil)).Elem() +} + +type domainZoneArgs struct { + // Details about an Order + Orders []DomainZoneOrder `pulumi:"orders"` + // Ovh Subsidiary + OvhSubsidiary string `pulumi:"ovhSubsidiary"` + // Ovh payment mode + // + // Deprecated: Deprecated + PaymentMean *string `pulumi:"paymentMean"` + // Product Plan to order + Plan DomainZonePlan `pulumi:"plan"` + // Product Plan to order + PlanOptions []DomainZonePlanOption `pulumi:"planOptions"` +} + +// The set of arguments for constructing a DomainZone resource. +type DomainZoneArgs struct { + // Details about an Order + Orders DomainZoneOrderArrayInput + // Ovh Subsidiary + OvhSubsidiary pulumi.StringInput + // Ovh payment mode + // + // Deprecated: Deprecated + PaymentMean pulumi.StringPtrInput + // Product Plan to order + Plan DomainZonePlanInput + // Product Plan to order + PlanOptions DomainZonePlanOptionArrayInput +} + +func (DomainZoneArgs) ElementType() reflect.Type { + return reflect.TypeOf((*domainZoneArgs)(nil)).Elem() +} + +type DomainZoneInput interface { + pulumi.Input + + ToDomainZoneOutput() DomainZoneOutput + ToDomainZoneOutputWithContext(ctx context.Context) DomainZoneOutput +} + +func (*DomainZone) ElementType() reflect.Type { + return reflect.TypeOf((**DomainZone)(nil)).Elem() +} + +func (i *DomainZone) ToDomainZoneOutput() DomainZoneOutput { + return i.ToDomainZoneOutputWithContext(context.Background()) +} + +func (i *DomainZone) ToDomainZoneOutputWithContext(ctx context.Context) DomainZoneOutput { + return pulumi.ToOutputWithContext(ctx, i).(DomainZoneOutput) +} + +type DomainZoneOutput struct{ *pulumi.OutputState } + +func (DomainZoneOutput) ElementType() reflect.Type { + return reflect.TypeOf((**DomainZone)(nil)).Elem() +} + +func (o DomainZoneOutput) ToDomainZoneOutput() DomainZoneOutput { + return o +} + +func (o DomainZoneOutput) ToDomainZoneOutputWithContext(ctx context.Context) DomainZoneOutput { + return o +} + +// Is DNSSEC supported by this zone +func (o DomainZoneOutput) DnssecSupported() pulumi.BoolOutput { + return o.ApplyT(func(v *DomainZone) pulumi.BoolOutput { return v.DnssecSupported }).(pulumi.BoolOutput) +} + +// hasDnsAnycast flag of the DNS zone +func (o DomainZoneOutput) HasDnsAnycast() pulumi.BoolOutput { + return o.ApplyT(func(v *DomainZone) pulumi.BoolOutput { return v.HasDnsAnycast }).(pulumi.BoolOutput) +} + +// Last update date of the DNS zone +func (o DomainZoneOutput) LastUpdate() pulumi.StringOutput { + return o.ApplyT(func(v *DomainZone) pulumi.StringOutput { return v.LastUpdate }).(pulumi.StringOutput) +} + +// Zone name +func (o DomainZoneOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *DomainZone) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +// Name servers that host the DNS zone +func (o DomainZoneOutput) NameServers() pulumi.StringArrayOutput { + return o.ApplyT(func(v *DomainZone) pulumi.StringArrayOutput { return v.NameServers }).(pulumi.StringArrayOutput) +} + +// Details about an Order +func (o DomainZoneOutput) Orders() DomainZoneOrderArrayOutput { + return o.ApplyT(func(v *DomainZone) DomainZoneOrderArrayOutput { return v.Orders }).(DomainZoneOrderArrayOutput) +} + +// Ovh Subsidiary +func (o DomainZoneOutput) OvhSubsidiary() pulumi.StringOutput { + return o.ApplyT(func(v *DomainZone) pulumi.StringOutput { return v.OvhSubsidiary }).(pulumi.StringOutput) +} + +func (o DomainZoneOutput) OvhUrn() pulumi.StringOutput { + return o.ApplyT(func(v *DomainZone) pulumi.StringOutput { return v.OvhUrn }).(pulumi.StringOutput) +} + +// Ovh payment mode +// +// Deprecated: Deprecated +func (o DomainZoneOutput) PaymentMean() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DomainZone) pulumi.StringPtrOutput { return v.PaymentMean }).(pulumi.StringPtrOutput) +} + +// Product Plan to order +func (o DomainZoneOutput) Plan() DomainZonePlanOutput { + return o.ApplyT(func(v *DomainZone) DomainZonePlanOutput { return v.Plan }).(DomainZonePlanOutput) +} + +// Product Plan to order +func (o DomainZoneOutput) PlanOptions() DomainZonePlanOptionArrayOutput { + return o.ApplyT(func(v *DomainZone) DomainZonePlanOptionArrayOutput { return v.PlanOptions }).(DomainZonePlanOptionArrayOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*DomainZoneInput)(nil)).Elem(), &DomainZone{}) + pulumi.RegisterOutputType(DomainZoneOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/domainZoneDnssec.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/domainZoneDnssec.go new file mode 100644 index 00000000..4bc44d9b --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/domainZoneDnssec.go @@ -0,0 +1,143 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type DomainZoneDnssec struct { + pulumi.CustomResourceState + + // DNSSEC Status + Status pulumi.StringOutput `pulumi:"status"` + // The internal name of your zone + ZoneName pulumi.StringOutput `pulumi:"zoneName"` +} + +// NewDomainZoneDnssec registers a new resource with the given unique name, arguments, and options. +func NewDomainZoneDnssec(ctx *pulumi.Context, + name string, args *DomainZoneDnssecArgs, opts ...pulumi.ResourceOption) (*DomainZoneDnssec, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.ZoneName == nil { + return nil, errors.New("invalid value for required argument 'ZoneName'") + } + opts = internal.PkgResourceDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var resource DomainZoneDnssec + err = ctx.RegisterPackageResource("ovh:index/domainZoneDnssec:DomainZoneDnssec", name, args, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetDomainZoneDnssec gets an existing DomainZoneDnssec resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetDomainZoneDnssec(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *DomainZoneDnssecState, opts ...pulumi.ResourceOption) (*DomainZoneDnssec, error) { + var resource DomainZoneDnssec + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + err = ctx.ReadPackageResource("ovh:index/domainZoneDnssec:DomainZoneDnssec", name, id, state, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering DomainZoneDnssec resources. +type domainZoneDnssecState struct { + // DNSSEC Status + Status *string `pulumi:"status"` + // The internal name of your zone + ZoneName *string `pulumi:"zoneName"` +} + +type DomainZoneDnssecState struct { + // DNSSEC Status + Status pulumi.StringPtrInput + // The internal name of your zone + ZoneName pulumi.StringPtrInput +} + +func (DomainZoneDnssecState) ElementType() reflect.Type { + return reflect.TypeOf((*domainZoneDnssecState)(nil)).Elem() +} + +type domainZoneDnssecArgs struct { + // The internal name of your zone + ZoneName string `pulumi:"zoneName"` +} + +// The set of arguments for constructing a DomainZoneDnssec resource. +type DomainZoneDnssecArgs struct { + // The internal name of your zone + ZoneName pulumi.StringInput +} + +func (DomainZoneDnssecArgs) ElementType() reflect.Type { + return reflect.TypeOf((*domainZoneDnssecArgs)(nil)).Elem() +} + +type DomainZoneDnssecInput interface { + pulumi.Input + + ToDomainZoneDnssecOutput() DomainZoneDnssecOutput + ToDomainZoneDnssecOutputWithContext(ctx context.Context) DomainZoneDnssecOutput +} + +func (*DomainZoneDnssec) ElementType() reflect.Type { + return reflect.TypeOf((**DomainZoneDnssec)(nil)).Elem() +} + +func (i *DomainZoneDnssec) ToDomainZoneDnssecOutput() DomainZoneDnssecOutput { + return i.ToDomainZoneDnssecOutputWithContext(context.Background()) +} + +func (i *DomainZoneDnssec) ToDomainZoneDnssecOutputWithContext(ctx context.Context) DomainZoneDnssecOutput { + return pulumi.ToOutputWithContext(ctx, i).(DomainZoneDnssecOutput) +} + +type DomainZoneDnssecOutput struct{ *pulumi.OutputState } + +func (DomainZoneDnssecOutput) ElementType() reflect.Type { + return reflect.TypeOf((**DomainZoneDnssec)(nil)).Elem() +} + +func (o DomainZoneDnssecOutput) ToDomainZoneDnssecOutput() DomainZoneDnssecOutput { + return o +} + +func (o DomainZoneDnssecOutput) ToDomainZoneDnssecOutputWithContext(ctx context.Context) DomainZoneDnssecOutput { + return o +} + +// DNSSEC Status +func (o DomainZoneDnssecOutput) Status() pulumi.StringOutput { + return o.ApplyT(func(v *DomainZoneDnssec) pulumi.StringOutput { return v.Status }).(pulumi.StringOutput) +} + +// The internal name of your zone +func (o DomainZoneDnssecOutput) ZoneName() pulumi.StringOutput { + return o.ApplyT(func(v *DomainZoneDnssec) pulumi.StringOutput { return v.ZoneName }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*DomainZoneDnssecInput)(nil)).Elem(), &DomainZoneDnssec{}) + pulumi.RegisterOutputType(DomainZoneDnssecOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/domainZoneRecord.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/domainZoneRecord.go new file mode 100644 index 00000000..a16bab4c --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/domainZoneRecord.go @@ -0,0 +1,168 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type DomainZoneRecord struct { + pulumi.CustomResourceState + + Fieldtype pulumi.StringOutput `pulumi:"fieldtype"` + Subdomain pulumi.StringPtrOutput `pulumi:"subdomain"` + Target pulumi.StringOutput `pulumi:"target"` + Ttl pulumi.Float64PtrOutput `pulumi:"ttl"` + Zone pulumi.StringOutput `pulumi:"zone"` +} + +// NewDomainZoneRecord registers a new resource with the given unique name, arguments, and options. +func NewDomainZoneRecord(ctx *pulumi.Context, + name string, args *DomainZoneRecordArgs, opts ...pulumi.ResourceOption) (*DomainZoneRecord, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.Fieldtype == nil { + return nil, errors.New("invalid value for required argument 'Fieldtype'") + } + if args.Target == nil { + return nil, errors.New("invalid value for required argument 'Target'") + } + if args.Zone == nil { + return nil, errors.New("invalid value for required argument 'Zone'") + } + opts = internal.PkgResourceDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var resource DomainZoneRecord + err = ctx.RegisterPackageResource("ovh:index/domainZoneRecord:DomainZoneRecord", name, args, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetDomainZoneRecord gets an existing DomainZoneRecord resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetDomainZoneRecord(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *DomainZoneRecordState, opts ...pulumi.ResourceOption) (*DomainZoneRecord, error) { + var resource DomainZoneRecord + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + err = ctx.ReadPackageResource("ovh:index/domainZoneRecord:DomainZoneRecord", name, id, state, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering DomainZoneRecord resources. +type domainZoneRecordState struct { + Fieldtype *string `pulumi:"fieldtype"` + Subdomain *string `pulumi:"subdomain"` + Target *string `pulumi:"target"` + Ttl *float64 `pulumi:"ttl"` + Zone *string `pulumi:"zone"` +} + +type DomainZoneRecordState struct { + Fieldtype pulumi.StringPtrInput + Subdomain pulumi.StringPtrInput + Target pulumi.StringPtrInput + Ttl pulumi.Float64PtrInput + Zone pulumi.StringPtrInput +} + +func (DomainZoneRecordState) ElementType() reflect.Type { + return reflect.TypeOf((*domainZoneRecordState)(nil)).Elem() +} + +type domainZoneRecordArgs struct { + Fieldtype string `pulumi:"fieldtype"` + Subdomain *string `pulumi:"subdomain"` + Target string `pulumi:"target"` + Ttl *float64 `pulumi:"ttl"` + Zone string `pulumi:"zone"` +} + +// The set of arguments for constructing a DomainZoneRecord resource. +type DomainZoneRecordArgs struct { + Fieldtype pulumi.StringInput + Subdomain pulumi.StringPtrInput + Target pulumi.StringInput + Ttl pulumi.Float64PtrInput + Zone pulumi.StringInput +} + +func (DomainZoneRecordArgs) ElementType() reflect.Type { + return reflect.TypeOf((*domainZoneRecordArgs)(nil)).Elem() +} + +type DomainZoneRecordInput interface { + pulumi.Input + + ToDomainZoneRecordOutput() DomainZoneRecordOutput + ToDomainZoneRecordOutputWithContext(ctx context.Context) DomainZoneRecordOutput +} + +func (*DomainZoneRecord) ElementType() reflect.Type { + return reflect.TypeOf((**DomainZoneRecord)(nil)).Elem() +} + +func (i *DomainZoneRecord) ToDomainZoneRecordOutput() DomainZoneRecordOutput { + return i.ToDomainZoneRecordOutputWithContext(context.Background()) +} + +func (i *DomainZoneRecord) ToDomainZoneRecordOutputWithContext(ctx context.Context) DomainZoneRecordOutput { + return pulumi.ToOutputWithContext(ctx, i).(DomainZoneRecordOutput) +} + +type DomainZoneRecordOutput struct{ *pulumi.OutputState } + +func (DomainZoneRecordOutput) ElementType() reflect.Type { + return reflect.TypeOf((**DomainZoneRecord)(nil)).Elem() +} + +func (o DomainZoneRecordOutput) ToDomainZoneRecordOutput() DomainZoneRecordOutput { + return o +} + +func (o DomainZoneRecordOutput) ToDomainZoneRecordOutputWithContext(ctx context.Context) DomainZoneRecordOutput { + return o +} + +func (o DomainZoneRecordOutput) Fieldtype() pulumi.StringOutput { + return o.ApplyT(func(v *DomainZoneRecord) pulumi.StringOutput { return v.Fieldtype }).(pulumi.StringOutput) +} + +func (o DomainZoneRecordOutput) Subdomain() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DomainZoneRecord) pulumi.StringPtrOutput { return v.Subdomain }).(pulumi.StringPtrOutput) +} + +func (o DomainZoneRecordOutput) Target() pulumi.StringOutput { + return o.ApplyT(func(v *DomainZoneRecord) pulumi.StringOutput { return v.Target }).(pulumi.StringOutput) +} + +func (o DomainZoneRecordOutput) Ttl() pulumi.Float64PtrOutput { + return o.ApplyT(func(v *DomainZoneRecord) pulumi.Float64PtrOutput { return v.Ttl }).(pulumi.Float64PtrOutput) +} + +func (o DomainZoneRecordOutput) Zone() pulumi.StringOutput { + return o.ApplyT(func(v *DomainZoneRecord) pulumi.StringOutput { return v.Zone }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*DomainZoneRecordInput)(nil)).Elem(), &DomainZoneRecord{}) + pulumi.RegisterOutputType(DomainZoneRecordOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/domainZoneRedirection.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/domainZoneRedirection.go new file mode 100644 index 00000000..1c3845ce --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/domainZoneRedirection.go @@ -0,0 +1,186 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type DomainZoneRedirection struct { + pulumi.CustomResourceState + + Description pulumi.StringPtrOutput `pulumi:"description"` + Keywords pulumi.StringPtrOutput `pulumi:"keywords"` + Subdomain pulumi.StringPtrOutput `pulumi:"subdomain"` + Target pulumi.StringOutput `pulumi:"target"` + Title pulumi.StringPtrOutput `pulumi:"title"` + Type pulumi.StringOutput `pulumi:"type"` + Zone pulumi.StringOutput `pulumi:"zone"` +} + +// NewDomainZoneRedirection registers a new resource with the given unique name, arguments, and options. +func NewDomainZoneRedirection(ctx *pulumi.Context, + name string, args *DomainZoneRedirectionArgs, opts ...pulumi.ResourceOption) (*DomainZoneRedirection, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.Target == nil { + return nil, errors.New("invalid value for required argument 'Target'") + } + if args.Type == nil { + return nil, errors.New("invalid value for required argument 'Type'") + } + if args.Zone == nil { + return nil, errors.New("invalid value for required argument 'Zone'") + } + opts = internal.PkgResourceDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var resource DomainZoneRedirection + err = ctx.RegisterPackageResource("ovh:index/domainZoneRedirection:DomainZoneRedirection", name, args, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetDomainZoneRedirection gets an existing DomainZoneRedirection resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetDomainZoneRedirection(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *DomainZoneRedirectionState, opts ...pulumi.ResourceOption) (*DomainZoneRedirection, error) { + var resource DomainZoneRedirection + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + err = ctx.ReadPackageResource("ovh:index/domainZoneRedirection:DomainZoneRedirection", name, id, state, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering DomainZoneRedirection resources. +type domainZoneRedirectionState struct { + Description *string `pulumi:"description"` + Keywords *string `pulumi:"keywords"` + Subdomain *string `pulumi:"subdomain"` + Target *string `pulumi:"target"` + Title *string `pulumi:"title"` + Type *string `pulumi:"type"` + Zone *string `pulumi:"zone"` +} + +type DomainZoneRedirectionState struct { + Description pulumi.StringPtrInput + Keywords pulumi.StringPtrInput + Subdomain pulumi.StringPtrInput + Target pulumi.StringPtrInput + Title pulumi.StringPtrInput + Type pulumi.StringPtrInput + Zone pulumi.StringPtrInput +} + +func (DomainZoneRedirectionState) ElementType() reflect.Type { + return reflect.TypeOf((*domainZoneRedirectionState)(nil)).Elem() +} + +type domainZoneRedirectionArgs struct { + Description *string `pulumi:"description"` + Keywords *string `pulumi:"keywords"` + Subdomain *string `pulumi:"subdomain"` + Target string `pulumi:"target"` + Title *string `pulumi:"title"` + Type string `pulumi:"type"` + Zone string `pulumi:"zone"` +} + +// The set of arguments for constructing a DomainZoneRedirection resource. +type DomainZoneRedirectionArgs struct { + Description pulumi.StringPtrInput + Keywords pulumi.StringPtrInput + Subdomain pulumi.StringPtrInput + Target pulumi.StringInput + Title pulumi.StringPtrInput + Type pulumi.StringInput + Zone pulumi.StringInput +} + +func (DomainZoneRedirectionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*domainZoneRedirectionArgs)(nil)).Elem() +} + +type DomainZoneRedirectionInput interface { + pulumi.Input + + ToDomainZoneRedirectionOutput() DomainZoneRedirectionOutput + ToDomainZoneRedirectionOutputWithContext(ctx context.Context) DomainZoneRedirectionOutput +} + +func (*DomainZoneRedirection) ElementType() reflect.Type { + return reflect.TypeOf((**DomainZoneRedirection)(nil)).Elem() +} + +func (i *DomainZoneRedirection) ToDomainZoneRedirectionOutput() DomainZoneRedirectionOutput { + return i.ToDomainZoneRedirectionOutputWithContext(context.Background()) +} + +func (i *DomainZoneRedirection) ToDomainZoneRedirectionOutputWithContext(ctx context.Context) DomainZoneRedirectionOutput { + return pulumi.ToOutputWithContext(ctx, i).(DomainZoneRedirectionOutput) +} + +type DomainZoneRedirectionOutput struct{ *pulumi.OutputState } + +func (DomainZoneRedirectionOutput) ElementType() reflect.Type { + return reflect.TypeOf((**DomainZoneRedirection)(nil)).Elem() +} + +func (o DomainZoneRedirectionOutput) ToDomainZoneRedirectionOutput() DomainZoneRedirectionOutput { + return o +} + +func (o DomainZoneRedirectionOutput) ToDomainZoneRedirectionOutputWithContext(ctx context.Context) DomainZoneRedirectionOutput { + return o +} + +func (o DomainZoneRedirectionOutput) Description() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DomainZoneRedirection) pulumi.StringPtrOutput { return v.Description }).(pulumi.StringPtrOutput) +} + +func (o DomainZoneRedirectionOutput) Keywords() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DomainZoneRedirection) pulumi.StringPtrOutput { return v.Keywords }).(pulumi.StringPtrOutput) +} + +func (o DomainZoneRedirectionOutput) Subdomain() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DomainZoneRedirection) pulumi.StringPtrOutput { return v.Subdomain }).(pulumi.StringPtrOutput) +} + +func (o DomainZoneRedirectionOutput) Target() pulumi.StringOutput { + return o.ApplyT(func(v *DomainZoneRedirection) pulumi.StringOutput { return v.Target }).(pulumi.StringOutput) +} + +func (o DomainZoneRedirectionOutput) Title() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DomainZoneRedirection) pulumi.StringPtrOutput { return v.Title }).(pulumi.StringPtrOutput) +} + +func (o DomainZoneRedirectionOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v *DomainZoneRedirection) pulumi.StringOutput { return v.Type }).(pulumi.StringOutput) +} + +func (o DomainZoneRedirectionOutput) Zone() pulumi.StringOutput { + return o.ApplyT(func(v *DomainZoneRedirection) pulumi.StringOutput { return v.Zone }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*DomainZoneRedirectionInput)(nil)).Elem(), &DomainZoneRedirection{}) + pulumi.RegisterOutputType(DomainZoneRedirectionOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProject.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProject.go new file mode 100644 index 00000000..db03f2ca --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProject.go @@ -0,0 +1,148 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func LookupCloudProject(ctx *pulumi.Context, args *LookupCloudProjectArgs, opts ...pulumi.InvokeOption) (*LookupCloudProjectResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var rv LookupCloudProjectResult + err = ctx.InvokePackage("ovh:index/getCloudProject:getCloudProject", args, &rv, ref, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getCloudProject. +type LookupCloudProjectArgs struct { + ServiceName string `pulumi:"serviceName"` +} + +// A collection of values returned by getCloudProject. +type LookupCloudProjectResult struct { + Access string `pulumi:"access"` + CreationDate string `pulumi:"creationDate"` + Description string `pulumi:"description"` + Expiration string `pulumi:"expiration"` + Iam GetCloudProjectIam `pulumi:"iam"` + // The provider-assigned unique ID for this managed resource. + Id string `pulumi:"id"` + ManualQuota bool `pulumi:"manualQuota"` + OrderId float64 `pulumi:"orderId"` + PlanCode string `pulumi:"planCode"` + ProjectId string `pulumi:"projectId"` + ProjectName string `pulumi:"projectName"` + ServiceName string `pulumi:"serviceName"` + Status string `pulumi:"status"` + Unleash bool `pulumi:"unleash"` +} + +func LookupCloudProjectOutput(ctx *pulumi.Context, args LookupCloudProjectOutputArgs, opts ...pulumi.InvokeOption) LookupCloudProjectResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (LookupCloudProjectResult, error) { + args := v.(LookupCloudProjectArgs) + r, err := LookupCloudProject(ctx, &args, opts...) + var s LookupCloudProjectResult + if r != nil { + s = *r + } + return s, err + }).(LookupCloudProjectResultOutput) +} + +// A collection of arguments for invoking getCloudProject. +type LookupCloudProjectOutputArgs struct { + ServiceName pulumi.StringInput `pulumi:"serviceName"` +} + +func (LookupCloudProjectOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LookupCloudProjectArgs)(nil)).Elem() +} + +// A collection of values returned by getCloudProject. +type LookupCloudProjectResultOutput struct{ *pulumi.OutputState } + +func (LookupCloudProjectResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LookupCloudProjectResult)(nil)).Elem() +} + +func (o LookupCloudProjectResultOutput) ToLookupCloudProjectResultOutput() LookupCloudProjectResultOutput { + return o +} + +func (o LookupCloudProjectResultOutput) ToLookupCloudProjectResultOutputWithContext(ctx context.Context) LookupCloudProjectResultOutput { + return o +} + +func (o LookupCloudProjectResultOutput) Access() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectResult) string { return v.Access }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectResultOutput) CreationDate() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectResult) string { return v.CreationDate }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectResultOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectResult) string { return v.Description }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectResultOutput) Expiration() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectResult) string { return v.Expiration }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectResultOutput) Iam() GetCloudProjectIamOutput { + return o.ApplyT(func(v LookupCloudProjectResult) GetCloudProjectIam { return v.Iam }).(GetCloudProjectIamOutput) +} + +// The provider-assigned unique ID for this managed resource. +func (o LookupCloudProjectResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectResultOutput) ManualQuota() pulumi.BoolOutput { + return o.ApplyT(func(v LookupCloudProjectResult) bool { return v.ManualQuota }).(pulumi.BoolOutput) +} + +func (o LookupCloudProjectResultOutput) OrderId() pulumi.Float64Output { + return o.ApplyT(func(v LookupCloudProjectResult) float64 { return v.OrderId }).(pulumi.Float64Output) +} + +func (o LookupCloudProjectResultOutput) PlanCode() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectResult) string { return v.PlanCode }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectResultOutput) ProjectId() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectResult) string { return v.ProjectId }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectResultOutput) ProjectName() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectResult) string { return v.ProjectName }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectResultOutput) ServiceName() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectResult) string { return v.ServiceName }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectResultOutput) Status() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectResult) string { return v.Status }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectResultOutput) Unleash() pulumi.BoolOutput { + return o.ApplyT(func(v LookupCloudProjectResult) bool { return v.Unleash }).(pulumi.BoolOutput) +} + +func init() { + pulumi.RegisterOutputType(LookupCloudProjectResultOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectCapabilitiesContainerregistry.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectCapabilitiesContainerregistry.go new file mode 100644 index 00000000..1cf05b81 --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectCapabilitiesContainerregistry.go @@ -0,0 +1,95 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func LookupCloudProjectCapabilitiesContainerregistry(ctx *pulumi.Context, args *LookupCloudProjectCapabilitiesContainerregistryArgs, opts ...pulumi.InvokeOption) (*LookupCloudProjectCapabilitiesContainerregistryResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var rv LookupCloudProjectCapabilitiesContainerregistryResult + err = ctx.InvokePackage("ovh:index/getCloudProjectCapabilitiesContainerregistry:getCloudProjectCapabilitiesContainerregistry", args, &rv, ref, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getCloudProjectCapabilitiesContainerregistry. +type LookupCloudProjectCapabilitiesContainerregistryArgs struct { + Id *string `pulumi:"id"` + ServiceName *string `pulumi:"serviceName"` +} + +// A collection of values returned by getCloudProjectCapabilitiesContainerregistry. +type LookupCloudProjectCapabilitiesContainerregistryResult struct { + Id string `pulumi:"id"` + Results []GetCloudProjectCapabilitiesContainerregistryResult `pulumi:"results"` + ServiceName *string `pulumi:"serviceName"` +} + +func LookupCloudProjectCapabilitiesContainerregistryOutput(ctx *pulumi.Context, args LookupCloudProjectCapabilitiesContainerregistryOutputArgs, opts ...pulumi.InvokeOption) LookupCloudProjectCapabilitiesContainerregistryResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (LookupCloudProjectCapabilitiesContainerregistryResult, error) { + args := v.(LookupCloudProjectCapabilitiesContainerregistryArgs) + r, err := LookupCloudProjectCapabilitiesContainerregistry(ctx, &args, opts...) + var s LookupCloudProjectCapabilitiesContainerregistryResult + if r != nil { + s = *r + } + return s, err + }).(LookupCloudProjectCapabilitiesContainerregistryResultOutput) +} + +// A collection of arguments for invoking getCloudProjectCapabilitiesContainerregistry. +type LookupCloudProjectCapabilitiesContainerregistryOutputArgs struct { + Id pulumi.StringPtrInput `pulumi:"id"` + ServiceName pulumi.StringPtrInput `pulumi:"serviceName"` +} + +func (LookupCloudProjectCapabilitiesContainerregistryOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LookupCloudProjectCapabilitiesContainerregistryArgs)(nil)).Elem() +} + +// A collection of values returned by getCloudProjectCapabilitiesContainerregistry. +type LookupCloudProjectCapabilitiesContainerregistryResultOutput struct{ *pulumi.OutputState } + +func (LookupCloudProjectCapabilitiesContainerregistryResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LookupCloudProjectCapabilitiesContainerregistryResult)(nil)).Elem() +} + +func (o LookupCloudProjectCapabilitiesContainerregistryResultOutput) ToLookupCloudProjectCapabilitiesContainerregistryResultOutput() LookupCloudProjectCapabilitiesContainerregistryResultOutput { + return o +} + +func (o LookupCloudProjectCapabilitiesContainerregistryResultOutput) ToLookupCloudProjectCapabilitiesContainerregistryResultOutputWithContext(ctx context.Context) LookupCloudProjectCapabilitiesContainerregistryResultOutput { + return o +} + +func (o LookupCloudProjectCapabilitiesContainerregistryResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectCapabilitiesContainerregistryResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectCapabilitiesContainerregistryResultOutput) Results() GetCloudProjectCapabilitiesContainerregistryResultArrayOutput { + return o.ApplyT(func(v LookupCloudProjectCapabilitiesContainerregistryResult) []GetCloudProjectCapabilitiesContainerregistryResult { + return v.Results + }).(GetCloudProjectCapabilitiesContainerregistryResultArrayOutput) +} + +func (o LookupCloudProjectCapabilitiesContainerregistryResultOutput) ServiceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v LookupCloudProjectCapabilitiesContainerregistryResult) *string { return v.ServiceName }).(pulumi.StringPtrOutput) +} + +func init() { + pulumi.RegisterOutputType(LookupCloudProjectCapabilitiesContainerregistryResultOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectCapabilitiesContainerregistryFilter.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectCapabilitiesContainerregistryFilter.go new file mode 100644 index 00000000..a56d9ac6 --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectCapabilitiesContainerregistryFilter.go @@ -0,0 +1,136 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func GetCloudProjectCapabilitiesContainerregistryFilter(ctx *pulumi.Context, args *GetCloudProjectCapabilitiesContainerregistryFilterArgs, opts ...pulumi.InvokeOption) (*GetCloudProjectCapabilitiesContainerregistryFilterResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var rv GetCloudProjectCapabilitiesContainerregistryFilterResult + err = ctx.InvokePackage("ovh:index/getCloudProjectCapabilitiesContainerregistryFilter:getCloudProjectCapabilitiesContainerregistryFilter", args, &rv, ref, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getCloudProjectCapabilitiesContainerregistryFilter. +type GetCloudProjectCapabilitiesContainerregistryFilterArgs struct { + Id *string `pulumi:"id"` + PlanName string `pulumi:"planName"` + Region string `pulumi:"region"` + ServiceName *string `pulumi:"serviceName"` +} + +// A collection of values returned by getCloudProjectCapabilitiesContainerregistryFilter. +type GetCloudProjectCapabilitiesContainerregistryFilterResult struct { + Code string `pulumi:"code"` + CreatedAt string `pulumi:"createdAt"` + Features []GetCloudProjectCapabilitiesContainerregistryFilterFeature `pulumi:"features"` + Id string `pulumi:"id"` + Name string `pulumi:"name"` + PlanName string `pulumi:"planName"` + Region string `pulumi:"region"` + RegistryLimits []GetCloudProjectCapabilitiesContainerregistryFilterRegistryLimit `pulumi:"registryLimits"` + ServiceName *string `pulumi:"serviceName"` + UpdatedAt string `pulumi:"updatedAt"` +} + +func GetCloudProjectCapabilitiesContainerregistryFilterOutput(ctx *pulumi.Context, args GetCloudProjectCapabilitiesContainerregistryFilterOutputArgs, opts ...pulumi.InvokeOption) GetCloudProjectCapabilitiesContainerregistryFilterResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (GetCloudProjectCapabilitiesContainerregistryFilterResult, error) { + args := v.(GetCloudProjectCapabilitiesContainerregistryFilterArgs) + r, err := GetCloudProjectCapabilitiesContainerregistryFilter(ctx, &args, opts...) + var s GetCloudProjectCapabilitiesContainerregistryFilterResult + if r != nil { + s = *r + } + return s, err + }).(GetCloudProjectCapabilitiesContainerregistryFilterResultOutput) +} + +// A collection of arguments for invoking getCloudProjectCapabilitiesContainerregistryFilter. +type GetCloudProjectCapabilitiesContainerregistryFilterOutputArgs struct { + Id pulumi.StringPtrInput `pulumi:"id"` + PlanName pulumi.StringInput `pulumi:"planName"` + Region pulumi.StringInput `pulumi:"region"` + ServiceName pulumi.StringPtrInput `pulumi:"serviceName"` +} + +func (GetCloudProjectCapabilitiesContainerregistryFilterOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetCloudProjectCapabilitiesContainerregistryFilterArgs)(nil)).Elem() +} + +// A collection of values returned by getCloudProjectCapabilitiesContainerregistryFilter. +type GetCloudProjectCapabilitiesContainerregistryFilterResultOutput struct{ *pulumi.OutputState } + +func (GetCloudProjectCapabilitiesContainerregistryFilterResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetCloudProjectCapabilitiesContainerregistryFilterResult)(nil)).Elem() +} + +func (o GetCloudProjectCapabilitiesContainerregistryFilterResultOutput) ToGetCloudProjectCapabilitiesContainerregistryFilterResultOutput() GetCloudProjectCapabilitiesContainerregistryFilterResultOutput { + return o +} + +func (o GetCloudProjectCapabilitiesContainerregistryFilterResultOutput) ToGetCloudProjectCapabilitiesContainerregistryFilterResultOutputWithContext(ctx context.Context) GetCloudProjectCapabilitiesContainerregistryFilterResultOutput { + return o +} + +func (o GetCloudProjectCapabilitiesContainerregistryFilterResultOutput) Code() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectCapabilitiesContainerregistryFilterResult) string { return v.Code }).(pulumi.StringOutput) +} + +func (o GetCloudProjectCapabilitiesContainerregistryFilterResultOutput) CreatedAt() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectCapabilitiesContainerregistryFilterResult) string { return v.CreatedAt }).(pulumi.StringOutput) +} + +func (o GetCloudProjectCapabilitiesContainerregistryFilterResultOutput) Features() GetCloudProjectCapabilitiesContainerregistryFilterFeatureArrayOutput { + return o.ApplyT(func(v GetCloudProjectCapabilitiesContainerregistryFilterResult) []GetCloudProjectCapabilitiesContainerregistryFilterFeature { + return v.Features + }).(GetCloudProjectCapabilitiesContainerregistryFilterFeatureArrayOutput) +} + +func (o GetCloudProjectCapabilitiesContainerregistryFilterResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectCapabilitiesContainerregistryFilterResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o GetCloudProjectCapabilitiesContainerregistryFilterResultOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectCapabilitiesContainerregistryFilterResult) string { return v.Name }).(pulumi.StringOutput) +} + +func (o GetCloudProjectCapabilitiesContainerregistryFilterResultOutput) PlanName() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectCapabilitiesContainerregistryFilterResult) string { return v.PlanName }).(pulumi.StringOutput) +} + +func (o GetCloudProjectCapabilitiesContainerregistryFilterResultOutput) Region() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectCapabilitiesContainerregistryFilterResult) string { return v.Region }).(pulumi.StringOutput) +} + +func (o GetCloudProjectCapabilitiesContainerregistryFilterResultOutput) RegistryLimits() GetCloudProjectCapabilitiesContainerregistryFilterRegistryLimitArrayOutput { + return o.ApplyT(func(v GetCloudProjectCapabilitiesContainerregistryFilterResult) []GetCloudProjectCapabilitiesContainerregistryFilterRegistryLimit { + return v.RegistryLimits + }).(GetCloudProjectCapabilitiesContainerregistryFilterRegistryLimitArrayOutput) +} + +func (o GetCloudProjectCapabilitiesContainerregistryFilterResultOutput) ServiceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetCloudProjectCapabilitiesContainerregistryFilterResult) *string { return v.ServiceName }).(pulumi.StringPtrOutput) +} + +func (o GetCloudProjectCapabilitiesContainerregistryFilterResultOutput) UpdatedAt() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectCapabilitiesContainerregistryFilterResult) string { return v.UpdatedAt }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(GetCloudProjectCapabilitiesContainerregistryFilterResultOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectContainerregistries.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectContainerregistries.go new file mode 100644 index 00000000..d36bd81f --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectContainerregistries.go @@ -0,0 +1,95 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func LookupCloudProjectContainerregistries(ctx *pulumi.Context, args *LookupCloudProjectContainerregistriesArgs, opts ...pulumi.InvokeOption) (*LookupCloudProjectContainerregistriesResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var rv LookupCloudProjectContainerregistriesResult + err = ctx.InvokePackage("ovh:index/getCloudProjectContainerregistries:getCloudProjectContainerregistries", args, &rv, ref, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getCloudProjectContainerregistries. +type LookupCloudProjectContainerregistriesArgs struct { + Id *string `pulumi:"id"` + ServiceName *string `pulumi:"serviceName"` +} + +// A collection of values returned by getCloudProjectContainerregistries. +type LookupCloudProjectContainerregistriesResult struct { + Id string `pulumi:"id"` + Results []GetCloudProjectContainerregistriesResult `pulumi:"results"` + ServiceName *string `pulumi:"serviceName"` +} + +func LookupCloudProjectContainerregistriesOutput(ctx *pulumi.Context, args LookupCloudProjectContainerregistriesOutputArgs, opts ...pulumi.InvokeOption) LookupCloudProjectContainerregistriesResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (LookupCloudProjectContainerregistriesResult, error) { + args := v.(LookupCloudProjectContainerregistriesArgs) + r, err := LookupCloudProjectContainerregistries(ctx, &args, opts...) + var s LookupCloudProjectContainerregistriesResult + if r != nil { + s = *r + } + return s, err + }).(LookupCloudProjectContainerregistriesResultOutput) +} + +// A collection of arguments for invoking getCloudProjectContainerregistries. +type LookupCloudProjectContainerregistriesOutputArgs struct { + Id pulumi.StringPtrInput `pulumi:"id"` + ServiceName pulumi.StringPtrInput `pulumi:"serviceName"` +} + +func (LookupCloudProjectContainerregistriesOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LookupCloudProjectContainerregistriesArgs)(nil)).Elem() +} + +// A collection of values returned by getCloudProjectContainerregistries. +type LookupCloudProjectContainerregistriesResultOutput struct{ *pulumi.OutputState } + +func (LookupCloudProjectContainerregistriesResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LookupCloudProjectContainerregistriesResult)(nil)).Elem() +} + +func (o LookupCloudProjectContainerregistriesResultOutput) ToLookupCloudProjectContainerregistriesResultOutput() LookupCloudProjectContainerregistriesResultOutput { + return o +} + +func (o LookupCloudProjectContainerregistriesResultOutput) ToLookupCloudProjectContainerregistriesResultOutputWithContext(ctx context.Context) LookupCloudProjectContainerregistriesResultOutput { + return o +} + +func (o LookupCloudProjectContainerregistriesResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectContainerregistriesResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectContainerregistriesResultOutput) Results() GetCloudProjectContainerregistriesResultArrayOutput { + return o.ApplyT(func(v LookupCloudProjectContainerregistriesResult) []GetCloudProjectContainerregistriesResult { + return v.Results + }).(GetCloudProjectContainerregistriesResultArrayOutput) +} + +func (o LookupCloudProjectContainerregistriesResultOutput) ServiceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v LookupCloudProjectContainerregistriesResult) *string { return v.ServiceName }).(pulumi.StringPtrOutput) +} + +func init() { + pulumi.RegisterOutputType(LookupCloudProjectContainerregistriesResultOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectContainerregistry.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectContainerregistry.go new file mode 100644 index 00000000..870906f5 --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectContainerregistry.go @@ -0,0 +1,140 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func LookupCloudProjectContainerregistry(ctx *pulumi.Context, args *LookupCloudProjectContainerregistryArgs, opts ...pulumi.InvokeOption) (*LookupCloudProjectContainerregistryResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var rv LookupCloudProjectContainerregistryResult + err = ctx.InvokePackage("ovh:index/getCloudProjectContainerregistry:getCloudProjectContainerregistry", args, &rv, ref, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getCloudProjectContainerregistry. +type LookupCloudProjectContainerregistryArgs struct { + Id *string `pulumi:"id"` + RegistryId string `pulumi:"registryId"` + ServiceName *string `pulumi:"serviceName"` +} + +// A collection of values returned by getCloudProjectContainerregistry. +type LookupCloudProjectContainerregistryResult struct { + CreatedAt string `pulumi:"createdAt"` + Id string `pulumi:"id"` + Name string `pulumi:"name"` + ProjectId string `pulumi:"projectId"` + Region string `pulumi:"region"` + RegistryId string `pulumi:"registryId"` + ServiceName *string `pulumi:"serviceName"` + Size float64 `pulumi:"size"` + Status string `pulumi:"status"` + UpdatedAt string `pulumi:"updatedAt"` + Url string `pulumi:"url"` + Version string `pulumi:"version"` +} + +func LookupCloudProjectContainerregistryOutput(ctx *pulumi.Context, args LookupCloudProjectContainerregistryOutputArgs, opts ...pulumi.InvokeOption) LookupCloudProjectContainerregistryResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (LookupCloudProjectContainerregistryResult, error) { + args := v.(LookupCloudProjectContainerregistryArgs) + r, err := LookupCloudProjectContainerregistry(ctx, &args, opts...) + var s LookupCloudProjectContainerregistryResult + if r != nil { + s = *r + } + return s, err + }).(LookupCloudProjectContainerregistryResultOutput) +} + +// A collection of arguments for invoking getCloudProjectContainerregistry. +type LookupCloudProjectContainerregistryOutputArgs struct { + Id pulumi.StringPtrInput `pulumi:"id"` + RegistryId pulumi.StringInput `pulumi:"registryId"` + ServiceName pulumi.StringPtrInput `pulumi:"serviceName"` +} + +func (LookupCloudProjectContainerregistryOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LookupCloudProjectContainerregistryArgs)(nil)).Elem() +} + +// A collection of values returned by getCloudProjectContainerregistry. +type LookupCloudProjectContainerregistryResultOutput struct{ *pulumi.OutputState } + +func (LookupCloudProjectContainerregistryResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LookupCloudProjectContainerregistryResult)(nil)).Elem() +} + +func (o LookupCloudProjectContainerregistryResultOutput) ToLookupCloudProjectContainerregistryResultOutput() LookupCloudProjectContainerregistryResultOutput { + return o +} + +func (o LookupCloudProjectContainerregistryResultOutput) ToLookupCloudProjectContainerregistryResultOutputWithContext(ctx context.Context) LookupCloudProjectContainerregistryResultOutput { + return o +} + +func (o LookupCloudProjectContainerregistryResultOutput) CreatedAt() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectContainerregistryResult) string { return v.CreatedAt }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectContainerregistryResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectContainerregistryResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectContainerregistryResultOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectContainerregistryResult) string { return v.Name }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectContainerregistryResultOutput) ProjectId() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectContainerregistryResult) string { return v.ProjectId }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectContainerregistryResultOutput) Region() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectContainerregistryResult) string { return v.Region }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectContainerregistryResultOutput) RegistryId() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectContainerregistryResult) string { return v.RegistryId }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectContainerregistryResultOutput) ServiceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v LookupCloudProjectContainerregistryResult) *string { return v.ServiceName }).(pulumi.StringPtrOutput) +} + +func (o LookupCloudProjectContainerregistryResultOutput) Size() pulumi.Float64Output { + return o.ApplyT(func(v LookupCloudProjectContainerregistryResult) float64 { return v.Size }).(pulumi.Float64Output) +} + +func (o LookupCloudProjectContainerregistryResultOutput) Status() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectContainerregistryResult) string { return v.Status }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectContainerregistryResultOutput) UpdatedAt() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectContainerregistryResult) string { return v.UpdatedAt }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectContainerregistryResultOutput) Url() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectContainerregistryResult) string { return v.Url }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectContainerregistryResultOutput) Version() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectContainerregistryResult) string { return v.Version }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(LookupCloudProjectContainerregistryResultOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectContainerregistryIpRestrictionsManagement.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectContainerregistryIpRestrictionsManagement.go new file mode 100644 index 00000000..e449860f --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectContainerregistryIpRestrictionsManagement.go @@ -0,0 +1,104 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func LookupCloudProjectContainerregistryIpRestrictionsManagement(ctx *pulumi.Context, args *LookupCloudProjectContainerregistryIpRestrictionsManagementArgs, opts ...pulumi.InvokeOption) (*LookupCloudProjectContainerregistryIpRestrictionsManagementResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var rv LookupCloudProjectContainerregistryIpRestrictionsManagementResult + err = ctx.InvokePackage("ovh:index/getCloudProjectContainerregistryIpRestrictionsManagement:getCloudProjectContainerregistryIpRestrictionsManagement", args, &rv, ref, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getCloudProjectContainerregistryIpRestrictionsManagement. +type LookupCloudProjectContainerregistryIpRestrictionsManagementArgs struct { + Id *string `pulumi:"id"` + RegistryId string `pulumi:"registryId"` + ServiceName *string `pulumi:"serviceName"` +} + +// A collection of values returned by getCloudProjectContainerregistryIpRestrictionsManagement. +type LookupCloudProjectContainerregistryIpRestrictionsManagementResult struct { + Id string `pulumi:"id"` + IpRestrictions []map[string]string `pulumi:"ipRestrictions"` + RegistryId string `pulumi:"registryId"` + ServiceName *string `pulumi:"serviceName"` +} + +func LookupCloudProjectContainerregistryIpRestrictionsManagementOutput(ctx *pulumi.Context, args LookupCloudProjectContainerregistryIpRestrictionsManagementOutputArgs, opts ...pulumi.InvokeOption) LookupCloudProjectContainerregistryIpRestrictionsManagementResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (LookupCloudProjectContainerregistryIpRestrictionsManagementResult, error) { + args := v.(LookupCloudProjectContainerregistryIpRestrictionsManagementArgs) + r, err := LookupCloudProjectContainerregistryIpRestrictionsManagement(ctx, &args, opts...) + var s LookupCloudProjectContainerregistryIpRestrictionsManagementResult + if r != nil { + s = *r + } + return s, err + }).(LookupCloudProjectContainerregistryIpRestrictionsManagementResultOutput) +} + +// A collection of arguments for invoking getCloudProjectContainerregistryIpRestrictionsManagement. +type LookupCloudProjectContainerregistryIpRestrictionsManagementOutputArgs struct { + Id pulumi.StringPtrInput `pulumi:"id"` + RegistryId pulumi.StringInput `pulumi:"registryId"` + ServiceName pulumi.StringPtrInput `pulumi:"serviceName"` +} + +func (LookupCloudProjectContainerregistryIpRestrictionsManagementOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LookupCloudProjectContainerregistryIpRestrictionsManagementArgs)(nil)).Elem() +} + +// A collection of values returned by getCloudProjectContainerregistryIpRestrictionsManagement. +type LookupCloudProjectContainerregistryIpRestrictionsManagementResultOutput struct{ *pulumi.OutputState } + +func (LookupCloudProjectContainerregistryIpRestrictionsManagementResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LookupCloudProjectContainerregistryIpRestrictionsManagementResult)(nil)).Elem() +} + +func (o LookupCloudProjectContainerregistryIpRestrictionsManagementResultOutput) ToLookupCloudProjectContainerregistryIpRestrictionsManagementResultOutput() LookupCloudProjectContainerregistryIpRestrictionsManagementResultOutput { + return o +} + +func (o LookupCloudProjectContainerregistryIpRestrictionsManagementResultOutput) ToLookupCloudProjectContainerregistryIpRestrictionsManagementResultOutputWithContext(ctx context.Context) LookupCloudProjectContainerregistryIpRestrictionsManagementResultOutput { + return o +} + +func (o LookupCloudProjectContainerregistryIpRestrictionsManagementResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectContainerregistryIpRestrictionsManagementResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectContainerregistryIpRestrictionsManagementResultOutput) IpRestrictions() pulumi.StringMapArrayOutput { + return o.ApplyT(func(v LookupCloudProjectContainerregistryIpRestrictionsManagementResult) []map[string]string { + return v.IpRestrictions + }).(pulumi.StringMapArrayOutput) +} + +func (o LookupCloudProjectContainerregistryIpRestrictionsManagementResultOutput) RegistryId() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectContainerregistryIpRestrictionsManagementResult) string { return v.RegistryId }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectContainerregistryIpRestrictionsManagementResultOutput) ServiceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v LookupCloudProjectContainerregistryIpRestrictionsManagementResult) *string { + return v.ServiceName + }).(pulumi.StringPtrOutput) +} + +func init() { + pulumi.RegisterOutputType(LookupCloudProjectContainerregistryIpRestrictionsManagementResultOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectContainerregistryIpRestrictionsRegistry.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectContainerregistryIpRestrictionsRegistry.go new file mode 100644 index 00000000..75072c6f --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectContainerregistryIpRestrictionsRegistry.go @@ -0,0 +1,102 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func LookupCloudProjectContainerregistryIpRestrictionsRegistry(ctx *pulumi.Context, args *LookupCloudProjectContainerregistryIpRestrictionsRegistryArgs, opts ...pulumi.InvokeOption) (*LookupCloudProjectContainerregistryIpRestrictionsRegistryResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var rv LookupCloudProjectContainerregistryIpRestrictionsRegistryResult + err = ctx.InvokePackage("ovh:index/getCloudProjectContainerregistryIpRestrictionsRegistry:getCloudProjectContainerregistryIpRestrictionsRegistry", args, &rv, ref, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getCloudProjectContainerregistryIpRestrictionsRegistry. +type LookupCloudProjectContainerregistryIpRestrictionsRegistryArgs struct { + Id *string `pulumi:"id"` + RegistryId string `pulumi:"registryId"` + ServiceName *string `pulumi:"serviceName"` +} + +// A collection of values returned by getCloudProjectContainerregistryIpRestrictionsRegistry. +type LookupCloudProjectContainerregistryIpRestrictionsRegistryResult struct { + Id string `pulumi:"id"` + IpRestrictions []map[string]string `pulumi:"ipRestrictions"` + RegistryId string `pulumi:"registryId"` + ServiceName *string `pulumi:"serviceName"` +} + +func LookupCloudProjectContainerregistryIpRestrictionsRegistryOutput(ctx *pulumi.Context, args LookupCloudProjectContainerregistryIpRestrictionsRegistryOutputArgs, opts ...pulumi.InvokeOption) LookupCloudProjectContainerregistryIpRestrictionsRegistryResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (LookupCloudProjectContainerregistryIpRestrictionsRegistryResult, error) { + args := v.(LookupCloudProjectContainerregistryIpRestrictionsRegistryArgs) + r, err := LookupCloudProjectContainerregistryIpRestrictionsRegistry(ctx, &args, opts...) + var s LookupCloudProjectContainerregistryIpRestrictionsRegistryResult + if r != nil { + s = *r + } + return s, err + }).(LookupCloudProjectContainerregistryIpRestrictionsRegistryResultOutput) +} + +// A collection of arguments for invoking getCloudProjectContainerregistryIpRestrictionsRegistry. +type LookupCloudProjectContainerregistryIpRestrictionsRegistryOutputArgs struct { + Id pulumi.StringPtrInput `pulumi:"id"` + RegistryId pulumi.StringInput `pulumi:"registryId"` + ServiceName pulumi.StringPtrInput `pulumi:"serviceName"` +} + +func (LookupCloudProjectContainerregistryIpRestrictionsRegistryOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LookupCloudProjectContainerregistryIpRestrictionsRegistryArgs)(nil)).Elem() +} + +// A collection of values returned by getCloudProjectContainerregistryIpRestrictionsRegistry. +type LookupCloudProjectContainerregistryIpRestrictionsRegistryResultOutput struct{ *pulumi.OutputState } + +func (LookupCloudProjectContainerregistryIpRestrictionsRegistryResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LookupCloudProjectContainerregistryIpRestrictionsRegistryResult)(nil)).Elem() +} + +func (o LookupCloudProjectContainerregistryIpRestrictionsRegistryResultOutput) ToLookupCloudProjectContainerregistryIpRestrictionsRegistryResultOutput() LookupCloudProjectContainerregistryIpRestrictionsRegistryResultOutput { + return o +} + +func (o LookupCloudProjectContainerregistryIpRestrictionsRegistryResultOutput) ToLookupCloudProjectContainerregistryIpRestrictionsRegistryResultOutputWithContext(ctx context.Context) LookupCloudProjectContainerregistryIpRestrictionsRegistryResultOutput { + return o +} + +func (o LookupCloudProjectContainerregistryIpRestrictionsRegistryResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectContainerregistryIpRestrictionsRegistryResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectContainerregistryIpRestrictionsRegistryResultOutput) IpRestrictions() pulumi.StringMapArrayOutput { + return o.ApplyT(func(v LookupCloudProjectContainerregistryIpRestrictionsRegistryResult) []map[string]string { + return v.IpRestrictions + }).(pulumi.StringMapArrayOutput) +} + +func (o LookupCloudProjectContainerregistryIpRestrictionsRegistryResultOutput) RegistryId() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectContainerregistryIpRestrictionsRegistryResult) string { return v.RegistryId }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectContainerregistryIpRestrictionsRegistryResultOutput) ServiceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v LookupCloudProjectContainerregistryIpRestrictionsRegistryResult) *string { return v.ServiceName }).(pulumi.StringPtrOutput) +} + +func init() { + pulumi.RegisterOutputType(LookupCloudProjectContainerregistryIpRestrictionsRegistryResultOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectContainerregistryOidc.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectContainerregistryOidc.go new file mode 100644 index 00000000..53e75f99 --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectContainerregistryOidc.go @@ -0,0 +1,158 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func LookupCloudProjectContainerregistryOidc(ctx *pulumi.Context, args *LookupCloudProjectContainerregistryOidcArgs, opts ...pulumi.InvokeOption) (*LookupCloudProjectContainerregistryOidcResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var rv LookupCloudProjectContainerregistryOidcResult + err = ctx.InvokePackage("ovh:index/getCloudProjectContainerregistryOidc:getCloudProjectContainerregistryOidc", args, &rv, ref, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getCloudProjectContainerregistryOidc. +type LookupCloudProjectContainerregistryOidcArgs struct { + Id *string `pulumi:"id"` + OidcAdminGroup *string `pulumi:"oidcAdminGroup"` + OidcAutoOnboard *bool `pulumi:"oidcAutoOnboard"` + OidcClientId *string `pulumi:"oidcClientId"` + OidcEndpoint *string `pulumi:"oidcEndpoint"` + OidcGroupsClaim *string `pulumi:"oidcGroupsClaim"` + OidcName *string `pulumi:"oidcName"` + OidcScope *string `pulumi:"oidcScope"` + OidcUserClaim *string `pulumi:"oidcUserClaim"` + OidcVerifyCert *bool `pulumi:"oidcVerifyCert"` + RegistryId string `pulumi:"registryId"` + ServiceName *string `pulumi:"serviceName"` +} + +// A collection of values returned by getCloudProjectContainerregistryOidc. +type LookupCloudProjectContainerregistryOidcResult struct { + Id string `pulumi:"id"` + OidcAdminGroup *string `pulumi:"oidcAdminGroup"` + OidcAutoOnboard *bool `pulumi:"oidcAutoOnboard"` + OidcClientId *string `pulumi:"oidcClientId"` + OidcEndpoint *string `pulumi:"oidcEndpoint"` + OidcGroupsClaim *string `pulumi:"oidcGroupsClaim"` + OidcName *string `pulumi:"oidcName"` + OidcScope *string `pulumi:"oidcScope"` + OidcUserClaim *string `pulumi:"oidcUserClaim"` + OidcVerifyCert *bool `pulumi:"oidcVerifyCert"` + RegistryId string `pulumi:"registryId"` + ServiceName *string `pulumi:"serviceName"` +} + +func LookupCloudProjectContainerregistryOidcOutput(ctx *pulumi.Context, args LookupCloudProjectContainerregistryOidcOutputArgs, opts ...pulumi.InvokeOption) LookupCloudProjectContainerregistryOidcResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (LookupCloudProjectContainerregistryOidcResult, error) { + args := v.(LookupCloudProjectContainerregistryOidcArgs) + r, err := LookupCloudProjectContainerregistryOidc(ctx, &args, opts...) + var s LookupCloudProjectContainerregistryOidcResult + if r != nil { + s = *r + } + return s, err + }).(LookupCloudProjectContainerregistryOidcResultOutput) +} + +// A collection of arguments for invoking getCloudProjectContainerregistryOidc. +type LookupCloudProjectContainerregistryOidcOutputArgs struct { + Id pulumi.StringPtrInput `pulumi:"id"` + OidcAdminGroup pulumi.StringPtrInput `pulumi:"oidcAdminGroup"` + OidcAutoOnboard pulumi.BoolPtrInput `pulumi:"oidcAutoOnboard"` + OidcClientId pulumi.StringPtrInput `pulumi:"oidcClientId"` + OidcEndpoint pulumi.StringPtrInput `pulumi:"oidcEndpoint"` + OidcGroupsClaim pulumi.StringPtrInput `pulumi:"oidcGroupsClaim"` + OidcName pulumi.StringPtrInput `pulumi:"oidcName"` + OidcScope pulumi.StringPtrInput `pulumi:"oidcScope"` + OidcUserClaim pulumi.StringPtrInput `pulumi:"oidcUserClaim"` + OidcVerifyCert pulumi.BoolPtrInput `pulumi:"oidcVerifyCert"` + RegistryId pulumi.StringInput `pulumi:"registryId"` + ServiceName pulumi.StringPtrInput `pulumi:"serviceName"` +} + +func (LookupCloudProjectContainerregistryOidcOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LookupCloudProjectContainerregistryOidcArgs)(nil)).Elem() +} + +// A collection of values returned by getCloudProjectContainerregistryOidc. +type LookupCloudProjectContainerregistryOidcResultOutput struct{ *pulumi.OutputState } + +func (LookupCloudProjectContainerregistryOidcResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LookupCloudProjectContainerregistryOidcResult)(nil)).Elem() +} + +func (o LookupCloudProjectContainerregistryOidcResultOutput) ToLookupCloudProjectContainerregistryOidcResultOutput() LookupCloudProjectContainerregistryOidcResultOutput { + return o +} + +func (o LookupCloudProjectContainerregistryOidcResultOutput) ToLookupCloudProjectContainerregistryOidcResultOutputWithContext(ctx context.Context) LookupCloudProjectContainerregistryOidcResultOutput { + return o +} + +func (o LookupCloudProjectContainerregistryOidcResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectContainerregistryOidcResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectContainerregistryOidcResultOutput) OidcAdminGroup() pulumi.StringPtrOutput { + return o.ApplyT(func(v LookupCloudProjectContainerregistryOidcResult) *string { return v.OidcAdminGroup }).(pulumi.StringPtrOutput) +} + +func (o LookupCloudProjectContainerregistryOidcResultOutput) OidcAutoOnboard() pulumi.BoolPtrOutput { + return o.ApplyT(func(v LookupCloudProjectContainerregistryOidcResult) *bool { return v.OidcAutoOnboard }).(pulumi.BoolPtrOutput) +} + +func (o LookupCloudProjectContainerregistryOidcResultOutput) OidcClientId() pulumi.StringPtrOutput { + return o.ApplyT(func(v LookupCloudProjectContainerregistryOidcResult) *string { return v.OidcClientId }).(pulumi.StringPtrOutput) +} + +func (o LookupCloudProjectContainerregistryOidcResultOutput) OidcEndpoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v LookupCloudProjectContainerregistryOidcResult) *string { return v.OidcEndpoint }).(pulumi.StringPtrOutput) +} + +func (o LookupCloudProjectContainerregistryOidcResultOutput) OidcGroupsClaim() pulumi.StringPtrOutput { + return o.ApplyT(func(v LookupCloudProjectContainerregistryOidcResult) *string { return v.OidcGroupsClaim }).(pulumi.StringPtrOutput) +} + +func (o LookupCloudProjectContainerregistryOidcResultOutput) OidcName() pulumi.StringPtrOutput { + return o.ApplyT(func(v LookupCloudProjectContainerregistryOidcResult) *string { return v.OidcName }).(pulumi.StringPtrOutput) +} + +func (o LookupCloudProjectContainerregistryOidcResultOutput) OidcScope() pulumi.StringPtrOutput { + return o.ApplyT(func(v LookupCloudProjectContainerregistryOidcResult) *string { return v.OidcScope }).(pulumi.StringPtrOutput) +} + +func (o LookupCloudProjectContainerregistryOidcResultOutput) OidcUserClaim() pulumi.StringPtrOutput { + return o.ApplyT(func(v LookupCloudProjectContainerregistryOidcResult) *string { return v.OidcUserClaim }).(pulumi.StringPtrOutput) +} + +func (o LookupCloudProjectContainerregistryOidcResultOutput) OidcVerifyCert() pulumi.BoolPtrOutput { + return o.ApplyT(func(v LookupCloudProjectContainerregistryOidcResult) *bool { return v.OidcVerifyCert }).(pulumi.BoolPtrOutput) +} + +func (o LookupCloudProjectContainerregistryOidcResultOutput) RegistryId() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectContainerregistryOidcResult) string { return v.RegistryId }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectContainerregistryOidcResultOutput) ServiceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v LookupCloudProjectContainerregistryOidcResult) *string { return v.ServiceName }).(pulumi.StringPtrOutput) +} + +func init() { + pulumi.RegisterOutputType(LookupCloudProjectContainerregistryOidcResultOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectContainerregistryUsers.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectContainerregistryUsers.go new file mode 100644 index 00000000..1c724f19 --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectContainerregistryUsers.go @@ -0,0 +1,102 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func LookupCloudProjectContainerregistryUsers(ctx *pulumi.Context, args *LookupCloudProjectContainerregistryUsersArgs, opts ...pulumi.InvokeOption) (*LookupCloudProjectContainerregistryUsersResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var rv LookupCloudProjectContainerregistryUsersResult + err = ctx.InvokePackage("ovh:index/getCloudProjectContainerregistryUsers:getCloudProjectContainerregistryUsers", args, &rv, ref, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getCloudProjectContainerregistryUsers. +type LookupCloudProjectContainerregistryUsersArgs struct { + Id *string `pulumi:"id"` + RegistryId string `pulumi:"registryId"` + ServiceName *string `pulumi:"serviceName"` +} + +// A collection of values returned by getCloudProjectContainerregistryUsers. +type LookupCloudProjectContainerregistryUsersResult struct { + Id string `pulumi:"id"` + RegistryId string `pulumi:"registryId"` + Results []GetCloudProjectContainerregistryUsersResult `pulumi:"results"` + ServiceName *string `pulumi:"serviceName"` +} + +func LookupCloudProjectContainerregistryUsersOutput(ctx *pulumi.Context, args LookupCloudProjectContainerregistryUsersOutputArgs, opts ...pulumi.InvokeOption) LookupCloudProjectContainerregistryUsersResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (LookupCloudProjectContainerregistryUsersResult, error) { + args := v.(LookupCloudProjectContainerregistryUsersArgs) + r, err := LookupCloudProjectContainerregistryUsers(ctx, &args, opts...) + var s LookupCloudProjectContainerregistryUsersResult + if r != nil { + s = *r + } + return s, err + }).(LookupCloudProjectContainerregistryUsersResultOutput) +} + +// A collection of arguments for invoking getCloudProjectContainerregistryUsers. +type LookupCloudProjectContainerregistryUsersOutputArgs struct { + Id pulumi.StringPtrInput `pulumi:"id"` + RegistryId pulumi.StringInput `pulumi:"registryId"` + ServiceName pulumi.StringPtrInput `pulumi:"serviceName"` +} + +func (LookupCloudProjectContainerregistryUsersOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LookupCloudProjectContainerregistryUsersArgs)(nil)).Elem() +} + +// A collection of values returned by getCloudProjectContainerregistryUsers. +type LookupCloudProjectContainerregistryUsersResultOutput struct{ *pulumi.OutputState } + +func (LookupCloudProjectContainerregistryUsersResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LookupCloudProjectContainerregistryUsersResult)(nil)).Elem() +} + +func (o LookupCloudProjectContainerregistryUsersResultOutput) ToLookupCloudProjectContainerregistryUsersResultOutput() LookupCloudProjectContainerregistryUsersResultOutput { + return o +} + +func (o LookupCloudProjectContainerregistryUsersResultOutput) ToLookupCloudProjectContainerregistryUsersResultOutputWithContext(ctx context.Context) LookupCloudProjectContainerregistryUsersResultOutput { + return o +} + +func (o LookupCloudProjectContainerregistryUsersResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectContainerregistryUsersResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectContainerregistryUsersResultOutput) RegistryId() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectContainerregistryUsersResult) string { return v.RegistryId }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectContainerregistryUsersResultOutput) Results() GetCloudProjectContainerregistryUsersResultArrayOutput { + return o.ApplyT(func(v LookupCloudProjectContainerregistryUsersResult) []GetCloudProjectContainerregistryUsersResult { + return v.Results + }).(GetCloudProjectContainerregistryUsersResultArrayOutput) +} + +func (o LookupCloudProjectContainerregistryUsersResultOutput) ServiceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v LookupCloudProjectContainerregistryUsersResult) *string { return v.ServiceName }).(pulumi.StringPtrOutput) +} + +func init() { + pulumi.RegisterOutputType(LookupCloudProjectContainerregistryUsersResultOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectDatabase.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectDatabase.go new file mode 100644 index 00000000..7cfa47c4 --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectDatabase.go @@ -0,0 +1,192 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func LookupCloudProjectDatabase(ctx *pulumi.Context, args *LookupCloudProjectDatabaseArgs, opts ...pulumi.InvokeOption) (*LookupCloudProjectDatabaseResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var rv LookupCloudProjectDatabaseResult + err = ctx.InvokePackage("ovh:index/getCloudProjectDatabase:getCloudProjectDatabase", args, &rv, ref, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getCloudProjectDatabase. +type LookupCloudProjectDatabaseArgs struct { + Engine string `pulumi:"engine"` + Id string `pulumi:"id"` + ServiceName *string `pulumi:"serviceName"` +} + +// A collection of values returned by getCloudProjectDatabase. +type LookupCloudProjectDatabaseResult struct { + AdvancedConfiguration map[string]string `pulumi:"advancedConfiguration"` + BackupRegions []string `pulumi:"backupRegions"` + BackupTime string `pulumi:"backupTime"` + CreatedAt string `pulumi:"createdAt"` + Description string `pulumi:"description"` + DiskSize float64 `pulumi:"diskSize"` + DiskType string `pulumi:"diskType"` + Endpoints []GetCloudProjectDatabaseEndpoint `pulumi:"endpoints"` + Engine string `pulumi:"engine"` + Flavor string `pulumi:"flavor"` + Id string `pulumi:"id"` + IpRestrictions []GetCloudProjectDatabaseIpRestrictionType `pulumi:"ipRestrictions"` + KafkaRestApi bool `pulumi:"kafkaRestApi"` + KafkaSchemaRegistry bool `pulumi:"kafkaSchemaRegistry"` + MaintenanceTime string `pulumi:"maintenanceTime"` + NetworkType string `pulumi:"networkType"` + Nodes []GetCloudProjectDatabaseNode `pulumi:"nodes"` + OpensearchAclsEnabled bool `pulumi:"opensearchAclsEnabled"` + Plan string `pulumi:"plan"` + ServiceName *string `pulumi:"serviceName"` + Status string `pulumi:"status"` + Version string `pulumi:"version"` +} + +func LookupCloudProjectDatabaseOutput(ctx *pulumi.Context, args LookupCloudProjectDatabaseOutputArgs, opts ...pulumi.InvokeOption) LookupCloudProjectDatabaseResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (LookupCloudProjectDatabaseResult, error) { + args := v.(LookupCloudProjectDatabaseArgs) + r, err := LookupCloudProjectDatabase(ctx, &args, opts...) + var s LookupCloudProjectDatabaseResult + if r != nil { + s = *r + } + return s, err + }).(LookupCloudProjectDatabaseResultOutput) +} + +// A collection of arguments for invoking getCloudProjectDatabase. +type LookupCloudProjectDatabaseOutputArgs struct { + Engine pulumi.StringInput `pulumi:"engine"` + Id pulumi.StringInput `pulumi:"id"` + ServiceName pulumi.StringPtrInput `pulumi:"serviceName"` +} + +func (LookupCloudProjectDatabaseOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LookupCloudProjectDatabaseArgs)(nil)).Elem() +} + +// A collection of values returned by getCloudProjectDatabase. +type LookupCloudProjectDatabaseResultOutput struct{ *pulumi.OutputState } + +func (LookupCloudProjectDatabaseResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LookupCloudProjectDatabaseResult)(nil)).Elem() +} + +func (o LookupCloudProjectDatabaseResultOutput) ToLookupCloudProjectDatabaseResultOutput() LookupCloudProjectDatabaseResultOutput { + return o +} + +func (o LookupCloudProjectDatabaseResultOutput) ToLookupCloudProjectDatabaseResultOutputWithContext(ctx context.Context) LookupCloudProjectDatabaseResultOutput { + return o +} + +func (o LookupCloudProjectDatabaseResultOutput) AdvancedConfiguration() pulumi.StringMapOutput { + return o.ApplyT(func(v LookupCloudProjectDatabaseResult) map[string]string { return v.AdvancedConfiguration }).(pulumi.StringMapOutput) +} + +func (o LookupCloudProjectDatabaseResultOutput) BackupRegions() pulumi.StringArrayOutput { + return o.ApplyT(func(v LookupCloudProjectDatabaseResult) []string { return v.BackupRegions }).(pulumi.StringArrayOutput) +} + +func (o LookupCloudProjectDatabaseResultOutput) BackupTime() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectDatabaseResult) string { return v.BackupTime }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectDatabaseResultOutput) CreatedAt() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectDatabaseResult) string { return v.CreatedAt }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectDatabaseResultOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectDatabaseResult) string { return v.Description }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectDatabaseResultOutput) DiskSize() pulumi.Float64Output { + return o.ApplyT(func(v LookupCloudProjectDatabaseResult) float64 { return v.DiskSize }).(pulumi.Float64Output) +} + +func (o LookupCloudProjectDatabaseResultOutput) DiskType() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectDatabaseResult) string { return v.DiskType }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectDatabaseResultOutput) Endpoints() GetCloudProjectDatabaseEndpointArrayOutput { + return o.ApplyT(func(v LookupCloudProjectDatabaseResult) []GetCloudProjectDatabaseEndpoint { return v.Endpoints }).(GetCloudProjectDatabaseEndpointArrayOutput) +} + +func (o LookupCloudProjectDatabaseResultOutput) Engine() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectDatabaseResult) string { return v.Engine }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectDatabaseResultOutput) Flavor() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectDatabaseResult) string { return v.Flavor }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectDatabaseResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectDatabaseResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectDatabaseResultOutput) IpRestrictions() GetCloudProjectDatabaseIpRestrictionTypeArrayOutput { + return o.ApplyT(func(v LookupCloudProjectDatabaseResult) []GetCloudProjectDatabaseIpRestrictionType { + return v.IpRestrictions + }).(GetCloudProjectDatabaseIpRestrictionTypeArrayOutput) +} + +func (o LookupCloudProjectDatabaseResultOutput) KafkaRestApi() pulumi.BoolOutput { + return o.ApplyT(func(v LookupCloudProjectDatabaseResult) bool { return v.KafkaRestApi }).(pulumi.BoolOutput) +} + +func (o LookupCloudProjectDatabaseResultOutput) KafkaSchemaRegistry() pulumi.BoolOutput { + return o.ApplyT(func(v LookupCloudProjectDatabaseResult) bool { return v.KafkaSchemaRegistry }).(pulumi.BoolOutput) +} + +func (o LookupCloudProjectDatabaseResultOutput) MaintenanceTime() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectDatabaseResult) string { return v.MaintenanceTime }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectDatabaseResultOutput) NetworkType() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectDatabaseResult) string { return v.NetworkType }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectDatabaseResultOutput) Nodes() GetCloudProjectDatabaseNodeArrayOutput { + return o.ApplyT(func(v LookupCloudProjectDatabaseResult) []GetCloudProjectDatabaseNode { return v.Nodes }).(GetCloudProjectDatabaseNodeArrayOutput) +} + +func (o LookupCloudProjectDatabaseResultOutput) OpensearchAclsEnabled() pulumi.BoolOutput { + return o.ApplyT(func(v LookupCloudProjectDatabaseResult) bool { return v.OpensearchAclsEnabled }).(pulumi.BoolOutput) +} + +func (o LookupCloudProjectDatabaseResultOutput) Plan() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectDatabaseResult) string { return v.Plan }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectDatabaseResultOutput) ServiceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v LookupCloudProjectDatabaseResult) *string { return v.ServiceName }).(pulumi.StringPtrOutput) +} + +func (o LookupCloudProjectDatabaseResultOutput) Status() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectDatabaseResult) string { return v.Status }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectDatabaseResultOutput) Version() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectDatabaseResult) string { return v.Version }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(LookupCloudProjectDatabaseResultOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectDatabaseCapabilities.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectDatabaseCapabilities.go new file mode 100644 index 00000000..9cd35365 --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectDatabaseCapabilities.go @@ -0,0 +1,116 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func GetCloudProjectDatabaseCapabilities(ctx *pulumi.Context, args *GetCloudProjectDatabaseCapabilitiesArgs, opts ...pulumi.InvokeOption) (*GetCloudProjectDatabaseCapabilitiesResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var rv GetCloudProjectDatabaseCapabilitiesResult + err = ctx.InvokePackage("ovh:index/getCloudProjectDatabaseCapabilities:getCloudProjectDatabaseCapabilities", args, &rv, ref, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getCloudProjectDatabaseCapabilities. +type GetCloudProjectDatabaseCapabilitiesArgs struct { + Id *string `pulumi:"id"` + ServiceName *string `pulumi:"serviceName"` +} + +// A collection of values returned by getCloudProjectDatabaseCapabilities. +type GetCloudProjectDatabaseCapabilitiesResult struct { + Engines []GetCloudProjectDatabaseCapabilitiesEngine `pulumi:"engines"` + Flavors []GetCloudProjectDatabaseCapabilitiesFlavor `pulumi:"flavors"` + Id string `pulumi:"id"` + Options []GetCloudProjectDatabaseCapabilitiesOption `pulumi:"options"` + Plans []GetCloudProjectDatabaseCapabilitiesPlan `pulumi:"plans"` + ServiceName *string `pulumi:"serviceName"` +} + +func GetCloudProjectDatabaseCapabilitiesOutput(ctx *pulumi.Context, args GetCloudProjectDatabaseCapabilitiesOutputArgs, opts ...pulumi.InvokeOption) GetCloudProjectDatabaseCapabilitiesResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (GetCloudProjectDatabaseCapabilitiesResult, error) { + args := v.(GetCloudProjectDatabaseCapabilitiesArgs) + r, err := GetCloudProjectDatabaseCapabilities(ctx, &args, opts...) + var s GetCloudProjectDatabaseCapabilitiesResult + if r != nil { + s = *r + } + return s, err + }).(GetCloudProjectDatabaseCapabilitiesResultOutput) +} + +// A collection of arguments for invoking getCloudProjectDatabaseCapabilities. +type GetCloudProjectDatabaseCapabilitiesOutputArgs struct { + Id pulumi.StringPtrInput `pulumi:"id"` + ServiceName pulumi.StringPtrInput `pulumi:"serviceName"` +} + +func (GetCloudProjectDatabaseCapabilitiesOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetCloudProjectDatabaseCapabilitiesArgs)(nil)).Elem() +} + +// A collection of values returned by getCloudProjectDatabaseCapabilities. +type GetCloudProjectDatabaseCapabilitiesResultOutput struct{ *pulumi.OutputState } + +func (GetCloudProjectDatabaseCapabilitiesResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetCloudProjectDatabaseCapabilitiesResult)(nil)).Elem() +} + +func (o GetCloudProjectDatabaseCapabilitiesResultOutput) ToGetCloudProjectDatabaseCapabilitiesResultOutput() GetCloudProjectDatabaseCapabilitiesResultOutput { + return o +} + +func (o GetCloudProjectDatabaseCapabilitiesResultOutput) ToGetCloudProjectDatabaseCapabilitiesResultOutputWithContext(ctx context.Context) GetCloudProjectDatabaseCapabilitiesResultOutput { + return o +} + +func (o GetCloudProjectDatabaseCapabilitiesResultOutput) Engines() GetCloudProjectDatabaseCapabilitiesEngineArrayOutput { + return o.ApplyT(func(v GetCloudProjectDatabaseCapabilitiesResult) []GetCloudProjectDatabaseCapabilitiesEngine { + return v.Engines + }).(GetCloudProjectDatabaseCapabilitiesEngineArrayOutput) +} + +func (o GetCloudProjectDatabaseCapabilitiesResultOutput) Flavors() GetCloudProjectDatabaseCapabilitiesFlavorArrayOutput { + return o.ApplyT(func(v GetCloudProjectDatabaseCapabilitiesResult) []GetCloudProjectDatabaseCapabilitiesFlavor { + return v.Flavors + }).(GetCloudProjectDatabaseCapabilitiesFlavorArrayOutput) +} + +func (o GetCloudProjectDatabaseCapabilitiesResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectDatabaseCapabilitiesResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o GetCloudProjectDatabaseCapabilitiesResultOutput) Options() GetCloudProjectDatabaseCapabilitiesOptionArrayOutput { + return o.ApplyT(func(v GetCloudProjectDatabaseCapabilitiesResult) []GetCloudProjectDatabaseCapabilitiesOption { + return v.Options + }).(GetCloudProjectDatabaseCapabilitiesOptionArrayOutput) +} + +func (o GetCloudProjectDatabaseCapabilitiesResultOutput) Plans() GetCloudProjectDatabaseCapabilitiesPlanArrayOutput { + return o.ApplyT(func(v GetCloudProjectDatabaseCapabilitiesResult) []GetCloudProjectDatabaseCapabilitiesPlan { + return v.Plans + }).(GetCloudProjectDatabaseCapabilitiesPlanArrayOutput) +} + +func (o GetCloudProjectDatabaseCapabilitiesResultOutput) ServiceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetCloudProjectDatabaseCapabilitiesResult) *string { return v.ServiceName }).(pulumi.StringPtrOutput) +} + +func init() { + pulumi.RegisterOutputType(GetCloudProjectDatabaseCapabilitiesResultOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectDatabaseCertificates.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectDatabaseCertificates.go new file mode 100644 index 00000000..a6733618 --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectDatabaseCertificates.go @@ -0,0 +1,107 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func GetCloudProjectDatabaseCertificates(ctx *pulumi.Context, args *GetCloudProjectDatabaseCertificatesArgs, opts ...pulumi.InvokeOption) (*GetCloudProjectDatabaseCertificatesResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var rv GetCloudProjectDatabaseCertificatesResult + err = ctx.InvokePackage("ovh:index/getCloudProjectDatabaseCertificates:getCloudProjectDatabaseCertificates", args, &rv, ref, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getCloudProjectDatabaseCertificates. +type GetCloudProjectDatabaseCertificatesArgs struct { + ClusterId string `pulumi:"clusterId"` + Engine string `pulumi:"engine"` + Id *string `pulumi:"id"` + ServiceName *string `pulumi:"serviceName"` +} + +// A collection of values returned by getCloudProjectDatabaseCertificates. +type GetCloudProjectDatabaseCertificatesResult struct { + Ca string `pulumi:"ca"` + ClusterId string `pulumi:"clusterId"` + Engine string `pulumi:"engine"` + Id string `pulumi:"id"` + ServiceName *string `pulumi:"serviceName"` +} + +func GetCloudProjectDatabaseCertificatesOutput(ctx *pulumi.Context, args GetCloudProjectDatabaseCertificatesOutputArgs, opts ...pulumi.InvokeOption) GetCloudProjectDatabaseCertificatesResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (GetCloudProjectDatabaseCertificatesResult, error) { + args := v.(GetCloudProjectDatabaseCertificatesArgs) + r, err := GetCloudProjectDatabaseCertificates(ctx, &args, opts...) + var s GetCloudProjectDatabaseCertificatesResult + if r != nil { + s = *r + } + return s, err + }).(GetCloudProjectDatabaseCertificatesResultOutput) +} + +// A collection of arguments for invoking getCloudProjectDatabaseCertificates. +type GetCloudProjectDatabaseCertificatesOutputArgs struct { + ClusterId pulumi.StringInput `pulumi:"clusterId"` + Engine pulumi.StringInput `pulumi:"engine"` + Id pulumi.StringPtrInput `pulumi:"id"` + ServiceName pulumi.StringPtrInput `pulumi:"serviceName"` +} + +func (GetCloudProjectDatabaseCertificatesOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetCloudProjectDatabaseCertificatesArgs)(nil)).Elem() +} + +// A collection of values returned by getCloudProjectDatabaseCertificates. +type GetCloudProjectDatabaseCertificatesResultOutput struct{ *pulumi.OutputState } + +func (GetCloudProjectDatabaseCertificatesResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetCloudProjectDatabaseCertificatesResult)(nil)).Elem() +} + +func (o GetCloudProjectDatabaseCertificatesResultOutput) ToGetCloudProjectDatabaseCertificatesResultOutput() GetCloudProjectDatabaseCertificatesResultOutput { + return o +} + +func (o GetCloudProjectDatabaseCertificatesResultOutput) ToGetCloudProjectDatabaseCertificatesResultOutputWithContext(ctx context.Context) GetCloudProjectDatabaseCertificatesResultOutput { + return o +} + +func (o GetCloudProjectDatabaseCertificatesResultOutput) Ca() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectDatabaseCertificatesResult) string { return v.Ca }).(pulumi.StringOutput) +} + +func (o GetCloudProjectDatabaseCertificatesResultOutput) ClusterId() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectDatabaseCertificatesResult) string { return v.ClusterId }).(pulumi.StringOutput) +} + +func (o GetCloudProjectDatabaseCertificatesResultOutput) Engine() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectDatabaseCertificatesResult) string { return v.Engine }).(pulumi.StringOutput) +} + +func (o GetCloudProjectDatabaseCertificatesResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectDatabaseCertificatesResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o GetCloudProjectDatabaseCertificatesResultOutput) ServiceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetCloudProjectDatabaseCertificatesResult) *string { return v.ServiceName }).(pulumi.StringPtrOutput) +} + +func init() { + pulumi.RegisterOutputType(GetCloudProjectDatabaseCertificatesResultOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectDatabaseDatabase.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectDatabaseDatabase.go new file mode 100644 index 00000000..e50817d1 --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectDatabaseDatabase.go @@ -0,0 +1,114 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func LookupCloudProjectDatabaseDatabase(ctx *pulumi.Context, args *LookupCloudProjectDatabaseDatabaseArgs, opts ...pulumi.InvokeOption) (*LookupCloudProjectDatabaseDatabaseResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var rv LookupCloudProjectDatabaseDatabaseResult + err = ctx.InvokePackage("ovh:index/getCloudProjectDatabaseDatabase:getCloudProjectDatabaseDatabase", args, &rv, ref, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getCloudProjectDatabaseDatabase. +type LookupCloudProjectDatabaseDatabaseArgs struct { + ClusterId string `pulumi:"clusterId"` + Engine string `pulumi:"engine"` + Id *string `pulumi:"id"` + Name string `pulumi:"name"` + ServiceName *string `pulumi:"serviceName"` +} + +// A collection of values returned by getCloudProjectDatabaseDatabase. +type LookupCloudProjectDatabaseDatabaseResult struct { + ClusterId string `pulumi:"clusterId"` + Default bool `pulumi:"default"` + Engine string `pulumi:"engine"` + Id string `pulumi:"id"` + Name string `pulumi:"name"` + ServiceName *string `pulumi:"serviceName"` +} + +func LookupCloudProjectDatabaseDatabaseOutput(ctx *pulumi.Context, args LookupCloudProjectDatabaseDatabaseOutputArgs, opts ...pulumi.InvokeOption) LookupCloudProjectDatabaseDatabaseResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (LookupCloudProjectDatabaseDatabaseResult, error) { + args := v.(LookupCloudProjectDatabaseDatabaseArgs) + r, err := LookupCloudProjectDatabaseDatabase(ctx, &args, opts...) + var s LookupCloudProjectDatabaseDatabaseResult + if r != nil { + s = *r + } + return s, err + }).(LookupCloudProjectDatabaseDatabaseResultOutput) +} + +// A collection of arguments for invoking getCloudProjectDatabaseDatabase. +type LookupCloudProjectDatabaseDatabaseOutputArgs struct { + ClusterId pulumi.StringInput `pulumi:"clusterId"` + Engine pulumi.StringInput `pulumi:"engine"` + Id pulumi.StringPtrInput `pulumi:"id"` + Name pulumi.StringInput `pulumi:"name"` + ServiceName pulumi.StringPtrInput `pulumi:"serviceName"` +} + +func (LookupCloudProjectDatabaseDatabaseOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LookupCloudProjectDatabaseDatabaseArgs)(nil)).Elem() +} + +// A collection of values returned by getCloudProjectDatabaseDatabase. +type LookupCloudProjectDatabaseDatabaseResultOutput struct{ *pulumi.OutputState } + +func (LookupCloudProjectDatabaseDatabaseResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LookupCloudProjectDatabaseDatabaseResult)(nil)).Elem() +} + +func (o LookupCloudProjectDatabaseDatabaseResultOutput) ToLookupCloudProjectDatabaseDatabaseResultOutput() LookupCloudProjectDatabaseDatabaseResultOutput { + return o +} + +func (o LookupCloudProjectDatabaseDatabaseResultOutput) ToLookupCloudProjectDatabaseDatabaseResultOutputWithContext(ctx context.Context) LookupCloudProjectDatabaseDatabaseResultOutput { + return o +} + +func (o LookupCloudProjectDatabaseDatabaseResultOutput) ClusterId() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectDatabaseDatabaseResult) string { return v.ClusterId }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectDatabaseDatabaseResultOutput) Default() pulumi.BoolOutput { + return o.ApplyT(func(v LookupCloudProjectDatabaseDatabaseResult) bool { return v.Default }).(pulumi.BoolOutput) +} + +func (o LookupCloudProjectDatabaseDatabaseResultOutput) Engine() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectDatabaseDatabaseResult) string { return v.Engine }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectDatabaseDatabaseResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectDatabaseDatabaseResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectDatabaseDatabaseResultOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectDatabaseDatabaseResult) string { return v.Name }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectDatabaseDatabaseResultOutput) ServiceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v LookupCloudProjectDatabaseDatabaseResult) *string { return v.ServiceName }).(pulumi.StringPtrOutput) +} + +func init() { + pulumi.RegisterOutputType(LookupCloudProjectDatabaseDatabaseResultOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectDatabaseDatabases.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectDatabaseDatabases.go new file mode 100644 index 00000000..3bb56c0a --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectDatabaseDatabases.go @@ -0,0 +1,107 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func GetCloudProjectDatabaseDatabases(ctx *pulumi.Context, args *GetCloudProjectDatabaseDatabasesArgs, opts ...pulumi.InvokeOption) (*GetCloudProjectDatabaseDatabasesResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var rv GetCloudProjectDatabaseDatabasesResult + err = ctx.InvokePackage("ovh:index/getCloudProjectDatabaseDatabases:getCloudProjectDatabaseDatabases", args, &rv, ref, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getCloudProjectDatabaseDatabases. +type GetCloudProjectDatabaseDatabasesArgs struct { + ClusterId string `pulumi:"clusterId"` + Engine string `pulumi:"engine"` + Id *string `pulumi:"id"` + ServiceName *string `pulumi:"serviceName"` +} + +// A collection of values returned by getCloudProjectDatabaseDatabases. +type GetCloudProjectDatabaseDatabasesResult struct { + ClusterId string `pulumi:"clusterId"` + DatabaseIds []string `pulumi:"databaseIds"` + Engine string `pulumi:"engine"` + Id string `pulumi:"id"` + ServiceName *string `pulumi:"serviceName"` +} + +func GetCloudProjectDatabaseDatabasesOutput(ctx *pulumi.Context, args GetCloudProjectDatabaseDatabasesOutputArgs, opts ...pulumi.InvokeOption) GetCloudProjectDatabaseDatabasesResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (GetCloudProjectDatabaseDatabasesResult, error) { + args := v.(GetCloudProjectDatabaseDatabasesArgs) + r, err := GetCloudProjectDatabaseDatabases(ctx, &args, opts...) + var s GetCloudProjectDatabaseDatabasesResult + if r != nil { + s = *r + } + return s, err + }).(GetCloudProjectDatabaseDatabasesResultOutput) +} + +// A collection of arguments for invoking getCloudProjectDatabaseDatabases. +type GetCloudProjectDatabaseDatabasesOutputArgs struct { + ClusterId pulumi.StringInput `pulumi:"clusterId"` + Engine pulumi.StringInput `pulumi:"engine"` + Id pulumi.StringPtrInput `pulumi:"id"` + ServiceName pulumi.StringPtrInput `pulumi:"serviceName"` +} + +func (GetCloudProjectDatabaseDatabasesOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetCloudProjectDatabaseDatabasesArgs)(nil)).Elem() +} + +// A collection of values returned by getCloudProjectDatabaseDatabases. +type GetCloudProjectDatabaseDatabasesResultOutput struct{ *pulumi.OutputState } + +func (GetCloudProjectDatabaseDatabasesResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetCloudProjectDatabaseDatabasesResult)(nil)).Elem() +} + +func (o GetCloudProjectDatabaseDatabasesResultOutput) ToGetCloudProjectDatabaseDatabasesResultOutput() GetCloudProjectDatabaseDatabasesResultOutput { + return o +} + +func (o GetCloudProjectDatabaseDatabasesResultOutput) ToGetCloudProjectDatabaseDatabasesResultOutputWithContext(ctx context.Context) GetCloudProjectDatabaseDatabasesResultOutput { + return o +} + +func (o GetCloudProjectDatabaseDatabasesResultOutput) ClusterId() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectDatabaseDatabasesResult) string { return v.ClusterId }).(pulumi.StringOutput) +} + +func (o GetCloudProjectDatabaseDatabasesResultOutput) DatabaseIds() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetCloudProjectDatabaseDatabasesResult) []string { return v.DatabaseIds }).(pulumi.StringArrayOutput) +} + +func (o GetCloudProjectDatabaseDatabasesResultOutput) Engine() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectDatabaseDatabasesResult) string { return v.Engine }).(pulumi.StringOutput) +} + +func (o GetCloudProjectDatabaseDatabasesResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectDatabaseDatabasesResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o GetCloudProjectDatabaseDatabasesResultOutput) ServiceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetCloudProjectDatabaseDatabasesResult) *string { return v.ServiceName }).(pulumi.StringPtrOutput) +} + +func init() { + pulumi.RegisterOutputType(GetCloudProjectDatabaseDatabasesResultOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectDatabaseIntegration.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectDatabaseIntegration.go new file mode 100644 index 00000000..5ba157d4 --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectDatabaseIntegration.go @@ -0,0 +1,127 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func LookupCloudProjectDatabaseIntegration(ctx *pulumi.Context, args *LookupCloudProjectDatabaseIntegrationArgs, opts ...pulumi.InvokeOption) (*LookupCloudProjectDatabaseIntegrationResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var rv LookupCloudProjectDatabaseIntegrationResult + err = ctx.InvokePackage("ovh:index/getCloudProjectDatabaseIntegration:getCloudProjectDatabaseIntegration", args, &rv, ref, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getCloudProjectDatabaseIntegration. +type LookupCloudProjectDatabaseIntegrationArgs struct { + ClusterId string `pulumi:"clusterId"` + Engine string `pulumi:"engine"` + Id string `pulumi:"id"` + ServiceName *string `pulumi:"serviceName"` +} + +// A collection of values returned by getCloudProjectDatabaseIntegration. +type LookupCloudProjectDatabaseIntegrationResult struct { + ClusterId string `pulumi:"clusterId"` + DestinationServiceId string `pulumi:"destinationServiceId"` + Engine string `pulumi:"engine"` + Id string `pulumi:"id"` + Parameters map[string]string `pulumi:"parameters"` + ServiceName *string `pulumi:"serviceName"` + SourceServiceId string `pulumi:"sourceServiceId"` + Status string `pulumi:"status"` + Type string `pulumi:"type"` +} + +func LookupCloudProjectDatabaseIntegrationOutput(ctx *pulumi.Context, args LookupCloudProjectDatabaseIntegrationOutputArgs, opts ...pulumi.InvokeOption) LookupCloudProjectDatabaseIntegrationResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (LookupCloudProjectDatabaseIntegrationResult, error) { + args := v.(LookupCloudProjectDatabaseIntegrationArgs) + r, err := LookupCloudProjectDatabaseIntegration(ctx, &args, opts...) + var s LookupCloudProjectDatabaseIntegrationResult + if r != nil { + s = *r + } + return s, err + }).(LookupCloudProjectDatabaseIntegrationResultOutput) +} + +// A collection of arguments for invoking getCloudProjectDatabaseIntegration. +type LookupCloudProjectDatabaseIntegrationOutputArgs struct { + ClusterId pulumi.StringInput `pulumi:"clusterId"` + Engine pulumi.StringInput `pulumi:"engine"` + Id pulumi.StringInput `pulumi:"id"` + ServiceName pulumi.StringPtrInput `pulumi:"serviceName"` +} + +func (LookupCloudProjectDatabaseIntegrationOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LookupCloudProjectDatabaseIntegrationArgs)(nil)).Elem() +} + +// A collection of values returned by getCloudProjectDatabaseIntegration. +type LookupCloudProjectDatabaseIntegrationResultOutput struct{ *pulumi.OutputState } + +func (LookupCloudProjectDatabaseIntegrationResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LookupCloudProjectDatabaseIntegrationResult)(nil)).Elem() +} + +func (o LookupCloudProjectDatabaseIntegrationResultOutput) ToLookupCloudProjectDatabaseIntegrationResultOutput() LookupCloudProjectDatabaseIntegrationResultOutput { + return o +} + +func (o LookupCloudProjectDatabaseIntegrationResultOutput) ToLookupCloudProjectDatabaseIntegrationResultOutputWithContext(ctx context.Context) LookupCloudProjectDatabaseIntegrationResultOutput { + return o +} + +func (o LookupCloudProjectDatabaseIntegrationResultOutput) ClusterId() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectDatabaseIntegrationResult) string { return v.ClusterId }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectDatabaseIntegrationResultOutput) DestinationServiceId() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectDatabaseIntegrationResult) string { return v.DestinationServiceId }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectDatabaseIntegrationResultOutput) Engine() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectDatabaseIntegrationResult) string { return v.Engine }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectDatabaseIntegrationResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectDatabaseIntegrationResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectDatabaseIntegrationResultOutput) Parameters() pulumi.StringMapOutput { + return o.ApplyT(func(v LookupCloudProjectDatabaseIntegrationResult) map[string]string { return v.Parameters }).(pulumi.StringMapOutput) +} + +func (o LookupCloudProjectDatabaseIntegrationResultOutput) ServiceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v LookupCloudProjectDatabaseIntegrationResult) *string { return v.ServiceName }).(pulumi.StringPtrOutput) +} + +func (o LookupCloudProjectDatabaseIntegrationResultOutput) SourceServiceId() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectDatabaseIntegrationResult) string { return v.SourceServiceId }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectDatabaseIntegrationResultOutput) Status() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectDatabaseIntegrationResult) string { return v.Status }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectDatabaseIntegrationResultOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectDatabaseIntegrationResult) string { return v.Type }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(LookupCloudProjectDatabaseIntegrationResultOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectDatabaseIntegrations.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectDatabaseIntegrations.go new file mode 100644 index 00000000..c2ad1f39 --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectDatabaseIntegrations.go @@ -0,0 +1,107 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func GetCloudProjectDatabaseIntegrations(ctx *pulumi.Context, args *GetCloudProjectDatabaseIntegrationsArgs, opts ...pulumi.InvokeOption) (*GetCloudProjectDatabaseIntegrationsResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var rv GetCloudProjectDatabaseIntegrationsResult + err = ctx.InvokePackage("ovh:index/getCloudProjectDatabaseIntegrations:getCloudProjectDatabaseIntegrations", args, &rv, ref, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getCloudProjectDatabaseIntegrations. +type GetCloudProjectDatabaseIntegrationsArgs struct { + ClusterId string `pulumi:"clusterId"` + Engine string `pulumi:"engine"` + Id *string `pulumi:"id"` + ServiceName *string `pulumi:"serviceName"` +} + +// A collection of values returned by getCloudProjectDatabaseIntegrations. +type GetCloudProjectDatabaseIntegrationsResult struct { + ClusterId string `pulumi:"clusterId"` + Engine string `pulumi:"engine"` + Id string `pulumi:"id"` + IntegrationIds []string `pulumi:"integrationIds"` + ServiceName *string `pulumi:"serviceName"` +} + +func GetCloudProjectDatabaseIntegrationsOutput(ctx *pulumi.Context, args GetCloudProjectDatabaseIntegrationsOutputArgs, opts ...pulumi.InvokeOption) GetCloudProjectDatabaseIntegrationsResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (GetCloudProjectDatabaseIntegrationsResult, error) { + args := v.(GetCloudProjectDatabaseIntegrationsArgs) + r, err := GetCloudProjectDatabaseIntegrations(ctx, &args, opts...) + var s GetCloudProjectDatabaseIntegrationsResult + if r != nil { + s = *r + } + return s, err + }).(GetCloudProjectDatabaseIntegrationsResultOutput) +} + +// A collection of arguments for invoking getCloudProjectDatabaseIntegrations. +type GetCloudProjectDatabaseIntegrationsOutputArgs struct { + ClusterId pulumi.StringInput `pulumi:"clusterId"` + Engine pulumi.StringInput `pulumi:"engine"` + Id pulumi.StringPtrInput `pulumi:"id"` + ServiceName pulumi.StringPtrInput `pulumi:"serviceName"` +} + +func (GetCloudProjectDatabaseIntegrationsOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetCloudProjectDatabaseIntegrationsArgs)(nil)).Elem() +} + +// A collection of values returned by getCloudProjectDatabaseIntegrations. +type GetCloudProjectDatabaseIntegrationsResultOutput struct{ *pulumi.OutputState } + +func (GetCloudProjectDatabaseIntegrationsResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetCloudProjectDatabaseIntegrationsResult)(nil)).Elem() +} + +func (o GetCloudProjectDatabaseIntegrationsResultOutput) ToGetCloudProjectDatabaseIntegrationsResultOutput() GetCloudProjectDatabaseIntegrationsResultOutput { + return o +} + +func (o GetCloudProjectDatabaseIntegrationsResultOutput) ToGetCloudProjectDatabaseIntegrationsResultOutputWithContext(ctx context.Context) GetCloudProjectDatabaseIntegrationsResultOutput { + return o +} + +func (o GetCloudProjectDatabaseIntegrationsResultOutput) ClusterId() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectDatabaseIntegrationsResult) string { return v.ClusterId }).(pulumi.StringOutput) +} + +func (o GetCloudProjectDatabaseIntegrationsResultOutput) Engine() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectDatabaseIntegrationsResult) string { return v.Engine }).(pulumi.StringOutput) +} + +func (o GetCloudProjectDatabaseIntegrationsResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectDatabaseIntegrationsResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o GetCloudProjectDatabaseIntegrationsResultOutput) IntegrationIds() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetCloudProjectDatabaseIntegrationsResult) []string { return v.IntegrationIds }).(pulumi.StringArrayOutput) +} + +func (o GetCloudProjectDatabaseIntegrationsResultOutput) ServiceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetCloudProjectDatabaseIntegrationsResult) *string { return v.ServiceName }).(pulumi.StringPtrOutput) +} + +func init() { + pulumi.RegisterOutputType(GetCloudProjectDatabaseIntegrationsResultOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectDatabaseIpRestrictions.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectDatabaseIpRestrictions.go new file mode 100644 index 00000000..2c0bd80d --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectDatabaseIpRestrictions.go @@ -0,0 +1,107 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func GetCloudProjectDatabaseIpRestrictions(ctx *pulumi.Context, args *GetCloudProjectDatabaseIpRestrictionsArgs, opts ...pulumi.InvokeOption) (*GetCloudProjectDatabaseIpRestrictionsResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var rv GetCloudProjectDatabaseIpRestrictionsResult + err = ctx.InvokePackage("ovh:index/getCloudProjectDatabaseIpRestrictions:getCloudProjectDatabaseIpRestrictions", args, &rv, ref, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getCloudProjectDatabaseIpRestrictions. +type GetCloudProjectDatabaseIpRestrictionsArgs struct { + ClusterId string `pulumi:"clusterId"` + Engine string `pulumi:"engine"` + ServiceName *string `pulumi:"serviceName"` +} + +// A collection of values returned by getCloudProjectDatabaseIpRestrictions. +type GetCloudProjectDatabaseIpRestrictionsResult struct { + ClusterId string `pulumi:"clusterId"` + Engine string `pulumi:"engine"` + // The provider-assigned unique ID for this managed resource. + Id string `pulumi:"id"` + Ips []string `pulumi:"ips"` + ServiceName *string `pulumi:"serviceName"` +} + +func GetCloudProjectDatabaseIpRestrictionsOutput(ctx *pulumi.Context, args GetCloudProjectDatabaseIpRestrictionsOutputArgs, opts ...pulumi.InvokeOption) GetCloudProjectDatabaseIpRestrictionsResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (GetCloudProjectDatabaseIpRestrictionsResult, error) { + args := v.(GetCloudProjectDatabaseIpRestrictionsArgs) + r, err := GetCloudProjectDatabaseIpRestrictions(ctx, &args, opts...) + var s GetCloudProjectDatabaseIpRestrictionsResult + if r != nil { + s = *r + } + return s, err + }).(GetCloudProjectDatabaseIpRestrictionsResultOutput) +} + +// A collection of arguments for invoking getCloudProjectDatabaseIpRestrictions. +type GetCloudProjectDatabaseIpRestrictionsOutputArgs struct { + ClusterId pulumi.StringInput `pulumi:"clusterId"` + Engine pulumi.StringInput `pulumi:"engine"` + ServiceName pulumi.StringPtrInput `pulumi:"serviceName"` +} + +func (GetCloudProjectDatabaseIpRestrictionsOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetCloudProjectDatabaseIpRestrictionsArgs)(nil)).Elem() +} + +// A collection of values returned by getCloudProjectDatabaseIpRestrictions. +type GetCloudProjectDatabaseIpRestrictionsResultOutput struct{ *pulumi.OutputState } + +func (GetCloudProjectDatabaseIpRestrictionsResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetCloudProjectDatabaseIpRestrictionsResult)(nil)).Elem() +} + +func (o GetCloudProjectDatabaseIpRestrictionsResultOutput) ToGetCloudProjectDatabaseIpRestrictionsResultOutput() GetCloudProjectDatabaseIpRestrictionsResultOutput { + return o +} + +func (o GetCloudProjectDatabaseIpRestrictionsResultOutput) ToGetCloudProjectDatabaseIpRestrictionsResultOutputWithContext(ctx context.Context) GetCloudProjectDatabaseIpRestrictionsResultOutput { + return o +} + +func (o GetCloudProjectDatabaseIpRestrictionsResultOutput) ClusterId() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectDatabaseIpRestrictionsResult) string { return v.ClusterId }).(pulumi.StringOutput) +} + +func (o GetCloudProjectDatabaseIpRestrictionsResultOutput) Engine() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectDatabaseIpRestrictionsResult) string { return v.Engine }).(pulumi.StringOutput) +} + +// The provider-assigned unique ID for this managed resource. +func (o GetCloudProjectDatabaseIpRestrictionsResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectDatabaseIpRestrictionsResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o GetCloudProjectDatabaseIpRestrictionsResultOutput) Ips() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetCloudProjectDatabaseIpRestrictionsResult) []string { return v.Ips }).(pulumi.StringArrayOutput) +} + +func (o GetCloudProjectDatabaseIpRestrictionsResultOutput) ServiceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetCloudProjectDatabaseIpRestrictionsResult) *string { return v.ServiceName }).(pulumi.StringPtrOutput) +} + +func init() { + pulumi.RegisterOutputType(GetCloudProjectDatabaseIpRestrictionsResultOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectDatabaseKafkaAcl.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectDatabaseKafkaAcl.go new file mode 100644 index 00000000..a67abd1d --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectDatabaseKafkaAcl.go @@ -0,0 +1,110 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func LookupCloudProjectDatabaseKafkaAcl(ctx *pulumi.Context, args *LookupCloudProjectDatabaseKafkaAclArgs, opts ...pulumi.InvokeOption) (*LookupCloudProjectDatabaseKafkaAclResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var rv LookupCloudProjectDatabaseKafkaAclResult + err = ctx.InvokePackage("ovh:index/getCloudProjectDatabaseKafkaAcl:getCloudProjectDatabaseKafkaAcl", args, &rv, ref, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getCloudProjectDatabaseKafkaAcl. +type LookupCloudProjectDatabaseKafkaAclArgs struct { + ClusterId string `pulumi:"clusterId"` + Id string `pulumi:"id"` + ServiceName *string `pulumi:"serviceName"` +} + +// A collection of values returned by getCloudProjectDatabaseKafkaAcl. +type LookupCloudProjectDatabaseKafkaAclResult struct { + ClusterId string `pulumi:"clusterId"` + Id string `pulumi:"id"` + Permission string `pulumi:"permission"` + ServiceName *string `pulumi:"serviceName"` + Topic string `pulumi:"topic"` + Username string `pulumi:"username"` +} + +func LookupCloudProjectDatabaseKafkaAclOutput(ctx *pulumi.Context, args LookupCloudProjectDatabaseKafkaAclOutputArgs, opts ...pulumi.InvokeOption) LookupCloudProjectDatabaseKafkaAclResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (LookupCloudProjectDatabaseKafkaAclResult, error) { + args := v.(LookupCloudProjectDatabaseKafkaAclArgs) + r, err := LookupCloudProjectDatabaseKafkaAcl(ctx, &args, opts...) + var s LookupCloudProjectDatabaseKafkaAclResult + if r != nil { + s = *r + } + return s, err + }).(LookupCloudProjectDatabaseKafkaAclResultOutput) +} + +// A collection of arguments for invoking getCloudProjectDatabaseKafkaAcl. +type LookupCloudProjectDatabaseKafkaAclOutputArgs struct { + ClusterId pulumi.StringInput `pulumi:"clusterId"` + Id pulumi.StringInput `pulumi:"id"` + ServiceName pulumi.StringPtrInput `pulumi:"serviceName"` +} + +func (LookupCloudProjectDatabaseKafkaAclOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LookupCloudProjectDatabaseKafkaAclArgs)(nil)).Elem() +} + +// A collection of values returned by getCloudProjectDatabaseKafkaAcl. +type LookupCloudProjectDatabaseKafkaAclResultOutput struct{ *pulumi.OutputState } + +func (LookupCloudProjectDatabaseKafkaAclResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LookupCloudProjectDatabaseKafkaAclResult)(nil)).Elem() +} + +func (o LookupCloudProjectDatabaseKafkaAclResultOutput) ToLookupCloudProjectDatabaseKafkaAclResultOutput() LookupCloudProjectDatabaseKafkaAclResultOutput { + return o +} + +func (o LookupCloudProjectDatabaseKafkaAclResultOutput) ToLookupCloudProjectDatabaseKafkaAclResultOutputWithContext(ctx context.Context) LookupCloudProjectDatabaseKafkaAclResultOutput { + return o +} + +func (o LookupCloudProjectDatabaseKafkaAclResultOutput) ClusterId() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectDatabaseKafkaAclResult) string { return v.ClusterId }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectDatabaseKafkaAclResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectDatabaseKafkaAclResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectDatabaseKafkaAclResultOutput) Permission() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectDatabaseKafkaAclResult) string { return v.Permission }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectDatabaseKafkaAclResultOutput) ServiceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v LookupCloudProjectDatabaseKafkaAclResult) *string { return v.ServiceName }).(pulumi.StringPtrOutput) +} + +func (o LookupCloudProjectDatabaseKafkaAclResultOutput) Topic() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectDatabaseKafkaAclResult) string { return v.Topic }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectDatabaseKafkaAclResultOutput) Username() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectDatabaseKafkaAclResult) string { return v.Username }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(LookupCloudProjectDatabaseKafkaAclResultOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectDatabaseKafkaAcls.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectDatabaseKafkaAcls.go new file mode 100644 index 00000000..212df84e --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectDatabaseKafkaAcls.go @@ -0,0 +1,100 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func GetCloudProjectDatabaseKafkaAcls(ctx *pulumi.Context, args *GetCloudProjectDatabaseKafkaAclsArgs, opts ...pulumi.InvokeOption) (*GetCloudProjectDatabaseKafkaAclsResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var rv GetCloudProjectDatabaseKafkaAclsResult + err = ctx.InvokePackage("ovh:index/getCloudProjectDatabaseKafkaAcls:getCloudProjectDatabaseKafkaAcls", args, &rv, ref, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getCloudProjectDatabaseKafkaAcls. +type GetCloudProjectDatabaseKafkaAclsArgs struct { + ClusterId string `pulumi:"clusterId"` + Id *string `pulumi:"id"` + ServiceName *string `pulumi:"serviceName"` +} + +// A collection of values returned by getCloudProjectDatabaseKafkaAcls. +type GetCloudProjectDatabaseKafkaAclsResult struct { + AclIds []string `pulumi:"aclIds"` + ClusterId string `pulumi:"clusterId"` + Id string `pulumi:"id"` + ServiceName *string `pulumi:"serviceName"` +} + +func GetCloudProjectDatabaseKafkaAclsOutput(ctx *pulumi.Context, args GetCloudProjectDatabaseKafkaAclsOutputArgs, opts ...pulumi.InvokeOption) GetCloudProjectDatabaseKafkaAclsResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (GetCloudProjectDatabaseKafkaAclsResult, error) { + args := v.(GetCloudProjectDatabaseKafkaAclsArgs) + r, err := GetCloudProjectDatabaseKafkaAcls(ctx, &args, opts...) + var s GetCloudProjectDatabaseKafkaAclsResult + if r != nil { + s = *r + } + return s, err + }).(GetCloudProjectDatabaseKafkaAclsResultOutput) +} + +// A collection of arguments for invoking getCloudProjectDatabaseKafkaAcls. +type GetCloudProjectDatabaseKafkaAclsOutputArgs struct { + ClusterId pulumi.StringInput `pulumi:"clusterId"` + Id pulumi.StringPtrInput `pulumi:"id"` + ServiceName pulumi.StringPtrInput `pulumi:"serviceName"` +} + +func (GetCloudProjectDatabaseKafkaAclsOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetCloudProjectDatabaseKafkaAclsArgs)(nil)).Elem() +} + +// A collection of values returned by getCloudProjectDatabaseKafkaAcls. +type GetCloudProjectDatabaseKafkaAclsResultOutput struct{ *pulumi.OutputState } + +func (GetCloudProjectDatabaseKafkaAclsResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetCloudProjectDatabaseKafkaAclsResult)(nil)).Elem() +} + +func (o GetCloudProjectDatabaseKafkaAclsResultOutput) ToGetCloudProjectDatabaseKafkaAclsResultOutput() GetCloudProjectDatabaseKafkaAclsResultOutput { + return o +} + +func (o GetCloudProjectDatabaseKafkaAclsResultOutput) ToGetCloudProjectDatabaseKafkaAclsResultOutputWithContext(ctx context.Context) GetCloudProjectDatabaseKafkaAclsResultOutput { + return o +} + +func (o GetCloudProjectDatabaseKafkaAclsResultOutput) AclIds() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetCloudProjectDatabaseKafkaAclsResult) []string { return v.AclIds }).(pulumi.StringArrayOutput) +} + +func (o GetCloudProjectDatabaseKafkaAclsResultOutput) ClusterId() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectDatabaseKafkaAclsResult) string { return v.ClusterId }).(pulumi.StringOutput) +} + +func (o GetCloudProjectDatabaseKafkaAclsResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectDatabaseKafkaAclsResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o GetCloudProjectDatabaseKafkaAclsResultOutput) ServiceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetCloudProjectDatabaseKafkaAclsResult) *string { return v.ServiceName }).(pulumi.StringPtrOutput) +} + +func init() { + pulumi.RegisterOutputType(GetCloudProjectDatabaseKafkaAclsResultOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectDatabaseKafkaSchemaregistryacl.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectDatabaseKafkaSchemaregistryacl.go new file mode 100644 index 00000000..149e2ac1 --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectDatabaseKafkaSchemaregistryacl.go @@ -0,0 +1,110 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func LookupCloudProjectDatabaseKafkaSchemaregistryacl(ctx *pulumi.Context, args *LookupCloudProjectDatabaseKafkaSchemaregistryaclArgs, opts ...pulumi.InvokeOption) (*LookupCloudProjectDatabaseKafkaSchemaregistryaclResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var rv LookupCloudProjectDatabaseKafkaSchemaregistryaclResult + err = ctx.InvokePackage("ovh:index/getCloudProjectDatabaseKafkaSchemaregistryacl:getCloudProjectDatabaseKafkaSchemaregistryacl", args, &rv, ref, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getCloudProjectDatabaseKafkaSchemaregistryacl. +type LookupCloudProjectDatabaseKafkaSchemaregistryaclArgs struct { + ClusterId string `pulumi:"clusterId"` + Id string `pulumi:"id"` + ServiceName *string `pulumi:"serviceName"` +} + +// A collection of values returned by getCloudProjectDatabaseKafkaSchemaregistryacl. +type LookupCloudProjectDatabaseKafkaSchemaregistryaclResult struct { + ClusterId string `pulumi:"clusterId"` + Id string `pulumi:"id"` + Permission string `pulumi:"permission"` + Resource string `pulumi:"resource"` + ServiceName *string `pulumi:"serviceName"` + Username string `pulumi:"username"` +} + +func LookupCloudProjectDatabaseKafkaSchemaregistryaclOutput(ctx *pulumi.Context, args LookupCloudProjectDatabaseKafkaSchemaregistryaclOutputArgs, opts ...pulumi.InvokeOption) LookupCloudProjectDatabaseKafkaSchemaregistryaclResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (LookupCloudProjectDatabaseKafkaSchemaregistryaclResult, error) { + args := v.(LookupCloudProjectDatabaseKafkaSchemaregistryaclArgs) + r, err := LookupCloudProjectDatabaseKafkaSchemaregistryacl(ctx, &args, opts...) + var s LookupCloudProjectDatabaseKafkaSchemaregistryaclResult + if r != nil { + s = *r + } + return s, err + }).(LookupCloudProjectDatabaseKafkaSchemaregistryaclResultOutput) +} + +// A collection of arguments for invoking getCloudProjectDatabaseKafkaSchemaregistryacl. +type LookupCloudProjectDatabaseKafkaSchemaregistryaclOutputArgs struct { + ClusterId pulumi.StringInput `pulumi:"clusterId"` + Id pulumi.StringInput `pulumi:"id"` + ServiceName pulumi.StringPtrInput `pulumi:"serviceName"` +} + +func (LookupCloudProjectDatabaseKafkaSchemaregistryaclOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LookupCloudProjectDatabaseKafkaSchemaregistryaclArgs)(nil)).Elem() +} + +// A collection of values returned by getCloudProjectDatabaseKafkaSchemaregistryacl. +type LookupCloudProjectDatabaseKafkaSchemaregistryaclResultOutput struct{ *pulumi.OutputState } + +func (LookupCloudProjectDatabaseKafkaSchemaregistryaclResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LookupCloudProjectDatabaseKafkaSchemaregistryaclResult)(nil)).Elem() +} + +func (o LookupCloudProjectDatabaseKafkaSchemaregistryaclResultOutput) ToLookupCloudProjectDatabaseKafkaSchemaregistryaclResultOutput() LookupCloudProjectDatabaseKafkaSchemaregistryaclResultOutput { + return o +} + +func (o LookupCloudProjectDatabaseKafkaSchemaregistryaclResultOutput) ToLookupCloudProjectDatabaseKafkaSchemaregistryaclResultOutputWithContext(ctx context.Context) LookupCloudProjectDatabaseKafkaSchemaregistryaclResultOutput { + return o +} + +func (o LookupCloudProjectDatabaseKafkaSchemaregistryaclResultOutput) ClusterId() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectDatabaseKafkaSchemaregistryaclResult) string { return v.ClusterId }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectDatabaseKafkaSchemaregistryaclResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectDatabaseKafkaSchemaregistryaclResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectDatabaseKafkaSchemaregistryaclResultOutput) Permission() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectDatabaseKafkaSchemaregistryaclResult) string { return v.Permission }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectDatabaseKafkaSchemaregistryaclResultOutput) Resource() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectDatabaseKafkaSchemaregistryaclResult) string { return v.Resource }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectDatabaseKafkaSchemaregistryaclResultOutput) ServiceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v LookupCloudProjectDatabaseKafkaSchemaregistryaclResult) *string { return v.ServiceName }).(pulumi.StringPtrOutput) +} + +func (o LookupCloudProjectDatabaseKafkaSchemaregistryaclResultOutput) Username() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectDatabaseKafkaSchemaregistryaclResult) string { return v.Username }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(LookupCloudProjectDatabaseKafkaSchemaregistryaclResultOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectDatabaseKafkaSchemaregistryacls.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectDatabaseKafkaSchemaregistryacls.go new file mode 100644 index 00000000..fa6e3d94 --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectDatabaseKafkaSchemaregistryacls.go @@ -0,0 +1,100 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func GetCloudProjectDatabaseKafkaSchemaregistryacls(ctx *pulumi.Context, args *GetCloudProjectDatabaseKafkaSchemaregistryaclsArgs, opts ...pulumi.InvokeOption) (*GetCloudProjectDatabaseKafkaSchemaregistryaclsResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var rv GetCloudProjectDatabaseKafkaSchemaregistryaclsResult + err = ctx.InvokePackage("ovh:index/getCloudProjectDatabaseKafkaSchemaregistryacls:getCloudProjectDatabaseKafkaSchemaregistryacls", args, &rv, ref, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getCloudProjectDatabaseKafkaSchemaregistryacls. +type GetCloudProjectDatabaseKafkaSchemaregistryaclsArgs struct { + ClusterId string `pulumi:"clusterId"` + Id *string `pulumi:"id"` + ServiceName *string `pulumi:"serviceName"` +} + +// A collection of values returned by getCloudProjectDatabaseKafkaSchemaregistryacls. +type GetCloudProjectDatabaseKafkaSchemaregistryaclsResult struct { + AclIds []string `pulumi:"aclIds"` + ClusterId string `pulumi:"clusterId"` + Id string `pulumi:"id"` + ServiceName *string `pulumi:"serviceName"` +} + +func GetCloudProjectDatabaseKafkaSchemaregistryaclsOutput(ctx *pulumi.Context, args GetCloudProjectDatabaseKafkaSchemaregistryaclsOutputArgs, opts ...pulumi.InvokeOption) GetCloudProjectDatabaseKafkaSchemaregistryaclsResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (GetCloudProjectDatabaseKafkaSchemaregistryaclsResult, error) { + args := v.(GetCloudProjectDatabaseKafkaSchemaregistryaclsArgs) + r, err := GetCloudProjectDatabaseKafkaSchemaregistryacls(ctx, &args, opts...) + var s GetCloudProjectDatabaseKafkaSchemaregistryaclsResult + if r != nil { + s = *r + } + return s, err + }).(GetCloudProjectDatabaseKafkaSchemaregistryaclsResultOutput) +} + +// A collection of arguments for invoking getCloudProjectDatabaseKafkaSchemaregistryacls. +type GetCloudProjectDatabaseKafkaSchemaregistryaclsOutputArgs struct { + ClusterId pulumi.StringInput `pulumi:"clusterId"` + Id pulumi.StringPtrInput `pulumi:"id"` + ServiceName pulumi.StringPtrInput `pulumi:"serviceName"` +} + +func (GetCloudProjectDatabaseKafkaSchemaregistryaclsOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetCloudProjectDatabaseKafkaSchemaregistryaclsArgs)(nil)).Elem() +} + +// A collection of values returned by getCloudProjectDatabaseKafkaSchemaregistryacls. +type GetCloudProjectDatabaseKafkaSchemaregistryaclsResultOutput struct{ *pulumi.OutputState } + +func (GetCloudProjectDatabaseKafkaSchemaregistryaclsResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetCloudProjectDatabaseKafkaSchemaregistryaclsResult)(nil)).Elem() +} + +func (o GetCloudProjectDatabaseKafkaSchemaregistryaclsResultOutput) ToGetCloudProjectDatabaseKafkaSchemaregistryaclsResultOutput() GetCloudProjectDatabaseKafkaSchemaregistryaclsResultOutput { + return o +} + +func (o GetCloudProjectDatabaseKafkaSchemaregistryaclsResultOutput) ToGetCloudProjectDatabaseKafkaSchemaregistryaclsResultOutputWithContext(ctx context.Context) GetCloudProjectDatabaseKafkaSchemaregistryaclsResultOutput { + return o +} + +func (o GetCloudProjectDatabaseKafkaSchemaregistryaclsResultOutput) AclIds() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetCloudProjectDatabaseKafkaSchemaregistryaclsResult) []string { return v.AclIds }).(pulumi.StringArrayOutput) +} + +func (o GetCloudProjectDatabaseKafkaSchemaregistryaclsResultOutput) ClusterId() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectDatabaseKafkaSchemaregistryaclsResult) string { return v.ClusterId }).(pulumi.StringOutput) +} + +func (o GetCloudProjectDatabaseKafkaSchemaregistryaclsResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectDatabaseKafkaSchemaregistryaclsResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o GetCloudProjectDatabaseKafkaSchemaregistryaclsResultOutput) ServiceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetCloudProjectDatabaseKafkaSchemaregistryaclsResult) *string { return v.ServiceName }).(pulumi.StringPtrOutput) +} + +func init() { + pulumi.RegisterOutputType(GetCloudProjectDatabaseKafkaSchemaregistryaclsResultOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectDatabaseKafkaTopic.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectDatabaseKafkaTopic.go new file mode 100644 index 00000000..9c3e0e7f --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectDatabaseKafkaTopic.go @@ -0,0 +1,125 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func LookupCloudProjectDatabaseKafkaTopic(ctx *pulumi.Context, args *LookupCloudProjectDatabaseKafkaTopicArgs, opts ...pulumi.InvokeOption) (*LookupCloudProjectDatabaseKafkaTopicResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var rv LookupCloudProjectDatabaseKafkaTopicResult + err = ctx.InvokePackage("ovh:index/getCloudProjectDatabaseKafkaTopic:getCloudProjectDatabaseKafkaTopic", args, &rv, ref, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getCloudProjectDatabaseKafkaTopic. +type LookupCloudProjectDatabaseKafkaTopicArgs struct { + ClusterId string `pulumi:"clusterId"` + Id string `pulumi:"id"` + ServiceName *string `pulumi:"serviceName"` +} + +// A collection of values returned by getCloudProjectDatabaseKafkaTopic. +type LookupCloudProjectDatabaseKafkaTopicResult struct { + ClusterId string `pulumi:"clusterId"` + Id string `pulumi:"id"` + MinInsyncReplicas float64 `pulumi:"minInsyncReplicas"` + Name string `pulumi:"name"` + Partitions float64 `pulumi:"partitions"` + Replication float64 `pulumi:"replication"` + RetentionBytes float64 `pulumi:"retentionBytes"` + RetentionHours float64 `pulumi:"retentionHours"` + ServiceName *string `pulumi:"serviceName"` +} + +func LookupCloudProjectDatabaseKafkaTopicOutput(ctx *pulumi.Context, args LookupCloudProjectDatabaseKafkaTopicOutputArgs, opts ...pulumi.InvokeOption) LookupCloudProjectDatabaseKafkaTopicResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (LookupCloudProjectDatabaseKafkaTopicResult, error) { + args := v.(LookupCloudProjectDatabaseKafkaTopicArgs) + r, err := LookupCloudProjectDatabaseKafkaTopic(ctx, &args, opts...) + var s LookupCloudProjectDatabaseKafkaTopicResult + if r != nil { + s = *r + } + return s, err + }).(LookupCloudProjectDatabaseKafkaTopicResultOutput) +} + +// A collection of arguments for invoking getCloudProjectDatabaseKafkaTopic. +type LookupCloudProjectDatabaseKafkaTopicOutputArgs struct { + ClusterId pulumi.StringInput `pulumi:"clusterId"` + Id pulumi.StringInput `pulumi:"id"` + ServiceName pulumi.StringPtrInput `pulumi:"serviceName"` +} + +func (LookupCloudProjectDatabaseKafkaTopicOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LookupCloudProjectDatabaseKafkaTopicArgs)(nil)).Elem() +} + +// A collection of values returned by getCloudProjectDatabaseKafkaTopic. +type LookupCloudProjectDatabaseKafkaTopicResultOutput struct{ *pulumi.OutputState } + +func (LookupCloudProjectDatabaseKafkaTopicResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LookupCloudProjectDatabaseKafkaTopicResult)(nil)).Elem() +} + +func (o LookupCloudProjectDatabaseKafkaTopicResultOutput) ToLookupCloudProjectDatabaseKafkaTopicResultOutput() LookupCloudProjectDatabaseKafkaTopicResultOutput { + return o +} + +func (o LookupCloudProjectDatabaseKafkaTopicResultOutput) ToLookupCloudProjectDatabaseKafkaTopicResultOutputWithContext(ctx context.Context) LookupCloudProjectDatabaseKafkaTopicResultOutput { + return o +} + +func (o LookupCloudProjectDatabaseKafkaTopicResultOutput) ClusterId() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectDatabaseKafkaTopicResult) string { return v.ClusterId }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectDatabaseKafkaTopicResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectDatabaseKafkaTopicResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectDatabaseKafkaTopicResultOutput) MinInsyncReplicas() pulumi.Float64Output { + return o.ApplyT(func(v LookupCloudProjectDatabaseKafkaTopicResult) float64 { return v.MinInsyncReplicas }).(pulumi.Float64Output) +} + +func (o LookupCloudProjectDatabaseKafkaTopicResultOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectDatabaseKafkaTopicResult) string { return v.Name }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectDatabaseKafkaTopicResultOutput) Partitions() pulumi.Float64Output { + return o.ApplyT(func(v LookupCloudProjectDatabaseKafkaTopicResult) float64 { return v.Partitions }).(pulumi.Float64Output) +} + +func (o LookupCloudProjectDatabaseKafkaTopicResultOutput) Replication() pulumi.Float64Output { + return o.ApplyT(func(v LookupCloudProjectDatabaseKafkaTopicResult) float64 { return v.Replication }).(pulumi.Float64Output) +} + +func (o LookupCloudProjectDatabaseKafkaTopicResultOutput) RetentionBytes() pulumi.Float64Output { + return o.ApplyT(func(v LookupCloudProjectDatabaseKafkaTopicResult) float64 { return v.RetentionBytes }).(pulumi.Float64Output) +} + +func (o LookupCloudProjectDatabaseKafkaTopicResultOutput) RetentionHours() pulumi.Float64Output { + return o.ApplyT(func(v LookupCloudProjectDatabaseKafkaTopicResult) float64 { return v.RetentionHours }).(pulumi.Float64Output) +} + +func (o LookupCloudProjectDatabaseKafkaTopicResultOutput) ServiceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v LookupCloudProjectDatabaseKafkaTopicResult) *string { return v.ServiceName }).(pulumi.StringPtrOutput) +} + +func init() { + pulumi.RegisterOutputType(LookupCloudProjectDatabaseKafkaTopicResultOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectDatabaseKafkaTopics.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectDatabaseKafkaTopics.go new file mode 100644 index 00000000..9cbc94ea --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectDatabaseKafkaTopics.go @@ -0,0 +1,100 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func GetCloudProjectDatabaseKafkaTopics(ctx *pulumi.Context, args *GetCloudProjectDatabaseKafkaTopicsArgs, opts ...pulumi.InvokeOption) (*GetCloudProjectDatabaseKafkaTopicsResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var rv GetCloudProjectDatabaseKafkaTopicsResult + err = ctx.InvokePackage("ovh:index/getCloudProjectDatabaseKafkaTopics:getCloudProjectDatabaseKafkaTopics", args, &rv, ref, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getCloudProjectDatabaseKafkaTopics. +type GetCloudProjectDatabaseKafkaTopicsArgs struct { + ClusterId string `pulumi:"clusterId"` + Id *string `pulumi:"id"` + ServiceName *string `pulumi:"serviceName"` +} + +// A collection of values returned by getCloudProjectDatabaseKafkaTopics. +type GetCloudProjectDatabaseKafkaTopicsResult struct { + ClusterId string `pulumi:"clusterId"` + Id string `pulumi:"id"` + ServiceName *string `pulumi:"serviceName"` + TopicIds []string `pulumi:"topicIds"` +} + +func GetCloudProjectDatabaseKafkaTopicsOutput(ctx *pulumi.Context, args GetCloudProjectDatabaseKafkaTopicsOutputArgs, opts ...pulumi.InvokeOption) GetCloudProjectDatabaseKafkaTopicsResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (GetCloudProjectDatabaseKafkaTopicsResult, error) { + args := v.(GetCloudProjectDatabaseKafkaTopicsArgs) + r, err := GetCloudProjectDatabaseKafkaTopics(ctx, &args, opts...) + var s GetCloudProjectDatabaseKafkaTopicsResult + if r != nil { + s = *r + } + return s, err + }).(GetCloudProjectDatabaseKafkaTopicsResultOutput) +} + +// A collection of arguments for invoking getCloudProjectDatabaseKafkaTopics. +type GetCloudProjectDatabaseKafkaTopicsOutputArgs struct { + ClusterId pulumi.StringInput `pulumi:"clusterId"` + Id pulumi.StringPtrInput `pulumi:"id"` + ServiceName pulumi.StringPtrInput `pulumi:"serviceName"` +} + +func (GetCloudProjectDatabaseKafkaTopicsOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetCloudProjectDatabaseKafkaTopicsArgs)(nil)).Elem() +} + +// A collection of values returned by getCloudProjectDatabaseKafkaTopics. +type GetCloudProjectDatabaseKafkaTopicsResultOutput struct{ *pulumi.OutputState } + +func (GetCloudProjectDatabaseKafkaTopicsResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetCloudProjectDatabaseKafkaTopicsResult)(nil)).Elem() +} + +func (o GetCloudProjectDatabaseKafkaTopicsResultOutput) ToGetCloudProjectDatabaseKafkaTopicsResultOutput() GetCloudProjectDatabaseKafkaTopicsResultOutput { + return o +} + +func (o GetCloudProjectDatabaseKafkaTopicsResultOutput) ToGetCloudProjectDatabaseKafkaTopicsResultOutputWithContext(ctx context.Context) GetCloudProjectDatabaseKafkaTopicsResultOutput { + return o +} + +func (o GetCloudProjectDatabaseKafkaTopicsResultOutput) ClusterId() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectDatabaseKafkaTopicsResult) string { return v.ClusterId }).(pulumi.StringOutput) +} + +func (o GetCloudProjectDatabaseKafkaTopicsResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectDatabaseKafkaTopicsResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o GetCloudProjectDatabaseKafkaTopicsResultOutput) ServiceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetCloudProjectDatabaseKafkaTopicsResult) *string { return v.ServiceName }).(pulumi.StringPtrOutput) +} + +func (o GetCloudProjectDatabaseKafkaTopicsResultOutput) TopicIds() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetCloudProjectDatabaseKafkaTopicsResult) []string { return v.TopicIds }).(pulumi.StringArrayOutput) +} + +func init() { + pulumi.RegisterOutputType(GetCloudProjectDatabaseKafkaTopicsResultOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectDatabaseKafkaUserAccess.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectDatabaseKafkaUserAccess.go new file mode 100644 index 00000000..3ec75697 --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectDatabaseKafkaUserAccess.go @@ -0,0 +1,112 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func GetCloudProjectDatabaseKafkaUserAccess(ctx *pulumi.Context, args *GetCloudProjectDatabaseKafkaUserAccessArgs, opts ...pulumi.InvokeOption) (*GetCloudProjectDatabaseKafkaUserAccessResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var rv GetCloudProjectDatabaseKafkaUserAccessResult + err = ctx.InvokePackage("ovh:index/getCloudProjectDatabaseKafkaUserAccess:getCloudProjectDatabaseKafkaUserAccess", args, &rv, ref, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getCloudProjectDatabaseKafkaUserAccess. +type GetCloudProjectDatabaseKafkaUserAccessArgs struct { + ClusterId string `pulumi:"clusterId"` + Id *string `pulumi:"id"` + ServiceName *string `pulumi:"serviceName"` + UserId string `pulumi:"userId"` +} + +// A collection of values returned by getCloudProjectDatabaseKafkaUserAccess. +type GetCloudProjectDatabaseKafkaUserAccessResult struct { + Cert string `pulumi:"cert"` + ClusterId string `pulumi:"clusterId"` + Id string `pulumi:"id"` + Key string `pulumi:"key"` + ServiceName *string `pulumi:"serviceName"` + UserId string `pulumi:"userId"` +} + +func GetCloudProjectDatabaseKafkaUserAccessOutput(ctx *pulumi.Context, args GetCloudProjectDatabaseKafkaUserAccessOutputArgs, opts ...pulumi.InvokeOption) GetCloudProjectDatabaseKafkaUserAccessResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (GetCloudProjectDatabaseKafkaUserAccessResult, error) { + args := v.(GetCloudProjectDatabaseKafkaUserAccessArgs) + r, err := GetCloudProjectDatabaseKafkaUserAccess(ctx, &args, opts...) + var s GetCloudProjectDatabaseKafkaUserAccessResult + if r != nil { + s = *r + } + return s, err + }).(GetCloudProjectDatabaseKafkaUserAccessResultOutput) +} + +// A collection of arguments for invoking getCloudProjectDatabaseKafkaUserAccess. +type GetCloudProjectDatabaseKafkaUserAccessOutputArgs struct { + ClusterId pulumi.StringInput `pulumi:"clusterId"` + Id pulumi.StringPtrInput `pulumi:"id"` + ServiceName pulumi.StringPtrInput `pulumi:"serviceName"` + UserId pulumi.StringInput `pulumi:"userId"` +} + +func (GetCloudProjectDatabaseKafkaUserAccessOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetCloudProjectDatabaseKafkaUserAccessArgs)(nil)).Elem() +} + +// A collection of values returned by getCloudProjectDatabaseKafkaUserAccess. +type GetCloudProjectDatabaseKafkaUserAccessResultOutput struct{ *pulumi.OutputState } + +func (GetCloudProjectDatabaseKafkaUserAccessResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetCloudProjectDatabaseKafkaUserAccessResult)(nil)).Elem() +} + +func (o GetCloudProjectDatabaseKafkaUserAccessResultOutput) ToGetCloudProjectDatabaseKafkaUserAccessResultOutput() GetCloudProjectDatabaseKafkaUserAccessResultOutput { + return o +} + +func (o GetCloudProjectDatabaseKafkaUserAccessResultOutput) ToGetCloudProjectDatabaseKafkaUserAccessResultOutputWithContext(ctx context.Context) GetCloudProjectDatabaseKafkaUserAccessResultOutput { + return o +} + +func (o GetCloudProjectDatabaseKafkaUserAccessResultOutput) Cert() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectDatabaseKafkaUserAccessResult) string { return v.Cert }).(pulumi.StringOutput) +} + +func (o GetCloudProjectDatabaseKafkaUserAccessResultOutput) ClusterId() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectDatabaseKafkaUserAccessResult) string { return v.ClusterId }).(pulumi.StringOutput) +} + +func (o GetCloudProjectDatabaseKafkaUserAccessResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectDatabaseKafkaUserAccessResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o GetCloudProjectDatabaseKafkaUserAccessResultOutput) Key() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectDatabaseKafkaUserAccessResult) string { return v.Key }).(pulumi.StringOutput) +} + +func (o GetCloudProjectDatabaseKafkaUserAccessResultOutput) ServiceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetCloudProjectDatabaseKafkaUserAccessResult) *string { return v.ServiceName }).(pulumi.StringPtrOutput) +} + +func (o GetCloudProjectDatabaseKafkaUserAccessResultOutput) UserId() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectDatabaseKafkaUserAccessResult) string { return v.UserId }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(GetCloudProjectDatabaseKafkaUserAccessResultOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectDatabaseLogSubscription.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectDatabaseLogSubscription.go new file mode 100644 index 00000000..e6375267 --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectDatabaseLogSubscription.go @@ -0,0 +1,137 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func LookupCloudProjectDatabaseLogSubscription(ctx *pulumi.Context, args *LookupCloudProjectDatabaseLogSubscriptionArgs, opts ...pulumi.InvokeOption) (*LookupCloudProjectDatabaseLogSubscriptionResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var rv LookupCloudProjectDatabaseLogSubscriptionResult + err = ctx.InvokePackage("ovh:index/getCloudProjectDatabaseLogSubscription:getCloudProjectDatabaseLogSubscription", args, &rv, ref, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getCloudProjectDatabaseLogSubscription. +type LookupCloudProjectDatabaseLogSubscriptionArgs struct { + ClusterId string `pulumi:"clusterId"` + Engine string `pulumi:"engine"` + Id string `pulumi:"id"` + ServiceName *string `pulumi:"serviceName"` +} + +// A collection of values returned by getCloudProjectDatabaseLogSubscription. +type LookupCloudProjectDatabaseLogSubscriptionResult struct { + ClusterId string `pulumi:"clusterId"` + CreatedAt string `pulumi:"createdAt"` + Engine string `pulumi:"engine"` + Id string `pulumi:"id"` + Kind string `pulumi:"kind"` + LdpServiceName string `pulumi:"ldpServiceName"` + ResourceName string `pulumi:"resourceName"` + ResourceType string `pulumi:"resourceType"` + ServiceName *string `pulumi:"serviceName"` + StreamId string `pulumi:"streamId"` + UpdatedAt string `pulumi:"updatedAt"` +} + +func LookupCloudProjectDatabaseLogSubscriptionOutput(ctx *pulumi.Context, args LookupCloudProjectDatabaseLogSubscriptionOutputArgs, opts ...pulumi.InvokeOption) LookupCloudProjectDatabaseLogSubscriptionResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (LookupCloudProjectDatabaseLogSubscriptionResult, error) { + args := v.(LookupCloudProjectDatabaseLogSubscriptionArgs) + r, err := LookupCloudProjectDatabaseLogSubscription(ctx, &args, opts...) + var s LookupCloudProjectDatabaseLogSubscriptionResult + if r != nil { + s = *r + } + return s, err + }).(LookupCloudProjectDatabaseLogSubscriptionResultOutput) +} + +// A collection of arguments for invoking getCloudProjectDatabaseLogSubscription. +type LookupCloudProjectDatabaseLogSubscriptionOutputArgs struct { + ClusterId pulumi.StringInput `pulumi:"clusterId"` + Engine pulumi.StringInput `pulumi:"engine"` + Id pulumi.StringInput `pulumi:"id"` + ServiceName pulumi.StringPtrInput `pulumi:"serviceName"` +} + +func (LookupCloudProjectDatabaseLogSubscriptionOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LookupCloudProjectDatabaseLogSubscriptionArgs)(nil)).Elem() +} + +// A collection of values returned by getCloudProjectDatabaseLogSubscription. +type LookupCloudProjectDatabaseLogSubscriptionResultOutput struct{ *pulumi.OutputState } + +func (LookupCloudProjectDatabaseLogSubscriptionResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LookupCloudProjectDatabaseLogSubscriptionResult)(nil)).Elem() +} + +func (o LookupCloudProjectDatabaseLogSubscriptionResultOutput) ToLookupCloudProjectDatabaseLogSubscriptionResultOutput() LookupCloudProjectDatabaseLogSubscriptionResultOutput { + return o +} + +func (o LookupCloudProjectDatabaseLogSubscriptionResultOutput) ToLookupCloudProjectDatabaseLogSubscriptionResultOutputWithContext(ctx context.Context) LookupCloudProjectDatabaseLogSubscriptionResultOutput { + return o +} + +func (o LookupCloudProjectDatabaseLogSubscriptionResultOutput) ClusterId() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectDatabaseLogSubscriptionResult) string { return v.ClusterId }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectDatabaseLogSubscriptionResultOutput) CreatedAt() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectDatabaseLogSubscriptionResult) string { return v.CreatedAt }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectDatabaseLogSubscriptionResultOutput) Engine() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectDatabaseLogSubscriptionResult) string { return v.Engine }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectDatabaseLogSubscriptionResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectDatabaseLogSubscriptionResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectDatabaseLogSubscriptionResultOutput) Kind() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectDatabaseLogSubscriptionResult) string { return v.Kind }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectDatabaseLogSubscriptionResultOutput) LdpServiceName() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectDatabaseLogSubscriptionResult) string { return v.LdpServiceName }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectDatabaseLogSubscriptionResultOutput) ResourceName() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectDatabaseLogSubscriptionResult) string { return v.ResourceName }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectDatabaseLogSubscriptionResultOutput) ResourceType() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectDatabaseLogSubscriptionResult) string { return v.ResourceType }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectDatabaseLogSubscriptionResultOutput) ServiceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v LookupCloudProjectDatabaseLogSubscriptionResult) *string { return v.ServiceName }).(pulumi.StringPtrOutput) +} + +func (o LookupCloudProjectDatabaseLogSubscriptionResultOutput) StreamId() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectDatabaseLogSubscriptionResult) string { return v.StreamId }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectDatabaseLogSubscriptionResultOutput) UpdatedAt() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectDatabaseLogSubscriptionResult) string { return v.UpdatedAt }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(LookupCloudProjectDatabaseLogSubscriptionResultOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectDatabaseLogSubscriptions.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectDatabaseLogSubscriptions.go new file mode 100644 index 00000000..578aa1a8 --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectDatabaseLogSubscriptions.go @@ -0,0 +1,107 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func GetCloudProjectDatabaseLogSubscriptions(ctx *pulumi.Context, args *GetCloudProjectDatabaseLogSubscriptionsArgs, opts ...pulumi.InvokeOption) (*GetCloudProjectDatabaseLogSubscriptionsResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var rv GetCloudProjectDatabaseLogSubscriptionsResult + err = ctx.InvokePackage("ovh:index/getCloudProjectDatabaseLogSubscriptions:getCloudProjectDatabaseLogSubscriptions", args, &rv, ref, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getCloudProjectDatabaseLogSubscriptions. +type GetCloudProjectDatabaseLogSubscriptionsArgs struct { + ClusterId string `pulumi:"clusterId"` + Engine string `pulumi:"engine"` + Id *string `pulumi:"id"` + ServiceName *string `pulumi:"serviceName"` +} + +// A collection of values returned by getCloudProjectDatabaseLogSubscriptions. +type GetCloudProjectDatabaseLogSubscriptionsResult struct { + ClusterId string `pulumi:"clusterId"` + Engine string `pulumi:"engine"` + Id string `pulumi:"id"` + ServiceName *string `pulumi:"serviceName"` + SubscriptionIds []string `pulumi:"subscriptionIds"` +} + +func GetCloudProjectDatabaseLogSubscriptionsOutput(ctx *pulumi.Context, args GetCloudProjectDatabaseLogSubscriptionsOutputArgs, opts ...pulumi.InvokeOption) GetCloudProjectDatabaseLogSubscriptionsResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (GetCloudProjectDatabaseLogSubscriptionsResult, error) { + args := v.(GetCloudProjectDatabaseLogSubscriptionsArgs) + r, err := GetCloudProjectDatabaseLogSubscriptions(ctx, &args, opts...) + var s GetCloudProjectDatabaseLogSubscriptionsResult + if r != nil { + s = *r + } + return s, err + }).(GetCloudProjectDatabaseLogSubscriptionsResultOutput) +} + +// A collection of arguments for invoking getCloudProjectDatabaseLogSubscriptions. +type GetCloudProjectDatabaseLogSubscriptionsOutputArgs struct { + ClusterId pulumi.StringInput `pulumi:"clusterId"` + Engine pulumi.StringInput `pulumi:"engine"` + Id pulumi.StringPtrInput `pulumi:"id"` + ServiceName pulumi.StringPtrInput `pulumi:"serviceName"` +} + +func (GetCloudProjectDatabaseLogSubscriptionsOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetCloudProjectDatabaseLogSubscriptionsArgs)(nil)).Elem() +} + +// A collection of values returned by getCloudProjectDatabaseLogSubscriptions. +type GetCloudProjectDatabaseLogSubscriptionsResultOutput struct{ *pulumi.OutputState } + +func (GetCloudProjectDatabaseLogSubscriptionsResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetCloudProjectDatabaseLogSubscriptionsResult)(nil)).Elem() +} + +func (o GetCloudProjectDatabaseLogSubscriptionsResultOutput) ToGetCloudProjectDatabaseLogSubscriptionsResultOutput() GetCloudProjectDatabaseLogSubscriptionsResultOutput { + return o +} + +func (o GetCloudProjectDatabaseLogSubscriptionsResultOutput) ToGetCloudProjectDatabaseLogSubscriptionsResultOutputWithContext(ctx context.Context) GetCloudProjectDatabaseLogSubscriptionsResultOutput { + return o +} + +func (o GetCloudProjectDatabaseLogSubscriptionsResultOutput) ClusterId() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectDatabaseLogSubscriptionsResult) string { return v.ClusterId }).(pulumi.StringOutput) +} + +func (o GetCloudProjectDatabaseLogSubscriptionsResultOutput) Engine() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectDatabaseLogSubscriptionsResult) string { return v.Engine }).(pulumi.StringOutput) +} + +func (o GetCloudProjectDatabaseLogSubscriptionsResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectDatabaseLogSubscriptionsResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o GetCloudProjectDatabaseLogSubscriptionsResultOutput) ServiceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetCloudProjectDatabaseLogSubscriptionsResult) *string { return v.ServiceName }).(pulumi.StringPtrOutput) +} + +func (o GetCloudProjectDatabaseLogSubscriptionsResultOutput) SubscriptionIds() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetCloudProjectDatabaseLogSubscriptionsResult) []string { return v.SubscriptionIds }).(pulumi.StringArrayOutput) +} + +func init() { + pulumi.RegisterOutputType(GetCloudProjectDatabaseLogSubscriptionsResultOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectDatabaseM3dbNamespace.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectDatabaseM3dbNamespace.go new file mode 100644 index 00000000..52561f99 --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectDatabaseM3dbNamespace.go @@ -0,0 +1,149 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func LookupCloudProjectDatabaseM3dbNamespace(ctx *pulumi.Context, args *LookupCloudProjectDatabaseM3dbNamespaceArgs, opts ...pulumi.InvokeOption) (*LookupCloudProjectDatabaseM3dbNamespaceResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var rv LookupCloudProjectDatabaseM3dbNamespaceResult + err = ctx.InvokePackage("ovh:index/getCloudProjectDatabaseM3dbNamespace:getCloudProjectDatabaseM3dbNamespace", args, &rv, ref, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getCloudProjectDatabaseM3dbNamespace. +type LookupCloudProjectDatabaseM3dbNamespaceArgs struct { + ClusterId string `pulumi:"clusterId"` + Id *string `pulumi:"id"` + Name string `pulumi:"name"` + ServiceName *string `pulumi:"serviceName"` +} + +// A collection of values returned by getCloudProjectDatabaseM3dbNamespace. +type LookupCloudProjectDatabaseM3dbNamespaceResult struct { + ClusterId string `pulumi:"clusterId"` + Id string `pulumi:"id"` + Name string `pulumi:"name"` + Resolution string `pulumi:"resolution"` + RetentionBlockDataExpirationDuration string `pulumi:"retentionBlockDataExpirationDuration"` + RetentionBlockSizeDuration string `pulumi:"retentionBlockSizeDuration"` + RetentionBufferFutureDuration string `pulumi:"retentionBufferFutureDuration"` + RetentionBufferPastDuration string `pulumi:"retentionBufferPastDuration"` + RetentionPeriodDuration string `pulumi:"retentionPeriodDuration"` + ServiceName *string `pulumi:"serviceName"` + SnapshotEnabled bool `pulumi:"snapshotEnabled"` + Type string `pulumi:"type"` + WritesToCommitLogEnabled bool `pulumi:"writesToCommitLogEnabled"` +} + +func LookupCloudProjectDatabaseM3dbNamespaceOutput(ctx *pulumi.Context, args LookupCloudProjectDatabaseM3dbNamespaceOutputArgs, opts ...pulumi.InvokeOption) LookupCloudProjectDatabaseM3dbNamespaceResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (LookupCloudProjectDatabaseM3dbNamespaceResult, error) { + args := v.(LookupCloudProjectDatabaseM3dbNamespaceArgs) + r, err := LookupCloudProjectDatabaseM3dbNamespace(ctx, &args, opts...) + var s LookupCloudProjectDatabaseM3dbNamespaceResult + if r != nil { + s = *r + } + return s, err + }).(LookupCloudProjectDatabaseM3dbNamespaceResultOutput) +} + +// A collection of arguments for invoking getCloudProjectDatabaseM3dbNamespace. +type LookupCloudProjectDatabaseM3dbNamespaceOutputArgs struct { + ClusterId pulumi.StringInput `pulumi:"clusterId"` + Id pulumi.StringPtrInput `pulumi:"id"` + Name pulumi.StringInput `pulumi:"name"` + ServiceName pulumi.StringPtrInput `pulumi:"serviceName"` +} + +func (LookupCloudProjectDatabaseM3dbNamespaceOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LookupCloudProjectDatabaseM3dbNamespaceArgs)(nil)).Elem() +} + +// A collection of values returned by getCloudProjectDatabaseM3dbNamespace. +type LookupCloudProjectDatabaseM3dbNamespaceResultOutput struct{ *pulumi.OutputState } + +func (LookupCloudProjectDatabaseM3dbNamespaceResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LookupCloudProjectDatabaseM3dbNamespaceResult)(nil)).Elem() +} + +func (o LookupCloudProjectDatabaseM3dbNamespaceResultOutput) ToLookupCloudProjectDatabaseM3dbNamespaceResultOutput() LookupCloudProjectDatabaseM3dbNamespaceResultOutput { + return o +} + +func (o LookupCloudProjectDatabaseM3dbNamespaceResultOutput) ToLookupCloudProjectDatabaseM3dbNamespaceResultOutputWithContext(ctx context.Context) LookupCloudProjectDatabaseM3dbNamespaceResultOutput { + return o +} + +func (o LookupCloudProjectDatabaseM3dbNamespaceResultOutput) ClusterId() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectDatabaseM3dbNamespaceResult) string { return v.ClusterId }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectDatabaseM3dbNamespaceResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectDatabaseM3dbNamespaceResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectDatabaseM3dbNamespaceResultOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectDatabaseM3dbNamespaceResult) string { return v.Name }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectDatabaseM3dbNamespaceResultOutput) Resolution() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectDatabaseM3dbNamespaceResult) string { return v.Resolution }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectDatabaseM3dbNamespaceResultOutput) RetentionBlockDataExpirationDuration() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectDatabaseM3dbNamespaceResult) string { + return v.RetentionBlockDataExpirationDuration + }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectDatabaseM3dbNamespaceResultOutput) RetentionBlockSizeDuration() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectDatabaseM3dbNamespaceResult) string { return v.RetentionBlockSizeDuration }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectDatabaseM3dbNamespaceResultOutput) RetentionBufferFutureDuration() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectDatabaseM3dbNamespaceResult) string { return v.RetentionBufferFutureDuration }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectDatabaseM3dbNamespaceResultOutput) RetentionBufferPastDuration() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectDatabaseM3dbNamespaceResult) string { return v.RetentionBufferPastDuration }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectDatabaseM3dbNamespaceResultOutput) RetentionPeriodDuration() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectDatabaseM3dbNamespaceResult) string { return v.RetentionPeriodDuration }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectDatabaseM3dbNamespaceResultOutput) ServiceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v LookupCloudProjectDatabaseM3dbNamespaceResult) *string { return v.ServiceName }).(pulumi.StringPtrOutput) +} + +func (o LookupCloudProjectDatabaseM3dbNamespaceResultOutput) SnapshotEnabled() pulumi.BoolOutput { + return o.ApplyT(func(v LookupCloudProjectDatabaseM3dbNamespaceResult) bool { return v.SnapshotEnabled }).(pulumi.BoolOutput) +} + +func (o LookupCloudProjectDatabaseM3dbNamespaceResultOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectDatabaseM3dbNamespaceResult) string { return v.Type }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectDatabaseM3dbNamespaceResultOutput) WritesToCommitLogEnabled() pulumi.BoolOutput { + return o.ApplyT(func(v LookupCloudProjectDatabaseM3dbNamespaceResult) bool { return v.WritesToCommitLogEnabled }).(pulumi.BoolOutput) +} + +func init() { + pulumi.RegisterOutputType(LookupCloudProjectDatabaseM3dbNamespaceResultOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectDatabaseM3dbNamespaces.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectDatabaseM3dbNamespaces.go new file mode 100644 index 00000000..fea39aca --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectDatabaseM3dbNamespaces.go @@ -0,0 +1,100 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func GetCloudProjectDatabaseM3dbNamespaces(ctx *pulumi.Context, args *GetCloudProjectDatabaseM3dbNamespacesArgs, opts ...pulumi.InvokeOption) (*GetCloudProjectDatabaseM3dbNamespacesResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var rv GetCloudProjectDatabaseM3dbNamespacesResult + err = ctx.InvokePackage("ovh:index/getCloudProjectDatabaseM3dbNamespaces:getCloudProjectDatabaseM3dbNamespaces", args, &rv, ref, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getCloudProjectDatabaseM3dbNamespaces. +type GetCloudProjectDatabaseM3dbNamespacesArgs struct { + ClusterId string `pulumi:"clusterId"` + Id *string `pulumi:"id"` + ServiceName *string `pulumi:"serviceName"` +} + +// A collection of values returned by getCloudProjectDatabaseM3dbNamespaces. +type GetCloudProjectDatabaseM3dbNamespacesResult struct { + ClusterId string `pulumi:"clusterId"` + Id string `pulumi:"id"` + NamespaceIds []string `pulumi:"namespaceIds"` + ServiceName *string `pulumi:"serviceName"` +} + +func GetCloudProjectDatabaseM3dbNamespacesOutput(ctx *pulumi.Context, args GetCloudProjectDatabaseM3dbNamespacesOutputArgs, opts ...pulumi.InvokeOption) GetCloudProjectDatabaseM3dbNamespacesResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (GetCloudProjectDatabaseM3dbNamespacesResult, error) { + args := v.(GetCloudProjectDatabaseM3dbNamespacesArgs) + r, err := GetCloudProjectDatabaseM3dbNamespaces(ctx, &args, opts...) + var s GetCloudProjectDatabaseM3dbNamespacesResult + if r != nil { + s = *r + } + return s, err + }).(GetCloudProjectDatabaseM3dbNamespacesResultOutput) +} + +// A collection of arguments for invoking getCloudProjectDatabaseM3dbNamespaces. +type GetCloudProjectDatabaseM3dbNamespacesOutputArgs struct { + ClusterId pulumi.StringInput `pulumi:"clusterId"` + Id pulumi.StringPtrInput `pulumi:"id"` + ServiceName pulumi.StringPtrInput `pulumi:"serviceName"` +} + +func (GetCloudProjectDatabaseM3dbNamespacesOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetCloudProjectDatabaseM3dbNamespacesArgs)(nil)).Elem() +} + +// A collection of values returned by getCloudProjectDatabaseM3dbNamespaces. +type GetCloudProjectDatabaseM3dbNamespacesResultOutput struct{ *pulumi.OutputState } + +func (GetCloudProjectDatabaseM3dbNamespacesResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetCloudProjectDatabaseM3dbNamespacesResult)(nil)).Elem() +} + +func (o GetCloudProjectDatabaseM3dbNamespacesResultOutput) ToGetCloudProjectDatabaseM3dbNamespacesResultOutput() GetCloudProjectDatabaseM3dbNamespacesResultOutput { + return o +} + +func (o GetCloudProjectDatabaseM3dbNamespacesResultOutput) ToGetCloudProjectDatabaseM3dbNamespacesResultOutputWithContext(ctx context.Context) GetCloudProjectDatabaseM3dbNamespacesResultOutput { + return o +} + +func (o GetCloudProjectDatabaseM3dbNamespacesResultOutput) ClusterId() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectDatabaseM3dbNamespacesResult) string { return v.ClusterId }).(pulumi.StringOutput) +} + +func (o GetCloudProjectDatabaseM3dbNamespacesResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectDatabaseM3dbNamespacesResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o GetCloudProjectDatabaseM3dbNamespacesResultOutput) NamespaceIds() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetCloudProjectDatabaseM3dbNamespacesResult) []string { return v.NamespaceIds }).(pulumi.StringArrayOutput) +} + +func (o GetCloudProjectDatabaseM3dbNamespacesResultOutput) ServiceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetCloudProjectDatabaseM3dbNamespacesResult) *string { return v.ServiceName }).(pulumi.StringPtrOutput) +} + +func init() { + pulumi.RegisterOutputType(GetCloudProjectDatabaseM3dbNamespacesResultOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectDatabaseM3dbUser.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectDatabaseM3dbUser.go new file mode 100644 index 00000000..c66b68c0 --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectDatabaseM3dbUser.go @@ -0,0 +1,117 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func LookupCloudProjectDatabaseM3dbUser(ctx *pulumi.Context, args *LookupCloudProjectDatabaseM3dbUserArgs, opts ...pulumi.InvokeOption) (*LookupCloudProjectDatabaseM3dbUserResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var rv LookupCloudProjectDatabaseM3dbUserResult + err = ctx.InvokePackage("ovh:index/getCloudProjectDatabaseM3dbUser:getCloudProjectDatabaseM3dbUser", args, &rv, ref, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getCloudProjectDatabaseM3dbUser. +type LookupCloudProjectDatabaseM3dbUserArgs struct { + ClusterId string `pulumi:"clusterId"` + Id *string `pulumi:"id"` + Name string `pulumi:"name"` + ServiceName *string `pulumi:"serviceName"` +} + +// A collection of values returned by getCloudProjectDatabaseM3dbUser. +type LookupCloudProjectDatabaseM3dbUserResult struct { + ClusterId string `pulumi:"clusterId"` + CreatedAt string `pulumi:"createdAt"` + Group string `pulumi:"group"` + Id string `pulumi:"id"` + Name string `pulumi:"name"` + ServiceName *string `pulumi:"serviceName"` + Status string `pulumi:"status"` +} + +func LookupCloudProjectDatabaseM3dbUserOutput(ctx *pulumi.Context, args LookupCloudProjectDatabaseM3dbUserOutputArgs, opts ...pulumi.InvokeOption) LookupCloudProjectDatabaseM3dbUserResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (LookupCloudProjectDatabaseM3dbUserResult, error) { + args := v.(LookupCloudProjectDatabaseM3dbUserArgs) + r, err := LookupCloudProjectDatabaseM3dbUser(ctx, &args, opts...) + var s LookupCloudProjectDatabaseM3dbUserResult + if r != nil { + s = *r + } + return s, err + }).(LookupCloudProjectDatabaseM3dbUserResultOutput) +} + +// A collection of arguments for invoking getCloudProjectDatabaseM3dbUser. +type LookupCloudProjectDatabaseM3dbUserOutputArgs struct { + ClusterId pulumi.StringInput `pulumi:"clusterId"` + Id pulumi.StringPtrInput `pulumi:"id"` + Name pulumi.StringInput `pulumi:"name"` + ServiceName pulumi.StringPtrInput `pulumi:"serviceName"` +} + +func (LookupCloudProjectDatabaseM3dbUserOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LookupCloudProjectDatabaseM3dbUserArgs)(nil)).Elem() +} + +// A collection of values returned by getCloudProjectDatabaseM3dbUser. +type LookupCloudProjectDatabaseM3dbUserResultOutput struct{ *pulumi.OutputState } + +func (LookupCloudProjectDatabaseM3dbUserResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LookupCloudProjectDatabaseM3dbUserResult)(nil)).Elem() +} + +func (o LookupCloudProjectDatabaseM3dbUserResultOutput) ToLookupCloudProjectDatabaseM3dbUserResultOutput() LookupCloudProjectDatabaseM3dbUserResultOutput { + return o +} + +func (o LookupCloudProjectDatabaseM3dbUserResultOutput) ToLookupCloudProjectDatabaseM3dbUserResultOutputWithContext(ctx context.Context) LookupCloudProjectDatabaseM3dbUserResultOutput { + return o +} + +func (o LookupCloudProjectDatabaseM3dbUserResultOutput) ClusterId() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectDatabaseM3dbUserResult) string { return v.ClusterId }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectDatabaseM3dbUserResultOutput) CreatedAt() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectDatabaseM3dbUserResult) string { return v.CreatedAt }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectDatabaseM3dbUserResultOutput) Group() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectDatabaseM3dbUserResult) string { return v.Group }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectDatabaseM3dbUserResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectDatabaseM3dbUserResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectDatabaseM3dbUserResultOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectDatabaseM3dbUserResult) string { return v.Name }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectDatabaseM3dbUserResultOutput) ServiceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v LookupCloudProjectDatabaseM3dbUserResult) *string { return v.ServiceName }).(pulumi.StringPtrOutput) +} + +func (o LookupCloudProjectDatabaseM3dbUserResultOutput) Status() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectDatabaseM3dbUserResult) string { return v.Status }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(LookupCloudProjectDatabaseM3dbUserResultOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectDatabaseMongodbUser.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectDatabaseMongodbUser.go new file mode 100644 index 00000000..541d61f8 --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectDatabaseMongodbUser.go @@ -0,0 +1,117 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func LookupCloudProjectDatabaseMongodbUser(ctx *pulumi.Context, args *LookupCloudProjectDatabaseMongodbUserArgs, opts ...pulumi.InvokeOption) (*LookupCloudProjectDatabaseMongodbUserResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var rv LookupCloudProjectDatabaseMongodbUserResult + err = ctx.InvokePackage("ovh:index/getCloudProjectDatabaseMongodbUser:getCloudProjectDatabaseMongodbUser", args, &rv, ref, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getCloudProjectDatabaseMongodbUser. +type LookupCloudProjectDatabaseMongodbUserArgs struct { + ClusterId string `pulumi:"clusterId"` + Id *string `pulumi:"id"` + Name string `pulumi:"name"` + ServiceName *string `pulumi:"serviceName"` +} + +// A collection of values returned by getCloudProjectDatabaseMongodbUser. +type LookupCloudProjectDatabaseMongodbUserResult struct { + ClusterId string `pulumi:"clusterId"` + CreatedAt string `pulumi:"createdAt"` + Id string `pulumi:"id"` + Name string `pulumi:"name"` + Roles []string `pulumi:"roles"` + ServiceName *string `pulumi:"serviceName"` + Status string `pulumi:"status"` +} + +func LookupCloudProjectDatabaseMongodbUserOutput(ctx *pulumi.Context, args LookupCloudProjectDatabaseMongodbUserOutputArgs, opts ...pulumi.InvokeOption) LookupCloudProjectDatabaseMongodbUserResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (LookupCloudProjectDatabaseMongodbUserResult, error) { + args := v.(LookupCloudProjectDatabaseMongodbUserArgs) + r, err := LookupCloudProjectDatabaseMongodbUser(ctx, &args, opts...) + var s LookupCloudProjectDatabaseMongodbUserResult + if r != nil { + s = *r + } + return s, err + }).(LookupCloudProjectDatabaseMongodbUserResultOutput) +} + +// A collection of arguments for invoking getCloudProjectDatabaseMongodbUser. +type LookupCloudProjectDatabaseMongodbUserOutputArgs struct { + ClusterId pulumi.StringInput `pulumi:"clusterId"` + Id pulumi.StringPtrInput `pulumi:"id"` + Name pulumi.StringInput `pulumi:"name"` + ServiceName pulumi.StringPtrInput `pulumi:"serviceName"` +} + +func (LookupCloudProjectDatabaseMongodbUserOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LookupCloudProjectDatabaseMongodbUserArgs)(nil)).Elem() +} + +// A collection of values returned by getCloudProjectDatabaseMongodbUser. +type LookupCloudProjectDatabaseMongodbUserResultOutput struct{ *pulumi.OutputState } + +func (LookupCloudProjectDatabaseMongodbUserResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LookupCloudProjectDatabaseMongodbUserResult)(nil)).Elem() +} + +func (o LookupCloudProjectDatabaseMongodbUserResultOutput) ToLookupCloudProjectDatabaseMongodbUserResultOutput() LookupCloudProjectDatabaseMongodbUserResultOutput { + return o +} + +func (o LookupCloudProjectDatabaseMongodbUserResultOutput) ToLookupCloudProjectDatabaseMongodbUserResultOutputWithContext(ctx context.Context) LookupCloudProjectDatabaseMongodbUserResultOutput { + return o +} + +func (o LookupCloudProjectDatabaseMongodbUserResultOutput) ClusterId() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectDatabaseMongodbUserResult) string { return v.ClusterId }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectDatabaseMongodbUserResultOutput) CreatedAt() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectDatabaseMongodbUserResult) string { return v.CreatedAt }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectDatabaseMongodbUserResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectDatabaseMongodbUserResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectDatabaseMongodbUserResultOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectDatabaseMongodbUserResult) string { return v.Name }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectDatabaseMongodbUserResultOutput) Roles() pulumi.StringArrayOutput { + return o.ApplyT(func(v LookupCloudProjectDatabaseMongodbUserResult) []string { return v.Roles }).(pulumi.StringArrayOutput) +} + +func (o LookupCloudProjectDatabaseMongodbUserResultOutput) ServiceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v LookupCloudProjectDatabaseMongodbUserResult) *string { return v.ServiceName }).(pulumi.StringPtrOutput) +} + +func (o LookupCloudProjectDatabaseMongodbUserResultOutput) Status() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectDatabaseMongodbUserResult) string { return v.Status }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(LookupCloudProjectDatabaseMongodbUserResultOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectDatabaseOpensearchPattern.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectDatabaseOpensearchPattern.go new file mode 100644 index 00000000..5be2e536 --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectDatabaseOpensearchPattern.go @@ -0,0 +1,105 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func LookupCloudProjectDatabaseOpensearchPattern(ctx *pulumi.Context, args *LookupCloudProjectDatabaseOpensearchPatternArgs, opts ...pulumi.InvokeOption) (*LookupCloudProjectDatabaseOpensearchPatternResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var rv LookupCloudProjectDatabaseOpensearchPatternResult + err = ctx.InvokePackage("ovh:index/getCloudProjectDatabaseOpensearchPattern:getCloudProjectDatabaseOpensearchPattern", args, &rv, ref, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getCloudProjectDatabaseOpensearchPattern. +type LookupCloudProjectDatabaseOpensearchPatternArgs struct { + ClusterId string `pulumi:"clusterId"` + Id string `pulumi:"id"` + ServiceName *string `pulumi:"serviceName"` +} + +// A collection of values returned by getCloudProjectDatabaseOpensearchPattern. +type LookupCloudProjectDatabaseOpensearchPatternResult struct { + ClusterId string `pulumi:"clusterId"` + Id string `pulumi:"id"` + MaxIndexCount float64 `pulumi:"maxIndexCount"` + Pattern string `pulumi:"pattern"` + ServiceName *string `pulumi:"serviceName"` +} + +func LookupCloudProjectDatabaseOpensearchPatternOutput(ctx *pulumi.Context, args LookupCloudProjectDatabaseOpensearchPatternOutputArgs, opts ...pulumi.InvokeOption) LookupCloudProjectDatabaseOpensearchPatternResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (LookupCloudProjectDatabaseOpensearchPatternResult, error) { + args := v.(LookupCloudProjectDatabaseOpensearchPatternArgs) + r, err := LookupCloudProjectDatabaseOpensearchPattern(ctx, &args, opts...) + var s LookupCloudProjectDatabaseOpensearchPatternResult + if r != nil { + s = *r + } + return s, err + }).(LookupCloudProjectDatabaseOpensearchPatternResultOutput) +} + +// A collection of arguments for invoking getCloudProjectDatabaseOpensearchPattern. +type LookupCloudProjectDatabaseOpensearchPatternOutputArgs struct { + ClusterId pulumi.StringInput `pulumi:"clusterId"` + Id pulumi.StringInput `pulumi:"id"` + ServiceName pulumi.StringPtrInput `pulumi:"serviceName"` +} + +func (LookupCloudProjectDatabaseOpensearchPatternOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LookupCloudProjectDatabaseOpensearchPatternArgs)(nil)).Elem() +} + +// A collection of values returned by getCloudProjectDatabaseOpensearchPattern. +type LookupCloudProjectDatabaseOpensearchPatternResultOutput struct{ *pulumi.OutputState } + +func (LookupCloudProjectDatabaseOpensearchPatternResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LookupCloudProjectDatabaseOpensearchPatternResult)(nil)).Elem() +} + +func (o LookupCloudProjectDatabaseOpensearchPatternResultOutput) ToLookupCloudProjectDatabaseOpensearchPatternResultOutput() LookupCloudProjectDatabaseOpensearchPatternResultOutput { + return o +} + +func (o LookupCloudProjectDatabaseOpensearchPatternResultOutput) ToLookupCloudProjectDatabaseOpensearchPatternResultOutputWithContext(ctx context.Context) LookupCloudProjectDatabaseOpensearchPatternResultOutput { + return o +} + +func (o LookupCloudProjectDatabaseOpensearchPatternResultOutput) ClusterId() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectDatabaseOpensearchPatternResult) string { return v.ClusterId }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectDatabaseOpensearchPatternResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectDatabaseOpensearchPatternResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectDatabaseOpensearchPatternResultOutput) MaxIndexCount() pulumi.Float64Output { + return o.ApplyT(func(v LookupCloudProjectDatabaseOpensearchPatternResult) float64 { return v.MaxIndexCount }).(pulumi.Float64Output) +} + +func (o LookupCloudProjectDatabaseOpensearchPatternResultOutput) Pattern() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectDatabaseOpensearchPatternResult) string { return v.Pattern }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectDatabaseOpensearchPatternResultOutput) ServiceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v LookupCloudProjectDatabaseOpensearchPatternResult) *string { return v.ServiceName }).(pulumi.StringPtrOutput) +} + +func init() { + pulumi.RegisterOutputType(LookupCloudProjectDatabaseOpensearchPatternResultOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectDatabaseOpensearchPatterns.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectDatabaseOpensearchPatterns.go new file mode 100644 index 00000000..d70dfbb9 --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectDatabaseOpensearchPatterns.go @@ -0,0 +1,100 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func GetCloudProjectDatabaseOpensearchPatterns(ctx *pulumi.Context, args *GetCloudProjectDatabaseOpensearchPatternsArgs, opts ...pulumi.InvokeOption) (*GetCloudProjectDatabaseOpensearchPatternsResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var rv GetCloudProjectDatabaseOpensearchPatternsResult + err = ctx.InvokePackage("ovh:index/getCloudProjectDatabaseOpensearchPatterns:getCloudProjectDatabaseOpensearchPatterns", args, &rv, ref, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getCloudProjectDatabaseOpensearchPatterns. +type GetCloudProjectDatabaseOpensearchPatternsArgs struct { + ClusterId string `pulumi:"clusterId"` + Id *string `pulumi:"id"` + ServiceName *string `pulumi:"serviceName"` +} + +// A collection of values returned by getCloudProjectDatabaseOpensearchPatterns. +type GetCloudProjectDatabaseOpensearchPatternsResult struct { + ClusterId string `pulumi:"clusterId"` + Id string `pulumi:"id"` + PatternIds []string `pulumi:"patternIds"` + ServiceName *string `pulumi:"serviceName"` +} + +func GetCloudProjectDatabaseOpensearchPatternsOutput(ctx *pulumi.Context, args GetCloudProjectDatabaseOpensearchPatternsOutputArgs, opts ...pulumi.InvokeOption) GetCloudProjectDatabaseOpensearchPatternsResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (GetCloudProjectDatabaseOpensearchPatternsResult, error) { + args := v.(GetCloudProjectDatabaseOpensearchPatternsArgs) + r, err := GetCloudProjectDatabaseOpensearchPatterns(ctx, &args, opts...) + var s GetCloudProjectDatabaseOpensearchPatternsResult + if r != nil { + s = *r + } + return s, err + }).(GetCloudProjectDatabaseOpensearchPatternsResultOutput) +} + +// A collection of arguments for invoking getCloudProjectDatabaseOpensearchPatterns. +type GetCloudProjectDatabaseOpensearchPatternsOutputArgs struct { + ClusterId pulumi.StringInput `pulumi:"clusterId"` + Id pulumi.StringPtrInput `pulumi:"id"` + ServiceName pulumi.StringPtrInput `pulumi:"serviceName"` +} + +func (GetCloudProjectDatabaseOpensearchPatternsOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetCloudProjectDatabaseOpensearchPatternsArgs)(nil)).Elem() +} + +// A collection of values returned by getCloudProjectDatabaseOpensearchPatterns. +type GetCloudProjectDatabaseOpensearchPatternsResultOutput struct{ *pulumi.OutputState } + +func (GetCloudProjectDatabaseOpensearchPatternsResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetCloudProjectDatabaseOpensearchPatternsResult)(nil)).Elem() +} + +func (o GetCloudProjectDatabaseOpensearchPatternsResultOutput) ToGetCloudProjectDatabaseOpensearchPatternsResultOutput() GetCloudProjectDatabaseOpensearchPatternsResultOutput { + return o +} + +func (o GetCloudProjectDatabaseOpensearchPatternsResultOutput) ToGetCloudProjectDatabaseOpensearchPatternsResultOutputWithContext(ctx context.Context) GetCloudProjectDatabaseOpensearchPatternsResultOutput { + return o +} + +func (o GetCloudProjectDatabaseOpensearchPatternsResultOutput) ClusterId() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectDatabaseOpensearchPatternsResult) string { return v.ClusterId }).(pulumi.StringOutput) +} + +func (o GetCloudProjectDatabaseOpensearchPatternsResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectDatabaseOpensearchPatternsResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o GetCloudProjectDatabaseOpensearchPatternsResultOutput) PatternIds() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetCloudProjectDatabaseOpensearchPatternsResult) []string { return v.PatternIds }).(pulumi.StringArrayOutput) +} + +func (o GetCloudProjectDatabaseOpensearchPatternsResultOutput) ServiceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetCloudProjectDatabaseOpensearchPatternsResult) *string { return v.ServiceName }).(pulumi.StringPtrOutput) +} + +func init() { + pulumi.RegisterOutputType(GetCloudProjectDatabaseOpensearchPatternsResultOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectDatabaseOpensearchUser.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectDatabaseOpensearchUser.go new file mode 100644 index 00000000..1892c490 --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectDatabaseOpensearchUser.go @@ -0,0 +1,119 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func LookupCloudProjectDatabaseOpensearchUser(ctx *pulumi.Context, args *LookupCloudProjectDatabaseOpensearchUserArgs, opts ...pulumi.InvokeOption) (*LookupCloudProjectDatabaseOpensearchUserResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var rv LookupCloudProjectDatabaseOpensearchUserResult + err = ctx.InvokePackage("ovh:index/getCloudProjectDatabaseOpensearchUser:getCloudProjectDatabaseOpensearchUser", args, &rv, ref, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getCloudProjectDatabaseOpensearchUser. +type LookupCloudProjectDatabaseOpensearchUserArgs struct { + ClusterId string `pulumi:"clusterId"` + Id *string `pulumi:"id"` + Name string `pulumi:"name"` + ServiceName *string `pulumi:"serviceName"` +} + +// A collection of values returned by getCloudProjectDatabaseOpensearchUser. +type LookupCloudProjectDatabaseOpensearchUserResult struct { + Acls []GetCloudProjectDatabaseOpensearchUserAcl `pulumi:"acls"` + ClusterId string `pulumi:"clusterId"` + CreatedAt string `pulumi:"createdAt"` + Id string `pulumi:"id"` + Name string `pulumi:"name"` + ServiceName *string `pulumi:"serviceName"` + Status string `pulumi:"status"` +} + +func LookupCloudProjectDatabaseOpensearchUserOutput(ctx *pulumi.Context, args LookupCloudProjectDatabaseOpensearchUserOutputArgs, opts ...pulumi.InvokeOption) LookupCloudProjectDatabaseOpensearchUserResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (LookupCloudProjectDatabaseOpensearchUserResult, error) { + args := v.(LookupCloudProjectDatabaseOpensearchUserArgs) + r, err := LookupCloudProjectDatabaseOpensearchUser(ctx, &args, opts...) + var s LookupCloudProjectDatabaseOpensearchUserResult + if r != nil { + s = *r + } + return s, err + }).(LookupCloudProjectDatabaseOpensearchUserResultOutput) +} + +// A collection of arguments for invoking getCloudProjectDatabaseOpensearchUser. +type LookupCloudProjectDatabaseOpensearchUserOutputArgs struct { + ClusterId pulumi.StringInput `pulumi:"clusterId"` + Id pulumi.StringPtrInput `pulumi:"id"` + Name pulumi.StringInput `pulumi:"name"` + ServiceName pulumi.StringPtrInput `pulumi:"serviceName"` +} + +func (LookupCloudProjectDatabaseOpensearchUserOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LookupCloudProjectDatabaseOpensearchUserArgs)(nil)).Elem() +} + +// A collection of values returned by getCloudProjectDatabaseOpensearchUser. +type LookupCloudProjectDatabaseOpensearchUserResultOutput struct{ *pulumi.OutputState } + +func (LookupCloudProjectDatabaseOpensearchUserResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LookupCloudProjectDatabaseOpensearchUserResult)(nil)).Elem() +} + +func (o LookupCloudProjectDatabaseOpensearchUserResultOutput) ToLookupCloudProjectDatabaseOpensearchUserResultOutput() LookupCloudProjectDatabaseOpensearchUserResultOutput { + return o +} + +func (o LookupCloudProjectDatabaseOpensearchUserResultOutput) ToLookupCloudProjectDatabaseOpensearchUserResultOutputWithContext(ctx context.Context) LookupCloudProjectDatabaseOpensearchUserResultOutput { + return o +} + +func (o LookupCloudProjectDatabaseOpensearchUserResultOutput) Acls() GetCloudProjectDatabaseOpensearchUserAclArrayOutput { + return o.ApplyT(func(v LookupCloudProjectDatabaseOpensearchUserResult) []GetCloudProjectDatabaseOpensearchUserAcl { + return v.Acls + }).(GetCloudProjectDatabaseOpensearchUserAclArrayOutput) +} + +func (o LookupCloudProjectDatabaseOpensearchUserResultOutput) ClusterId() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectDatabaseOpensearchUserResult) string { return v.ClusterId }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectDatabaseOpensearchUserResultOutput) CreatedAt() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectDatabaseOpensearchUserResult) string { return v.CreatedAt }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectDatabaseOpensearchUserResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectDatabaseOpensearchUserResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectDatabaseOpensearchUserResultOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectDatabaseOpensearchUserResult) string { return v.Name }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectDatabaseOpensearchUserResultOutput) ServiceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v LookupCloudProjectDatabaseOpensearchUserResult) *string { return v.ServiceName }).(pulumi.StringPtrOutput) +} + +func (o LookupCloudProjectDatabaseOpensearchUserResultOutput) Status() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectDatabaseOpensearchUserResult) string { return v.Status }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(LookupCloudProjectDatabaseOpensearchUserResultOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectDatabasePostgresqlConnectionPool.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectDatabasePostgresqlConnectionPool.go new file mode 100644 index 00000000..592c1eaf --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectDatabasePostgresqlConnectionPool.go @@ -0,0 +1,137 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func LookupCloudProjectDatabasePostgresqlConnectionPool(ctx *pulumi.Context, args *LookupCloudProjectDatabasePostgresqlConnectionPoolArgs, opts ...pulumi.InvokeOption) (*LookupCloudProjectDatabasePostgresqlConnectionPoolResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var rv LookupCloudProjectDatabasePostgresqlConnectionPoolResult + err = ctx.InvokePackage("ovh:index/getCloudProjectDatabasePostgresqlConnectionPool:getCloudProjectDatabasePostgresqlConnectionPool", args, &rv, ref, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getCloudProjectDatabasePostgresqlConnectionPool. +type LookupCloudProjectDatabasePostgresqlConnectionPoolArgs struct { + ClusterId string `pulumi:"clusterId"` + Id *string `pulumi:"id"` + Name string `pulumi:"name"` + ServiceName *string `pulumi:"serviceName"` +} + +// A collection of values returned by getCloudProjectDatabasePostgresqlConnectionPool. +type LookupCloudProjectDatabasePostgresqlConnectionPoolResult struct { + ClusterId string `pulumi:"clusterId"` + DatabaseId string `pulumi:"databaseId"` + Id string `pulumi:"id"` + Mode string `pulumi:"mode"` + Name string `pulumi:"name"` + Port float64 `pulumi:"port"` + ServiceName *string `pulumi:"serviceName"` + Size float64 `pulumi:"size"` + SslMode string `pulumi:"sslMode"` + Uri string `pulumi:"uri"` + UserId string `pulumi:"userId"` +} + +func LookupCloudProjectDatabasePostgresqlConnectionPoolOutput(ctx *pulumi.Context, args LookupCloudProjectDatabasePostgresqlConnectionPoolOutputArgs, opts ...pulumi.InvokeOption) LookupCloudProjectDatabasePostgresqlConnectionPoolResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (LookupCloudProjectDatabasePostgresqlConnectionPoolResult, error) { + args := v.(LookupCloudProjectDatabasePostgresqlConnectionPoolArgs) + r, err := LookupCloudProjectDatabasePostgresqlConnectionPool(ctx, &args, opts...) + var s LookupCloudProjectDatabasePostgresqlConnectionPoolResult + if r != nil { + s = *r + } + return s, err + }).(LookupCloudProjectDatabasePostgresqlConnectionPoolResultOutput) +} + +// A collection of arguments for invoking getCloudProjectDatabasePostgresqlConnectionPool. +type LookupCloudProjectDatabasePostgresqlConnectionPoolOutputArgs struct { + ClusterId pulumi.StringInput `pulumi:"clusterId"` + Id pulumi.StringPtrInput `pulumi:"id"` + Name pulumi.StringInput `pulumi:"name"` + ServiceName pulumi.StringPtrInput `pulumi:"serviceName"` +} + +func (LookupCloudProjectDatabasePostgresqlConnectionPoolOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LookupCloudProjectDatabasePostgresqlConnectionPoolArgs)(nil)).Elem() +} + +// A collection of values returned by getCloudProjectDatabasePostgresqlConnectionPool. +type LookupCloudProjectDatabasePostgresqlConnectionPoolResultOutput struct{ *pulumi.OutputState } + +func (LookupCloudProjectDatabasePostgresqlConnectionPoolResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LookupCloudProjectDatabasePostgresqlConnectionPoolResult)(nil)).Elem() +} + +func (o LookupCloudProjectDatabasePostgresqlConnectionPoolResultOutput) ToLookupCloudProjectDatabasePostgresqlConnectionPoolResultOutput() LookupCloudProjectDatabasePostgresqlConnectionPoolResultOutput { + return o +} + +func (o LookupCloudProjectDatabasePostgresqlConnectionPoolResultOutput) ToLookupCloudProjectDatabasePostgresqlConnectionPoolResultOutputWithContext(ctx context.Context) LookupCloudProjectDatabasePostgresqlConnectionPoolResultOutput { + return o +} + +func (o LookupCloudProjectDatabasePostgresqlConnectionPoolResultOutput) ClusterId() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectDatabasePostgresqlConnectionPoolResult) string { return v.ClusterId }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectDatabasePostgresqlConnectionPoolResultOutput) DatabaseId() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectDatabasePostgresqlConnectionPoolResult) string { return v.DatabaseId }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectDatabasePostgresqlConnectionPoolResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectDatabasePostgresqlConnectionPoolResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectDatabasePostgresqlConnectionPoolResultOutput) Mode() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectDatabasePostgresqlConnectionPoolResult) string { return v.Mode }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectDatabasePostgresqlConnectionPoolResultOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectDatabasePostgresqlConnectionPoolResult) string { return v.Name }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectDatabasePostgresqlConnectionPoolResultOutput) Port() pulumi.Float64Output { + return o.ApplyT(func(v LookupCloudProjectDatabasePostgresqlConnectionPoolResult) float64 { return v.Port }).(pulumi.Float64Output) +} + +func (o LookupCloudProjectDatabasePostgresqlConnectionPoolResultOutput) ServiceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v LookupCloudProjectDatabasePostgresqlConnectionPoolResult) *string { return v.ServiceName }).(pulumi.StringPtrOutput) +} + +func (o LookupCloudProjectDatabasePostgresqlConnectionPoolResultOutput) Size() pulumi.Float64Output { + return o.ApplyT(func(v LookupCloudProjectDatabasePostgresqlConnectionPoolResult) float64 { return v.Size }).(pulumi.Float64Output) +} + +func (o LookupCloudProjectDatabasePostgresqlConnectionPoolResultOutput) SslMode() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectDatabasePostgresqlConnectionPoolResult) string { return v.SslMode }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectDatabasePostgresqlConnectionPoolResultOutput) Uri() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectDatabasePostgresqlConnectionPoolResult) string { return v.Uri }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectDatabasePostgresqlConnectionPoolResultOutput) UserId() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectDatabasePostgresqlConnectionPoolResult) string { return v.UserId }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(LookupCloudProjectDatabasePostgresqlConnectionPoolResultOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectDatabasePostgresqlConnectionPools.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectDatabasePostgresqlConnectionPools.go new file mode 100644 index 00000000..6f1dc166 --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectDatabasePostgresqlConnectionPools.go @@ -0,0 +1,100 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func GetCloudProjectDatabasePostgresqlConnectionPools(ctx *pulumi.Context, args *GetCloudProjectDatabasePostgresqlConnectionPoolsArgs, opts ...pulumi.InvokeOption) (*GetCloudProjectDatabasePostgresqlConnectionPoolsResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var rv GetCloudProjectDatabasePostgresqlConnectionPoolsResult + err = ctx.InvokePackage("ovh:index/getCloudProjectDatabasePostgresqlConnectionPools:getCloudProjectDatabasePostgresqlConnectionPools", args, &rv, ref, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getCloudProjectDatabasePostgresqlConnectionPools. +type GetCloudProjectDatabasePostgresqlConnectionPoolsArgs struct { + ClusterId string `pulumi:"clusterId"` + Id *string `pulumi:"id"` + ServiceName *string `pulumi:"serviceName"` +} + +// A collection of values returned by getCloudProjectDatabasePostgresqlConnectionPools. +type GetCloudProjectDatabasePostgresqlConnectionPoolsResult struct { + ClusterId string `pulumi:"clusterId"` + ConnectionPoolIds []string `pulumi:"connectionPoolIds"` + Id string `pulumi:"id"` + ServiceName *string `pulumi:"serviceName"` +} + +func GetCloudProjectDatabasePostgresqlConnectionPoolsOutput(ctx *pulumi.Context, args GetCloudProjectDatabasePostgresqlConnectionPoolsOutputArgs, opts ...pulumi.InvokeOption) GetCloudProjectDatabasePostgresqlConnectionPoolsResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (GetCloudProjectDatabasePostgresqlConnectionPoolsResult, error) { + args := v.(GetCloudProjectDatabasePostgresqlConnectionPoolsArgs) + r, err := GetCloudProjectDatabasePostgresqlConnectionPools(ctx, &args, opts...) + var s GetCloudProjectDatabasePostgresqlConnectionPoolsResult + if r != nil { + s = *r + } + return s, err + }).(GetCloudProjectDatabasePostgresqlConnectionPoolsResultOutput) +} + +// A collection of arguments for invoking getCloudProjectDatabasePostgresqlConnectionPools. +type GetCloudProjectDatabasePostgresqlConnectionPoolsOutputArgs struct { + ClusterId pulumi.StringInput `pulumi:"clusterId"` + Id pulumi.StringPtrInput `pulumi:"id"` + ServiceName pulumi.StringPtrInput `pulumi:"serviceName"` +} + +func (GetCloudProjectDatabasePostgresqlConnectionPoolsOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetCloudProjectDatabasePostgresqlConnectionPoolsArgs)(nil)).Elem() +} + +// A collection of values returned by getCloudProjectDatabasePostgresqlConnectionPools. +type GetCloudProjectDatabasePostgresqlConnectionPoolsResultOutput struct{ *pulumi.OutputState } + +func (GetCloudProjectDatabasePostgresqlConnectionPoolsResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetCloudProjectDatabasePostgresqlConnectionPoolsResult)(nil)).Elem() +} + +func (o GetCloudProjectDatabasePostgresqlConnectionPoolsResultOutput) ToGetCloudProjectDatabasePostgresqlConnectionPoolsResultOutput() GetCloudProjectDatabasePostgresqlConnectionPoolsResultOutput { + return o +} + +func (o GetCloudProjectDatabasePostgresqlConnectionPoolsResultOutput) ToGetCloudProjectDatabasePostgresqlConnectionPoolsResultOutputWithContext(ctx context.Context) GetCloudProjectDatabasePostgresqlConnectionPoolsResultOutput { + return o +} + +func (o GetCloudProjectDatabasePostgresqlConnectionPoolsResultOutput) ClusterId() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectDatabasePostgresqlConnectionPoolsResult) string { return v.ClusterId }).(pulumi.StringOutput) +} + +func (o GetCloudProjectDatabasePostgresqlConnectionPoolsResultOutput) ConnectionPoolIds() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetCloudProjectDatabasePostgresqlConnectionPoolsResult) []string { return v.ConnectionPoolIds }).(pulumi.StringArrayOutput) +} + +func (o GetCloudProjectDatabasePostgresqlConnectionPoolsResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectDatabasePostgresqlConnectionPoolsResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o GetCloudProjectDatabasePostgresqlConnectionPoolsResultOutput) ServiceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetCloudProjectDatabasePostgresqlConnectionPoolsResult) *string { return v.ServiceName }).(pulumi.StringPtrOutput) +} + +func init() { + pulumi.RegisterOutputType(GetCloudProjectDatabasePostgresqlConnectionPoolsResultOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectDatabasePostgresqlUser.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectDatabasePostgresqlUser.go new file mode 100644 index 00000000..6477bcc3 --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectDatabasePostgresqlUser.go @@ -0,0 +1,117 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func LookupCloudProjectDatabasePostgresqlUser(ctx *pulumi.Context, args *LookupCloudProjectDatabasePostgresqlUserArgs, opts ...pulumi.InvokeOption) (*LookupCloudProjectDatabasePostgresqlUserResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var rv LookupCloudProjectDatabasePostgresqlUserResult + err = ctx.InvokePackage("ovh:index/getCloudProjectDatabasePostgresqlUser:getCloudProjectDatabasePostgresqlUser", args, &rv, ref, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getCloudProjectDatabasePostgresqlUser. +type LookupCloudProjectDatabasePostgresqlUserArgs struct { + ClusterId string `pulumi:"clusterId"` + Id *string `pulumi:"id"` + Name string `pulumi:"name"` + ServiceName *string `pulumi:"serviceName"` +} + +// A collection of values returned by getCloudProjectDatabasePostgresqlUser. +type LookupCloudProjectDatabasePostgresqlUserResult struct { + ClusterId string `pulumi:"clusterId"` + CreatedAt string `pulumi:"createdAt"` + Id string `pulumi:"id"` + Name string `pulumi:"name"` + Roles []string `pulumi:"roles"` + ServiceName *string `pulumi:"serviceName"` + Status string `pulumi:"status"` +} + +func LookupCloudProjectDatabasePostgresqlUserOutput(ctx *pulumi.Context, args LookupCloudProjectDatabasePostgresqlUserOutputArgs, opts ...pulumi.InvokeOption) LookupCloudProjectDatabasePostgresqlUserResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (LookupCloudProjectDatabasePostgresqlUserResult, error) { + args := v.(LookupCloudProjectDatabasePostgresqlUserArgs) + r, err := LookupCloudProjectDatabasePostgresqlUser(ctx, &args, opts...) + var s LookupCloudProjectDatabasePostgresqlUserResult + if r != nil { + s = *r + } + return s, err + }).(LookupCloudProjectDatabasePostgresqlUserResultOutput) +} + +// A collection of arguments for invoking getCloudProjectDatabasePostgresqlUser. +type LookupCloudProjectDatabasePostgresqlUserOutputArgs struct { + ClusterId pulumi.StringInput `pulumi:"clusterId"` + Id pulumi.StringPtrInput `pulumi:"id"` + Name pulumi.StringInput `pulumi:"name"` + ServiceName pulumi.StringPtrInput `pulumi:"serviceName"` +} + +func (LookupCloudProjectDatabasePostgresqlUserOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LookupCloudProjectDatabasePostgresqlUserArgs)(nil)).Elem() +} + +// A collection of values returned by getCloudProjectDatabasePostgresqlUser. +type LookupCloudProjectDatabasePostgresqlUserResultOutput struct{ *pulumi.OutputState } + +func (LookupCloudProjectDatabasePostgresqlUserResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LookupCloudProjectDatabasePostgresqlUserResult)(nil)).Elem() +} + +func (o LookupCloudProjectDatabasePostgresqlUserResultOutput) ToLookupCloudProjectDatabasePostgresqlUserResultOutput() LookupCloudProjectDatabasePostgresqlUserResultOutput { + return o +} + +func (o LookupCloudProjectDatabasePostgresqlUserResultOutput) ToLookupCloudProjectDatabasePostgresqlUserResultOutputWithContext(ctx context.Context) LookupCloudProjectDatabasePostgresqlUserResultOutput { + return o +} + +func (o LookupCloudProjectDatabasePostgresqlUserResultOutput) ClusterId() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectDatabasePostgresqlUserResult) string { return v.ClusterId }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectDatabasePostgresqlUserResultOutput) CreatedAt() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectDatabasePostgresqlUserResult) string { return v.CreatedAt }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectDatabasePostgresqlUserResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectDatabasePostgresqlUserResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectDatabasePostgresqlUserResultOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectDatabasePostgresqlUserResult) string { return v.Name }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectDatabasePostgresqlUserResultOutput) Roles() pulumi.StringArrayOutput { + return o.ApplyT(func(v LookupCloudProjectDatabasePostgresqlUserResult) []string { return v.Roles }).(pulumi.StringArrayOutput) +} + +func (o LookupCloudProjectDatabasePostgresqlUserResultOutput) ServiceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v LookupCloudProjectDatabasePostgresqlUserResult) *string { return v.ServiceName }).(pulumi.StringPtrOutput) +} + +func (o LookupCloudProjectDatabasePostgresqlUserResultOutput) Status() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectDatabasePostgresqlUserResult) string { return v.Status }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(LookupCloudProjectDatabasePostgresqlUserResultOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectDatabaseRedisUser.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectDatabaseRedisUser.go new file mode 100644 index 00000000..a0985a6c --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectDatabaseRedisUser.go @@ -0,0 +1,132 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func LookupCloudProjectDatabaseRedisUser(ctx *pulumi.Context, args *LookupCloudProjectDatabaseRedisUserArgs, opts ...pulumi.InvokeOption) (*LookupCloudProjectDatabaseRedisUserResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var rv LookupCloudProjectDatabaseRedisUserResult + err = ctx.InvokePackage("ovh:index/getCloudProjectDatabaseRedisUser:getCloudProjectDatabaseRedisUser", args, &rv, ref, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getCloudProjectDatabaseRedisUser. +type LookupCloudProjectDatabaseRedisUserArgs struct { + ClusterId string `pulumi:"clusterId"` + Id *string `pulumi:"id"` + Name string `pulumi:"name"` + ServiceName *string `pulumi:"serviceName"` +} + +// A collection of values returned by getCloudProjectDatabaseRedisUser. +type LookupCloudProjectDatabaseRedisUserResult struct { + Categories []string `pulumi:"categories"` + Channels []string `pulumi:"channels"` + ClusterId string `pulumi:"clusterId"` + Commands []string `pulumi:"commands"` + CreatedAt string `pulumi:"createdAt"` + Id string `pulumi:"id"` + Keys []string `pulumi:"keys"` + Name string `pulumi:"name"` + ServiceName *string `pulumi:"serviceName"` + Status string `pulumi:"status"` +} + +func LookupCloudProjectDatabaseRedisUserOutput(ctx *pulumi.Context, args LookupCloudProjectDatabaseRedisUserOutputArgs, opts ...pulumi.InvokeOption) LookupCloudProjectDatabaseRedisUserResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (LookupCloudProjectDatabaseRedisUserResult, error) { + args := v.(LookupCloudProjectDatabaseRedisUserArgs) + r, err := LookupCloudProjectDatabaseRedisUser(ctx, &args, opts...) + var s LookupCloudProjectDatabaseRedisUserResult + if r != nil { + s = *r + } + return s, err + }).(LookupCloudProjectDatabaseRedisUserResultOutput) +} + +// A collection of arguments for invoking getCloudProjectDatabaseRedisUser. +type LookupCloudProjectDatabaseRedisUserOutputArgs struct { + ClusterId pulumi.StringInput `pulumi:"clusterId"` + Id pulumi.StringPtrInput `pulumi:"id"` + Name pulumi.StringInput `pulumi:"name"` + ServiceName pulumi.StringPtrInput `pulumi:"serviceName"` +} + +func (LookupCloudProjectDatabaseRedisUserOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LookupCloudProjectDatabaseRedisUserArgs)(nil)).Elem() +} + +// A collection of values returned by getCloudProjectDatabaseRedisUser. +type LookupCloudProjectDatabaseRedisUserResultOutput struct{ *pulumi.OutputState } + +func (LookupCloudProjectDatabaseRedisUserResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LookupCloudProjectDatabaseRedisUserResult)(nil)).Elem() +} + +func (o LookupCloudProjectDatabaseRedisUserResultOutput) ToLookupCloudProjectDatabaseRedisUserResultOutput() LookupCloudProjectDatabaseRedisUserResultOutput { + return o +} + +func (o LookupCloudProjectDatabaseRedisUserResultOutput) ToLookupCloudProjectDatabaseRedisUserResultOutputWithContext(ctx context.Context) LookupCloudProjectDatabaseRedisUserResultOutput { + return o +} + +func (o LookupCloudProjectDatabaseRedisUserResultOutput) Categories() pulumi.StringArrayOutput { + return o.ApplyT(func(v LookupCloudProjectDatabaseRedisUserResult) []string { return v.Categories }).(pulumi.StringArrayOutput) +} + +func (o LookupCloudProjectDatabaseRedisUserResultOutput) Channels() pulumi.StringArrayOutput { + return o.ApplyT(func(v LookupCloudProjectDatabaseRedisUserResult) []string { return v.Channels }).(pulumi.StringArrayOutput) +} + +func (o LookupCloudProjectDatabaseRedisUserResultOutput) ClusterId() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectDatabaseRedisUserResult) string { return v.ClusterId }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectDatabaseRedisUserResultOutput) Commands() pulumi.StringArrayOutput { + return o.ApplyT(func(v LookupCloudProjectDatabaseRedisUserResult) []string { return v.Commands }).(pulumi.StringArrayOutput) +} + +func (o LookupCloudProjectDatabaseRedisUserResultOutput) CreatedAt() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectDatabaseRedisUserResult) string { return v.CreatedAt }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectDatabaseRedisUserResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectDatabaseRedisUserResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectDatabaseRedisUserResultOutput) Keys() pulumi.StringArrayOutput { + return o.ApplyT(func(v LookupCloudProjectDatabaseRedisUserResult) []string { return v.Keys }).(pulumi.StringArrayOutput) +} + +func (o LookupCloudProjectDatabaseRedisUserResultOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectDatabaseRedisUserResult) string { return v.Name }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectDatabaseRedisUserResultOutput) ServiceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v LookupCloudProjectDatabaseRedisUserResult) *string { return v.ServiceName }).(pulumi.StringPtrOutput) +} + +func (o LookupCloudProjectDatabaseRedisUserResultOutput) Status() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectDatabaseRedisUserResult) string { return v.Status }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(LookupCloudProjectDatabaseRedisUserResultOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectDatabaseUser.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectDatabaseUser.go new file mode 100644 index 00000000..57c79676 --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectDatabaseUser.go @@ -0,0 +1,119 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func LookupCloudProjectDatabaseUser(ctx *pulumi.Context, args *LookupCloudProjectDatabaseUserArgs, opts ...pulumi.InvokeOption) (*LookupCloudProjectDatabaseUserResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var rv LookupCloudProjectDatabaseUserResult + err = ctx.InvokePackage("ovh:index/getCloudProjectDatabaseUser:getCloudProjectDatabaseUser", args, &rv, ref, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getCloudProjectDatabaseUser. +type LookupCloudProjectDatabaseUserArgs struct { + ClusterId string `pulumi:"clusterId"` + Engine string `pulumi:"engine"` + Id *string `pulumi:"id"` + Name string `pulumi:"name"` + ServiceName *string `pulumi:"serviceName"` +} + +// A collection of values returned by getCloudProjectDatabaseUser. +type LookupCloudProjectDatabaseUserResult struct { + ClusterId string `pulumi:"clusterId"` + CreatedAt string `pulumi:"createdAt"` + Engine string `pulumi:"engine"` + Id string `pulumi:"id"` + Name string `pulumi:"name"` + ServiceName *string `pulumi:"serviceName"` + Status string `pulumi:"status"` +} + +func LookupCloudProjectDatabaseUserOutput(ctx *pulumi.Context, args LookupCloudProjectDatabaseUserOutputArgs, opts ...pulumi.InvokeOption) LookupCloudProjectDatabaseUserResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (LookupCloudProjectDatabaseUserResult, error) { + args := v.(LookupCloudProjectDatabaseUserArgs) + r, err := LookupCloudProjectDatabaseUser(ctx, &args, opts...) + var s LookupCloudProjectDatabaseUserResult + if r != nil { + s = *r + } + return s, err + }).(LookupCloudProjectDatabaseUserResultOutput) +} + +// A collection of arguments for invoking getCloudProjectDatabaseUser. +type LookupCloudProjectDatabaseUserOutputArgs struct { + ClusterId pulumi.StringInput `pulumi:"clusterId"` + Engine pulumi.StringInput `pulumi:"engine"` + Id pulumi.StringPtrInput `pulumi:"id"` + Name pulumi.StringInput `pulumi:"name"` + ServiceName pulumi.StringPtrInput `pulumi:"serviceName"` +} + +func (LookupCloudProjectDatabaseUserOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LookupCloudProjectDatabaseUserArgs)(nil)).Elem() +} + +// A collection of values returned by getCloudProjectDatabaseUser. +type LookupCloudProjectDatabaseUserResultOutput struct{ *pulumi.OutputState } + +func (LookupCloudProjectDatabaseUserResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LookupCloudProjectDatabaseUserResult)(nil)).Elem() +} + +func (o LookupCloudProjectDatabaseUserResultOutput) ToLookupCloudProjectDatabaseUserResultOutput() LookupCloudProjectDatabaseUserResultOutput { + return o +} + +func (o LookupCloudProjectDatabaseUserResultOutput) ToLookupCloudProjectDatabaseUserResultOutputWithContext(ctx context.Context) LookupCloudProjectDatabaseUserResultOutput { + return o +} + +func (o LookupCloudProjectDatabaseUserResultOutput) ClusterId() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectDatabaseUserResult) string { return v.ClusterId }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectDatabaseUserResultOutput) CreatedAt() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectDatabaseUserResult) string { return v.CreatedAt }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectDatabaseUserResultOutput) Engine() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectDatabaseUserResult) string { return v.Engine }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectDatabaseUserResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectDatabaseUserResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectDatabaseUserResultOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectDatabaseUserResult) string { return v.Name }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectDatabaseUserResultOutput) ServiceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v LookupCloudProjectDatabaseUserResult) *string { return v.ServiceName }).(pulumi.StringPtrOutput) +} + +func (o LookupCloudProjectDatabaseUserResultOutput) Status() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectDatabaseUserResult) string { return v.Status }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(LookupCloudProjectDatabaseUserResultOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectDatabaseUsers.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectDatabaseUsers.go new file mode 100644 index 00000000..0d819f2b --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectDatabaseUsers.go @@ -0,0 +1,107 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func GetCloudProjectDatabaseUsers(ctx *pulumi.Context, args *GetCloudProjectDatabaseUsersArgs, opts ...pulumi.InvokeOption) (*GetCloudProjectDatabaseUsersResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var rv GetCloudProjectDatabaseUsersResult + err = ctx.InvokePackage("ovh:index/getCloudProjectDatabaseUsers:getCloudProjectDatabaseUsers", args, &rv, ref, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getCloudProjectDatabaseUsers. +type GetCloudProjectDatabaseUsersArgs struct { + ClusterId string `pulumi:"clusterId"` + Engine string `pulumi:"engine"` + Id *string `pulumi:"id"` + ServiceName *string `pulumi:"serviceName"` +} + +// A collection of values returned by getCloudProjectDatabaseUsers. +type GetCloudProjectDatabaseUsersResult struct { + ClusterId string `pulumi:"clusterId"` + Engine string `pulumi:"engine"` + Id string `pulumi:"id"` + ServiceName *string `pulumi:"serviceName"` + UserIds []string `pulumi:"userIds"` +} + +func GetCloudProjectDatabaseUsersOutput(ctx *pulumi.Context, args GetCloudProjectDatabaseUsersOutputArgs, opts ...pulumi.InvokeOption) GetCloudProjectDatabaseUsersResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (GetCloudProjectDatabaseUsersResult, error) { + args := v.(GetCloudProjectDatabaseUsersArgs) + r, err := GetCloudProjectDatabaseUsers(ctx, &args, opts...) + var s GetCloudProjectDatabaseUsersResult + if r != nil { + s = *r + } + return s, err + }).(GetCloudProjectDatabaseUsersResultOutput) +} + +// A collection of arguments for invoking getCloudProjectDatabaseUsers. +type GetCloudProjectDatabaseUsersOutputArgs struct { + ClusterId pulumi.StringInput `pulumi:"clusterId"` + Engine pulumi.StringInput `pulumi:"engine"` + Id pulumi.StringPtrInput `pulumi:"id"` + ServiceName pulumi.StringPtrInput `pulumi:"serviceName"` +} + +func (GetCloudProjectDatabaseUsersOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetCloudProjectDatabaseUsersArgs)(nil)).Elem() +} + +// A collection of values returned by getCloudProjectDatabaseUsers. +type GetCloudProjectDatabaseUsersResultOutput struct{ *pulumi.OutputState } + +func (GetCloudProjectDatabaseUsersResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetCloudProjectDatabaseUsersResult)(nil)).Elem() +} + +func (o GetCloudProjectDatabaseUsersResultOutput) ToGetCloudProjectDatabaseUsersResultOutput() GetCloudProjectDatabaseUsersResultOutput { + return o +} + +func (o GetCloudProjectDatabaseUsersResultOutput) ToGetCloudProjectDatabaseUsersResultOutputWithContext(ctx context.Context) GetCloudProjectDatabaseUsersResultOutput { + return o +} + +func (o GetCloudProjectDatabaseUsersResultOutput) ClusterId() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectDatabaseUsersResult) string { return v.ClusterId }).(pulumi.StringOutput) +} + +func (o GetCloudProjectDatabaseUsersResultOutput) Engine() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectDatabaseUsersResult) string { return v.Engine }).(pulumi.StringOutput) +} + +func (o GetCloudProjectDatabaseUsersResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectDatabaseUsersResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o GetCloudProjectDatabaseUsersResultOutput) ServiceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetCloudProjectDatabaseUsersResult) *string { return v.ServiceName }).(pulumi.StringPtrOutput) +} + +func (o GetCloudProjectDatabaseUsersResultOutput) UserIds() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetCloudProjectDatabaseUsersResult) []string { return v.UserIds }).(pulumi.StringArrayOutput) +} + +func init() { + pulumi.RegisterOutputType(GetCloudProjectDatabaseUsersResultOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectDatabases.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectDatabases.go new file mode 100644 index 00000000..046545f3 --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectDatabases.go @@ -0,0 +1,100 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func GetCloudProjectDatabases(ctx *pulumi.Context, args *GetCloudProjectDatabasesArgs, opts ...pulumi.InvokeOption) (*GetCloudProjectDatabasesResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var rv GetCloudProjectDatabasesResult + err = ctx.InvokePackage("ovh:index/getCloudProjectDatabases:getCloudProjectDatabases", args, &rv, ref, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getCloudProjectDatabases. +type GetCloudProjectDatabasesArgs struct { + Engine string `pulumi:"engine"` + Id *string `pulumi:"id"` + ServiceName *string `pulumi:"serviceName"` +} + +// A collection of values returned by getCloudProjectDatabases. +type GetCloudProjectDatabasesResult struct { + ClusterIds []string `pulumi:"clusterIds"` + Engine string `pulumi:"engine"` + Id string `pulumi:"id"` + ServiceName *string `pulumi:"serviceName"` +} + +func GetCloudProjectDatabasesOutput(ctx *pulumi.Context, args GetCloudProjectDatabasesOutputArgs, opts ...pulumi.InvokeOption) GetCloudProjectDatabasesResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (GetCloudProjectDatabasesResult, error) { + args := v.(GetCloudProjectDatabasesArgs) + r, err := GetCloudProjectDatabases(ctx, &args, opts...) + var s GetCloudProjectDatabasesResult + if r != nil { + s = *r + } + return s, err + }).(GetCloudProjectDatabasesResultOutput) +} + +// A collection of arguments for invoking getCloudProjectDatabases. +type GetCloudProjectDatabasesOutputArgs struct { + Engine pulumi.StringInput `pulumi:"engine"` + Id pulumi.StringPtrInput `pulumi:"id"` + ServiceName pulumi.StringPtrInput `pulumi:"serviceName"` +} + +func (GetCloudProjectDatabasesOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetCloudProjectDatabasesArgs)(nil)).Elem() +} + +// A collection of values returned by getCloudProjectDatabases. +type GetCloudProjectDatabasesResultOutput struct{ *pulumi.OutputState } + +func (GetCloudProjectDatabasesResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetCloudProjectDatabasesResult)(nil)).Elem() +} + +func (o GetCloudProjectDatabasesResultOutput) ToGetCloudProjectDatabasesResultOutput() GetCloudProjectDatabasesResultOutput { + return o +} + +func (o GetCloudProjectDatabasesResultOutput) ToGetCloudProjectDatabasesResultOutputWithContext(ctx context.Context) GetCloudProjectDatabasesResultOutput { + return o +} + +func (o GetCloudProjectDatabasesResultOutput) ClusterIds() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetCloudProjectDatabasesResult) []string { return v.ClusterIds }).(pulumi.StringArrayOutput) +} + +func (o GetCloudProjectDatabasesResultOutput) Engine() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectDatabasesResult) string { return v.Engine }).(pulumi.StringOutput) +} + +func (o GetCloudProjectDatabasesResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectDatabasesResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o GetCloudProjectDatabasesResultOutput) ServiceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetCloudProjectDatabasesResult) *string { return v.ServiceName }).(pulumi.StringPtrOutput) +} + +func init() { + pulumi.RegisterOutputType(GetCloudProjectDatabasesResultOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectFailoverIpAttach.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectFailoverIpAttach.go new file mode 100644 index 00000000..e0e672d7 --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectFailoverIpAttach.go @@ -0,0 +1,136 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func LookupCloudProjectFailoverIpAttach(ctx *pulumi.Context, args *LookupCloudProjectFailoverIpAttachArgs, opts ...pulumi.InvokeOption) (*LookupCloudProjectFailoverIpAttachResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var rv LookupCloudProjectFailoverIpAttachResult + err = ctx.InvokePackage("ovh:index/getCloudProjectFailoverIpAttach:getCloudProjectFailoverIpAttach", args, &rv, ref, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getCloudProjectFailoverIpAttach. +type LookupCloudProjectFailoverIpAttachArgs struct { + Block *string `pulumi:"block"` + ContinentCode *string `pulumi:"continentCode"` + GeoLoc *string `pulumi:"geoLoc"` + Ip *string `pulumi:"ip"` + RoutedTo *string `pulumi:"routedTo"` + ServiceName string `pulumi:"serviceName"` +} + +// A collection of values returned by getCloudProjectFailoverIpAttach. +type LookupCloudProjectFailoverIpAttachResult struct { + Block string `pulumi:"block"` + ContinentCode string `pulumi:"continentCode"` + GeoLoc string `pulumi:"geoLoc"` + Id string `pulumi:"id"` + Ip string `pulumi:"ip"` + Progress float64 `pulumi:"progress"` + RoutedTo string `pulumi:"routedTo"` + ServiceName string `pulumi:"serviceName"` + Status string `pulumi:"status"` + SubType string `pulumi:"subType"` +} + +func LookupCloudProjectFailoverIpAttachOutput(ctx *pulumi.Context, args LookupCloudProjectFailoverIpAttachOutputArgs, opts ...pulumi.InvokeOption) LookupCloudProjectFailoverIpAttachResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (LookupCloudProjectFailoverIpAttachResult, error) { + args := v.(LookupCloudProjectFailoverIpAttachArgs) + r, err := LookupCloudProjectFailoverIpAttach(ctx, &args, opts...) + var s LookupCloudProjectFailoverIpAttachResult + if r != nil { + s = *r + } + return s, err + }).(LookupCloudProjectFailoverIpAttachResultOutput) +} + +// A collection of arguments for invoking getCloudProjectFailoverIpAttach. +type LookupCloudProjectFailoverIpAttachOutputArgs struct { + Block pulumi.StringPtrInput `pulumi:"block"` + ContinentCode pulumi.StringPtrInput `pulumi:"continentCode"` + GeoLoc pulumi.StringPtrInput `pulumi:"geoLoc"` + Ip pulumi.StringPtrInput `pulumi:"ip"` + RoutedTo pulumi.StringPtrInput `pulumi:"routedTo"` + ServiceName pulumi.StringInput `pulumi:"serviceName"` +} + +func (LookupCloudProjectFailoverIpAttachOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LookupCloudProjectFailoverIpAttachArgs)(nil)).Elem() +} + +// A collection of values returned by getCloudProjectFailoverIpAttach. +type LookupCloudProjectFailoverIpAttachResultOutput struct{ *pulumi.OutputState } + +func (LookupCloudProjectFailoverIpAttachResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LookupCloudProjectFailoverIpAttachResult)(nil)).Elem() +} + +func (o LookupCloudProjectFailoverIpAttachResultOutput) ToLookupCloudProjectFailoverIpAttachResultOutput() LookupCloudProjectFailoverIpAttachResultOutput { + return o +} + +func (o LookupCloudProjectFailoverIpAttachResultOutput) ToLookupCloudProjectFailoverIpAttachResultOutputWithContext(ctx context.Context) LookupCloudProjectFailoverIpAttachResultOutput { + return o +} + +func (o LookupCloudProjectFailoverIpAttachResultOutput) Block() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectFailoverIpAttachResult) string { return v.Block }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectFailoverIpAttachResultOutput) ContinentCode() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectFailoverIpAttachResult) string { return v.ContinentCode }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectFailoverIpAttachResultOutput) GeoLoc() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectFailoverIpAttachResult) string { return v.GeoLoc }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectFailoverIpAttachResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectFailoverIpAttachResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectFailoverIpAttachResultOutput) Ip() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectFailoverIpAttachResult) string { return v.Ip }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectFailoverIpAttachResultOutput) Progress() pulumi.Float64Output { + return o.ApplyT(func(v LookupCloudProjectFailoverIpAttachResult) float64 { return v.Progress }).(pulumi.Float64Output) +} + +func (o LookupCloudProjectFailoverIpAttachResultOutput) RoutedTo() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectFailoverIpAttachResult) string { return v.RoutedTo }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectFailoverIpAttachResultOutput) ServiceName() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectFailoverIpAttachResult) string { return v.ServiceName }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectFailoverIpAttachResultOutput) Status() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectFailoverIpAttachResult) string { return v.Status }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectFailoverIpAttachResultOutput) SubType() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectFailoverIpAttachResult) string { return v.SubType }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(LookupCloudProjectFailoverIpAttachResultOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectGatewayInterface.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectGatewayInterface.go new file mode 100644 index 00000000..20ece187 --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectGatewayInterface.go @@ -0,0 +1,117 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func LookupCloudProjectGatewayInterface(ctx *pulumi.Context, args *LookupCloudProjectGatewayInterfaceArgs, opts ...pulumi.InvokeOption) (*LookupCloudProjectGatewayInterfaceResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var rv LookupCloudProjectGatewayInterfaceResult + err = ctx.InvokePackage("ovh:index/getCloudProjectGatewayInterface:getCloudProjectGatewayInterface", args, &rv, ref, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getCloudProjectGatewayInterface. +type LookupCloudProjectGatewayInterfaceArgs struct { + Id string `pulumi:"id"` + InterfaceId string `pulumi:"interfaceId"` + Region string `pulumi:"region"` + ServiceName string `pulumi:"serviceName"` +} + +// A collection of values returned by getCloudProjectGatewayInterface. +type LookupCloudProjectGatewayInterfaceResult struct { + Id string `pulumi:"id"` + InterfaceId string `pulumi:"interfaceId"` + Ip string `pulumi:"ip"` + NetworkId string `pulumi:"networkId"` + Region string `pulumi:"region"` + ServiceName string `pulumi:"serviceName"` + SubnetId string `pulumi:"subnetId"` +} + +func LookupCloudProjectGatewayInterfaceOutput(ctx *pulumi.Context, args LookupCloudProjectGatewayInterfaceOutputArgs, opts ...pulumi.InvokeOption) LookupCloudProjectGatewayInterfaceResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (LookupCloudProjectGatewayInterfaceResult, error) { + args := v.(LookupCloudProjectGatewayInterfaceArgs) + r, err := LookupCloudProjectGatewayInterface(ctx, &args, opts...) + var s LookupCloudProjectGatewayInterfaceResult + if r != nil { + s = *r + } + return s, err + }).(LookupCloudProjectGatewayInterfaceResultOutput) +} + +// A collection of arguments for invoking getCloudProjectGatewayInterface. +type LookupCloudProjectGatewayInterfaceOutputArgs struct { + Id pulumi.StringInput `pulumi:"id"` + InterfaceId pulumi.StringInput `pulumi:"interfaceId"` + Region pulumi.StringInput `pulumi:"region"` + ServiceName pulumi.StringInput `pulumi:"serviceName"` +} + +func (LookupCloudProjectGatewayInterfaceOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LookupCloudProjectGatewayInterfaceArgs)(nil)).Elem() +} + +// A collection of values returned by getCloudProjectGatewayInterface. +type LookupCloudProjectGatewayInterfaceResultOutput struct{ *pulumi.OutputState } + +func (LookupCloudProjectGatewayInterfaceResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LookupCloudProjectGatewayInterfaceResult)(nil)).Elem() +} + +func (o LookupCloudProjectGatewayInterfaceResultOutput) ToLookupCloudProjectGatewayInterfaceResultOutput() LookupCloudProjectGatewayInterfaceResultOutput { + return o +} + +func (o LookupCloudProjectGatewayInterfaceResultOutput) ToLookupCloudProjectGatewayInterfaceResultOutputWithContext(ctx context.Context) LookupCloudProjectGatewayInterfaceResultOutput { + return o +} + +func (o LookupCloudProjectGatewayInterfaceResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectGatewayInterfaceResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectGatewayInterfaceResultOutput) InterfaceId() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectGatewayInterfaceResult) string { return v.InterfaceId }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectGatewayInterfaceResultOutput) Ip() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectGatewayInterfaceResult) string { return v.Ip }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectGatewayInterfaceResultOutput) NetworkId() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectGatewayInterfaceResult) string { return v.NetworkId }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectGatewayInterfaceResultOutput) Region() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectGatewayInterfaceResult) string { return v.Region }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectGatewayInterfaceResultOutput) ServiceName() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectGatewayInterfaceResult) string { return v.ServiceName }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectGatewayInterfaceResultOutput) SubnetId() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectGatewayInterfaceResult) string { return v.SubnetId }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(LookupCloudProjectGatewayInterfaceResultOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectKube.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectKube.go new file mode 100644 index 00000000..1b5dba90 --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectKube.go @@ -0,0 +1,204 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func LookupCloudProjectKube(ctx *pulumi.Context, args *LookupCloudProjectKubeArgs, opts ...pulumi.InvokeOption) (*LookupCloudProjectKubeResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var rv LookupCloudProjectKubeResult + err = ctx.InvokePackage("ovh:index/getCloudProjectKube:getCloudProjectKube", args, &rv, ref, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getCloudProjectKube. +type LookupCloudProjectKubeArgs struct { + CustomizationApiservers []GetCloudProjectKubeCustomizationApiserver `pulumi:"customizationApiservers"` + CustomizationKubeProxy *GetCloudProjectKubeCustomizationKubeProxy `pulumi:"customizationKubeProxy"` + // Deprecated: Deprecated + Customizations []GetCloudProjectKubeCustomization `pulumi:"customizations"` + Id *string `pulumi:"id"` + KubeId string `pulumi:"kubeId"` + KubeProxyMode *string `pulumi:"kubeProxyMode"` + Name *string `pulumi:"name"` + Region *string `pulumi:"region"` + ServiceName *string `pulumi:"serviceName"` + UpdatePolicy *string `pulumi:"updatePolicy"` + Version *string `pulumi:"version"` +} + +// A collection of values returned by getCloudProjectKube. +type LookupCloudProjectKubeResult struct { + ControlPlaneIsUpToDate bool `pulumi:"controlPlaneIsUpToDate"` + CustomizationApiservers []GetCloudProjectKubeCustomizationApiserver `pulumi:"customizationApiservers"` + CustomizationKubeProxy *GetCloudProjectKubeCustomizationKubeProxy `pulumi:"customizationKubeProxy"` + // Deprecated: Deprecated + Customizations []GetCloudProjectKubeCustomization `pulumi:"customizations"` + Id string `pulumi:"id"` + IsUpToDate bool `pulumi:"isUpToDate"` + KubeId string `pulumi:"kubeId"` + KubeProxyMode *string `pulumi:"kubeProxyMode"` + LoadBalancersSubnetId string `pulumi:"loadBalancersSubnetId"` + Name *string `pulumi:"name"` + NextUpgradeVersions []string `pulumi:"nextUpgradeVersions"` + NodesSubnetId string `pulumi:"nodesSubnetId"` + NodesUrl string `pulumi:"nodesUrl"` + PrivateNetworkId string `pulumi:"privateNetworkId"` + Region *string `pulumi:"region"` + ServiceName *string `pulumi:"serviceName"` + Status string `pulumi:"status"` + UpdatePolicy *string `pulumi:"updatePolicy"` + Url string `pulumi:"url"` + Version *string `pulumi:"version"` +} + +func LookupCloudProjectKubeOutput(ctx *pulumi.Context, args LookupCloudProjectKubeOutputArgs, opts ...pulumi.InvokeOption) LookupCloudProjectKubeResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (LookupCloudProjectKubeResult, error) { + args := v.(LookupCloudProjectKubeArgs) + r, err := LookupCloudProjectKube(ctx, &args, opts...) + var s LookupCloudProjectKubeResult + if r != nil { + s = *r + } + return s, err + }).(LookupCloudProjectKubeResultOutput) +} + +// A collection of arguments for invoking getCloudProjectKube. +type LookupCloudProjectKubeOutputArgs struct { + CustomizationApiservers GetCloudProjectKubeCustomizationApiserverArrayInput `pulumi:"customizationApiservers"` + CustomizationKubeProxy GetCloudProjectKubeCustomizationKubeProxyPtrInput `pulumi:"customizationKubeProxy"` + // Deprecated: Deprecated + Customizations GetCloudProjectKubeCustomizationArrayInput `pulumi:"customizations"` + Id pulumi.StringPtrInput `pulumi:"id"` + KubeId pulumi.StringInput `pulumi:"kubeId"` + KubeProxyMode pulumi.StringPtrInput `pulumi:"kubeProxyMode"` + Name pulumi.StringPtrInput `pulumi:"name"` + Region pulumi.StringPtrInput `pulumi:"region"` + ServiceName pulumi.StringPtrInput `pulumi:"serviceName"` + UpdatePolicy pulumi.StringPtrInput `pulumi:"updatePolicy"` + Version pulumi.StringPtrInput `pulumi:"version"` +} + +func (LookupCloudProjectKubeOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LookupCloudProjectKubeArgs)(nil)).Elem() +} + +// A collection of values returned by getCloudProjectKube. +type LookupCloudProjectKubeResultOutput struct{ *pulumi.OutputState } + +func (LookupCloudProjectKubeResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LookupCloudProjectKubeResult)(nil)).Elem() +} + +func (o LookupCloudProjectKubeResultOutput) ToLookupCloudProjectKubeResultOutput() LookupCloudProjectKubeResultOutput { + return o +} + +func (o LookupCloudProjectKubeResultOutput) ToLookupCloudProjectKubeResultOutputWithContext(ctx context.Context) LookupCloudProjectKubeResultOutput { + return o +} + +func (o LookupCloudProjectKubeResultOutput) ControlPlaneIsUpToDate() pulumi.BoolOutput { + return o.ApplyT(func(v LookupCloudProjectKubeResult) bool { return v.ControlPlaneIsUpToDate }).(pulumi.BoolOutput) +} + +func (o LookupCloudProjectKubeResultOutput) CustomizationApiservers() GetCloudProjectKubeCustomizationApiserverArrayOutput { + return o.ApplyT(func(v LookupCloudProjectKubeResult) []GetCloudProjectKubeCustomizationApiserver { + return v.CustomizationApiservers + }).(GetCloudProjectKubeCustomizationApiserverArrayOutput) +} + +func (o LookupCloudProjectKubeResultOutput) CustomizationKubeProxy() GetCloudProjectKubeCustomizationKubeProxyPtrOutput { + return o.ApplyT(func(v LookupCloudProjectKubeResult) *GetCloudProjectKubeCustomizationKubeProxy { + return v.CustomizationKubeProxy + }).(GetCloudProjectKubeCustomizationKubeProxyPtrOutput) +} + +// Deprecated: Deprecated +func (o LookupCloudProjectKubeResultOutput) Customizations() GetCloudProjectKubeCustomizationArrayOutput { + return o.ApplyT(func(v LookupCloudProjectKubeResult) []GetCloudProjectKubeCustomization { return v.Customizations }).(GetCloudProjectKubeCustomizationArrayOutput) +} + +func (o LookupCloudProjectKubeResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectKubeResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectKubeResultOutput) IsUpToDate() pulumi.BoolOutput { + return o.ApplyT(func(v LookupCloudProjectKubeResult) bool { return v.IsUpToDate }).(pulumi.BoolOutput) +} + +func (o LookupCloudProjectKubeResultOutput) KubeId() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectKubeResult) string { return v.KubeId }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectKubeResultOutput) KubeProxyMode() pulumi.StringPtrOutput { + return o.ApplyT(func(v LookupCloudProjectKubeResult) *string { return v.KubeProxyMode }).(pulumi.StringPtrOutput) +} + +func (o LookupCloudProjectKubeResultOutput) LoadBalancersSubnetId() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectKubeResult) string { return v.LoadBalancersSubnetId }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectKubeResultOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v LookupCloudProjectKubeResult) *string { return v.Name }).(pulumi.StringPtrOutput) +} + +func (o LookupCloudProjectKubeResultOutput) NextUpgradeVersions() pulumi.StringArrayOutput { + return o.ApplyT(func(v LookupCloudProjectKubeResult) []string { return v.NextUpgradeVersions }).(pulumi.StringArrayOutput) +} + +func (o LookupCloudProjectKubeResultOutput) NodesSubnetId() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectKubeResult) string { return v.NodesSubnetId }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectKubeResultOutput) NodesUrl() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectKubeResult) string { return v.NodesUrl }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectKubeResultOutput) PrivateNetworkId() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectKubeResult) string { return v.PrivateNetworkId }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectKubeResultOutput) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v LookupCloudProjectKubeResult) *string { return v.Region }).(pulumi.StringPtrOutput) +} + +func (o LookupCloudProjectKubeResultOutput) ServiceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v LookupCloudProjectKubeResult) *string { return v.ServiceName }).(pulumi.StringPtrOutput) +} + +func (o LookupCloudProjectKubeResultOutput) Status() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectKubeResult) string { return v.Status }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectKubeResultOutput) UpdatePolicy() pulumi.StringPtrOutput { + return o.ApplyT(func(v LookupCloudProjectKubeResult) *string { return v.UpdatePolicy }).(pulumi.StringPtrOutput) +} + +func (o LookupCloudProjectKubeResultOutput) Url() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectKubeResult) string { return v.Url }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectKubeResultOutput) Version() pulumi.StringPtrOutput { + return o.ApplyT(func(v LookupCloudProjectKubeResult) *string { return v.Version }).(pulumi.StringPtrOutput) +} + +func init() { + pulumi.RegisterOutputType(LookupCloudProjectKubeResultOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectKubeIprestrictions.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectKubeIprestrictions.go new file mode 100644 index 00000000..c0a504b9 --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectKubeIprestrictions.go @@ -0,0 +1,100 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func LookupCloudProjectKubeIprestrictions(ctx *pulumi.Context, args *LookupCloudProjectKubeIprestrictionsArgs, opts ...pulumi.InvokeOption) (*LookupCloudProjectKubeIprestrictionsResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var rv LookupCloudProjectKubeIprestrictionsResult + err = ctx.InvokePackage("ovh:index/getCloudProjectKubeIprestrictions:getCloudProjectKubeIprestrictions", args, &rv, ref, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getCloudProjectKubeIprestrictions. +type LookupCloudProjectKubeIprestrictionsArgs struct { + Id *string `pulumi:"id"` + KubeId string `pulumi:"kubeId"` + ServiceName *string `pulumi:"serviceName"` +} + +// A collection of values returned by getCloudProjectKubeIprestrictions. +type LookupCloudProjectKubeIprestrictionsResult struct { + Id string `pulumi:"id"` + Ips []string `pulumi:"ips"` + KubeId string `pulumi:"kubeId"` + ServiceName *string `pulumi:"serviceName"` +} + +func LookupCloudProjectKubeIprestrictionsOutput(ctx *pulumi.Context, args LookupCloudProjectKubeIprestrictionsOutputArgs, opts ...pulumi.InvokeOption) LookupCloudProjectKubeIprestrictionsResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (LookupCloudProjectKubeIprestrictionsResult, error) { + args := v.(LookupCloudProjectKubeIprestrictionsArgs) + r, err := LookupCloudProjectKubeIprestrictions(ctx, &args, opts...) + var s LookupCloudProjectKubeIprestrictionsResult + if r != nil { + s = *r + } + return s, err + }).(LookupCloudProjectKubeIprestrictionsResultOutput) +} + +// A collection of arguments for invoking getCloudProjectKubeIprestrictions. +type LookupCloudProjectKubeIprestrictionsOutputArgs struct { + Id pulumi.StringPtrInput `pulumi:"id"` + KubeId pulumi.StringInput `pulumi:"kubeId"` + ServiceName pulumi.StringPtrInput `pulumi:"serviceName"` +} + +func (LookupCloudProjectKubeIprestrictionsOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LookupCloudProjectKubeIprestrictionsArgs)(nil)).Elem() +} + +// A collection of values returned by getCloudProjectKubeIprestrictions. +type LookupCloudProjectKubeIprestrictionsResultOutput struct{ *pulumi.OutputState } + +func (LookupCloudProjectKubeIprestrictionsResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LookupCloudProjectKubeIprestrictionsResult)(nil)).Elem() +} + +func (o LookupCloudProjectKubeIprestrictionsResultOutput) ToLookupCloudProjectKubeIprestrictionsResultOutput() LookupCloudProjectKubeIprestrictionsResultOutput { + return o +} + +func (o LookupCloudProjectKubeIprestrictionsResultOutput) ToLookupCloudProjectKubeIprestrictionsResultOutputWithContext(ctx context.Context) LookupCloudProjectKubeIprestrictionsResultOutput { + return o +} + +func (o LookupCloudProjectKubeIprestrictionsResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectKubeIprestrictionsResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectKubeIprestrictionsResultOutput) Ips() pulumi.StringArrayOutput { + return o.ApplyT(func(v LookupCloudProjectKubeIprestrictionsResult) []string { return v.Ips }).(pulumi.StringArrayOutput) +} + +func (o LookupCloudProjectKubeIprestrictionsResultOutput) KubeId() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectKubeIprestrictionsResult) string { return v.KubeId }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectKubeIprestrictionsResultOutput) ServiceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v LookupCloudProjectKubeIprestrictionsResult) *string { return v.ServiceName }).(pulumi.StringPtrOutput) +} + +func init() { + pulumi.RegisterOutputType(LookupCloudProjectKubeIprestrictionsResultOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectKubeNodepool.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectKubeNodepool.go new file mode 100644 index 00000000..44b9593d --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectKubeNodepool.go @@ -0,0 +1,206 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func LookupCloudProjectKubeNodepool(ctx *pulumi.Context, args *LookupCloudProjectKubeNodepoolArgs, opts ...pulumi.InvokeOption) (*LookupCloudProjectKubeNodepoolResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var rv LookupCloudProjectKubeNodepoolResult + err = ctx.InvokePackage("ovh:index/getCloudProjectKubeNodepool:getCloudProjectKubeNodepool", args, &rv, ref, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getCloudProjectKubeNodepool. +type LookupCloudProjectKubeNodepoolArgs struct { + Id *string `pulumi:"id"` + KubeId string `pulumi:"kubeId"` + Name string `pulumi:"name"` + ServiceName *string `pulumi:"serviceName"` + Template *GetCloudProjectKubeNodepoolTemplate `pulumi:"template"` +} + +// A collection of values returned by getCloudProjectKubeNodepool. +type LookupCloudProjectKubeNodepoolResult struct { + AntiAffinity bool `pulumi:"antiAffinity"` + Autoscale bool `pulumi:"autoscale"` + AutoscalingScaleDownUnneededTimeSeconds float64 `pulumi:"autoscalingScaleDownUnneededTimeSeconds"` + AutoscalingScaleDownUnreadyTimeSeconds float64 `pulumi:"autoscalingScaleDownUnreadyTimeSeconds"` + AutoscalingScaleDownUtilizationThreshold float64 `pulumi:"autoscalingScaleDownUtilizationThreshold"` + AvailableNodes float64 `pulumi:"availableNodes"` + CreatedAt string `pulumi:"createdAt"` + CurrentNodes float64 `pulumi:"currentNodes"` + DesiredNodes float64 `pulumi:"desiredNodes"` + Flavor string `pulumi:"flavor"` + FlavorName string `pulumi:"flavorName"` + Id string `pulumi:"id"` + KubeId string `pulumi:"kubeId"` + MaxNodes float64 `pulumi:"maxNodes"` + MinNodes float64 `pulumi:"minNodes"` + MonthlyBilled bool `pulumi:"monthlyBilled"` + Name string `pulumi:"name"` + ProjectId string `pulumi:"projectId"` + ServiceName *string `pulumi:"serviceName"` + SizeStatus string `pulumi:"sizeStatus"` + Status string `pulumi:"status"` + Template *GetCloudProjectKubeNodepoolTemplate `pulumi:"template"` + UpToDateNodes float64 `pulumi:"upToDateNodes"` + UpdatedAt string `pulumi:"updatedAt"` +} + +func LookupCloudProjectKubeNodepoolOutput(ctx *pulumi.Context, args LookupCloudProjectKubeNodepoolOutputArgs, opts ...pulumi.InvokeOption) LookupCloudProjectKubeNodepoolResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (LookupCloudProjectKubeNodepoolResult, error) { + args := v.(LookupCloudProjectKubeNodepoolArgs) + r, err := LookupCloudProjectKubeNodepool(ctx, &args, opts...) + var s LookupCloudProjectKubeNodepoolResult + if r != nil { + s = *r + } + return s, err + }).(LookupCloudProjectKubeNodepoolResultOutput) +} + +// A collection of arguments for invoking getCloudProjectKubeNodepool. +type LookupCloudProjectKubeNodepoolOutputArgs struct { + Id pulumi.StringPtrInput `pulumi:"id"` + KubeId pulumi.StringInput `pulumi:"kubeId"` + Name pulumi.StringInput `pulumi:"name"` + ServiceName pulumi.StringPtrInput `pulumi:"serviceName"` + Template GetCloudProjectKubeNodepoolTemplatePtrInput `pulumi:"template"` +} + +func (LookupCloudProjectKubeNodepoolOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LookupCloudProjectKubeNodepoolArgs)(nil)).Elem() +} + +// A collection of values returned by getCloudProjectKubeNodepool. +type LookupCloudProjectKubeNodepoolResultOutput struct{ *pulumi.OutputState } + +func (LookupCloudProjectKubeNodepoolResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LookupCloudProjectKubeNodepoolResult)(nil)).Elem() +} + +func (o LookupCloudProjectKubeNodepoolResultOutput) ToLookupCloudProjectKubeNodepoolResultOutput() LookupCloudProjectKubeNodepoolResultOutput { + return o +} + +func (o LookupCloudProjectKubeNodepoolResultOutput) ToLookupCloudProjectKubeNodepoolResultOutputWithContext(ctx context.Context) LookupCloudProjectKubeNodepoolResultOutput { + return o +} + +func (o LookupCloudProjectKubeNodepoolResultOutput) AntiAffinity() pulumi.BoolOutput { + return o.ApplyT(func(v LookupCloudProjectKubeNodepoolResult) bool { return v.AntiAffinity }).(pulumi.BoolOutput) +} + +func (o LookupCloudProjectKubeNodepoolResultOutput) Autoscale() pulumi.BoolOutput { + return o.ApplyT(func(v LookupCloudProjectKubeNodepoolResult) bool { return v.Autoscale }).(pulumi.BoolOutput) +} + +func (o LookupCloudProjectKubeNodepoolResultOutput) AutoscalingScaleDownUnneededTimeSeconds() pulumi.Float64Output { + return o.ApplyT(func(v LookupCloudProjectKubeNodepoolResult) float64 { return v.AutoscalingScaleDownUnneededTimeSeconds }).(pulumi.Float64Output) +} + +func (o LookupCloudProjectKubeNodepoolResultOutput) AutoscalingScaleDownUnreadyTimeSeconds() pulumi.Float64Output { + return o.ApplyT(func(v LookupCloudProjectKubeNodepoolResult) float64 { return v.AutoscalingScaleDownUnreadyTimeSeconds }).(pulumi.Float64Output) +} + +func (o LookupCloudProjectKubeNodepoolResultOutput) AutoscalingScaleDownUtilizationThreshold() pulumi.Float64Output { + return o.ApplyT(func(v LookupCloudProjectKubeNodepoolResult) float64 { + return v.AutoscalingScaleDownUtilizationThreshold + }).(pulumi.Float64Output) +} + +func (o LookupCloudProjectKubeNodepoolResultOutput) AvailableNodes() pulumi.Float64Output { + return o.ApplyT(func(v LookupCloudProjectKubeNodepoolResult) float64 { return v.AvailableNodes }).(pulumi.Float64Output) +} + +func (o LookupCloudProjectKubeNodepoolResultOutput) CreatedAt() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectKubeNodepoolResult) string { return v.CreatedAt }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectKubeNodepoolResultOutput) CurrentNodes() pulumi.Float64Output { + return o.ApplyT(func(v LookupCloudProjectKubeNodepoolResult) float64 { return v.CurrentNodes }).(pulumi.Float64Output) +} + +func (o LookupCloudProjectKubeNodepoolResultOutput) DesiredNodes() pulumi.Float64Output { + return o.ApplyT(func(v LookupCloudProjectKubeNodepoolResult) float64 { return v.DesiredNodes }).(pulumi.Float64Output) +} + +func (o LookupCloudProjectKubeNodepoolResultOutput) Flavor() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectKubeNodepoolResult) string { return v.Flavor }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectKubeNodepoolResultOutput) FlavorName() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectKubeNodepoolResult) string { return v.FlavorName }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectKubeNodepoolResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectKubeNodepoolResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectKubeNodepoolResultOutput) KubeId() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectKubeNodepoolResult) string { return v.KubeId }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectKubeNodepoolResultOutput) MaxNodes() pulumi.Float64Output { + return o.ApplyT(func(v LookupCloudProjectKubeNodepoolResult) float64 { return v.MaxNodes }).(pulumi.Float64Output) +} + +func (o LookupCloudProjectKubeNodepoolResultOutput) MinNodes() pulumi.Float64Output { + return o.ApplyT(func(v LookupCloudProjectKubeNodepoolResult) float64 { return v.MinNodes }).(pulumi.Float64Output) +} + +func (o LookupCloudProjectKubeNodepoolResultOutput) MonthlyBilled() pulumi.BoolOutput { + return o.ApplyT(func(v LookupCloudProjectKubeNodepoolResult) bool { return v.MonthlyBilled }).(pulumi.BoolOutput) +} + +func (o LookupCloudProjectKubeNodepoolResultOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectKubeNodepoolResult) string { return v.Name }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectKubeNodepoolResultOutput) ProjectId() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectKubeNodepoolResult) string { return v.ProjectId }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectKubeNodepoolResultOutput) ServiceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v LookupCloudProjectKubeNodepoolResult) *string { return v.ServiceName }).(pulumi.StringPtrOutput) +} + +func (o LookupCloudProjectKubeNodepoolResultOutput) SizeStatus() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectKubeNodepoolResult) string { return v.SizeStatus }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectKubeNodepoolResultOutput) Status() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectKubeNodepoolResult) string { return v.Status }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectKubeNodepoolResultOutput) Template() GetCloudProjectKubeNodepoolTemplatePtrOutput { + return o.ApplyT(func(v LookupCloudProjectKubeNodepoolResult) *GetCloudProjectKubeNodepoolTemplate { return v.Template }).(GetCloudProjectKubeNodepoolTemplatePtrOutput) +} + +func (o LookupCloudProjectKubeNodepoolResultOutput) UpToDateNodes() pulumi.Float64Output { + return o.ApplyT(func(v LookupCloudProjectKubeNodepoolResult) float64 { return v.UpToDateNodes }).(pulumi.Float64Output) +} + +func (o LookupCloudProjectKubeNodepoolResultOutput) UpdatedAt() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectKubeNodepoolResult) string { return v.UpdatedAt }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(LookupCloudProjectKubeNodepoolResultOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectKubeNodepoolNodes.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectKubeNodepoolNodes.go new file mode 100644 index 00000000..6ac6f0f2 --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectKubeNodepoolNodes.go @@ -0,0 +1,107 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func GetCloudProjectKubeNodepoolNodes(ctx *pulumi.Context, args *GetCloudProjectKubeNodepoolNodesArgs, opts ...pulumi.InvokeOption) (*GetCloudProjectKubeNodepoolNodesResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var rv GetCloudProjectKubeNodepoolNodesResult + err = ctx.InvokePackage("ovh:index/getCloudProjectKubeNodepoolNodes:getCloudProjectKubeNodepoolNodes", args, &rv, ref, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getCloudProjectKubeNodepoolNodes. +type GetCloudProjectKubeNodepoolNodesArgs struct { + Id *string `pulumi:"id"` + KubeId string `pulumi:"kubeId"` + Name string `pulumi:"name"` + ServiceName *string `pulumi:"serviceName"` +} + +// A collection of values returned by getCloudProjectKubeNodepoolNodes. +type GetCloudProjectKubeNodepoolNodesResult struct { + Id string `pulumi:"id"` + KubeId string `pulumi:"kubeId"` + Name string `pulumi:"name"` + Nodes []GetCloudProjectKubeNodepoolNodesNode `pulumi:"nodes"` + ServiceName *string `pulumi:"serviceName"` +} + +func GetCloudProjectKubeNodepoolNodesOutput(ctx *pulumi.Context, args GetCloudProjectKubeNodepoolNodesOutputArgs, opts ...pulumi.InvokeOption) GetCloudProjectKubeNodepoolNodesResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (GetCloudProjectKubeNodepoolNodesResult, error) { + args := v.(GetCloudProjectKubeNodepoolNodesArgs) + r, err := GetCloudProjectKubeNodepoolNodes(ctx, &args, opts...) + var s GetCloudProjectKubeNodepoolNodesResult + if r != nil { + s = *r + } + return s, err + }).(GetCloudProjectKubeNodepoolNodesResultOutput) +} + +// A collection of arguments for invoking getCloudProjectKubeNodepoolNodes. +type GetCloudProjectKubeNodepoolNodesOutputArgs struct { + Id pulumi.StringPtrInput `pulumi:"id"` + KubeId pulumi.StringInput `pulumi:"kubeId"` + Name pulumi.StringInput `pulumi:"name"` + ServiceName pulumi.StringPtrInput `pulumi:"serviceName"` +} + +func (GetCloudProjectKubeNodepoolNodesOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetCloudProjectKubeNodepoolNodesArgs)(nil)).Elem() +} + +// A collection of values returned by getCloudProjectKubeNodepoolNodes. +type GetCloudProjectKubeNodepoolNodesResultOutput struct{ *pulumi.OutputState } + +func (GetCloudProjectKubeNodepoolNodesResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetCloudProjectKubeNodepoolNodesResult)(nil)).Elem() +} + +func (o GetCloudProjectKubeNodepoolNodesResultOutput) ToGetCloudProjectKubeNodepoolNodesResultOutput() GetCloudProjectKubeNodepoolNodesResultOutput { + return o +} + +func (o GetCloudProjectKubeNodepoolNodesResultOutput) ToGetCloudProjectKubeNodepoolNodesResultOutputWithContext(ctx context.Context) GetCloudProjectKubeNodepoolNodesResultOutput { + return o +} + +func (o GetCloudProjectKubeNodepoolNodesResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectKubeNodepoolNodesResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o GetCloudProjectKubeNodepoolNodesResultOutput) KubeId() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectKubeNodepoolNodesResult) string { return v.KubeId }).(pulumi.StringOutput) +} + +func (o GetCloudProjectKubeNodepoolNodesResultOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectKubeNodepoolNodesResult) string { return v.Name }).(pulumi.StringOutput) +} + +func (o GetCloudProjectKubeNodepoolNodesResultOutput) Nodes() GetCloudProjectKubeNodepoolNodesNodeArrayOutput { + return o.ApplyT(func(v GetCloudProjectKubeNodepoolNodesResult) []GetCloudProjectKubeNodepoolNodesNode { return v.Nodes }).(GetCloudProjectKubeNodepoolNodesNodeArrayOutput) +} + +func (o GetCloudProjectKubeNodepoolNodesResultOutput) ServiceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetCloudProjectKubeNodepoolNodesResult) *string { return v.ServiceName }).(pulumi.StringPtrOutput) +} + +func init() { + pulumi.RegisterOutputType(GetCloudProjectKubeNodepoolNodesResultOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectKubeNodes.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectKubeNodes.go new file mode 100644 index 00000000..94e8d8e3 --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectKubeNodes.go @@ -0,0 +1,100 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func GetCloudProjectKubeNodes(ctx *pulumi.Context, args *GetCloudProjectKubeNodesArgs, opts ...pulumi.InvokeOption) (*GetCloudProjectKubeNodesResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var rv GetCloudProjectKubeNodesResult + err = ctx.InvokePackage("ovh:index/getCloudProjectKubeNodes:getCloudProjectKubeNodes", args, &rv, ref, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getCloudProjectKubeNodes. +type GetCloudProjectKubeNodesArgs struct { + Id *string `pulumi:"id"` + KubeId string `pulumi:"kubeId"` + ServiceName *string `pulumi:"serviceName"` +} + +// A collection of values returned by getCloudProjectKubeNodes. +type GetCloudProjectKubeNodesResult struct { + Id string `pulumi:"id"` + KubeId string `pulumi:"kubeId"` + Nodes []GetCloudProjectKubeNodesNode `pulumi:"nodes"` + ServiceName *string `pulumi:"serviceName"` +} + +func GetCloudProjectKubeNodesOutput(ctx *pulumi.Context, args GetCloudProjectKubeNodesOutputArgs, opts ...pulumi.InvokeOption) GetCloudProjectKubeNodesResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (GetCloudProjectKubeNodesResult, error) { + args := v.(GetCloudProjectKubeNodesArgs) + r, err := GetCloudProjectKubeNodes(ctx, &args, opts...) + var s GetCloudProjectKubeNodesResult + if r != nil { + s = *r + } + return s, err + }).(GetCloudProjectKubeNodesResultOutput) +} + +// A collection of arguments for invoking getCloudProjectKubeNodes. +type GetCloudProjectKubeNodesOutputArgs struct { + Id pulumi.StringPtrInput `pulumi:"id"` + KubeId pulumi.StringInput `pulumi:"kubeId"` + ServiceName pulumi.StringPtrInput `pulumi:"serviceName"` +} + +func (GetCloudProjectKubeNodesOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetCloudProjectKubeNodesArgs)(nil)).Elem() +} + +// A collection of values returned by getCloudProjectKubeNodes. +type GetCloudProjectKubeNodesResultOutput struct{ *pulumi.OutputState } + +func (GetCloudProjectKubeNodesResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetCloudProjectKubeNodesResult)(nil)).Elem() +} + +func (o GetCloudProjectKubeNodesResultOutput) ToGetCloudProjectKubeNodesResultOutput() GetCloudProjectKubeNodesResultOutput { + return o +} + +func (o GetCloudProjectKubeNodesResultOutput) ToGetCloudProjectKubeNodesResultOutputWithContext(ctx context.Context) GetCloudProjectKubeNodesResultOutput { + return o +} + +func (o GetCloudProjectKubeNodesResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectKubeNodesResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o GetCloudProjectKubeNodesResultOutput) KubeId() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectKubeNodesResult) string { return v.KubeId }).(pulumi.StringOutput) +} + +func (o GetCloudProjectKubeNodesResultOutput) Nodes() GetCloudProjectKubeNodesNodeArrayOutput { + return o.ApplyT(func(v GetCloudProjectKubeNodesResult) []GetCloudProjectKubeNodesNode { return v.Nodes }).(GetCloudProjectKubeNodesNodeArrayOutput) +} + +func (o GetCloudProjectKubeNodesResultOutput) ServiceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetCloudProjectKubeNodesResult) *string { return v.ServiceName }).(pulumi.StringPtrOutput) +} + +func init() { + pulumi.RegisterOutputType(GetCloudProjectKubeNodesResultOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectKubeOidc.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectKubeOidc.go new file mode 100644 index 00000000..f373851c --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectKubeOidc.go @@ -0,0 +1,158 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func LookupCloudProjectKubeOidc(ctx *pulumi.Context, args *LookupCloudProjectKubeOidcArgs, opts ...pulumi.InvokeOption) (*LookupCloudProjectKubeOidcResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var rv LookupCloudProjectKubeOidcResult + err = ctx.InvokePackage("ovh:index/getCloudProjectKubeOidc:getCloudProjectKubeOidc", args, &rv, ref, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getCloudProjectKubeOidc. +type LookupCloudProjectKubeOidcArgs struct { + ClientId *string `pulumi:"clientId"` + Id *string `pulumi:"id"` + IssuerUrl *string `pulumi:"issuerUrl"` + KubeId string `pulumi:"kubeId"` + OidcCaContent *string `pulumi:"oidcCaContent"` + OidcGroupsClaims []string `pulumi:"oidcGroupsClaims"` + OidcGroupsPrefix *string `pulumi:"oidcGroupsPrefix"` + OidcRequiredClaims []string `pulumi:"oidcRequiredClaims"` + OidcSigningAlgs []string `pulumi:"oidcSigningAlgs"` + OidcUsernameClaim *string `pulumi:"oidcUsernameClaim"` + OidcUsernamePrefix *string `pulumi:"oidcUsernamePrefix"` + ServiceName *string `pulumi:"serviceName"` +} + +// A collection of values returned by getCloudProjectKubeOidc. +type LookupCloudProjectKubeOidcResult struct { + ClientId *string `pulumi:"clientId"` + Id string `pulumi:"id"` + IssuerUrl *string `pulumi:"issuerUrl"` + KubeId string `pulumi:"kubeId"` + OidcCaContent *string `pulumi:"oidcCaContent"` + OidcGroupsClaims []string `pulumi:"oidcGroupsClaims"` + OidcGroupsPrefix *string `pulumi:"oidcGroupsPrefix"` + OidcRequiredClaims []string `pulumi:"oidcRequiredClaims"` + OidcSigningAlgs []string `pulumi:"oidcSigningAlgs"` + OidcUsernameClaim *string `pulumi:"oidcUsernameClaim"` + OidcUsernamePrefix *string `pulumi:"oidcUsernamePrefix"` + ServiceName *string `pulumi:"serviceName"` +} + +func LookupCloudProjectKubeOidcOutput(ctx *pulumi.Context, args LookupCloudProjectKubeOidcOutputArgs, opts ...pulumi.InvokeOption) LookupCloudProjectKubeOidcResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (LookupCloudProjectKubeOidcResult, error) { + args := v.(LookupCloudProjectKubeOidcArgs) + r, err := LookupCloudProjectKubeOidc(ctx, &args, opts...) + var s LookupCloudProjectKubeOidcResult + if r != nil { + s = *r + } + return s, err + }).(LookupCloudProjectKubeOidcResultOutput) +} + +// A collection of arguments for invoking getCloudProjectKubeOidc. +type LookupCloudProjectKubeOidcOutputArgs struct { + ClientId pulumi.StringPtrInput `pulumi:"clientId"` + Id pulumi.StringPtrInput `pulumi:"id"` + IssuerUrl pulumi.StringPtrInput `pulumi:"issuerUrl"` + KubeId pulumi.StringInput `pulumi:"kubeId"` + OidcCaContent pulumi.StringPtrInput `pulumi:"oidcCaContent"` + OidcGroupsClaims pulumi.StringArrayInput `pulumi:"oidcGroupsClaims"` + OidcGroupsPrefix pulumi.StringPtrInput `pulumi:"oidcGroupsPrefix"` + OidcRequiredClaims pulumi.StringArrayInput `pulumi:"oidcRequiredClaims"` + OidcSigningAlgs pulumi.StringArrayInput `pulumi:"oidcSigningAlgs"` + OidcUsernameClaim pulumi.StringPtrInput `pulumi:"oidcUsernameClaim"` + OidcUsernamePrefix pulumi.StringPtrInput `pulumi:"oidcUsernamePrefix"` + ServiceName pulumi.StringPtrInput `pulumi:"serviceName"` +} + +func (LookupCloudProjectKubeOidcOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LookupCloudProjectKubeOidcArgs)(nil)).Elem() +} + +// A collection of values returned by getCloudProjectKubeOidc. +type LookupCloudProjectKubeOidcResultOutput struct{ *pulumi.OutputState } + +func (LookupCloudProjectKubeOidcResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LookupCloudProjectKubeOidcResult)(nil)).Elem() +} + +func (o LookupCloudProjectKubeOidcResultOutput) ToLookupCloudProjectKubeOidcResultOutput() LookupCloudProjectKubeOidcResultOutput { + return o +} + +func (o LookupCloudProjectKubeOidcResultOutput) ToLookupCloudProjectKubeOidcResultOutputWithContext(ctx context.Context) LookupCloudProjectKubeOidcResultOutput { + return o +} + +func (o LookupCloudProjectKubeOidcResultOutput) ClientId() pulumi.StringPtrOutput { + return o.ApplyT(func(v LookupCloudProjectKubeOidcResult) *string { return v.ClientId }).(pulumi.StringPtrOutput) +} + +func (o LookupCloudProjectKubeOidcResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectKubeOidcResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectKubeOidcResultOutput) IssuerUrl() pulumi.StringPtrOutput { + return o.ApplyT(func(v LookupCloudProjectKubeOidcResult) *string { return v.IssuerUrl }).(pulumi.StringPtrOutput) +} + +func (o LookupCloudProjectKubeOidcResultOutput) KubeId() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectKubeOidcResult) string { return v.KubeId }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectKubeOidcResultOutput) OidcCaContent() pulumi.StringPtrOutput { + return o.ApplyT(func(v LookupCloudProjectKubeOidcResult) *string { return v.OidcCaContent }).(pulumi.StringPtrOutput) +} + +func (o LookupCloudProjectKubeOidcResultOutput) OidcGroupsClaims() pulumi.StringArrayOutput { + return o.ApplyT(func(v LookupCloudProjectKubeOidcResult) []string { return v.OidcGroupsClaims }).(pulumi.StringArrayOutput) +} + +func (o LookupCloudProjectKubeOidcResultOutput) OidcGroupsPrefix() pulumi.StringPtrOutput { + return o.ApplyT(func(v LookupCloudProjectKubeOidcResult) *string { return v.OidcGroupsPrefix }).(pulumi.StringPtrOutput) +} + +func (o LookupCloudProjectKubeOidcResultOutput) OidcRequiredClaims() pulumi.StringArrayOutput { + return o.ApplyT(func(v LookupCloudProjectKubeOidcResult) []string { return v.OidcRequiredClaims }).(pulumi.StringArrayOutput) +} + +func (o LookupCloudProjectKubeOidcResultOutput) OidcSigningAlgs() pulumi.StringArrayOutput { + return o.ApplyT(func(v LookupCloudProjectKubeOidcResult) []string { return v.OidcSigningAlgs }).(pulumi.StringArrayOutput) +} + +func (o LookupCloudProjectKubeOidcResultOutput) OidcUsernameClaim() pulumi.StringPtrOutput { + return o.ApplyT(func(v LookupCloudProjectKubeOidcResult) *string { return v.OidcUsernameClaim }).(pulumi.StringPtrOutput) +} + +func (o LookupCloudProjectKubeOidcResultOutput) OidcUsernamePrefix() pulumi.StringPtrOutput { + return o.ApplyT(func(v LookupCloudProjectKubeOidcResult) *string { return v.OidcUsernamePrefix }).(pulumi.StringPtrOutput) +} + +func (o LookupCloudProjectKubeOidcResultOutput) ServiceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v LookupCloudProjectKubeOidcResult) *string { return v.ServiceName }).(pulumi.StringPtrOutput) +} + +func init() { + pulumi.RegisterOutputType(LookupCloudProjectKubeOidcResultOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectLoadbalancer.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectLoadbalancer.go new file mode 100644 index 00000000..688eb325 --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectLoadbalancer.go @@ -0,0 +1,145 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func GetCloudProjectLoadbalancer(ctx *pulumi.Context, args *GetCloudProjectLoadbalancerArgs, opts ...pulumi.InvokeOption) (*GetCloudProjectLoadbalancerResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var rv GetCloudProjectLoadbalancerResult + err = ctx.InvokePackage("ovh:index/getCloudProjectLoadbalancer:getCloudProjectLoadbalancer", args, &rv, ref, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getCloudProjectLoadbalancer. +type GetCloudProjectLoadbalancerArgs struct { + Id string `pulumi:"id"` + RegionName string `pulumi:"regionName"` + ServiceName string `pulumi:"serviceName"` +} + +// A collection of values returned by getCloudProjectLoadbalancer. +type GetCloudProjectLoadbalancerResult struct { + CreatedAt string `pulumi:"createdAt"` + FlavorId string `pulumi:"flavorId"` + FloatingIp GetCloudProjectLoadbalancerFloatingIp `pulumi:"floatingIp"` + Id string `pulumi:"id"` + Name string `pulumi:"name"` + OperatingStatus string `pulumi:"operatingStatus"` + ProvisioningStatus string `pulumi:"provisioningStatus"` + RegionName string `pulumi:"regionName"` + ServiceName string `pulumi:"serviceName"` + UpdatedAt string `pulumi:"updatedAt"` + VipAddress string `pulumi:"vipAddress"` + VipNetworkId string `pulumi:"vipNetworkId"` + VipSubnetId string `pulumi:"vipSubnetId"` +} + +func GetCloudProjectLoadbalancerOutput(ctx *pulumi.Context, args GetCloudProjectLoadbalancerOutputArgs, opts ...pulumi.InvokeOption) GetCloudProjectLoadbalancerResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (GetCloudProjectLoadbalancerResult, error) { + args := v.(GetCloudProjectLoadbalancerArgs) + r, err := GetCloudProjectLoadbalancer(ctx, &args, opts...) + var s GetCloudProjectLoadbalancerResult + if r != nil { + s = *r + } + return s, err + }).(GetCloudProjectLoadbalancerResultOutput) +} + +// A collection of arguments for invoking getCloudProjectLoadbalancer. +type GetCloudProjectLoadbalancerOutputArgs struct { + Id pulumi.StringInput `pulumi:"id"` + RegionName pulumi.StringInput `pulumi:"regionName"` + ServiceName pulumi.StringInput `pulumi:"serviceName"` +} + +func (GetCloudProjectLoadbalancerOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetCloudProjectLoadbalancerArgs)(nil)).Elem() +} + +// A collection of values returned by getCloudProjectLoadbalancer. +type GetCloudProjectLoadbalancerResultOutput struct{ *pulumi.OutputState } + +func (GetCloudProjectLoadbalancerResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetCloudProjectLoadbalancerResult)(nil)).Elem() +} + +func (o GetCloudProjectLoadbalancerResultOutput) ToGetCloudProjectLoadbalancerResultOutput() GetCloudProjectLoadbalancerResultOutput { + return o +} + +func (o GetCloudProjectLoadbalancerResultOutput) ToGetCloudProjectLoadbalancerResultOutputWithContext(ctx context.Context) GetCloudProjectLoadbalancerResultOutput { + return o +} + +func (o GetCloudProjectLoadbalancerResultOutput) CreatedAt() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectLoadbalancerResult) string { return v.CreatedAt }).(pulumi.StringOutput) +} + +func (o GetCloudProjectLoadbalancerResultOutput) FlavorId() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectLoadbalancerResult) string { return v.FlavorId }).(pulumi.StringOutput) +} + +func (o GetCloudProjectLoadbalancerResultOutput) FloatingIp() GetCloudProjectLoadbalancerFloatingIpOutput { + return o.ApplyT(func(v GetCloudProjectLoadbalancerResult) GetCloudProjectLoadbalancerFloatingIp { return v.FloatingIp }).(GetCloudProjectLoadbalancerFloatingIpOutput) +} + +func (o GetCloudProjectLoadbalancerResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectLoadbalancerResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o GetCloudProjectLoadbalancerResultOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectLoadbalancerResult) string { return v.Name }).(pulumi.StringOutput) +} + +func (o GetCloudProjectLoadbalancerResultOutput) OperatingStatus() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectLoadbalancerResult) string { return v.OperatingStatus }).(pulumi.StringOutput) +} + +func (o GetCloudProjectLoadbalancerResultOutput) ProvisioningStatus() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectLoadbalancerResult) string { return v.ProvisioningStatus }).(pulumi.StringOutput) +} + +func (o GetCloudProjectLoadbalancerResultOutput) RegionName() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectLoadbalancerResult) string { return v.RegionName }).(pulumi.StringOutput) +} + +func (o GetCloudProjectLoadbalancerResultOutput) ServiceName() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectLoadbalancerResult) string { return v.ServiceName }).(pulumi.StringOutput) +} + +func (o GetCloudProjectLoadbalancerResultOutput) UpdatedAt() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectLoadbalancerResult) string { return v.UpdatedAt }).(pulumi.StringOutput) +} + +func (o GetCloudProjectLoadbalancerResultOutput) VipAddress() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectLoadbalancerResult) string { return v.VipAddress }).(pulumi.StringOutput) +} + +func (o GetCloudProjectLoadbalancerResultOutput) VipNetworkId() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectLoadbalancerResult) string { return v.VipNetworkId }).(pulumi.StringOutput) +} + +func (o GetCloudProjectLoadbalancerResultOutput) VipSubnetId() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectLoadbalancerResult) string { return v.VipSubnetId }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(GetCloudProjectLoadbalancerResultOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectLoadbalancers.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectLoadbalancers.go new file mode 100644 index 00000000..8e280aad --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectLoadbalancers.go @@ -0,0 +1,102 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func GetCloudProjectLoadbalancers(ctx *pulumi.Context, args *GetCloudProjectLoadbalancersArgs, opts ...pulumi.InvokeOption) (*GetCloudProjectLoadbalancersResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var rv GetCloudProjectLoadbalancersResult + err = ctx.InvokePackage("ovh:index/getCloudProjectLoadbalancers:getCloudProjectLoadbalancers", args, &rv, ref, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getCloudProjectLoadbalancers. +type GetCloudProjectLoadbalancersArgs struct { + RegionName string `pulumi:"regionName"` + ServiceName string `pulumi:"serviceName"` +} + +// A collection of values returned by getCloudProjectLoadbalancers. +type GetCloudProjectLoadbalancersResult struct { + // The provider-assigned unique ID for this managed resource. + Id string `pulumi:"id"` + Loadbalancers []GetCloudProjectLoadbalancersLoadbalancer `pulumi:"loadbalancers"` + RegionName string `pulumi:"regionName"` + ServiceName string `pulumi:"serviceName"` +} + +func GetCloudProjectLoadbalancersOutput(ctx *pulumi.Context, args GetCloudProjectLoadbalancersOutputArgs, opts ...pulumi.InvokeOption) GetCloudProjectLoadbalancersResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (GetCloudProjectLoadbalancersResult, error) { + args := v.(GetCloudProjectLoadbalancersArgs) + r, err := GetCloudProjectLoadbalancers(ctx, &args, opts...) + var s GetCloudProjectLoadbalancersResult + if r != nil { + s = *r + } + return s, err + }).(GetCloudProjectLoadbalancersResultOutput) +} + +// A collection of arguments for invoking getCloudProjectLoadbalancers. +type GetCloudProjectLoadbalancersOutputArgs struct { + RegionName pulumi.StringInput `pulumi:"regionName"` + ServiceName pulumi.StringInput `pulumi:"serviceName"` +} + +func (GetCloudProjectLoadbalancersOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetCloudProjectLoadbalancersArgs)(nil)).Elem() +} + +// A collection of values returned by getCloudProjectLoadbalancers. +type GetCloudProjectLoadbalancersResultOutput struct{ *pulumi.OutputState } + +func (GetCloudProjectLoadbalancersResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetCloudProjectLoadbalancersResult)(nil)).Elem() +} + +func (o GetCloudProjectLoadbalancersResultOutput) ToGetCloudProjectLoadbalancersResultOutput() GetCloudProjectLoadbalancersResultOutput { + return o +} + +func (o GetCloudProjectLoadbalancersResultOutput) ToGetCloudProjectLoadbalancersResultOutputWithContext(ctx context.Context) GetCloudProjectLoadbalancersResultOutput { + return o +} + +// The provider-assigned unique ID for this managed resource. +func (o GetCloudProjectLoadbalancersResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectLoadbalancersResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o GetCloudProjectLoadbalancersResultOutput) Loadbalancers() GetCloudProjectLoadbalancersLoadbalancerArrayOutput { + return o.ApplyT(func(v GetCloudProjectLoadbalancersResult) []GetCloudProjectLoadbalancersLoadbalancer { + return v.Loadbalancers + }).(GetCloudProjectLoadbalancersLoadbalancerArrayOutput) +} + +func (o GetCloudProjectLoadbalancersResultOutput) RegionName() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectLoadbalancersResult) string { return v.RegionName }).(pulumi.StringOutput) +} + +func (o GetCloudProjectLoadbalancersResultOutput) ServiceName() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectLoadbalancersResult) string { return v.ServiceName }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(GetCloudProjectLoadbalancersResultOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectRegion.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectRegion.go new file mode 100644 index 00000000..8c3fcaa2 --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectRegion.go @@ -0,0 +1,110 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func GetCloudProjectRegion(ctx *pulumi.Context, args *GetCloudProjectRegionArgs, opts ...pulumi.InvokeOption) (*GetCloudProjectRegionResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var rv GetCloudProjectRegionResult + err = ctx.InvokePackage("ovh:index/getCloudProjectRegion:getCloudProjectRegion", args, &rv, ref, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getCloudProjectRegion. +type GetCloudProjectRegionArgs struct { + Id *string `pulumi:"id"` + Name string `pulumi:"name"` + ServiceName *string `pulumi:"serviceName"` +} + +// A collection of values returned by getCloudProjectRegion. +type GetCloudProjectRegionResult struct { + ContinentCode string `pulumi:"continentCode"` + DatacenterLocation string `pulumi:"datacenterLocation"` + Id string `pulumi:"id"` + Name string `pulumi:"name"` + ServiceName *string `pulumi:"serviceName"` + Services []GetCloudProjectRegionService `pulumi:"services"` +} + +func GetCloudProjectRegionOutput(ctx *pulumi.Context, args GetCloudProjectRegionOutputArgs, opts ...pulumi.InvokeOption) GetCloudProjectRegionResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (GetCloudProjectRegionResult, error) { + args := v.(GetCloudProjectRegionArgs) + r, err := GetCloudProjectRegion(ctx, &args, opts...) + var s GetCloudProjectRegionResult + if r != nil { + s = *r + } + return s, err + }).(GetCloudProjectRegionResultOutput) +} + +// A collection of arguments for invoking getCloudProjectRegion. +type GetCloudProjectRegionOutputArgs struct { + Id pulumi.StringPtrInput `pulumi:"id"` + Name pulumi.StringInput `pulumi:"name"` + ServiceName pulumi.StringPtrInput `pulumi:"serviceName"` +} + +func (GetCloudProjectRegionOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetCloudProjectRegionArgs)(nil)).Elem() +} + +// A collection of values returned by getCloudProjectRegion. +type GetCloudProjectRegionResultOutput struct{ *pulumi.OutputState } + +func (GetCloudProjectRegionResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetCloudProjectRegionResult)(nil)).Elem() +} + +func (o GetCloudProjectRegionResultOutput) ToGetCloudProjectRegionResultOutput() GetCloudProjectRegionResultOutput { + return o +} + +func (o GetCloudProjectRegionResultOutput) ToGetCloudProjectRegionResultOutputWithContext(ctx context.Context) GetCloudProjectRegionResultOutput { + return o +} + +func (o GetCloudProjectRegionResultOutput) ContinentCode() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectRegionResult) string { return v.ContinentCode }).(pulumi.StringOutput) +} + +func (o GetCloudProjectRegionResultOutput) DatacenterLocation() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectRegionResult) string { return v.DatacenterLocation }).(pulumi.StringOutput) +} + +func (o GetCloudProjectRegionResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectRegionResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o GetCloudProjectRegionResultOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectRegionResult) string { return v.Name }).(pulumi.StringOutput) +} + +func (o GetCloudProjectRegionResultOutput) ServiceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetCloudProjectRegionResult) *string { return v.ServiceName }).(pulumi.StringPtrOutput) +} + +func (o GetCloudProjectRegionResultOutput) Services() GetCloudProjectRegionServiceArrayOutput { + return o.ApplyT(func(v GetCloudProjectRegionResult) []GetCloudProjectRegionService { return v.Services }).(GetCloudProjectRegionServiceArrayOutput) +} + +func init() { + pulumi.RegisterOutputType(GetCloudProjectRegionResultOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectRegionLoadbalancerLogSubscription.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectRegionLoadbalancerLogSubscription.go new file mode 100644 index 00000000..7103fc0b --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectRegionLoadbalancerLogSubscription.go @@ -0,0 +1,144 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func LookupCloudProjectRegionLoadbalancerLogSubscription(ctx *pulumi.Context, args *LookupCloudProjectRegionLoadbalancerLogSubscriptionArgs, opts ...pulumi.InvokeOption) (*LookupCloudProjectRegionLoadbalancerLogSubscriptionResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var rv LookupCloudProjectRegionLoadbalancerLogSubscriptionResult + err = ctx.InvokePackage("ovh:index/getCloudProjectRegionLoadbalancerLogSubscription:getCloudProjectRegionLoadbalancerLogSubscription", args, &rv, ref, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getCloudProjectRegionLoadbalancerLogSubscription. +type LookupCloudProjectRegionLoadbalancerLogSubscriptionArgs struct { + Id *string `pulumi:"id"` + LoadbalancerId string `pulumi:"loadbalancerId"` + RegionName string `pulumi:"regionName"` + ServiceName *string `pulumi:"serviceName"` + SubscriptionId string `pulumi:"subscriptionId"` +} + +// A collection of values returned by getCloudProjectRegionLoadbalancerLogSubscription. +type LookupCloudProjectRegionLoadbalancerLogSubscriptionResult struct { + CreatedAt string `pulumi:"createdAt"` + Id string `pulumi:"id"` + Kind string `pulumi:"kind"` + LdpServiceName string `pulumi:"ldpServiceName"` + LoadbalancerId string `pulumi:"loadbalancerId"` + RegionName string `pulumi:"regionName"` + ResourceName string `pulumi:"resourceName"` + ResourceType string `pulumi:"resourceType"` + ServiceName *string `pulumi:"serviceName"` + StreamId string `pulumi:"streamId"` + SubscriptionId string `pulumi:"subscriptionId"` + UpdatedAt string `pulumi:"updatedAt"` +} + +func LookupCloudProjectRegionLoadbalancerLogSubscriptionOutput(ctx *pulumi.Context, args LookupCloudProjectRegionLoadbalancerLogSubscriptionOutputArgs, opts ...pulumi.InvokeOption) LookupCloudProjectRegionLoadbalancerLogSubscriptionResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (LookupCloudProjectRegionLoadbalancerLogSubscriptionResult, error) { + args := v.(LookupCloudProjectRegionLoadbalancerLogSubscriptionArgs) + r, err := LookupCloudProjectRegionLoadbalancerLogSubscription(ctx, &args, opts...) + var s LookupCloudProjectRegionLoadbalancerLogSubscriptionResult + if r != nil { + s = *r + } + return s, err + }).(LookupCloudProjectRegionLoadbalancerLogSubscriptionResultOutput) +} + +// A collection of arguments for invoking getCloudProjectRegionLoadbalancerLogSubscription. +type LookupCloudProjectRegionLoadbalancerLogSubscriptionOutputArgs struct { + Id pulumi.StringPtrInput `pulumi:"id"` + LoadbalancerId pulumi.StringInput `pulumi:"loadbalancerId"` + RegionName pulumi.StringInput `pulumi:"regionName"` + ServiceName pulumi.StringPtrInput `pulumi:"serviceName"` + SubscriptionId pulumi.StringInput `pulumi:"subscriptionId"` +} + +func (LookupCloudProjectRegionLoadbalancerLogSubscriptionOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LookupCloudProjectRegionLoadbalancerLogSubscriptionArgs)(nil)).Elem() +} + +// A collection of values returned by getCloudProjectRegionLoadbalancerLogSubscription. +type LookupCloudProjectRegionLoadbalancerLogSubscriptionResultOutput struct{ *pulumi.OutputState } + +func (LookupCloudProjectRegionLoadbalancerLogSubscriptionResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LookupCloudProjectRegionLoadbalancerLogSubscriptionResult)(nil)).Elem() +} + +func (o LookupCloudProjectRegionLoadbalancerLogSubscriptionResultOutput) ToLookupCloudProjectRegionLoadbalancerLogSubscriptionResultOutput() LookupCloudProjectRegionLoadbalancerLogSubscriptionResultOutput { + return o +} + +func (o LookupCloudProjectRegionLoadbalancerLogSubscriptionResultOutput) ToLookupCloudProjectRegionLoadbalancerLogSubscriptionResultOutputWithContext(ctx context.Context) LookupCloudProjectRegionLoadbalancerLogSubscriptionResultOutput { + return o +} + +func (o LookupCloudProjectRegionLoadbalancerLogSubscriptionResultOutput) CreatedAt() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectRegionLoadbalancerLogSubscriptionResult) string { return v.CreatedAt }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectRegionLoadbalancerLogSubscriptionResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectRegionLoadbalancerLogSubscriptionResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectRegionLoadbalancerLogSubscriptionResultOutput) Kind() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectRegionLoadbalancerLogSubscriptionResult) string { return v.Kind }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectRegionLoadbalancerLogSubscriptionResultOutput) LdpServiceName() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectRegionLoadbalancerLogSubscriptionResult) string { return v.LdpServiceName }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectRegionLoadbalancerLogSubscriptionResultOutput) LoadbalancerId() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectRegionLoadbalancerLogSubscriptionResult) string { return v.LoadbalancerId }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectRegionLoadbalancerLogSubscriptionResultOutput) RegionName() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectRegionLoadbalancerLogSubscriptionResult) string { return v.RegionName }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectRegionLoadbalancerLogSubscriptionResultOutput) ResourceName() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectRegionLoadbalancerLogSubscriptionResult) string { return v.ResourceName }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectRegionLoadbalancerLogSubscriptionResultOutput) ResourceType() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectRegionLoadbalancerLogSubscriptionResult) string { return v.ResourceType }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectRegionLoadbalancerLogSubscriptionResultOutput) ServiceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v LookupCloudProjectRegionLoadbalancerLogSubscriptionResult) *string { return v.ServiceName }).(pulumi.StringPtrOutput) +} + +func (o LookupCloudProjectRegionLoadbalancerLogSubscriptionResultOutput) StreamId() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectRegionLoadbalancerLogSubscriptionResult) string { return v.StreamId }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectRegionLoadbalancerLogSubscriptionResultOutput) SubscriptionId() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectRegionLoadbalancerLogSubscriptionResult) string { return v.SubscriptionId }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectRegionLoadbalancerLogSubscriptionResultOutput) UpdatedAt() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectRegionLoadbalancerLogSubscriptionResult) string { return v.UpdatedAt }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(LookupCloudProjectRegionLoadbalancerLogSubscriptionResultOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectRegionLoadbalancerLogSubscriptions.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectRegionLoadbalancerLogSubscriptions.go new file mode 100644 index 00000000..e6099640 --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectRegionLoadbalancerLogSubscriptions.go @@ -0,0 +1,114 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func GetCloudProjectRegionLoadbalancerLogSubscriptions(ctx *pulumi.Context, args *GetCloudProjectRegionLoadbalancerLogSubscriptionsArgs, opts ...pulumi.InvokeOption) (*GetCloudProjectRegionLoadbalancerLogSubscriptionsResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var rv GetCloudProjectRegionLoadbalancerLogSubscriptionsResult + err = ctx.InvokePackage("ovh:index/getCloudProjectRegionLoadbalancerLogSubscriptions:getCloudProjectRegionLoadbalancerLogSubscriptions", args, &rv, ref, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getCloudProjectRegionLoadbalancerLogSubscriptions. +type GetCloudProjectRegionLoadbalancerLogSubscriptionsArgs struct { + Id *string `pulumi:"id"` + Kind *string `pulumi:"kind"` + LoadbalancerId string `pulumi:"loadbalancerId"` + RegionName string `pulumi:"regionName"` + ServiceName *string `pulumi:"serviceName"` +} + +// A collection of values returned by getCloudProjectRegionLoadbalancerLogSubscriptions. +type GetCloudProjectRegionLoadbalancerLogSubscriptionsResult struct { + Id string `pulumi:"id"` + Kind *string `pulumi:"kind"` + LoadbalancerId string `pulumi:"loadbalancerId"` + RegionName string `pulumi:"regionName"` + ServiceName *string `pulumi:"serviceName"` + SubscriptionIds []string `pulumi:"subscriptionIds"` +} + +func GetCloudProjectRegionLoadbalancerLogSubscriptionsOutput(ctx *pulumi.Context, args GetCloudProjectRegionLoadbalancerLogSubscriptionsOutputArgs, opts ...pulumi.InvokeOption) GetCloudProjectRegionLoadbalancerLogSubscriptionsResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (GetCloudProjectRegionLoadbalancerLogSubscriptionsResult, error) { + args := v.(GetCloudProjectRegionLoadbalancerLogSubscriptionsArgs) + r, err := GetCloudProjectRegionLoadbalancerLogSubscriptions(ctx, &args, opts...) + var s GetCloudProjectRegionLoadbalancerLogSubscriptionsResult + if r != nil { + s = *r + } + return s, err + }).(GetCloudProjectRegionLoadbalancerLogSubscriptionsResultOutput) +} + +// A collection of arguments for invoking getCloudProjectRegionLoadbalancerLogSubscriptions. +type GetCloudProjectRegionLoadbalancerLogSubscriptionsOutputArgs struct { + Id pulumi.StringPtrInput `pulumi:"id"` + Kind pulumi.StringPtrInput `pulumi:"kind"` + LoadbalancerId pulumi.StringInput `pulumi:"loadbalancerId"` + RegionName pulumi.StringInput `pulumi:"regionName"` + ServiceName pulumi.StringPtrInput `pulumi:"serviceName"` +} + +func (GetCloudProjectRegionLoadbalancerLogSubscriptionsOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetCloudProjectRegionLoadbalancerLogSubscriptionsArgs)(nil)).Elem() +} + +// A collection of values returned by getCloudProjectRegionLoadbalancerLogSubscriptions. +type GetCloudProjectRegionLoadbalancerLogSubscriptionsResultOutput struct{ *pulumi.OutputState } + +func (GetCloudProjectRegionLoadbalancerLogSubscriptionsResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetCloudProjectRegionLoadbalancerLogSubscriptionsResult)(nil)).Elem() +} + +func (o GetCloudProjectRegionLoadbalancerLogSubscriptionsResultOutput) ToGetCloudProjectRegionLoadbalancerLogSubscriptionsResultOutput() GetCloudProjectRegionLoadbalancerLogSubscriptionsResultOutput { + return o +} + +func (o GetCloudProjectRegionLoadbalancerLogSubscriptionsResultOutput) ToGetCloudProjectRegionLoadbalancerLogSubscriptionsResultOutputWithContext(ctx context.Context) GetCloudProjectRegionLoadbalancerLogSubscriptionsResultOutput { + return o +} + +func (o GetCloudProjectRegionLoadbalancerLogSubscriptionsResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectRegionLoadbalancerLogSubscriptionsResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o GetCloudProjectRegionLoadbalancerLogSubscriptionsResultOutput) Kind() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetCloudProjectRegionLoadbalancerLogSubscriptionsResult) *string { return v.Kind }).(pulumi.StringPtrOutput) +} + +func (o GetCloudProjectRegionLoadbalancerLogSubscriptionsResultOutput) LoadbalancerId() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectRegionLoadbalancerLogSubscriptionsResult) string { return v.LoadbalancerId }).(pulumi.StringOutput) +} + +func (o GetCloudProjectRegionLoadbalancerLogSubscriptionsResultOutput) RegionName() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectRegionLoadbalancerLogSubscriptionsResult) string { return v.RegionName }).(pulumi.StringOutput) +} + +func (o GetCloudProjectRegionLoadbalancerLogSubscriptionsResultOutput) ServiceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetCloudProjectRegionLoadbalancerLogSubscriptionsResult) *string { return v.ServiceName }).(pulumi.StringPtrOutput) +} + +func (o GetCloudProjectRegionLoadbalancerLogSubscriptionsResultOutput) SubscriptionIds() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetCloudProjectRegionLoadbalancerLogSubscriptionsResult) []string { return v.SubscriptionIds }).(pulumi.StringArrayOutput) +} + +func init() { + pulumi.RegisterOutputType(GetCloudProjectRegionLoadbalancerLogSubscriptionsResultOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectRegions.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectRegions.go new file mode 100644 index 00000000..6e766e2d --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectRegions.go @@ -0,0 +1,100 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func GetCloudProjectRegions(ctx *pulumi.Context, args *GetCloudProjectRegionsArgs, opts ...pulumi.InvokeOption) (*GetCloudProjectRegionsResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var rv GetCloudProjectRegionsResult + err = ctx.InvokePackage("ovh:index/getCloudProjectRegions:getCloudProjectRegions", args, &rv, ref, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getCloudProjectRegions. +type GetCloudProjectRegionsArgs struct { + HasServicesUps []string `pulumi:"hasServicesUps"` + Id *string `pulumi:"id"` + ServiceName *string `pulumi:"serviceName"` +} + +// A collection of values returned by getCloudProjectRegions. +type GetCloudProjectRegionsResult struct { + HasServicesUps []string `pulumi:"hasServicesUps"` + Id string `pulumi:"id"` + Names []string `pulumi:"names"` + ServiceName *string `pulumi:"serviceName"` +} + +func GetCloudProjectRegionsOutput(ctx *pulumi.Context, args GetCloudProjectRegionsOutputArgs, opts ...pulumi.InvokeOption) GetCloudProjectRegionsResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (GetCloudProjectRegionsResult, error) { + args := v.(GetCloudProjectRegionsArgs) + r, err := GetCloudProjectRegions(ctx, &args, opts...) + var s GetCloudProjectRegionsResult + if r != nil { + s = *r + } + return s, err + }).(GetCloudProjectRegionsResultOutput) +} + +// A collection of arguments for invoking getCloudProjectRegions. +type GetCloudProjectRegionsOutputArgs struct { + HasServicesUps pulumi.StringArrayInput `pulumi:"hasServicesUps"` + Id pulumi.StringPtrInput `pulumi:"id"` + ServiceName pulumi.StringPtrInput `pulumi:"serviceName"` +} + +func (GetCloudProjectRegionsOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetCloudProjectRegionsArgs)(nil)).Elem() +} + +// A collection of values returned by getCloudProjectRegions. +type GetCloudProjectRegionsResultOutput struct{ *pulumi.OutputState } + +func (GetCloudProjectRegionsResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetCloudProjectRegionsResult)(nil)).Elem() +} + +func (o GetCloudProjectRegionsResultOutput) ToGetCloudProjectRegionsResultOutput() GetCloudProjectRegionsResultOutput { + return o +} + +func (o GetCloudProjectRegionsResultOutput) ToGetCloudProjectRegionsResultOutputWithContext(ctx context.Context) GetCloudProjectRegionsResultOutput { + return o +} + +func (o GetCloudProjectRegionsResultOutput) HasServicesUps() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetCloudProjectRegionsResult) []string { return v.HasServicesUps }).(pulumi.StringArrayOutput) +} + +func (o GetCloudProjectRegionsResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectRegionsResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o GetCloudProjectRegionsResultOutput) Names() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetCloudProjectRegionsResult) []string { return v.Names }).(pulumi.StringArrayOutput) +} + +func (o GetCloudProjectRegionsResultOutput) ServiceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetCloudProjectRegionsResult) *string { return v.ServiceName }).(pulumi.StringPtrOutput) +} + +func init() { + pulumi.RegisterOutputType(GetCloudProjectRegionsResultOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectUser.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectUser.go new file mode 100644 index 00000000..18f22f9f --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectUser.go @@ -0,0 +1,120 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func LookupCloudProjectUser(ctx *pulumi.Context, args *LookupCloudProjectUserArgs, opts ...pulumi.InvokeOption) (*LookupCloudProjectUserResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var rv LookupCloudProjectUserResult + err = ctx.InvokePackage("ovh:index/getCloudProjectUser:getCloudProjectUser", args, &rv, ref, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getCloudProjectUser. +type LookupCloudProjectUserArgs struct { + Id *string `pulumi:"id"` + ServiceName *string `pulumi:"serviceName"` + UserId string `pulumi:"userId"` +} + +// A collection of values returned by getCloudProjectUser. +type LookupCloudProjectUserResult struct { + CreationDate string `pulumi:"creationDate"` + Description string `pulumi:"description"` + Id string `pulumi:"id"` + Roles []GetCloudProjectUserRole `pulumi:"roles"` + ServiceName *string `pulumi:"serviceName"` + Status string `pulumi:"status"` + UserId string `pulumi:"userId"` + Username string `pulumi:"username"` +} + +func LookupCloudProjectUserOutput(ctx *pulumi.Context, args LookupCloudProjectUserOutputArgs, opts ...pulumi.InvokeOption) LookupCloudProjectUserResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (LookupCloudProjectUserResult, error) { + args := v.(LookupCloudProjectUserArgs) + r, err := LookupCloudProjectUser(ctx, &args, opts...) + var s LookupCloudProjectUserResult + if r != nil { + s = *r + } + return s, err + }).(LookupCloudProjectUserResultOutput) +} + +// A collection of arguments for invoking getCloudProjectUser. +type LookupCloudProjectUserOutputArgs struct { + Id pulumi.StringPtrInput `pulumi:"id"` + ServiceName pulumi.StringPtrInput `pulumi:"serviceName"` + UserId pulumi.StringInput `pulumi:"userId"` +} + +func (LookupCloudProjectUserOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LookupCloudProjectUserArgs)(nil)).Elem() +} + +// A collection of values returned by getCloudProjectUser. +type LookupCloudProjectUserResultOutput struct{ *pulumi.OutputState } + +func (LookupCloudProjectUserResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LookupCloudProjectUserResult)(nil)).Elem() +} + +func (o LookupCloudProjectUserResultOutput) ToLookupCloudProjectUserResultOutput() LookupCloudProjectUserResultOutput { + return o +} + +func (o LookupCloudProjectUserResultOutput) ToLookupCloudProjectUserResultOutputWithContext(ctx context.Context) LookupCloudProjectUserResultOutput { + return o +} + +func (o LookupCloudProjectUserResultOutput) CreationDate() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectUserResult) string { return v.CreationDate }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectUserResultOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectUserResult) string { return v.Description }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectUserResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectUserResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectUserResultOutput) Roles() GetCloudProjectUserRoleArrayOutput { + return o.ApplyT(func(v LookupCloudProjectUserResult) []GetCloudProjectUserRole { return v.Roles }).(GetCloudProjectUserRoleArrayOutput) +} + +func (o LookupCloudProjectUserResultOutput) ServiceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v LookupCloudProjectUserResult) *string { return v.ServiceName }).(pulumi.StringPtrOutput) +} + +func (o LookupCloudProjectUserResultOutput) Status() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectUserResult) string { return v.Status }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectUserResultOutput) UserId() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectUserResult) string { return v.UserId }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectUserResultOutput) Username() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectUserResult) string { return v.Username }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(LookupCloudProjectUserResultOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectUserS3Credential.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectUserS3Credential.go new file mode 100644 index 00000000..a4ac5afc --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectUserS3Credential.go @@ -0,0 +1,107 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func LookupCloudProjectUserS3Credential(ctx *pulumi.Context, args *LookupCloudProjectUserS3CredentialArgs, opts ...pulumi.InvokeOption) (*LookupCloudProjectUserS3CredentialResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var rv LookupCloudProjectUserS3CredentialResult + err = ctx.InvokePackage("ovh:index/getCloudProjectUserS3Credential:getCloudProjectUserS3Credential", args, &rv, ref, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getCloudProjectUserS3Credential. +type LookupCloudProjectUserS3CredentialArgs struct { + AccessKeyId string `pulumi:"accessKeyId"` + Id *string `pulumi:"id"` + ServiceName *string `pulumi:"serviceName"` + UserId string `pulumi:"userId"` +} + +// A collection of values returned by getCloudProjectUserS3Credential. +type LookupCloudProjectUserS3CredentialResult struct { + AccessKeyId string `pulumi:"accessKeyId"` + Id string `pulumi:"id"` + SecretAccessKey string `pulumi:"secretAccessKey"` + ServiceName *string `pulumi:"serviceName"` + UserId string `pulumi:"userId"` +} + +func LookupCloudProjectUserS3CredentialOutput(ctx *pulumi.Context, args LookupCloudProjectUserS3CredentialOutputArgs, opts ...pulumi.InvokeOption) LookupCloudProjectUserS3CredentialResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (LookupCloudProjectUserS3CredentialResult, error) { + args := v.(LookupCloudProjectUserS3CredentialArgs) + r, err := LookupCloudProjectUserS3Credential(ctx, &args, opts...) + var s LookupCloudProjectUserS3CredentialResult + if r != nil { + s = *r + } + return s, err + }).(LookupCloudProjectUserS3CredentialResultOutput) +} + +// A collection of arguments for invoking getCloudProjectUserS3Credential. +type LookupCloudProjectUserS3CredentialOutputArgs struct { + AccessKeyId pulumi.StringInput `pulumi:"accessKeyId"` + Id pulumi.StringPtrInput `pulumi:"id"` + ServiceName pulumi.StringPtrInput `pulumi:"serviceName"` + UserId pulumi.StringInput `pulumi:"userId"` +} + +func (LookupCloudProjectUserS3CredentialOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LookupCloudProjectUserS3CredentialArgs)(nil)).Elem() +} + +// A collection of values returned by getCloudProjectUserS3Credential. +type LookupCloudProjectUserS3CredentialResultOutput struct{ *pulumi.OutputState } + +func (LookupCloudProjectUserS3CredentialResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LookupCloudProjectUserS3CredentialResult)(nil)).Elem() +} + +func (o LookupCloudProjectUserS3CredentialResultOutput) ToLookupCloudProjectUserS3CredentialResultOutput() LookupCloudProjectUserS3CredentialResultOutput { + return o +} + +func (o LookupCloudProjectUserS3CredentialResultOutput) ToLookupCloudProjectUserS3CredentialResultOutputWithContext(ctx context.Context) LookupCloudProjectUserS3CredentialResultOutput { + return o +} + +func (o LookupCloudProjectUserS3CredentialResultOutput) AccessKeyId() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectUserS3CredentialResult) string { return v.AccessKeyId }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectUserS3CredentialResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectUserS3CredentialResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectUserS3CredentialResultOutput) SecretAccessKey() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectUserS3CredentialResult) string { return v.SecretAccessKey }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectUserS3CredentialResultOutput) ServiceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v LookupCloudProjectUserS3CredentialResult) *string { return v.ServiceName }).(pulumi.StringPtrOutput) +} + +func (o LookupCloudProjectUserS3CredentialResultOutput) UserId() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectUserS3CredentialResult) string { return v.UserId }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(LookupCloudProjectUserS3CredentialResultOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectUserS3Credentials.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectUserS3Credentials.go new file mode 100644 index 00000000..91ef1555 --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectUserS3Credentials.go @@ -0,0 +1,100 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func GetCloudProjectUserS3Credentials(ctx *pulumi.Context, args *GetCloudProjectUserS3CredentialsArgs, opts ...pulumi.InvokeOption) (*GetCloudProjectUserS3CredentialsResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var rv GetCloudProjectUserS3CredentialsResult + err = ctx.InvokePackage("ovh:index/getCloudProjectUserS3Credentials:getCloudProjectUserS3Credentials", args, &rv, ref, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getCloudProjectUserS3Credentials. +type GetCloudProjectUserS3CredentialsArgs struct { + Id *string `pulumi:"id"` + ServiceName *string `pulumi:"serviceName"` + UserId string `pulumi:"userId"` +} + +// A collection of values returned by getCloudProjectUserS3Credentials. +type GetCloudProjectUserS3CredentialsResult struct { + AccessKeyIds []string `pulumi:"accessKeyIds"` + Id string `pulumi:"id"` + ServiceName *string `pulumi:"serviceName"` + UserId string `pulumi:"userId"` +} + +func GetCloudProjectUserS3CredentialsOutput(ctx *pulumi.Context, args GetCloudProjectUserS3CredentialsOutputArgs, opts ...pulumi.InvokeOption) GetCloudProjectUserS3CredentialsResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (GetCloudProjectUserS3CredentialsResult, error) { + args := v.(GetCloudProjectUserS3CredentialsArgs) + r, err := GetCloudProjectUserS3Credentials(ctx, &args, opts...) + var s GetCloudProjectUserS3CredentialsResult + if r != nil { + s = *r + } + return s, err + }).(GetCloudProjectUserS3CredentialsResultOutput) +} + +// A collection of arguments for invoking getCloudProjectUserS3Credentials. +type GetCloudProjectUserS3CredentialsOutputArgs struct { + Id pulumi.StringPtrInput `pulumi:"id"` + ServiceName pulumi.StringPtrInput `pulumi:"serviceName"` + UserId pulumi.StringInput `pulumi:"userId"` +} + +func (GetCloudProjectUserS3CredentialsOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetCloudProjectUserS3CredentialsArgs)(nil)).Elem() +} + +// A collection of values returned by getCloudProjectUserS3Credentials. +type GetCloudProjectUserS3CredentialsResultOutput struct{ *pulumi.OutputState } + +func (GetCloudProjectUserS3CredentialsResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetCloudProjectUserS3CredentialsResult)(nil)).Elem() +} + +func (o GetCloudProjectUserS3CredentialsResultOutput) ToGetCloudProjectUserS3CredentialsResultOutput() GetCloudProjectUserS3CredentialsResultOutput { + return o +} + +func (o GetCloudProjectUserS3CredentialsResultOutput) ToGetCloudProjectUserS3CredentialsResultOutputWithContext(ctx context.Context) GetCloudProjectUserS3CredentialsResultOutput { + return o +} + +func (o GetCloudProjectUserS3CredentialsResultOutput) AccessKeyIds() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetCloudProjectUserS3CredentialsResult) []string { return v.AccessKeyIds }).(pulumi.StringArrayOutput) +} + +func (o GetCloudProjectUserS3CredentialsResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectUserS3CredentialsResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o GetCloudProjectUserS3CredentialsResultOutput) ServiceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetCloudProjectUserS3CredentialsResult) *string { return v.ServiceName }).(pulumi.StringPtrOutput) +} + +func (o GetCloudProjectUserS3CredentialsResultOutput) UserId() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectUserS3CredentialsResult) string { return v.UserId }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(GetCloudProjectUserS3CredentialsResultOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectUserS3Policy.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectUserS3Policy.go new file mode 100644 index 00000000..568e0a35 --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectUserS3Policy.go @@ -0,0 +1,100 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func LookupCloudProjectUserS3Policy(ctx *pulumi.Context, args *LookupCloudProjectUserS3PolicyArgs, opts ...pulumi.InvokeOption) (*LookupCloudProjectUserS3PolicyResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var rv LookupCloudProjectUserS3PolicyResult + err = ctx.InvokePackage("ovh:index/getCloudProjectUserS3Policy:getCloudProjectUserS3Policy", args, &rv, ref, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getCloudProjectUserS3Policy. +type LookupCloudProjectUserS3PolicyArgs struct { + Id *string `pulumi:"id"` + ServiceName *string `pulumi:"serviceName"` + UserId string `pulumi:"userId"` +} + +// A collection of values returned by getCloudProjectUserS3Policy. +type LookupCloudProjectUserS3PolicyResult struct { + Id string `pulumi:"id"` + Policy string `pulumi:"policy"` + ServiceName *string `pulumi:"serviceName"` + UserId string `pulumi:"userId"` +} + +func LookupCloudProjectUserS3PolicyOutput(ctx *pulumi.Context, args LookupCloudProjectUserS3PolicyOutputArgs, opts ...pulumi.InvokeOption) LookupCloudProjectUserS3PolicyResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (LookupCloudProjectUserS3PolicyResult, error) { + args := v.(LookupCloudProjectUserS3PolicyArgs) + r, err := LookupCloudProjectUserS3Policy(ctx, &args, opts...) + var s LookupCloudProjectUserS3PolicyResult + if r != nil { + s = *r + } + return s, err + }).(LookupCloudProjectUserS3PolicyResultOutput) +} + +// A collection of arguments for invoking getCloudProjectUserS3Policy. +type LookupCloudProjectUserS3PolicyOutputArgs struct { + Id pulumi.StringPtrInput `pulumi:"id"` + ServiceName pulumi.StringPtrInput `pulumi:"serviceName"` + UserId pulumi.StringInput `pulumi:"userId"` +} + +func (LookupCloudProjectUserS3PolicyOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LookupCloudProjectUserS3PolicyArgs)(nil)).Elem() +} + +// A collection of values returned by getCloudProjectUserS3Policy. +type LookupCloudProjectUserS3PolicyResultOutput struct{ *pulumi.OutputState } + +func (LookupCloudProjectUserS3PolicyResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LookupCloudProjectUserS3PolicyResult)(nil)).Elem() +} + +func (o LookupCloudProjectUserS3PolicyResultOutput) ToLookupCloudProjectUserS3PolicyResultOutput() LookupCloudProjectUserS3PolicyResultOutput { + return o +} + +func (o LookupCloudProjectUserS3PolicyResultOutput) ToLookupCloudProjectUserS3PolicyResultOutputWithContext(ctx context.Context) LookupCloudProjectUserS3PolicyResultOutput { + return o +} + +func (o LookupCloudProjectUserS3PolicyResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectUserS3PolicyResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectUserS3PolicyResultOutput) Policy() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectUserS3PolicyResult) string { return v.Policy }).(pulumi.StringOutput) +} + +func (o LookupCloudProjectUserS3PolicyResultOutput) ServiceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v LookupCloudProjectUserS3PolicyResult) *string { return v.ServiceName }).(pulumi.StringPtrOutput) +} + +func (o LookupCloudProjectUserS3PolicyResultOutput) UserId() pulumi.StringOutput { + return o.ApplyT(func(v LookupCloudProjectUserS3PolicyResult) string { return v.UserId }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(LookupCloudProjectUserS3PolicyResultOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectUsers.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectUsers.go new file mode 100644 index 00000000..375b193e --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectUsers.go @@ -0,0 +1,93 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func GetCloudProjectUsers(ctx *pulumi.Context, args *GetCloudProjectUsersArgs, opts ...pulumi.InvokeOption) (*GetCloudProjectUsersResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var rv GetCloudProjectUsersResult + err = ctx.InvokePackage("ovh:index/getCloudProjectUsers:getCloudProjectUsers", args, &rv, ref, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getCloudProjectUsers. +type GetCloudProjectUsersArgs struct { + Id *string `pulumi:"id"` + ServiceName *string `pulumi:"serviceName"` +} + +// A collection of values returned by getCloudProjectUsers. +type GetCloudProjectUsersResult struct { + Id string `pulumi:"id"` + ServiceName *string `pulumi:"serviceName"` + Users []GetCloudProjectUsersUser `pulumi:"users"` +} + +func GetCloudProjectUsersOutput(ctx *pulumi.Context, args GetCloudProjectUsersOutputArgs, opts ...pulumi.InvokeOption) GetCloudProjectUsersResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (GetCloudProjectUsersResult, error) { + args := v.(GetCloudProjectUsersArgs) + r, err := GetCloudProjectUsers(ctx, &args, opts...) + var s GetCloudProjectUsersResult + if r != nil { + s = *r + } + return s, err + }).(GetCloudProjectUsersResultOutput) +} + +// A collection of arguments for invoking getCloudProjectUsers. +type GetCloudProjectUsersOutputArgs struct { + Id pulumi.StringPtrInput `pulumi:"id"` + ServiceName pulumi.StringPtrInput `pulumi:"serviceName"` +} + +func (GetCloudProjectUsersOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetCloudProjectUsersArgs)(nil)).Elem() +} + +// A collection of values returned by getCloudProjectUsers. +type GetCloudProjectUsersResultOutput struct{ *pulumi.OutputState } + +func (GetCloudProjectUsersResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetCloudProjectUsersResult)(nil)).Elem() +} + +func (o GetCloudProjectUsersResultOutput) ToGetCloudProjectUsersResultOutput() GetCloudProjectUsersResultOutput { + return o +} + +func (o GetCloudProjectUsersResultOutput) ToGetCloudProjectUsersResultOutputWithContext(ctx context.Context) GetCloudProjectUsersResultOutput { + return o +} + +func (o GetCloudProjectUsersResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectUsersResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o GetCloudProjectUsersResultOutput) ServiceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetCloudProjectUsersResult) *string { return v.ServiceName }).(pulumi.StringPtrOutput) +} + +func (o GetCloudProjectUsersResultOutput) Users() GetCloudProjectUsersUserArrayOutput { + return o.ApplyT(func(v GetCloudProjectUsersResult) []GetCloudProjectUsersUser { return v.Users }).(GetCloudProjectUsersUserArrayOutput) +} + +func init() { + pulumi.RegisterOutputType(GetCloudProjectUsersResultOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectVrack.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectVrack.go new file mode 100644 index 00000000..8d15a736 --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjectVrack.go @@ -0,0 +1,96 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func GetCloudProjectVrack(ctx *pulumi.Context, args *GetCloudProjectVrackArgs, opts ...pulumi.InvokeOption) (*GetCloudProjectVrackResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var rv GetCloudProjectVrackResult + err = ctx.InvokePackage("ovh:index/getCloudProjectVrack:getCloudProjectVrack", args, &rv, ref, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getCloudProjectVrack. +type GetCloudProjectVrackArgs struct { + ServiceName *string `pulumi:"serviceName"` +} + +// A collection of values returned by getCloudProjectVrack. +type GetCloudProjectVrackResult struct { + Description string `pulumi:"description"` + Id string `pulumi:"id"` + Name string `pulumi:"name"` + ServiceName *string `pulumi:"serviceName"` +} + +func GetCloudProjectVrackOutput(ctx *pulumi.Context, args GetCloudProjectVrackOutputArgs, opts ...pulumi.InvokeOption) GetCloudProjectVrackResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (GetCloudProjectVrackResult, error) { + args := v.(GetCloudProjectVrackArgs) + r, err := GetCloudProjectVrack(ctx, &args, opts...) + var s GetCloudProjectVrackResult + if r != nil { + s = *r + } + return s, err + }).(GetCloudProjectVrackResultOutput) +} + +// A collection of arguments for invoking getCloudProjectVrack. +type GetCloudProjectVrackOutputArgs struct { + ServiceName pulumi.StringPtrInput `pulumi:"serviceName"` +} + +func (GetCloudProjectVrackOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetCloudProjectVrackArgs)(nil)).Elem() +} + +// A collection of values returned by getCloudProjectVrack. +type GetCloudProjectVrackResultOutput struct{ *pulumi.OutputState } + +func (GetCloudProjectVrackResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetCloudProjectVrackResult)(nil)).Elem() +} + +func (o GetCloudProjectVrackResultOutput) ToGetCloudProjectVrackResultOutput() GetCloudProjectVrackResultOutput { + return o +} + +func (o GetCloudProjectVrackResultOutput) ToGetCloudProjectVrackResultOutputWithContext(ctx context.Context) GetCloudProjectVrackResultOutput { + return o +} + +func (o GetCloudProjectVrackResultOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectVrackResult) string { return v.Description }).(pulumi.StringOutput) +} + +func (o GetCloudProjectVrackResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectVrackResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o GetCloudProjectVrackResultOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectVrackResult) string { return v.Name }).(pulumi.StringOutput) +} + +func (o GetCloudProjectVrackResultOutput) ServiceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetCloudProjectVrackResult) *string { return v.ServiceName }).(pulumi.StringPtrOutput) +} + +func init() { + pulumi.RegisterOutputType(GetCloudProjectVrackResultOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjects.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjects.go new file mode 100644 index 00000000..6f06e476 --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getCloudProjects.go @@ -0,0 +1,72 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func GetCloudProjects(ctx *pulumi.Context, opts ...pulumi.InvokeOption) (*GetCloudProjectsResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var rv GetCloudProjectsResult + err = ctx.InvokePackage("ovh:index/getCloudProjects:getCloudProjects", nil, &rv, ref, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of values returned by getCloudProjects. +type GetCloudProjectsResult struct { + // The provider-assigned unique ID for this managed resource. + Id string `pulumi:"id"` + Projects []GetCloudProjectsProject `pulumi:"projects"` +} + +func GetCloudProjectsOutput(ctx *pulumi.Context, opts ...pulumi.InvokeOption) GetCloudProjectsResultOutput { + return pulumi.ToOutput(0).ApplyT(func(int) (GetCloudProjectsResult, error) { + r, err := GetCloudProjects(ctx, opts...) + var s GetCloudProjectsResult + if r != nil { + s = *r + } + return s, err + }).(GetCloudProjectsResultOutput) +} + +// A collection of values returned by getCloudProjects. +type GetCloudProjectsResultOutput struct{ *pulumi.OutputState } + +func (GetCloudProjectsResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetCloudProjectsResult)(nil)).Elem() +} + +func (o GetCloudProjectsResultOutput) ToGetCloudProjectsResultOutput() GetCloudProjectsResultOutput { + return o +} + +func (o GetCloudProjectsResultOutput) ToGetCloudProjectsResultOutputWithContext(ctx context.Context) GetCloudProjectsResultOutput { + return o +} + +// The provider-assigned unique ID for this managed resource. +func (o GetCloudProjectsResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectsResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o GetCloudProjectsResultOutput) Projects() GetCloudProjectsProjectArrayOutput { + return o.ApplyT(func(v GetCloudProjectsResult) []GetCloudProjectsProject { return v.Projects }).(GetCloudProjectsProjectArrayOutput) +} + +func init() { + pulumi.RegisterOutputType(GetCloudProjectsResultOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getDbaasLogsCluster.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getDbaasLogsCluster.go new file mode 100644 index 00000000..2f55bf5e --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getDbaasLogsCluster.go @@ -0,0 +1,150 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func LookupDbaasLogsCluster(ctx *pulumi.Context, args *LookupDbaasLogsClusterArgs, opts ...pulumi.InvokeOption) (*LookupDbaasLogsClusterResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var rv LookupDbaasLogsClusterResult + err = ctx.InvokePackage("ovh:index/getDbaasLogsCluster:getDbaasLogsCluster", args, &rv, ref, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getDbaasLogsCluster. +type LookupDbaasLogsClusterArgs struct { + ClusterId *string `pulumi:"clusterId"` + Id *string `pulumi:"id"` + ServiceName string `pulumi:"serviceName"` +} + +// A collection of values returned by getDbaasLogsCluster. +type LookupDbaasLogsClusterResult struct { + ArchiveAllowedNetworks []string `pulumi:"archiveAllowedNetworks"` + ClusterId string `pulumi:"clusterId"` + ClusterType string `pulumi:"clusterType"` + DedicatedInputPem string `pulumi:"dedicatedInputPem"` + DirectInputAllowedNetworks []string `pulumi:"directInputAllowedNetworks"` + DirectInputPem string `pulumi:"directInputPem"` + Hostname string `pulumi:"hostname"` + Id string `pulumi:"id"` + IsDefault bool `pulumi:"isDefault"` + IsUnlocked bool `pulumi:"isUnlocked"` + QueryAllowedNetworks []string `pulumi:"queryAllowedNetworks"` + Region string `pulumi:"region"` + ServiceName string `pulumi:"serviceName"` + Urn string `pulumi:"urn"` +} + +func LookupDbaasLogsClusterOutput(ctx *pulumi.Context, args LookupDbaasLogsClusterOutputArgs, opts ...pulumi.InvokeOption) LookupDbaasLogsClusterResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (LookupDbaasLogsClusterResult, error) { + args := v.(LookupDbaasLogsClusterArgs) + r, err := LookupDbaasLogsCluster(ctx, &args, opts...) + var s LookupDbaasLogsClusterResult + if r != nil { + s = *r + } + return s, err + }).(LookupDbaasLogsClusterResultOutput) +} + +// A collection of arguments for invoking getDbaasLogsCluster. +type LookupDbaasLogsClusterOutputArgs struct { + ClusterId pulumi.StringPtrInput `pulumi:"clusterId"` + Id pulumi.StringPtrInput `pulumi:"id"` + ServiceName pulumi.StringInput `pulumi:"serviceName"` +} + +func (LookupDbaasLogsClusterOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LookupDbaasLogsClusterArgs)(nil)).Elem() +} + +// A collection of values returned by getDbaasLogsCluster. +type LookupDbaasLogsClusterResultOutput struct{ *pulumi.OutputState } + +func (LookupDbaasLogsClusterResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LookupDbaasLogsClusterResult)(nil)).Elem() +} + +func (o LookupDbaasLogsClusterResultOutput) ToLookupDbaasLogsClusterResultOutput() LookupDbaasLogsClusterResultOutput { + return o +} + +func (o LookupDbaasLogsClusterResultOutput) ToLookupDbaasLogsClusterResultOutputWithContext(ctx context.Context) LookupDbaasLogsClusterResultOutput { + return o +} + +func (o LookupDbaasLogsClusterResultOutput) ArchiveAllowedNetworks() pulumi.StringArrayOutput { + return o.ApplyT(func(v LookupDbaasLogsClusterResult) []string { return v.ArchiveAllowedNetworks }).(pulumi.StringArrayOutput) +} + +func (o LookupDbaasLogsClusterResultOutput) ClusterId() pulumi.StringOutput { + return o.ApplyT(func(v LookupDbaasLogsClusterResult) string { return v.ClusterId }).(pulumi.StringOutput) +} + +func (o LookupDbaasLogsClusterResultOutput) ClusterType() pulumi.StringOutput { + return o.ApplyT(func(v LookupDbaasLogsClusterResult) string { return v.ClusterType }).(pulumi.StringOutput) +} + +func (o LookupDbaasLogsClusterResultOutput) DedicatedInputPem() pulumi.StringOutput { + return o.ApplyT(func(v LookupDbaasLogsClusterResult) string { return v.DedicatedInputPem }).(pulumi.StringOutput) +} + +func (o LookupDbaasLogsClusterResultOutput) DirectInputAllowedNetworks() pulumi.StringArrayOutput { + return o.ApplyT(func(v LookupDbaasLogsClusterResult) []string { return v.DirectInputAllowedNetworks }).(pulumi.StringArrayOutput) +} + +func (o LookupDbaasLogsClusterResultOutput) DirectInputPem() pulumi.StringOutput { + return o.ApplyT(func(v LookupDbaasLogsClusterResult) string { return v.DirectInputPem }).(pulumi.StringOutput) +} + +func (o LookupDbaasLogsClusterResultOutput) Hostname() pulumi.StringOutput { + return o.ApplyT(func(v LookupDbaasLogsClusterResult) string { return v.Hostname }).(pulumi.StringOutput) +} + +func (o LookupDbaasLogsClusterResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v LookupDbaasLogsClusterResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o LookupDbaasLogsClusterResultOutput) IsDefault() pulumi.BoolOutput { + return o.ApplyT(func(v LookupDbaasLogsClusterResult) bool { return v.IsDefault }).(pulumi.BoolOutput) +} + +func (o LookupDbaasLogsClusterResultOutput) IsUnlocked() pulumi.BoolOutput { + return o.ApplyT(func(v LookupDbaasLogsClusterResult) bool { return v.IsUnlocked }).(pulumi.BoolOutput) +} + +func (o LookupDbaasLogsClusterResultOutput) QueryAllowedNetworks() pulumi.StringArrayOutput { + return o.ApplyT(func(v LookupDbaasLogsClusterResult) []string { return v.QueryAllowedNetworks }).(pulumi.StringArrayOutput) +} + +func (o LookupDbaasLogsClusterResultOutput) Region() pulumi.StringOutput { + return o.ApplyT(func(v LookupDbaasLogsClusterResult) string { return v.Region }).(pulumi.StringOutput) +} + +func (o LookupDbaasLogsClusterResultOutput) ServiceName() pulumi.StringOutput { + return o.ApplyT(func(v LookupDbaasLogsClusterResult) string { return v.ServiceName }).(pulumi.StringOutput) +} + +func (o LookupDbaasLogsClusterResultOutput) Urn() pulumi.StringOutput { + return o.ApplyT(func(v LookupDbaasLogsClusterResult) string { return v.Urn }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(LookupDbaasLogsClusterResultOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getDbaasLogsClusterRetention.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getDbaasLogsClusterRetention.go new file mode 100644 index 00000000..1ec08c68 --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getDbaasLogsClusterRetention.go @@ -0,0 +1,114 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func GetDbaasLogsClusterRetention(ctx *pulumi.Context, args *GetDbaasLogsClusterRetentionArgs, opts ...pulumi.InvokeOption) (*GetDbaasLogsClusterRetentionResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var rv GetDbaasLogsClusterRetentionResult + err = ctx.InvokePackage("ovh:index/getDbaasLogsClusterRetention:getDbaasLogsClusterRetention", args, &rv, ref, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getDbaasLogsClusterRetention. +type GetDbaasLogsClusterRetentionArgs struct { + ClusterId string `pulumi:"clusterId"` + Duration *string `pulumi:"duration"` + RetentionId *string `pulumi:"retentionId"` + ServiceName string `pulumi:"serviceName"` +} + +// A collection of values returned by getDbaasLogsClusterRetention. +type GetDbaasLogsClusterRetentionResult struct { + ClusterId string `pulumi:"clusterId"` + Duration string `pulumi:"duration"` + // The provider-assigned unique ID for this managed resource. + Id string `pulumi:"id"` + IsSupported bool `pulumi:"isSupported"` + RetentionId string `pulumi:"retentionId"` + ServiceName string `pulumi:"serviceName"` +} + +func GetDbaasLogsClusterRetentionOutput(ctx *pulumi.Context, args GetDbaasLogsClusterRetentionOutputArgs, opts ...pulumi.InvokeOption) GetDbaasLogsClusterRetentionResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (GetDbaasLogsClusterRetentionResult, error) { + args := v.(GetDbaasLogsClusterRetentionArgs) + r, err := GetDbaasLogsClusterRetention(ctx, &args, opts...) + var s GetDbaasLogsClusterRetentionResult + if r != nil { + s = *r + } + return s, err + }).(GetDbaasLogsClusterRetentionResultOutput) +} + +// A collection of arguments for invoking getDbaasLogsClusterRetention. +type GetDbaasLogsClusterRetentionOutputArgs struct { + ClusterId pulumi.StringInput `pulumi:"clusterId"` + Duration pulumi.StringPtrInput `pulumi:"duration"` + RetentionId pulumi.StringPtrInput `pulumi:"retentionId"` + ServiceName pulumi.StringInput `pulumi:"serviceName"` +} + +func (GetDbaasLogsClusterRetentionOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDbaasLogsClusterRetentionArgs)(nil)).Elem() +} + +// A collection of values returned by getDbaasLogsClusterRetention. +type GetDbaasLogsClusterRetentionResultOutput struct{ *pulumi.OutputState } + +func (GetDbaasLogsClusterRetentionResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDbaasLogsClusterRetentionResult)(nil)).Elem() +} + +func (o GetDbaasLogsClusterRetentionResultOutput) ToGetDbaasLogsClusterRetentionResultOutput() GetDbaasLogsClusterRetentionResultOutput { + return o +} + +func (o GetDbaasLogsClusterRetentionResultOutput) ToGetDbaasLogsClusterRetentionResultOutputWithContext(ctx context.Context) GetDbaasLogsClusterRetentionResultOutput { + return o +} + +func (o GetDbaasLogsClusterRetentionResultOutput) ClusterId() pulumi.StringOutput { + return o.ApplyT(func(v GetDbaasLogsClusterRetentionResult) string { return v.ClusterId }).(pulumi.StringOutput) +} + +func (o GetDbaasLogsClusterRetentionResultOutput) Duration() pulumi.StringOutput { + return o.ApplyT(func(v GetDbaasLogsClusterRetentionResult) string { return v.Duration }).(pulumi.StringOutput) +} + +// The provider-assigned unique ID for this managed resource. +func (o GetDbaasLogsClusterRetentionResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetDbaasLogsClusterRetentionResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o GetDbaasLogsClusterRetentionResultOutput) IsSupported() pulumi.BoolOutput { + return o.ApplyT(func(v GetDbaasLogsClusterRetentionResult) bool { return v.IsSupported }).(pulumi.BoolOutput) +} + +func (o GetDbaasLogsClusterRetentionResultOutput) RetentionId() pulumi.StringOutput { + return o.ApplyT(func(v GetDbaasLogsClusterRetentionResult) string { return v.RetentionId }).(pulumi.StringOutput) +} + +func (o GetDbaasLogsClusterRetentionResultOutput) ServiceName() pulumi.StringOutput { + return o.ApplyT(func(v GetDbaasLogsClusterRetentionResult) string { return v.ServiceName }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(GetDbaasLogsClusterRetentionResultOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getDbaasLogsClusters.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getDbaasLogsClusters.go new file mode 100644 index 00000000..84b0c915 --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getDbaasLogsClusters.go @@ -0,0 +1,98 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func GetDbaasLogsClusters(ctx *pulumi.Context, args *GetDbaasLogsClustersArgs, opts ...pulumi.InvokeOption) (*GetDbaasLogsClustersResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var rv GetDbaasLogsClustersResult + err = ctx.InvokePackage("ovh:index/getDbaasLogsClusters:getDbaasLogsClusters", args, &rv, ref, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getDbaasLogsClusters. +type GetDbaasLogsClustersArgs struct { + Id *string `pulumi:"id"` + ServiceName string `pulumi:"serviceName"` +} + +// A collection of values returned by getDbaasLogsClusters. +type GetDbaasLogsClustersResult struct { + Id string `pulumi:"id"` + ServiceName string `pulumi:"serviceName"` + Urn string `pulumi:"urn"` + Uuids []string `pulumi:"uuids"` +} + +func GetDbaasLogsClustersOutput(ctx *pulumi.Context, args GetDbaasLogsClustersOutputArgs, opts ...pulumi.InvokeOption) GetDbaasLogsClustersResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (GetDbaasLogsClustersResult, error) { + args := v.(GetDbaasLogsClustersArgs) + r, err := GetDbaasLogsClusters(ctx, &args, opts...) + var s GetDbaasLogsClustersResult + if r != nil { + s = *r + } + return s, err + }).(GetDbaasLogsClustersResultOutput) +} + +// A collection of arguments for invoking getDbaasLogsClusters. +type GetDbaasLogsClustersOutputArgs struct { + Id pulumi.StringPtrInput `pulumi:"id"` + ServiceName pulumi.StringInput `pulumi:"serviceName"` +} + +func (GetDbaasLogsClustersOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDbaasLogsClustersArgs)(nil)).Elem() +} + +// A collection of values returned by getDbaasLogsClusters. +type GetDbaasLogsClustersResultOutput struct{ *pulumi.OutputState } + +func (GetDbaasLogsClustersResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDbaasLogsClustersResult)(nil)).Elem() +} + +func (o GetDbaasLogsClustersResultOutput) ToGetDbaasLogsClustersResultOutput() GetDbaasLogsClustersResultOutput { + return o +} + +func (o GetDbaasLogsClustersResultOutput) ToGetDbaasLogsClustersResultOutputWithContext(ctx context.Context) GetDbaasLogsClustersResultOutput { + return o +} + +func (o GetDbaasLogsClustersResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetDbaasLogsClustersResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o GetDbaasLogsClustersResultOutput) ServiceName() pulumi.StringOutput { + return o.ApplyT(func(v GetDbaasLogsClustersResult) string { return v.ServiceName }).(pulumi.StringOutput) +} + +func (o GetDbaasLogsClustersResultOutput) Urn() pulumi.StringOutput { + return o.ApplyT(func(v GetDbaasLogsClustersResult) string { return v.Urn }).(pulumi.StringOutput) +} + +func (o GetDbaasLogsClustersResultOutput) Uuids() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetDbaasLogsClustersResult) []string { return v.Uuids }).(pulumi.StringArrayOutput) +} + +func init() { + pulumi.RegisterOutputType(GetDbaasLogsClustersResultOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getDbaasLogsInputEngine.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getDbaasLogsInputEngine.go new file mode 100644 index 00000000..a6293589 --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getDbaasLogsInputEngine.go @@ -0,0 +1,109 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func GetDbaasLogsInputEngine(ctx *pulumi.Context, args *GetDbaasLogsInputEngineArgs, opts ...pulumi.InvokeOption) (*GetDbaasLogsInputEngineResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var rv GetDbaasLogsInputEngineResult + err = ctx.InvokePackage("ovh:index/getDbaasLogsInputEngine:getDbaasLogsInputEngine", args, &rv, ref, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getDbaasLogsInputEngine. +type GetDbaasLogsInputEngineArgs struct { + Id *string `pulumi:"id"` + IsDeprecated *bool `pulumi:"isDeprecated"` + Name *string `pulumi:"name"` + ServiceName string `pulumi:"serviceName"` + Version *string `pulumi:"version"` +} + +// A collection of values returned by getDbaasLogsInputEngine. +type GetDbaasLogsInputEngineResult struct { + Id string `pulumi:"id"` + IsDeprecated bool `pulumi:"isDeprecated"` + Name string `pulumi:"name"` + ServiceName string `pulumi:"serviceName"` + Version string `pulumi:"version"` +} + +func GetDbaasLogsInputEngineOutput(ctx *pulumi.Context, args GetDbaasLogsInputEngineOutputArgs, opts ...pulumi.InvokeOption) GetDbaasLogsInputEngineResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (GetDbaasLogsInputEngineResult, error) { + args := v.(GetDbaasLogsInputEngineArgs) + r, err := GetDbaasLogsInputEngine(ctx, &args, opts...) + var s GetDbaasLogsInputEngineResult + if r != nil { + s = *r + } + return s, err + }).(GetDbaasLogsInputEngineResultOutput) +} + +// A collection of arguments for invoking getDbaasLogsInputEngine. +type GetDbaasLogsInputEngineOutputArgs struct { + Id pulumi.StringPtrInput `pulumi:"id"` + IsDeprecated pulumi.BoolPtrInput `pulumi:"isDeprecated"` + Name pulumi.StringPtrInput `pulumi:"name"` + ServiceName pulumi.StringInput `pulumi:"serviceName"` + Version pulumi.StringPtrInput `pulumi:"version"` +} + +func (GetDbaasLogsInputEngineOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDbaasLogsInputEngineArgs)(nil)).Elem() +} + +// A collection of values returned by getDbaasLogsInputEngine. +type GetDbaasLogsInputEngineResultOutput struct{ *pulumi.OutputState } + +func (GetDbaasLogsInputEngineResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDbaasLogsInputEngineResult)(nil)).Elem() +} + +func (o GetDbaasLogsInputEngineResultOutput) ToGetDbaasLogsInputEngineResultOutput() GetDbaasLogsInputEngineResultOutput { + return o +} + +func (o GetDbaasLogsInputEngineResultOutput) ToGetDbaasLogsInputEngineResultOutputWithContext(ctx context.Context) GetDbaasLogsInputEngineResultOutput { + return o +} + +func (o GetDbaasLogsInputEngineResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetDbaasLogsInputEngineResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o GetDbaasLogsInputEngineResultOutput) IsDeprecated() pulumi.BoolOutput { + return o.ApplyT(func(v GetDbaasLogsInputEngineResult) bool { return v.IsDeprecated }).(pulumi.BoolOutput) +} + +func (o GetDbaasLogsInputEngineResultOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetDbaasLogsInputEngineResult) string { return v.Name }).(pulumi.StringOutput) +} + +func (o GetDbaasLogsInputEngineResultOutput) ServiceName() pulumi.StringOutput { + return o.ApplyT(func(v GetDbaasLogsInputEngineResult) string { return v.ServiceName }).(pulumi.StringOutput) +} + +func (o GetDbaasLogsInputEngineResultOutput) Version() pulumi.StringOutput { + return o.ApplyT(func(v GetDbaasLogsInputEngineResult) string { return v.Version }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(GetDbaasLogsInputEngineResultOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getDbaasLogsOutputGraylogStream.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getDbaasLogsOutputGraylogStream.go new file mode 100644 index 00000000..a31e2ee9 --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getDbaasLogsOutputGraylogStream.go @@ -0,0 +1,210 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func LookupDbaasLogsOutputGraylogStream(ctx *pulumi.Context, args *LookupDbaasLogsOutputGraylogStreamArgs, opts ...pulumi.InvokeOption) (*LookupDbaasLogsOutputGraylogStreamResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var rv LookupDbaasLogsOutputGraylogStreamResult + err = ctx.InvokePackage("ovh:index/getDbaasLogsOutputGraylogStream:getDbaasLogsOutputGraylogStream", args, &rv, ref, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getDbaasLogsOutputGraylogStream. +type LookupDbaasLogsOutputGraylogStreamArgs struct { + Id *string `pulumi:"id"` + ServiceName string `pulumi:"serviceName"` + Title string `pulumi:"title"` +} + +// A collection of values returned by getDbaasLogsOutputGraylogStream. +type LookupDbaasLogsOutputGraylogStreamResult struct { + CanAlert bool `pulumi:"canAlert"` + ColdStorageCompression string `pulumi:"coldStorageCompression"` + ColdStorageContent string `pulumi:"coldStorageContent"` + ColdStorageEnabled bool `pulumi:"coldStorageEnabled"` + ColdStorageNotifyEnabled bool `pulumi:"coldStorageNotifyEnabled"` + ColdStorageRetention float64 `pulumi:"coldStorageRetention"` + ColdStorageTarget string `pulumi:"coldStorageTarget"` + CreatedAt string `pulumi:"createdAt"` + Description string `pulumi:"description"` + Id string `pulumi:"id"` + IndexingEnabled bool `pulumi:"indexingEnabled"` + IndexingMaxSize float64 `pulumi:"indexingMaxSize"` + IndexingNotifyEnabled bool `pulumi:"indexingNotifyEnabled"` + IsEditable bool `pulumi:"isEditable"` + IsShareable bool `pulumi:"isShareable"` + NbAlertCondition float64 `pulumi:"nbAlertCondition"` + NbArchive float64 `pulumi:"nbArchive"` + ParentStreamId string `pulumi:"parentStreamId"` + PauseIndexingOnMaxSize bool `pulumi:"pauseIndexingOnMaxSize"` + RetentionId string `pulumi:"retentionId"` + ServiceName string `pulumi:"serviceName"` + StreamId string `pulumi:"streamId"` + Title string `pulumi:"title"` + UpdatedAt string `pulumi:"updatedAt"` + WebSocketEnabled bool `pulumi:"webSocketEnabled"` + WriteToken string `pulumi:"writeToken"` +} + +func LookupDbaasLogsOutputGraylogStreamOutput(ctx *pulumi.Context, args LookupDbaasLogsOutputGraylogStreamOutputArgs, opts ...pulumi.InvokeOption) LookupDbaasLogsOutputGraylogStreamResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (LookupDbaasLogsOutputGraylogStreamResult, error) { + args := v.(LookupDbaasLogsOutputGraylogStreamArgs) + r, err := LookupDbaasLogsOutputGraylogStream(ctx, &args, opts...) + var s LookupDbaasLogsOutputGraylogStreamResult + if r != nil { + s = *r + } + return s, err + }).(LookupDbaasLogsOutputGraylogStreamResultOutput) +} + +// A collection of arguments for invoking getDbaasLogsOutputGraylogStream. +type LookupDbaasLogsOutputGraylogStreamOutputArgs struct { + Id pulumi.StringPtrInput `pulumi:"id"` + ServiceName pulumi.StringInput `pulumi:"serviceName"` + Title pulumi.StringInput `pulumi:"title"` +} + +func (LookupDbaasLogsOutputGraylogStreamOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LookupDbaasLogsOutputGraylogStreamArgs)(nil)).Elem() +} + +// A collection of values returned by getDbaasLogsOutputGraylogStream. +type LookupDbaasLogsOutputGraylogStreamResultOutput struct{ *pulumi.OutputState } + +func (LookupDbaasLogsOutputGraylogStreamResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LookupDbaasLogsOutputGraylogStreamResult)(nil)).Elem() +} + +func (o LookupDbaasLogsOutputGraylogStreamResultOutput) ToLookupDbaasLogsOutputGraylogStreamResultOutput() LookupDbaasLogsOutputGraylogStreamResultOutput { + return o +} + +func (o LookupDbaasLogsOutputGraylogStreamResultOutput) ToLookupDbaasLogsOutputGraylogStreamResultOutputWithContext(ctx context.Context) LookupDbaasLogsOutputGraylogStreamResultOutput { + return o +} + +func (o LookupDbaasLogsOutputGraylogStreamResultOutput) CanAlert() pulumi.BoolOutput { + return o.ApplyT(func(v LookupDbaasLogsOutputGraylogStreamResult) bool { return v.CanAlert }).(pulumi.BoolOutput) +} + +func (o LookupDbaasLogsOutputGraylogStreamResultOutput) ColdStorageCompression() pulumi.StringOutput { + return o.ApplyT(func(v LookupDbaasLogsOutputGraylogStreamResult) string { return v.ColdStorageCompression }).(pulumi.StringOutput) +} + +func (o LookupDbaasLogsOutputGraylogStreamResultOutput) ColdStorageContent() pulumi.StringOutput { + return o.ApplyT(func(v LookupDbaasLogsOutputGraylogStreamResult) string { return v.ColdStorageContent }).(pulumi.StringOutput) +} + +func (o LookupDbaasLogsOutputGraylogStreamResultOutput) ColdStorageEnabled() pulumi.BoolOutput { + return o.ApplyT(func(v LookupDbaasLogsOutputGraylogStreamResult) bool { return v.ColdStorageEnabled }).(pulumi.BoolOutput) +} + +func (o LookupDbaasLogsOutputGraylogStreamResultOutput) ColdStorageNotifyEnabled() pulumi.BoolOutput { + return o.ApplyT(func(v LookupDbaasLogsOutputGraylogStreamResult) bool { return v.ColdStorageNotifyEnabled }).(pulumi.BoolOutput) +} + +func (o LookupDbaasLogsOutputGraylogStreamResultOutput) ColdStorageRetention() pulumi.Float64Output { + return o.ApplyT(func(v LookupDbaasLogsOutputGraylogStreamResult) float64 { return v.ColdStorageRetention }).(pulumi.Float64Output) +} + +func (o LookupDbaasLogsOutputGraylogStreamResultOutput) ColdStorageTarget() pulumi.StringOutput { + return o.ApplyT(func(v LookupDbaasLogsOutputGraylogStreamResult) string { return v.ColdStorageTarget }).(pulumi.StringOutput) +} + +func (o LookupDbaasLogsOutputGraylogStreamResultOutput) CreatedAt() pulumi.StringOutput { + return o.ApplyT(func(v LookupDbaasLogsOutputGraylogStreamResult) string { return v.CreatedAt }).(pulumi.StringOutput) +} + +func (o LookupDbaasLogsOutputGraylogStreamResultOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v LookupDbaasLogsOutputGraylogStreamResult) string { return v.Description }).(pulumi.StringOutput) +} + +func (o LookupDbaasLogsOutputGraylogStreamResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v LookupDbaasLogsOutputGraylogStreamResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o LookupDbaasLogsOutputGraylogStreamResultOutput) IndexingEnabled() pulumi.BoolOutput { + return o.ApplyT(func(v LookupDbaasLogsOutputGraylogStreamResult) bool { return v.IndexingEnabled }).(pulumi.BoolOutput) +} + +func (o LookupDbaasLogsOutputGraylogStreamResultOutput) IndexingMaxSize() pulumi.Float64Output { + return o.ApplyT(func(v LookupDbaasLogsOutputGraylogStreamResult) float64 { return v.IndexingMaxSize }).(pulumi.Float64Output) +} + +func (o LookupDbaasLogsOutputGraylogStreamResultOutput) IndexingNotifyEnabled() pulumi.BoolOutput { + return o.ApplyT(func(v LookupDbaasLogsOutputGraylogStreamResult) bool { return v.IndexingNotifyEnabled }).(pulumi.BoolOutput) +} + +func (o LookupDbaasLogsOutputGraylogStreamResultOutput) IsEditable() pulumi.BoolOutput { + return o.ApplyT(func(v LookupDbaasLogsOutputGraylogStreamResult) bool { return v.IsEditable }).(pulumi.BoolOutput) +} + +func (o LookupDbaasLogsOutputGraylogStreamResultOutput) IsShareable() pulumi.BoolOutput { + return o.ApplyT(func(v LookupDbaasLogsOutputGraylogStreamResult) bool { return v.IsShareable }).(pulumi.BoolOutput) +} + +func (o LookupDbaasLogsOutputGraylogStreamResultOutput) NbAlertCondition() pulumi.Float64Output { + return o.ApplyT(func(v LookupDbaasLogsOutputGraylogStreamResult) float64 { return v.NbAlertCondition }).(pulumi.Float64Output) +} + +func (o LookupDbaasLogsOutputGraylogStreamResultOutput) NbArchive() pulumi.Float64Output { + return o.ApplyT(func(v LookupDbaasLogsOutputGraylogStreamResult) float64 { return v.NbArchive }).(pulumi.Float64Output) +} + +func (o LookupDbaasLogsOutputGraylogStreamResultOutput) ParentStreamId() pulumi.StringOutput { + return o.ApplyT(func(v LookupDbaasLogsOutputGraylogStreamResult) string { return v.ParentStreamId }).(pulumi.StringOutput) +} + +func (o LookupDbaasLogsOutputGraylogStreamResultOutput) PauseIndexingOnMaxSize() pulumi.BoolOutput { + return o.ApplyT(func(v LookupDbaasLogsOutputGraylogStreamResult) bool { return v.PauseIndexingOnMaxSize }).(pulumi.BoolOutput) +} + +func (o LookupDbaasLogsOutputGraylogStreamResultOutput) RetentionId() pulumi.StringOutput { + return o.ApplyT(func(v LookupDbaasLogsOutputGraylogStreamResult) string { return v.RetentionId }).(pulumi.StringOutput) +} + +func (o LookupDbaasLogsOutputGraylogStreamResultOutput) ServiceName() pulumi.StringOutput { + return o.ApplyT(func(v LookupDbaasLogsOutputGraylogStreamResult) string { return v.ServiceName }).(pulumi.StringOutput) +} + +func (o LookupDbaasLogsOutputGraylogStreamResultOutput) StreamId() pulumi.StringOutput { + return o.ApplyT(func(v LookupDbaasLogsOutputGraylogStreamResult) string { return v.StreamId }).(pulumi.StringOutput) +} + +func (o LookupDbaasLogsOutputGraylogStreamResultOutput) Title() pulumi.StringOutput { + return o.ApplyT(func(v LookupDbaasLogsOutputGraylogStreamResult) string { return v.Title }).(pulumi.StringOutput) +} + +func (o LookupDbaasLogsOutputGraylogStreamResultOutput) UpdatedAt() pulumi.StringOutput { + return o.ApplyT(func(v LookupDbaasLogsOutputGraylogStreamResult) string { return v.UpdatedAt }).(pulumi.StringOutput) +} + +func (o LookupDbaasLogsOutputGraylogStreamResultOutput) WebSocketEnabled() pulumi.BoolOutput { + return o.ApplyT(func(v LookupDbaasLogsOutputGraylogStreamResult) bool { return v.WebSocketEnabled }).(pulumi.BoolOutput) +} + +func (o LookupDbaasLogsOutputGraylogStreamResultOutput) WriteToken() pulumi.StringOutput { + return o.ApplyT(func(v LookupDbaasLogsOutputGraylogStreamResult) string { return v.WriteToken }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(LookupDbaasLogsOutputGraylogStreamResultOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getDedicatedCeph.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getDedicatedCeph.go new file mode 100644 index 00000000..5565372b --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getDedicatedCeph.go @@ -0,0 +1,137 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func GetDedicatedCeph(ctx *pulumi.Context, args *GetDedicatedCephArgs, opts ...pulumi.InvokeOption) (*GetDedicatedCephResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var rv GetDedicatedCephResult + err = ctx.InvokePackage("ovh:index/getDedicatedCeph:getDedicatedCeph", args, &rv, ref, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getDedicatedCeph. +type GetDedicatedCephArgs struct { + CephVersion *string `pulumi:"cephVersion"` + Id *string `pulumi:"id"` + ServiceName string `pulumi:"serviceName"` + Status *string `pulumi:"status"` +} + +// A collection of values returned by getDedicatedCeph. +type GetDedicatedCephResult struct { + CephMons []string `pulumi:"cephMons"` + CephVersion string `pulumi:"cephVersion"` + CrushTunables string `pulumi:"crushTunables"` + Id string `pulumi:"id"` + Label string `pulumi:"label"` + Region string `pulumi:"region"` + ServiceName string `pulumi:"serviceName"` + Size float64 `pulumi:"size"` + State string `pulumi:"state"` + Status string `pulumi:"status"` + Urn string `pulumi:"urn"` +} + +func GetDedicatedCephOutput(ctx *pulumi.Context, args GetDedicatedCephOutputArgs, opts ...pulumi.InvokeOption) GetDedicatedCephResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (GetDedicatedCephResult, error) { + args := v.(GetDedicatedCephArgs) + r, err := GetDedicatedCeph(ctx, &args, opts...) + var s GetDedicatedCephResult + if r != nil { + s = *r + } + return s, err + }).(GetDedicatedCephResultOutput) +} + +// A collection of arguments for invoking getDedicatedCeph. +type GetDedicatedCephOutputArgs struct { + CephVersion pulumi.StringPtrInput `pulumi:"cephVersion"` + Id pulumi.StringPtrInput `pulumi:"id"` + ServiceName pulumi.StringInput `pulumi:"serviceName"` + Status pulumi.StringPtrInput `pulumi:"status"` +} + +func (GetDedicatedCephOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDedicatedCephArgs)(nil)).Elem() +} + +// A collection of values returned by getDedicatedCeph. +type GetDedicatedCephResultOutput struct{ *pulumi.OutputState } + +func (GetDedicatedCephResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDedicatedCephResult)(nil)).Elem() +} + +func (o GetDedicatedCephResultOutput) ToGetDedicatedCephResultOutput() GetDedicatedCephResultOutput { + return o +} + +func (o GetDedicatedCephResultOutput) ToGetDedicatedCephResultOutputWithContext(ctx context.Context) GetDedicatedCephResultOutput { + return o +} + +func (o GetDedicatedCephResultOutput) CephMons() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetDedicatedCephResult) []string { return v.CephMons }).(pulumi.StringArrayOutput) +} + +func (o GetDedicatedCephResultOutput) CephVersion() pulumi.StringOutput { + return o.ApplyT(func(v GetDedicatedCephResult) string { return v.CephVersion }).(pulumi.StringOutput) +} + +func (o GetDedicatedCephResultOutput) CrushTunables() pulumi.StringOutput { + return o.ApplyT(func(v GetDedicatedCephResult) string { return v.CrushTunables }).(pulumi.StringOutput) +} + +func (o GetDedicatedCephResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetDedicatedCephResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o GetDedicatedCephResultOutput) Label() pulumi.StringOutput { + return o.ApplyT(func(v GetDedicatedCephResult) string { return v.Label }).(pulumi.StringOutput) +} + +func (o GetDedicatedCephResultOutput) Region() pulumi.StringOutput { + return o.ApplyT(func(v GetDedicatedCephResult) string { return v.Region }).(pulumi.StringOutput) +} + +func (o GetDedicatedCephResultOutput) ServiceName() pulumi.StringOutput { + return o.ApplyT(func(v GetDedicatedCephResult) string { return v.ServiceName }).(pulumi.StringOutput) +} + +func (o GetDedicatedCephResultOutput) Size() pulumi.Float64Output { + return o.ApplyT(func(v GetDedicatedCephResult) float64 { return v.Size }).(pulumi.Float64Output) +} + +func (o GetDedicatedCephResultOutput) State() pulumi.StringOutput { + return o.ApplyT(func(v GetDedicatedCephResult) string { return v.State }).(pulumi.StringOutput) +} + +func (o GetDedicatedCephResultOutput) Status() pulumi.StringOutput { + return o.ApplyT(func(v GetDedicatedCephResult) string { return v.Status }).(pulumi.StringOutput) +} + +func (o GetDedicatedCephResultOutput) Urn() pulumi.StringOutput { + return o.ApplyT(func(v GetDedicatedCephResult) string { return v.Urn }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(GetDedicatedCephResultOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getDedicatedInstallationTemplate.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getDedicatedInstallationTemplate.go new file mode 100644 index 00000000..6d795f5d --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getDedicatedInstallationTemplate.go @@ -0,0 +1,169 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func GetDedicatedInstallationTemplate(ctx *pulumi.Context, args *GetDedicatedInstallationTemplateArgs, opts ...pulumi.InvokeOption) (*GetDedicatedInstallationTemplateResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var rv GetDedicatedInstallationTemplateResult + err = ctx.InvokePackage("ovh:index/getDedicatedInstallationTemplate:getDedicatedInstallationTemplate", args, &rv, ref, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getDedicatedInstallationTemplate. +type GetDedicatedInstallationTemplateArgs struct { + Id *string `pulumi:"id"` + TemplateName string `pulumi:"templateName"` +} + +// A collection of values returned by getDedicatedInstallationTemplate. +type GetDedicatedInstallationTemplateResult struct { + BitFormat float64 `pulumi:"bitFormat"` + Category string `pulumi:"category"` + Description string `pulumi:"description"` + Distribution string `pulumi:"distribution"` + EndOfInstall string `pulumi:"endOfInstall"` + Family string `pulumi:"family"` + Filesystems []string `pulumi:"filesystems"` + HardRaidConfiguration bool `pulumi:"hardRaidConfiguration"` + Id string `pulumi:"id"` + Inputs []GetDedicatedInstallationTemplateInput `pulumi:"inputs"` + Licenses []GetDedicatedInstallationTemplateLicense `pulumi:"licenses"` + LvmReady bool `pulumi:"lvmReady"` + NoPartitioning bool `pulumi:"noPartitioning"` + Projects []GetDedicatedInstallationTemplateProject `pulumi:"projects"` + SoftRaidOnlyMirroring bool `pulumi:"softRaidOnlyMirroring"` + Subfamily string `pulumi:"subfamily"` + TemplateName string `pulumi:"templateName"` +} + +func GetDedicatedInstallationTemplateOutput(ctx *pulumi.Context, args GetDedicatedInstallationTemplateOutputArgs, opts ...pulumi.InvokeOption) GetDedicatedInstallationTemplateResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (GetDedicatedInstallationTemplateResult, error) { + args := v.(GetDedicatedInstallationTemplateArgs) + r, err := GetDedicatedInstallationTemplate(ctx, &args, opts...) + var s GetDedicatedInstallationTemplateResult + if r != nil { + s = *r + } + return s, err + }).(GetDedicatedInstallationTemplateResultOutput) +} + +// A collection of arguments for invoking getDedicatedInstallationTemplate. +type GetDedicatedInstallationTemplateOutputArgs struct { + Id pulumi.StringPtrInput `pulumi:"id"` + TemplateName pulumi.StringInput `pulumi:"templateName"` +} + +func (GetDedicatedInstallationTemplateOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDedicatedInstallationTemplateArgs)(nil)).Elem() +} + +// A collection of values returned by getDedicatedInstallationTemplate. +type GetDedicatedInstallationTemplateResultOutput struct{ *pulumi.OutputState } + +func (GetDedicatedInstallationTemplateResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDedicatedInstallationTemplateResult)(nil)).Elem() +} + +func (o GetDedicatedInstallationTemplateResultOutput) ToGetDedicatedInstallationTemplateResultOutput() GetDedicatedInstallationTemplateResultOutput { + return o +} + +func (o GetDedicatedInstallationTemplateResultOutput) ToGetDedicatedInstallationTemplateResultOutputWithContext(ctx context.Context) GetDedicatedInstallationTemplateResultOutput { + return o +} + +func (o GetDedicatedInstallationTemplateResultOutput) BitFormat() pulumi.Float64Output { + return o.ApplyT(func(v GetDedicatedInstallationTemplateResult) float64 { return v.BitFormat }).(pulumi.Float64Output) +} + +func (o GetDedicatedInstallationTemplateResultOutput) Category() pulumi.StringOutput { + return o.ApplyT(func(v GetDedicatedInstallationTemplateResult) string { return v.Category }).(pulumi.StringOutput) +} + +func (o GetDedicatedInstallationTemplateResultOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v GetDedicatedInstallationTemplateResult) string { return v.Description }).(pulumi.StringOutput) +} + +func (o GetDedicatedInstallationTemplateResultOutput) Distribution() pulumi.StringOutput { + return o.ApplyT(func(v GetDedicatedInstallationTemplateResult) string { return v.Distribution }).(pulumi.StringOutput) +} + +func (o GetDedicatedInstallationTemplateResultOutput) EndOfInstall() pulumi.StringOutput { + return o.ApplyT(func(v GetDedicatedInstallationTemplateResult) string { return v.EndOfInstall }).(pulumi.StringOutput) +} + +func (o GetDedicatedInstallationTemplateResultOutput) Family() pulumi.StringOutput { + return o.ApplyT(func(v GetDedicatedInstallationTemplateResult) string { return v.Family }).(pulumi.StringOutput) +} + +func (o GetDedicatedInstallationTemplateResultOutput) Filesystems() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetDedicatedInstallationTemplateResult) []string { return v.Filesystems }).(pulumi.StringArrayOutput) +} + +func (o GetDedicatedInstallationTemplateResultOutput) HardRaidConfiguration() pulumi.BoolOutput { + return o.ApplyT(func(v GetDedicatedInstallationTemplateResult) bool { return v.HardRaidConfiguration }).(pulumi.BoolOutput) +} + +func (o GetDedicatedInstallationTemplateResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetDedicatedInstallationTemplateResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o GetDedicatedInstallationTemplateResultOutput) Inputs() GetDedicatedInstallationTemplateInputArrayOutput { + return o.ApplyT(func(v GetDedicatedInstallationTemplateResult) []GetDedicatedInstallationTemplateInput { + return v.Inputs + }).(GetDedicatedInstallationTemplateInputArrayOutput) +} + +func (o GetDedicatedInstallationTemplateResultOutput) Licenses() GetDedicatedInstallationTemplateLicenseArrayOutput { + return o.ApplyT(func(v GetDedicatedInstallationTemplateResult) []GetDedicatedInstallationTemplateLicense { + return v.Licenses + }).(GetDedicatedInstallationTemplateLicenseArrayOutput) +} + +func (o GetDedicatedInstallationTemplateResultOutput) LvmReady() pulumi.BoolOutput { + return o.ApplyT(func(v GetDedicatedInstallationTemplateResult) bool { return v.LvmReady }).(pulumi.BoolOutput) +} + +func (o GetDedicatedInstallationTemplateResultOutput) NoPartitioning() pulumi.BoolOutput { + return o.ApplyT(func(v GetDedicatedInstallationTemplateResult) bool { return v.NoPartitioning }).(pulumi.BoolOutput) +} + +func (o GetDedicatedInstallationTemplateResultOutput) Projects() GetDedicatedInstallationTemplateProjectArrayOutput { + return o.ApplyT(func(v GetDedicatedInstallationTemplateResult) []GetDedicatedInstallationTemplateProject { + return v.Projects + }).(GetDedicatedInstallationTemplateProjectArrayOutput) +} + +func (o GetDedicatedInstallationTemplateResultOutput) SoftRaidOnlyMirroring() pulumi.BoolOutput { + return o.ApplyT(func(v GetDedicatedInstallationTemplateResult) bool { return v.SoftRaidOnlyMirroring }).(pulumi.BoolOutput) +} + +func (o GetDedicatedInstallationTemplateResultOutput) Subfamily() pulumi.StringOutput { + return o.ApplyT(func(v GetDedicatedInstallationTemplateResult) string { return v.Subfamily }).(pulumi.StringOutput) +} + +func (o GetDedicatedInstallationTemplateResultOutput) TemplateName() pulumi.StringOutput { + return o.ApplyT(func(v GetDedicatedInstallationTemplateResult) string { return v.TemplateName }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(GetDedicatedInstallationTemplateResultOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getDedicatedInstallationTemplates.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getDedicatedInstallationTemplates.go new file mode 100644 index 00000000..bc355fe2 --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getDedicatedInstallationTemplates.go @@ -0,0 +1,86 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func GetDedicatedInstallationTemplates(ctx *pulumi.Context, args *GetDedicatedInstallationTemplatesArgs, opts ...pulumi.InvokeOption) (*GetDedicatedInstallationTemplatesResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var rv GetDedicatedInstallationTemplatesResult + err = ctx.InvokePackage("ovh:index/getDedicatedInstallationTemplates:getDedicatedInstallationTemplates", args, &rv, ref, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getDedicatedInstallationTemplates. +type GetDedicatedInstallationTemplatesArgs struct { + Id *string `pulumi:"id"` +} + +// A collection of values returned by getDedicatedInstallationTemplates. +type GetDedicatedInstallationTemplatesResult struct { + Id string `pulumi:"id"` + Results []string `pulumi:"results"` +} + +func GetDedicatedInstallationTemplatesOutput(ctx *pulumi.Context, args GetDedicatedInstallationTemplatesOutputArgs, opts ...pulumi.InvokeOption) GetDedicatedInstallationTemplatesResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (GetDedicatedInstallationTemplatesResult, error) { + args := v.(GetDedicatedInstallationTemplatesArgs) + r, err := GetDedicatedInstallationTemplates(ctx, &args, opts...) + var s GetDedicatedInstallationTemplatesResult + if r != nil { + s = *r + } + return s, err + }).(GetDedicatedInstallationTemplatesResultOutput) +} + +// A collection of arguments for invoking getDedicatedInstallationTemplates. +type GetDedicatedInstallationTemplatesOutputArgs struct { + Id pulumi.StringPtrInput `pulumi:"id"` +} + +func (GetDedicatedInstallationTemplatesOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDedicatedInstallationTemplatesArgs)(nil)).Elem() +} + +// A collection of values returned by getDedicatedInstallationTemplates. +type GetDedicatedInstallationTemplatesResultOutput struct{ *pulumi.OutputState } + +func (GetDedicatedInstallationTemplatesResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDedicatedInstallationTemplatesResult)(nil)).Elem() +} + +func (o GetDedicatedInstallationTemplatesResultOutput) ToGetDedicatedInstallationTemplatesResultOutput() GetDedicatedInstallationTemplatesResultOutput { + return o +} + +func (o GetDedicatedInstallationTemplatesResultOutput) ToGetDedicatedInstallationTemplatesResultOutputWithContext(ctx context.Context) GetDedicatedInstallationTemplatesResultOutput { + return o +} + +func (o GetDedicatedInstallationTemplatesResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetDedicatedInstallationTemplatesResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o GetDedicatedInstallationTemplatesResultOutput) Results() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetDedicatedInstallationTemplatesResult) []string { return v.Results }).(pulumi.StringArrayOutput) +} + +func init() { + pulumi.RegisterOutputType(GetDedicatedInstallationTemplatesResultOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getDedicatedNasha.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getDedicatedNasha.go new file mode 100644 index 00000000..7a8b20ec --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getDedicatedNasha.go @@ -0,0 +1,133 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func GetDedicatedNasha(ctx *pulumi.Context, args *GetDedicatedNashaArgs, opts ...pulumi.InvokeOption) (*GetDedicatedNashaResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var rv GetDedicatedNashaResult + err = ctx.InvokePackage("ovh:index/getDedicatedNasha:getDedicatedNasha", args, &rv, ref, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getDedicatedNasha. +type GetDedicatedNashaArgs struct { + Id *string `pulumi:"id"` + ServiceName string `pulumi:"serviceName"` +} + +// A collection of values returned by getDedicatedNasha. +type GetDedicatedNashaResult struct { + CanCreatePartition bool `pulumi:"canCreatePartition"` + CustomName string `pulumi:"customName"` + Datacenter string `pulumi:"datacenter"` + DiskType string `pulumi:"diskType"` + Id string `pulumi:"id"` + Ip string `pulumi:"ip"` + Monitored bool `pulumi:"monitored"` + ServiceName string `pulumi:"serviceName"` + Urn string `pulumi:"urn"` + ZpoolCapacity float64 `pulumi:"zpoolCapacity"` + ZpoolSize float64 `pulumi:"zpoolSize"` +} + +func GetDedicatedNashaOutput(ctx *pulumi.Context, args GetDedicatedNashaOutputArgs, opts ...pulumi.InvokeOption) GetDedicatedNashaResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (GetDedicatedNashaResult, error) { + args := v.(GetDedicatedNashaArgs) + r, err := GetDedicatedNasha(ctx, &args, opts...) + var s GetDedicatedNashaResult + if r != nil { + s = *r + } + return s, err + }).(GetDedicatedNashaResultOutput) +} + +// A collection of arguments for invoking getDedicatedNasha. +type GetDedicatedNashaOutputArgs struct { + Id pulumi.StringPtrInput `pulumi:"id"` + ServiceName pulumi.StringInput `pulumi:"serviceName"` +} + +func (GetDedicatedNashaOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDedicatedNashaArgs)(nil)).Elem() +} + +// A collection of values returned by getDedicatedNasha. +type GetDedicatedNashaResultOutput struct{ *pulumi.OutputState } + +func (GetDedicatedNashaResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDedicatedNashaResult)(nil)).Elem() +} + +func (o GetDedicatedNashaResultOutput) ToGetDedicatedNashaResultOutput() GetDedicatedNashaResultOutput { + return o +} + +func (o GetDedicatedNashaResultOutput) ToGetDedicatedNashaResultOutputWithContext(ctx context.Context) GetDedicatedNashaResultOutput { + return o +} + +func (o GetDedicatedNashaResultOutput) CanCreatePartition() pulumi.BoolOutput { + return o.ApplyT(func(v GetDedicatedNashaResult) bool { return v.CanCreatePartition }).(pulumi.BoolOutput) +} + +func (o GetDedicatedNashaResultOutput) CustomName() pulumi.StringOutput { + return o.ApplyT(func(v GetDedicatedNashaResult) string { return v.CustomName }).(pulumi.StringOutput) +} + +func (o GetDedicatedNashaResultOutput) Datacenter() pulumi.StringOutput { + return o.ApplyT(func(v GetDedicatedNashaResult) string { return v.Datacenter }).(pulumi.StringOutput) +} + +func (o GetDedicatedNashaResultOutput) DiskType() pulumi.StringOutput { + return o.ApplyT(func(v GetDedicatedNashaResult) string { return v.DiskType }).(pulumi.StringOutput) +} + +func (o GetDedicatedNashaResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetDedicatedNashaResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o GetDedicatedNashaResultOutput) Ip() pulumi.StringOutput { + return o.ApplyT(func(v GetDedicatedNashaResult) string { return v.Ip }).(pulumi.StringOutput) +} + +func (o GetDedicatedNashaResultOutput) Monitored() pulumi.BoolOutput { + return o.ApplyT(func(v GetDedicatedNashaResult) bool { return v.Monitored }).(pulumi.BoolOutput) +} + +func (o GetDedicatedNashaResultOutput) ServiceName() pulumi.StringOutput { + return o.ApplyT(func(v GetDedicatedNashaResult) string { return v.ServiceName }).(pulumi.StringOutput) +} + +func (o GetDedicatedNashaResultOutput) Urn() pulumi.StringOutput { + return o.ApplyT(func(v GetDedicatedNashaResult) string { return v.Urn }).(pulumi.StringOutput) +} + +func (o GetDedicatedNashaResultOutput) ZpoolCapacity() pulumi.Float64Output { + return o.ApplyT(func(v GetDedicatedNashaResult) float64 { return v.ZpoolCapacity }).(pulumi.Float64Output) +} + +func (o GetDedicatedNashaResultOutput) ZpoolSize() pulumi.Float64Output { + return o.ApplyT(func(v GetDedicatedNashaResult) float64 { return v.ZpoolSize }).(pulumi.Float64Output) +} + +func init() { + pulumi.RegisterOutputType(GetDedicatedNashaResultOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getDedicatedServer.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getDedicatedServer.go new file mode 100644 index 00000000..4008fac9 --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getDedicatedServer.go @@ -0,0 +1,208 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func GetDedicatedServer(ctx *pulumi.Context, args *GetDedicatedServerArgs, opts ...pulumi.InvokeOption) (*GetDedicatedServerResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var rv GetDedicatedServerResult + err = ctx.InvokePackage("ovh:index/getDedicatedServer:getDedicatedServer", args, &rv, ref, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getDedicatedServer. +type GetDedicatedServerArgs struct { + Id *string `pulumi:"id"` + ServiceName string `pulumi:"serviceName"` +} + +// A collection of values returned by getDedicatedServer. +type GetDedicatedServerResult struct { + BootId float64 `pulumi:"bootId"` + BootScript string `pulumi:"bootScript"` + CommercialRange string `pulumi:"commercialRange"` + Datacenter string `pulumi:"datacenter"` + DisplayName string `pulumi:"displayName"` + EnabledPublicVnis []string `pulumi:"enabledPublicVnis"` + EnabledVrackAggregationVnis []string `pulumi:"enabledVrackAggregationVnis"` + EnabledVrackVnis []string `pulumi:"enabledVrackVnis"` + Id string `pulumi:"id"` + Ip string `pulumi:"ip"` + Ips []string `pulumi:"ips"` + LinkSpeed float64 `pulumi:"linkSpeed"` + Monitoring bool `pulumi:"monitoring"` + Name string `pulumi:"name"` + Os string `pulumi:"os"` + ProfessionalUse bool `pulumi:"professionalUse"` + Rack string `pulumi:"rack"` + RescueMail string `pulumi:"rescueMail"` + Reverse string `pulumi:"reverse"` + RootDevice string `pulumi:"rootDevice"` + ServerId float64 `pulumi:"serverId"` + ServiceName string `pulumi:"serviceName"` + State string `pulumi:"state"` + SupportLevel string `pulumi:"supportLevel"` + Urn string `pulumi:"urn"` + Vnis []GetDedicatedServerVni `pulumi:"vnis"` +} + +func GetDedicatedServerOutput(ctx *pulumi.Context, args GetDedicatedServerOutputArgs, opts ...pulumi.InvokeOption) GetDedicatedServerResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (GetDedicatedServerResult, error) { + args := v.(GetDedicatedServerArgs) + r, err := GetDedicatedServer(ctx, &args, opts...) + var s GetDedicatedServerResult + if r != nil { + s = *r + } + return s, err + }).(GetDedicatedServerResultOutput) +} + +// A collection of arguments for invoking getDedicatedServer. +type GetDedicatedServerOutputArgs struct { + Id pulumi.StringPtrInput `pulumi:"id"` + ServiceName pulumi.StringInput `pulumi:"serviceName"` +} + +func (GetDedicatedServerOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDedicatedServerArgs)(nil)).Elem() +} + +// A collection of values returned by getDedicatedServer. +type GetDedicatedServerResultOutput struct{ *pulumi.OutputState } + +func (GetDedicatedServerResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDedicatedServerResult)(nil)).Elem() +} + +func (o GetDedicatedServerResultOutput) ToGetDedicatedServerResultOutput() GetDedicatedServerResultOutput { + return o +} + +func (o GetDedicatedServerResultOutput) ToGetDedicatedServerResultOutputWithContext(ctx context.Context) GetDedicatedServerResultOutput { + return o +} + +func (o GetDedicatedServerResultOutput) BootId() pulumi.Float64Output { + return o.ApplyT(func(v GetDedicatedServerResult) float64 { return v.BootId }).(pulumi.Float64Output) +} + +func (o GetDedicatedServerResultOutput) BootScript() pulumi.StringOutput { + return o.ApplyT(func(v GetDedicatedServerResult) string { return v.BootScript }).(pulumi.StringOutput) +} + +func (o GetDedicatedServerResultOutput) CommercialRange() pulumi.StringOutput { + return o.ApplyT(func(v GetDedicatedServerResult) string { return v.CommercialRange }).(pulumi.StringOutput) +} + +func (o GetDedicatedServerResultOutput) Datacenter() pulumi.StringOutput { + return o.ApplyT(func(v GetDedicatedServerResult) string { return v.Datacenter }).(pulumi.StringOutput) +} + +func (o GetDedicatedServerResultOutput) DisplayName() pulumi.StringOutput { + return o.ApplyT(func(v GetDedicatedServerResult) string { return v.DisplayName }).(pulumi.StringOutput) +} + +func (o GetDedicatedServerResultOutput) EnabledPublicVnis() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetDedicatedServerResult) []string { return v.EnabledPublicVnis }).(pulumi.StringArrayOutput) +} + +func (o GetDedicatedServerResultOutput) EnabledVrackAggregationVnis() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetDedicatedServerResult) []string { return v.EnabledVrackAggregationVnis }).(pulumi.StringArrayOutput) +} + +func (o GetDedicatedServerResultOutput) EnabledVrackVnis() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetDedicatedServerResult) []string { return v.EnabledVrackVnis }).(pulumi.StringArrayOutput) +} + +func (o GetDedicatedServerResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetDedicatedServerResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o GetDedicatedServerResultOutput) Ip() pulumi.StringOutput { + return o.ApplyT(func(v GetDedicatedServerResult) string { return v.Ip }).(pulumi.StringOutput) +} + +func (o GetDedicatedServerResultOutput) Ips() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetDedicatedServerResult) []string { return v.Ips }).(pulumi.StringArrayOutput) +} + +func (o GetDedicatedServerResultOutput) LinkSpeed() pulumi.Float64Output { + return o.ApplyT(func(v GetDedicatedServerResult) float64 { return v.LinkSpeed }).(pulumi.Float64Output) +} + +func (o GetDedicatedServerResultOutput) Monitoring() pulumi.BoolOutput { + return o.ApplyT(func(v GetDedicatedServerResult) bool { return v.Monitoring }).(pulumi.BoolOutput) +} + +func (o GetDedicatedServerResultOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetDedicatedServerResult) string { return v.Name }).(pulumi.StringOutput) +} + +func (o GetDedicatedServerResultOutput) Os() pulumi.StringOutput { + return o.ApplyT(func(v GetDedicatedServerResult) string { return v.Os }).(pulumi.StringOutput) +} + +func (o GetDedicatedServerResultOutput) ProfessionalUse() pulumi.BoolOutput { + return o.ApplyT(func(v GetDedicatedServerResult) bool { return v.ProfessionalUse }).(pulumi.BoolOutput) +} + +func (o GetDedicatedServerResultOutput) Rack() pulumi.StringOutput { + return o.ApplyT(func(v GetDedicatedServerResult) string { return v.Rack }).(pulumi.StringOutput) +} + +func (o GetDedicatedServerResultOutput) RescueMail() pulumi.StringOutput { + return o.ApplyT(func(v GetDedicatedServerResult) string { return v.RescueMail }).(pulumi.StringOutput) +} + +func (o GetDedicatedServerResultOutput) Reverse() pulumi.StringOutput { + return o.ApplyT(func(v GetDedicatedServerResult) string { return v.Reverse }).(pulumi.StringOutput) +} + +func (o GetDedicatedServerResultOutput) RootDevice() pulumi.StringOutput { + return o.ApplyT(func(v GetDedicatedServerResult) string { return v.RootDevice }).(pulumi.StringOutput) +} + +func (o GetDedicatedServerResultOutput) ServerId() pulumi.Float64Output { + return o.ApplyT(func(v GetDedicatedServerResult) float64 { return v.ServerId }).(pulumi.Float64Output) +} + +func (o GetDedicatedServerResultOutput) ServiceName() pulumi.StringOutput { + return o.ApplyT(func(v GetDedicatedServerResult) string { return v.ServiceName }).(pulumi.StringOutput) +} + +func (o GetDedicatedServerResultOutput) State() pulumi.StringOutput { + return o.ApplyT(func(v GetDedicatedServerResult) string { return v.State }).(pulumi.StringOutput) +} + +func (o GetDedicatedServerResultOutput) SupportLevel() pulumi.StringOutput { + return o.ApplyT(func(v GetDedicatedServerResult) string { return v.SupportLevel }).(pulumi.StringOutput) +} + +func (o GetDedicatedServerResultOutput) Urn() pulumi.StringOutput { + return o.ApplyT(func(v GetDedicatedServerResult) string { return v.Urn }).(pulumi.StringOutput) +} + +func (o GetDedicatedServerResultOutput) Vnis() GetDedicatedServerVniArrayOutput { + return o.ApplyT(func(v GetDedicatedServerResult) []GetDedicatedServerVni { return v.Vnis }).(GetDedicatedServerVniArrayOutput) +} + +func init() { + pulumi.RegisterOutputType(GetDedicatedServerResultOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getDedicatedServerBoots.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getDedicatedServerBoots.go new file mode 100644 index 00000000..5c868d1f --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getDedicatedServerBoots.go @@ -0,0 +1,107 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func GetDedicatedServerBoots(ctx *pulumi.Context, args *GetDedicatedServerBootsArgs, opts ...pulumi.InvokeOption) (*GetDedicatedServerBootsResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var rv GetDedicatedServerBootsResult + err = ctx.InvokePackage("ovh:index/getDedicatedServerBoots:getDedicatedServerBoots", args, &rv, ref, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getDedicatedServerBoots. +type GetDedicatedServerBootsArgs struct { + BootType *string `pulumi:"bootType"` + Id *string `pulumi:"id"` + Kernel *string `pulumi:"kernel"` + ServiceName string `pulumi:"serviceName"` +} + +// A collection of values returned by getDedicatedServerBoots. +type GetDedicatedServerBootsResult struct { + BootType *string `pulumi:"bootType"` + Id string `pulumi:"id"` + Kernel *string `pulumi:"kernel"` + Results []float64 `pulumi:"results"` + ServiceName string `pulumi:"serviceName"` +} + +func GetDedicatedServerBootsOutput(ctx *pulumi.Context, args GetDedicatedServerBootsOutputArgs, opts ...pulumi.InvokeOption) GetDedicatedServerBootsResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (GetDedicatedServerBootsResult, error) { + args := v.(GetDedicatedServerBootsArgs) + r, err := GetDedicatedServerBoots(ctx, &args, opts...) + var s GetDedicatedServerBootsResult + if r != nil { + s = *r + } + return s, err + }).(GetDedicatedServerBootsResultOutput) +} + +// A collection of arguments for invoking getDedicatedServerBoots. +type GetDedicatedServerBootsOutputArgs struct { + BootType pulumi.StringPtrInput `pulumi:"bootType"` + Id pulumi.StringPtrInput `pulumi:"id"` + Kernel pulumi.StringPtrInput `pulumi:"kernel"` + ServiceName pulumi.StringInput `pulumi:"serviceName"` +} + +func (GetDedicatedServerBootsOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDedicatedServerBootsArgs)(nil)).Elem() +} + +// A collection of values returned by getDedicatedServerBoots. +type GetDedicatedServerBootsResultOutput struct{ *pulumi.OutputState } + +func (GetDedicatedServerBootsResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDedicatedServerBootsResult)(nil)).Elem() +} + +func (o GetDedicatedServerBootsResultOutput) ToGetDedicatedServerBootsResultOutput() GetDedicatedServerBootsResultOutput { + return o +} + +func (o GetDedicatedServerBootsResultOutput) ToGetDedicatedServerBootsResultOutputWithContext(ctx context.Context) GetDedicatedServerBootsResultOutput { + return o +} + +func (o GetDedicatedServerBootsResultOutput) BootType() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetDedicatedServerBootsResult) *string { return v.BootType }).(pulumi.StringPtrOutput) +} + +func (o GetDedicatedServerBootsResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetDedicatedServerBootsResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o GetDedicatedServerBootsResultOutput) Kernel() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetDedicatedServerBootsResult) *string { return v.Kernel }).(pulumi.StringPtrOutput) +} + +func (o GetDedicatedServerBootsResultOutput) Results() pulumi.Float64ArrayOutput { + return o.ApplyT(func(v GetDedicatedServerBootsResult) []float64 { return v.Results }).(pulumi.Float64ArrayOutput) +} + +func (o GetDedicatedServerBootsResultOutput) ServiceName() pulumi.StringOutput { + return o.ApplyT(func(v GetDedicatedServerBootsResult) string { return v.ServiceName }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(GetDedicatedServerBootsResultOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getDedicatedServerSpecificationsHardware.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getDedicatedServerSpecificationsHardware.go new file mode 100644 index 00000000..b24873f2 --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getDedicatedServerSpecificationsHardware.go @@ -0,0 +1,173 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func GetDedicatedServerSpecificationsHardware(ctx *pulumi.Context, args *GetDedicatedServerSpecificationsHardwareArgs, opts ...pulumi.InvokeOption) (*GetDedicatedServerSpecificationsHardwareResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var rv GetDedicatedServerSpecificationsHardwareResult + err = ctx.InvokePackage("ovh:index/getDedicatedServerSpecificationsHardware:getDedicatedServerSpecificationsHardware", args, &rv, ref, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getDedicatedServerSpecificationsHardware. +type GetDedicatedServerSpecificationsHardwareArgs struct { + ServiceName string `pulumi:"serviceName"` +} + +// A collection of values returned by getDedicatedServerSpecificationsHardware. +type GetDedicatedServerSpecificationsHardwareResult struct { + BootMode string `pulumi:"bootMode"` + CoresPerProcessor float64 `pulumi:"coresPerProcessor"` + DefaultHardwareRaidSize GetDedicatedServerSpecificationsHardwareDefaultHardwareRaidSize `pulumi:"defaultHardwareRaidSize"` + DefaultHardwareRaidType string `pulumi:"defaultHardwareRaidType"` + Description string `pulumi:"description"` + DiskGroups []GetDedicatedServerSpecificationsHardwareDiskGroup `pulumi:"diskGroups"` + ExpansionCards []GetDedicatedServerSpecificationsHardwareExpansionCard `pulumi:"expansionCards"` + FormFactor string `pulumi:"formFactor"` + // The provider-assigned unique ID for this managed resource. + Id string `pulumi:"id"` + MemorySize GetDedicatedServerSpecificationsHardwareMemorySize `pulumi:"memorySize"` + Motherboard string `pulumi:"motherboard"` + NumberOfProcessors float64 `pulumi:"numberOfProcessors"` + ProcessorArchitecture string `pulumi:"processorArchitecture"` + ProcessorName string `pulumi:"processorName"` + ServiceName string `pulumi:"serviceName"` + ThreadsPerProcessor float64 `pulumi:"threadsPerProcessor"` + UsbKeys []GetDedicatedServerSpecificationsHardwareUsbKey `pulumi:"usbKeys"` +} + +func GetDedicatedServerSpecificationsHardwareOutput(ctx *pulumi.Context, args GetDedicatedServerSpecificationsHardwareOutputArgs, opts ...pulumi.InvokeOption) GetDedicatedServerSpecificationsHardwareResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (GetDedicatedServerSpecificationsHardwareResult, error) { + args := v.(GetDedicatedServerSpecificationsHardwareArgs) + r, err := GetDedicatedServerSpecificationsHardware(ctx, &args, opts...) + var s GetDedicatedServerSpecificationsHardwareResult + if r != nil { + s = *r + } + return s, err + }).(GetDedicatedServerSpecificationsHardwareResultOutput) +} + +// A collection of arguments for invoking getDedicatedServerSpecificationsHardware. +type GetDedicatedServerSpecificationsHardwareOutputArgs struct { + ServiceName pulumi.StringInput `pulumi:"serviceName"` +} + +func (GetDedicatedServerSpecificationsHardwareOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDedicatedServerSpecificationsHardwareArgs)(nil)).Elem() +} + +// A collection of values returned by getDedicatedServerSpecificationsHardware. +type GetDedicatedServerSpecificationsHardwareResultOutput struct{ *pulumi.OutputState } + +func (GetDedicatedServerSpecificationsHardwareResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDedicatedServerSpecificationsHardwareResult)(nil)).Elem() +} + +func (o GetDedicatedServerSpecificationsHardwareResultOutput) ToGetDedicatedServerSpecificationsHardwareResultOutput() GetDedicatedServerSpecificationsHardwareResultOutput { + return o +} + +func (o GetDedicatedServerSpecificationsHardwareResultOutput) ToGetDedicatedServerSpecificationsHardwareResultOutputWithContext(ctx context.Context) GetDedicatedServerSpecificationsHardwareResultOutput { + return o +} + +func (o GetDedicatedServerSpecificationsHardwareResultOutput) BootMode() pulumi.StringOutput { + return o.ApplyT(func(v GetDedicatedServerSpecificationsHardwareResult) string { return v.BootMode }).(pulumi.StringOutput) +} + +func (o GetDedicatedServerSpecificationsHardwareResultOutput) CoresPerProcessor() pulumi.Float64Output { + return o.ApplyT(func(v GetDedicatedServerSpecificationsHardwareResult) float64 { return v.CoresPerProcessor }).(pulumi.Float64Output) +} + +func (o GetDedicatedServerSpecificationsHardwareResultOutput) DefaultHardwareRaidSize() GetDedicatedServerSpecificationsHardwareDefaultHardwareRaidSizeOutput { + return o.ApplyT(func(v GetDedicatedServerSpecificationsHardwareResult) GetDedicatedServerSpecificationsHardwareDefaultHardwareRaidSize { + return v.DefaultHardwareRaidSize + }).(GetDedicatedServerSpecificationsHardwareDefaultHardwareRaidSizeOutput) +} + +func (o GetDedicatedServerSpecificationsHardwareResultOutput) DefaultHardwareRaidType() pulumi.StringOutput { + return o.ApplyT(func(v GetDedicatedServerSpecificationsHardwareResult) string { return v.DefaultHardwareRaidType }).(pulumi.StringOutput) +} + +func (o GetDedicatedServerSpecificationsHardwareResultOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v GetDedicatedServerSpecificationsHardwareResult) string { return v.Description }).(pulumi.StringOutput) +} + +func (o GetDedicatedServerSpecificationsHardwareResultOutput) DiskGroups() GetDedicatedServerSpecificationsHardwareDiskGroupArrayOutput { + return o.ApplyT(func(v GetDedicatedServerSpecificationsHardwareResult) []GetDedicatedServerSpecificationsHardwareDiskGroup { + return v.DiskGroups + }).(GetDedicatedServerSpecificationsHardwareDiskGroupArrayOutput) +} + +func (o GetDedicatedServerSpecificationsHardwareResultOutput) ExpansionCards() GetDedicatedServerSpecificationsHardwareExpansionCardArrayOutput { + return o.ApplyT(func(v GetDedicatedServerSpecificationsHardwareResult) []GetDedicatedServerSpecificationsHardwareExpansionCard { + return v.ExpansionCards + }).(GetDedicatedServerSpecificationsHardwareExpansionCardArrayOutput) +} + +func (o GetDedicatedServerSpecificationsHardwareResultOutput) FormFactor() pulumi.StringOutput { + return o.ApplyT(func(v GetDedicatedServerSpecificationsHardwareResult) string { return v.FormFactor }).(pulumi.StringOutput) +} + +// The provider-assigned unique ID for this managed resource. +func (o GetDedicatedServerSpecificationsHardwareResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetDedicatedServerSpecificationsHardwareResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o GetDedicatedServerSpecificationsHardwareResultOutput) MemorySize() GetDedicatedServerSpecificationsHardwareMemorySizeOutput { + return o.ApplyT(func(v GetDedicatedServerSpecificationsHardwareResult) GetDedicatedServerSpecificationsHardwareMemorySize { + return v.MemorySize + }).(GetDedicatedServerSpecificationsHardwareMemorySizeOutput) +} + +func (o GetDedicatedServerSpecificationsHardwareResultOutput) Motherboard() pulumi.StringOutput { + return o.ApplyT(func(v GetDedicatedServerSpecificationsHardwareResult) string { return v.Motherboard }).(pulumi.StringOutput) +} + +func (o GetDedicatedServerSpecificationsHardwareResultOutput) NumberOfProcessors() pulumi.Float64Output { + return o.ApplyT(func(v GetDedicatedServerSpecificationsHardwareResult) float64 { return v.NumberOfProcessors }).(pulumi.Float64Output) +} + +func (o GetDedicatedServerSpecificationsHardwareResultOutput) ProcessorArchitecture() pulumi.StringOutput { + return o.ApplyT(func(v GetDedicatedServerSpecificationsHardwareResult) string { return v.ProcessorArchitecture }).(pulumi.StringOutput) +} + +func (o GetDedicatedServerSpecificationsHardwareResultOutput) ProcessorName() pulumi.StringOutput { + return o.ApplyT(func(v GetDedicatedServerSpecificationsHardwareResult) string { return v.ProcessorName }).(pulumi.StringOutput) +} + +func (o GetDedicatedServerSpecificationsHardwareResultOutput) ServiceName() pulumi.StringOutput { + return o.ApplyT(func(v GetDedicatedServerSpecificationsHardwareResult) string { return v.ServiceName }).(pulumi.StringOutput) +} + +func (o GetDedicatedServerSpecificationsHardwareResultOutput) ThreadsPerProcessor() pulumi.Float64Output { + return o.ApplyT(func(v GetDedicatedServerSpecificationsHardwareResult) float64 { return v.ThreadsPerProcessor }).(pulumi.Float64Output) +} + +func (o GetDedicatedServerSpecificationsHardwareResultOutput) UsbKeys() GetDedicatedServerSpecificationsHardwareUsbKeyArrayOutput { + return o.ApplyT(func(v GetDedicatedServerSpecificationsHardwareResult) []GetDedicatedServerSpecificationsHardwareUsbKey { + return v.UsbKeys + }).(GetDedicatedServerSpecificationsHardwareUsbKeyArrayOutput) +} + +func init() { + pulumi.RegisterOutputType(GetDedicatedServerSpecificationsHardwareResultOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getDedicatedServerSpecificationsNetwork.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getDedicatedServerSpecificationsNetwork.go new file mode 100644 index 00000000..3310fb87 --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getDedicatedServerSpecificationsNetwork.go @@ -0,0 +1,144 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func GetDedicatedServerSpecificationsNetwork(ctx *pulumi.Context, args *GetDedicatedServerSpecificationsNetworkArgs, opts ...pulumi.InvokeOption) (*GetDedicatedServerSpecificationsNetworkResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var rv GetDedicatedServerSpecificationsNetworkResult + err = ctx.InvokePackage("ovh:index/getDedicatedServerSpecificationsNetwork:getDedicatedServerSpecificationsNetwork", args, &rv, ref, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getDedicatedServerSpecificationsNetwork. +type GetDedicatedServerSpecificationsNetworkArgs struct { + ServiceName string `pulumi:"serviceName"` +} + +// A collection of values returned by getDedicatedServerSpecificationsNetwork. +type GetDedicatedServerSpecificationsNetworkResult struct { + Bandwidth GetDedicatedServerSpecificationsNetworkBandwidth `pulumi:"bandwidth"` + ConnectionVal GetDedicatedServerSpecificationsNetworkConnectionVal `pulumi:"connectionVal"` + // The provider-assigned unique ID for this managed resource. + Id string `pulumi:"id"` + Ola GetDedicatedServerSpecificationsNetworkOla `pulumi:"ola"` + Routing GetDedicatedServerSpecificationsNetworkRouting `pulumi:"routing"` + ServiceName string `pulumi:"serviceName"` + Switching GetDedicatedServerSpecificationsNetworkSwitching `pulumi:"switching"` + Traffic GetDedicatedServerSpecificationsNetworkTraffic `pulumi:"traffic"` + Vmac GetDedicatedServerSpecificationsNetworkVmac `pulumi:"vmac"` + Vrack GetDedicatedServerSpecificationsNetworkVrack `pulumi:"vrack"` +} + +func GetDedicatedServerSpecificationsNetworkOutput(ctx *pulumi.Context, args GetDedicatedServerSpecificationsNetworkOutputArgs, opts ...pulumi.InvokeOption) GetDedicatedServerSpecificationsNetworkResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (GetDedicatedServerSpecificationsNetworkResult, error) { + args := v.(GetDedicatedServerSpecificationsNetworkArgs) + r, err := GetDedicatedServerSpecificationsNetwork(ctx, &args, opts...) + var s GetDedicatedServerSpecificationsNetworkResult + if r != nil { + s = *r + } + return s, err + }).(GetDedicatedServerSpecificationsNetworkResultOutput) +} + +// A collection of arguments for invoking getDedicatedServerSpecificationsNetwork. +type GetDedicatedServerSpecificationsNetworkOutputArgs struct { + ServiceName pulumi.StringInput `pulumi:"serviceName"` +} + +func (GetDedicatedServerSpecificationsNetworkOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDedicatedServerSpecificationsNetworkArgs)(nil)).Elem() +} + +// A collection of values returned by getDedicatedServerSpecificationsNetwork. +type GetDedicatedServerSpecificationsNetworkResultOutput struct{ *pulumi.OutputState } + +func (GetDedicatedServerSpecificationsNetworkResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDedicatedServerSpecificationsNetworkResult)(nil)).Elem() +} + +func (o GetDedicatedServerSpecificationsNetworkResultOutput) ToGetDedicatedServerSpecificationsNetworkResultOutput() GetDedicatedServerSpecificationsNetworkResultOutput { + return o +} + +func (o GetDedicatedServerSpecificationsNetworkResultOutput) ToGetDedicatedServerSpecificationsNetworkResultOutputWithContext(ctx context.Context) GetDedicatedServerSpecificationsNetworkResultOutput { + return o +} + +func (o GetDedicatedServerSpecificationsNetworkResultOutput) Bandwidth() GetDedicatedServerSpecificationsNetworkBandwidthOutput { + return o.ApplyT(func(v GetDedicatedServerSpecificationsNetworkResult) GetDedicatedServerSpecificationsNetworkBandwidth { + return v.Bandwidth + }).(GetDedicatedServerSpecificationsNetworkBandwidthOutput) +} + +func (o GetDedicatedServerSpecificationsNetworkResultOutput) ConnectionVal() GetDedicatedServerSpecificationsNetworkConnectionValOutput { + return o.ApplyT(func(v GetDedicatedServerSpecificationsNetworkResult) GetDedicatedServerSpecificationsNetworkConnectionVal { + return v.ConnectionVal + }).(GetDedicatedServerSpecificationsNetworkConnectionValOutput) +} + +// The provider-assigned unique ID for this managed resource. +func (o GetDedicatedServerSpecificationsNetworkResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetDedicatedServerSpecificationsNetworkResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o GetDedicatedServerSpecificationsNetworkResultOutput) Ola() GetDedicatedServerSpecificationsNetworkOlaOutput { + return o.ApplyT(func(v GetDedicatedServerSpecificationsNetworkResult) GetDedicatedServerSpecificationsNetworkOla { + return v.Ola + }).(GetDedicatedServerSpecificationsNetworkOlaOutput) +} + +func (o GetDedicatedServerSpecificationsNetworkResultOutput) Routing() GetDedicatedServerSpecificationsNetworkRoutingOutput { + return o.ApplyT(func(v GetDedicatedServerSpecificationsNetworkResult) GetDedicatedServerSpecificationsNetworkRouting { + return v.Routing + }).(GetDedicatedServerSpecificationsNetworkRoutingOutput) +} + +func (o GetDedicatedServerSpecificationsNetworkResultOutput) ServiceName() pulumi.StringOutput { + return o.ApplyT(func(v GetDedicatedServerSpecificationsNetworkResult) string { return v.ServiceName }).(pulumi.StringOutput) +} + +func (o GetDedicatedServerSpecificationsNetworkResultOutput) Switching() GetDedicatedServerSpecificationsNetworkSwitchingOutput { + return o.ApplyT(func(v GetDedicatedServerSpecificationsNetworkResult) GetDedicatedServerSpecificationsNetworkSwitching { + return v.Switching + }).(GetDedicatedServerSpecificationsNetworkSwitchingOutput) +} + +func (o GetDedicatedServerSpecificationsNetworkResultOutput) Traffic() GetDedicatedServerSpecificationsNetworkTrafficOutput { + return o.ApplyT(func(v GetDedicatedServerSpecificationsNetworkResult) GetDedicatedServerSpecificationsNetworkTraffic { + return v.Traffic + }).(GetDedicatedServerSpecificationsNetworkTrafficOutput) +} + +func (o GetDedicatedServerSpecificationsNetworkResultOutput) Vmac() GetDedicatedServerSpecificationsNetworkVmacOutput { + return o.ApplyT(func(v GetDedicatedServerSpecificationsNetworkResult) GetDedicatedServerSpecificationsNetworkVmac { + return v.Vmac + }).(GetDedicatedServerSpecificationsNetworkVmacOutput) +} + +func (o GetDedicatedServerSpecificationsNetworkResultOutput) Vrack() GetDedicatedServerSpecificationsNetworkVrackOutput { + return o.ApplyT(func(v GetDedicatedServerSpecificationsNetworkResult) GetDedicatedServerSpecificationsNetworkVrack { + return v.Vrack + }).(GetDedicatedServerSpecificationsNetworkVrackOutput) +} + +func init() { + pulumi.RegisterOutputType(GetDedicatedServerSpecificationsNetworkResultOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getDedicatedServers.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getDedicatedServers.go new file mode 100644 index 00000000..1b28fcc6 --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getDedicatedServers.go @@ -0,0 +1,86 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func GetDedicatedServers(ctx *pulumi.Context, args *GetDedicatedServersArgs, opts ...pulumi.InvokeOption) (*GetDedicatedServersResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var rv GetDedicatedServersResult + err = ctx.InvokePackage("ovh:index/getDedicatedServers:getDedicatedServers", args, &rv, ref, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getDedicatedServers. +type GetDedicatedServersArgs struct { + Id *string `pulumi:"id"` +} + +// A collection of values returned by getDedicatedServers. +type GetDedicatedServersResult struct { + Id string `pulumi:"id"` + Results []string `pulumi:"results"` +} + +func GetDedicatedServersOutput(ctx *pulumi.Context, args GetDedicatedServersOutputArgs, opts ...pulumi.InvokeOption) GetDedicatedServersResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (GetDedicatedServersResult, error) { + args := v.(GetDedicatedServersArgs) + r, err := GetDedicatedServers(ctx, &args, opts...) + var s GetDedicatedServersResult + if r != nil { + s = *r + } + return s, err + }).(GetDedicatedServersResultOutput) +} + +// A collection of arguments for invoking getDedicatedServers. +type GetDedicatedServersOutputArgs struct { + Id pulumi.StringPtrInput `pulumi:"id"` +} + +func (GetDedicatedServersOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDedicatedServersArgs)(nil)).Elem() +} + +// A collection of values returned by getDedicatedServers. +type GetDedicatedServersResultOutput struct{ *pulumi.OutputState } + +func (GetDedicatedServersResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDedicatedServersResult)(nil)).Elem() +} + +func (o GetDedicatedServersResultOutput) ToGetDedicatedServersResultOutput() GetDedicatedServersResultOutput { + return o +} + +func (o GetDedicatedServersResultOutput) ToGetDedicatedServersResultOutputWithContext(ctx context.Context) GetDedicatedServersResultOutput { + return o +} + +func (o GetDedicatedServersResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetDedicatedServersResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o GetDedicatedServersResultOutput) Results() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetDedicatedServersResult) []string { return v.Results }).(pulumi.StringArrayOutput) +} + +func init() { + pulumi.RegisterOutputType(GetDedicatedServersResultOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getDomainZone.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getDomainZone.go new file mode 100644 index 00000000..6920f784 --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getDomainZone.go @@ -0,0 +1,113 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func LookupDomainZone(ctx *pulumi.Context, args *LookupDomainZoneArgs, opts ...pulumi.InvokeOption) (*LookupDomainZoneResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var rv LookupDomainZoneResult + err = ctx.InvokePackage("ovh:index/getDomainZone:getDomainZone", args, &rv, ref, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getDomainZone. +type LookupDomainZoneArgs struct { + Id *string `pulumi:"id"` + Name string `pulumi:"name"` +} + +// A collection of values returned by getDomainZone. +type LookupDomainZoneResult struct { + DnssecSupported bool `pulumi:"dnssecSupported"` + HasDnsAnycast bool `pulumi:"hasDnsAnycast"` + Id string `pulumi:"id"` + LastUpdate string `pulumi:"lastUpdate"` + Name string `pulumi:"name"` + NameServers []string `pulumi:"nameServers"` + Urn string `pulumi:"urn"` +} + +func LookupDomainZoneOutput(ctx *pulumi.Context, args LookupDomainZoneOutputArgs, opts ...pulumi.InvokeOption) LookupDomainZoneResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (LookupDomainZoneResult, error) { + args := v.(LookupDomainZoneArgs) + r, err := LookupDomainZone(ctx, &args, opts...) + var s LookupDomainZoneResult + if r != nil { + s = *r + } + return s, err + }).(LookupDomainZoneResultOutput) +} + +// A collection of arguments for invoking getDomainZone. +type LookupDomainZoneOutputArgs struct { + Id pulumi.StringPtrInput `pulumi:"id"` + Name pulumi.StringInput `pulumi:"name"` +} + +func (LookupDomainZoneOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LookupDomainZoneArgs)(nil)).Elem() +} + +// A collection of values returned by getDomainZone. +type LookupDomainZoneResultOutput struct{ *pulumi.OutputState } + +func (LookupDomainZoneResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LookupDomainZoneResult)(nil)).Elem() +} + +func (o LookupDomainZoneResultOutput) ToLookupDomainZoneResultOutput() LookupDomainZoneResultOutput { + return o +} + +func (o LookupDomainZoneResultOutput) ToLookupDomainZoneResultOutputWithContext(ctx context.Context) LookupDomainZoneResultOutput { + return o +} + +func (o LookupDomainZoneResultOutput) DnssecSupported() pulumi.BoolOutput { + return o.ApplyT(func(v LookupDomainZoneResult) bool { return v.DnssecSupported }).(pulumi.BoolOutput) +} + +func (o LookupDomainZoneResultOutput) HasDnsAnycast() pulumi.BoolOutput { + return o.ApplyT(func(v LookupDomainZoneResult) bool { return v.HasDnsAnycast }).(pulumi.BoolOutput) +} + +func (o LookupDomainZoneResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v LookupDomainZoneResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o LookupDomainZoneResultOutput) LastUpdate() pulumi.StringOutput { + return o.ApplyT(func(v LookupDomainZoneResult) string { return v.LastUpdate }).(pulumi.StringOutput) +} + +func (o LookupDomainZoneResultOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v LookupDomainZoneResult) string { return v.Name }).(pulumi.StringOutput) +} + +func (o LookupDomainZoneResultOutput) NameServers() pulumi.StringArrayOutput { + return o.ApplyT(func(v LookupDomainZoneResult) []string { return v.NameServers }).(pulumi.StringArrayOutput) +} + +func (o LookupDomainZoneResultOutput) Urn() pulumi.StringOutput { + return o.ApplyT(func(v LookupDomainZoneResult) string { return v.Urn }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(LookupDomainZoneResultOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getDomainZoneDnssec.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getDomainZoneDnssec.go new file mode 100644 index 00000000..8224480a --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getDomainZoneDnssec.go @@ -0,0 +1,93 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func LookupDomainZoneDnssec(ctx *pulumi.Context, args *LookupDomainZoneDnssecArgs, opts ...pulumi.InvokeOption) (*LookupDomainZoneDnssecResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var rv LookupDomainZoneDnssecResult + err = ctx.InvokePackage("ovh:index/getDomainZoneDnssec:getDomainZoneDnssec", args, &rv, ref, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getDomainZoneDnssec. +type LookupDomainZoneDnssecArgs struct { + ZoneName string `pulumi:"zoneName"` +} + +// A collection of values returned by getDomainZoneDnssec. +type LookupDomainZoneDnssecResult struct { + // The provider-assigned unique ID for this managed resource. + Id string `pulumi:"id"` + Status string `pulumi:"status"` + ZoneName string `pulumi:"zoneName"` +} + +func LookupDomainZoneDnssecOutput(ctx *pulumi.Context, args LookupDomainZoneDnssecOutputArgs, opts ...pulumi.InvokeOption) LookupDomainZoneDnssecResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (LookupDomainZoneDnssecResult, error) { + args := v.(LookupDomainZoneDnssecArgs) + r, err := LookupDomainZoneDnssec(ctx, &args, opts...) + var s LookupDomainZoneDnssecResult + if r != nil { + s = *r + } + return s, err + }).(LookupDomainZoneDnssecResultOutput) +} + +// A collection of arguments for invoking getDomainZoneDnssec. +type LookupDomainZoneDnssecOutputArgs struct { + ZoneName pulumi.StringInput `pulumi:"zoneName"` +} + +func (LookupDomainZoneDnssecOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LookupDomainZoneDnssecArgs)(nil)).Elem() +} + +// A collection of values returned by getDomainZoneDnssec. +type LookupDomainZoneDnssecResultOutput struct{ *pulumi.OutputState } + +func (LookupDomainZoneDnssecResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LookupDomainZoneDnssecResult)(nil)).Elem() +} + +func (o LookupDomainZoneDnssecResultOutput) ToLookupDomainZoneDnssecResultOutput() LookupDomainZoneDnssecResultOutput { + return o +} + +func (o LookupDomainZoneDnssecResultOutput) ToLookupDomainZoneDnssecResultOutputWithContext(ctx context.Context) LookupDomainZoneDnssecResultOutput { + return o +} + +// The provider-assigned unique ID for this managed resource. +func (o LookupDomainZoneDnssecResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v LookupDomainZoneDnssecResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o LookupDomainZoneDnssecResultOutput) Status() pulumi.StringOutput { + return o.ApplyT(func(v LookupDomainZoneDnssecResult) string { return v.Status }).(pulumi.StringOutput) +} + +func (o LookupDomainZoneDnssecResultOutput) ZoneName() pulumi.StringOutput { + return o.ApplyT(func(v LookupDomainZoneDnssecResult) string { return v.ZoneName }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(LookupDomainZoneDnssecResultOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getHostingPrivatedatabase.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getHostingPrivatedatabase.go new file mode 100644 index 00000000..f1fd1536 --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getHostingPrivatedatabase.go @@ -0,0 +1,183 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func LookupHostingPrivatedatabase(ctx *pulumi.Context, args *LookupHostingPrivatedatabaseArgs, opts ...pulumi.InvokeOption) (*LookupHostingPrivatedatabaseResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var rv LookupHostingPrivatedatabaseResult + err = ctx.InvokePackage("ovh:index/getHostingPrivatedatabase:getHostingPrivatedatabase", args, &rv, ref, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getHostingPrivatedatabase. +type LookupHostingPrivatedatabaseArgs struct { + Id *string `pulumi:"id"` + ServiceName string `pulumi:"serviceName"` +} + +// A collection of values returned by getHostingPrivatedatabase. +type LookupHostingPrivatedatabaseResult struct { + Cpu float64 `pulumi:"cpu"` + Datacenter string `pulumi:"datacenter"` + DisplayName string `pulumi:"displayName"` + Hostname string `pulumi:"hostname"` + HostnameFtp string `pulumi:"hostnameFtp"` + Id string `pulumi:"id"` + Infrastructure string `pulumi:"infrastructure"` + Offer string `pulumi:"offer"` + Port float64 `pulumi:"port"` + PortFtp float64 `pulumi:"portFtp"` + QuotaSize float64 `pulumi:"quotaSize"` + QuotaUsed float64 `pulumi:"quotaUsed"` + Ram float64 `pulumi:"ram"` + Server string `pulumi:"server"` + ServiceName string `pulumi:"serviceName"` + State string `pulumi:"state"` + Type string `pulumi:"type"` + Urn string `pulumi:"urn"` + Version string `pulumi:"version"` + VersionLabel string `pulumi:"versionLabel"` + VersionNumber float64 `pulumi:"versionNumber"` +} + +func LookupHostingPrivatedatabaseOutput(ctx *pulumi.Context, args LookupHostingPrivatedatabaseOutputArgs, opts ...pulumi.InvokeOption) LookupHostingPrivatedatabaseResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (LookupHostingPrivatedatabaseResult, error) { + args := v.(LookupHostingPrivatedatabaseArgs) + r, err := LookupHostingPrivatedatabase(ctx, &args, opts...) + var s LookupHostingPrivatedatabaseResult + if r != nil { + s = *r + } + return s, err + }).(LookupHostingPrivatedatabaseResultOutput) +} + +// A collection of arguments for invoking getHostingPrivatedatabase. +type LookupHostingPrivatedatabaseOutputArgs struct { + Id pulumi.StringPtrInput `pulumi:"id"` + ServiceName pulumi.StringInput `pulumi:"serviceName"` +} + +func (LookupHostingPrivatedatabaseOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LookupHostingPrivatedatabaseArgs)(nil)).Elem() +} + +// A collection of values returned by getHostingPrivatedatabase. +type LookupHostingPrivatedatabaseResultOutput struct{ *pulumi.OutputState } + +func (LookupHostingPrivatedatabaseResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LookupHostingPrivatedatabaseResult)(nil)).Elem() +} + +func (o LookupHostingPrivatedatabaseResultOutput) ToLookupHostingPrivatedatabaseResultOutput() LookupHostingPrivatedatabaseResultOutput { + return o +} + +func (o LookupHostingPrivatedatabaseResultOutput) ToLookupHostingPrivatedatabaseResultOutputWithContext(ctx context.Context) LookupHostingPrivatedatabaseResultOutput { + return o +} + +func (o LookupHostingPrivatedatabaseResultOutput) Cpu() pulumi.Float64Output { + return o.ApplyT(func(v LookupHostingPrivatedatabaseResult) float64 { return v.Cpu }).(pulumi.Float64Output) +} + +func (o LookupHostingPrivatedatabaseResultOutput) Datacenter() pulumi.StringOutput { + return o.ApplyT(func(v LookupHostingPrivatedatabaseResult) string { return v.Datacenter }).(pulumi.StringOutput) +} + +func (o LookupHostingPrivatedatabaseResultOutput) DisplayName() pulumi.StringOutput { + return o.ApplyT(func(v LookupHostingPrivatedatabaseResult) string { return v.DisplayName }).(pulumi.StringOutput) +} + +func (o LookupHostingPrivatedatabaseResultOutput) Hostname() pulumi.StringOutput { + return o.ApplyT(func(v LookupHostingPrivatedatabaseResult) string { return v.Hostname }).(pulumi.StringOutput) +} + +func (o LookupHostingPrivatedatabaseResultOutput) HostnameFtp() pulumi.StringOutput { + return o.ApplyT(func(v LookupHostingPrivatedatabaseResult) string { return v.HostnameFtp }).(pulumi.StringOutput) +} + +func (o LookupHostingPrivatedatabaseResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v LookupHostingPrivatedatabaseResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o LookupHostingPrivatedatabaseResultOutput) Infrastructure() pulumi.StringOutput { + return o.ApplyT(func(v LookupHostingPrivatedatabaseResult) string { return v.Infrastructure }).(pulumi.StringOutput) +} + +func (o LookupHostingPrivatedatabaseResultOutput) Offer() pulumi.StringOutput { + return o.ApplyT(func(v LookupHostingPrivatedatabaseResult) string { return v.Offer }).(pulumi.StringOutput) +} + +func (o LookupHostingPrivatedatabaseResultOutput) Port() pulumi.Float64Output { + return o.ApplyT(func(v LookupHostingPrivatedatabaseResult) float64 { return v.Port }).(pulumi.Float64Output) +} + +func (o LookupHostingPrivatedatabaseResultOutput) PortFtp() pulumi.Float64Output { + return o.ApplyT(func(v LookupHostingPrivatedatabaseResult) float64 { return v.PortFtp }).(pulumi.Float64Output) +} + +func (o LookupHostingPrivatedatabaseResultOutput) QuotaSize() pulumi.Float64Output { + return o.ApplyT(func(v LookupHostingPrivatedatabaseResult) float64 { return v.QuotaSize }).(pulumi.Float64Output) +} + +func (o LookupHostingPrivatedatabaseResultOutput) QuotaUsed() pulumi.Float64Output { + return o.ApplyT(func(v LookupHostingPrivatedatabaseResult) float64 { return v.QuotaUsed }).(pulumi.Float64Output) +} + +func (o LookupHostingPrivatedatabaseResultOutput) Ram() pulumi.Float64Output { + return o.ApplyT(func(v LookupHostingPrivatedatabaseResult) float64 { return v.Ram }).(pulumi.Float64Output) +} + +func (o LookupHostingPrivatedatabaseResultOutput) Server() pulumi.StringOutput { + return o.ApplyT(func(v LookupHostingPrivatedatabaseResult) string { return v.Server }).(pulumi.StringOutput) +} + +func (o LookupHostingPrivatedatabaseResultOutput) ServiceName() pulumi.StringOutput { + return o.ApplyT(func(v LookupHostingPrivatedatabaseResult) string { return v.ServiceName }).(pulumi.StringOutput) +} + +func (o LookupHostingPrivatedatabaseResultOutput) State() pulumi.StringOutput { + return o.ApplyT(func(v LookupHostingPrivatedatabaseResult) string { return v.State }).(pulumi.StringOutput) +} + +func (o LookupHostingPrivatedatabaseResultOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v LookupHostingPrivatedatabaseResult) string { return v.Type }).(pulumi.StringOutput) +} + +func (o LookupHostingPrivatedatabaseResultOutput) Urn() pulumi.StringOutput { + return o.ApplyT(func(v LookupHostingPrivatedatabaseResult) string { return v.Urn }).(pulumi.StringOutput) +} + +func (o LookupHostingPrivatedatabaseResultOutput) Version() pulumi.StringOutput { + return o.ApplyT(func(v LookupHostingPrivatedatabaseResult) string { return v.Version }).(pulumi.StringOutput) +} + +func (o LookupHostingPrivatedatabaseResultOutput) VersionLabel() pulumi.StringOutput { + return o.ApplyT(func(v LookupHostingPrivatedatabaseResult) string { return v.VersionLabel }).(pulumi.StringOutput) +} + +func (o LookupHostingPrivatedatabaseResultOutput) VersionNumber() pulumi.Float64Output { + return o.ApplyT(func(v LookupHostingPrivatedatabaseResult) float64 { return v.VersionNumber }).(pulumi.Float64Output) +} + +func init() { + pulumi.RegisterOutputType(LookupHostingPrivatedatabaseResultOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getHostingPrivatedatabaseDatabase.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getHostingPrivatedatabaseDatabase.go new file mode 100644 index 00000000..875377e3 --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getHostingPrivatedatabaseDatabase.go @@ -0,0 +1,117 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func LookupHostingPrivatedatabaseDatabase(ctx *pulumi.Context, args *LookupHostingPrivatedatabaseDatabaseArgs, opts ...pulumi.InvokeOption) (*LookupHostingPrivatedatabaseDatabaseResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var rv LookupHostingPrivatedatabaseDatabaseResult + err = ctx.InvokePackage("ovh:index/getHostingPrivatedatabaseDatabase:getHostingPrivatedatabaseDatabase", args, &rv, ref, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getHostingPrivatedatabaseDatabase. +type LookupHostingPrivatedatabaseDatabaseArgs struct { + DatabaseName string `pulumi:"databaseName"` + Id *string `pulumi:"id"` + ServiceName string `pulumi:"serviceName"` +} + +// A collection of values returned by getHostingPrivatedatabaseDatabase. +type LookupHostingPrivatedatabaseDatabaseResult struct { + BackupTime string `pulumi:"backupTime"` + CreationDate string `pulumi:"creationDate"` + DatabaseName string `pulumi:"databaseName"` + Id string `pulumi:"id"` + QuotaUsed float64 `pulumi:"quotaUsed"` + ServiceName string `pulumi:"serviceName"` + Users []GetHostingPrivatedatabaseDatabaseUser `pulumi:"users"` +} + +func LookupHostingPrivatedatabaseDatabaseOutput(ctx *pulumi.Context, args LookupHostingPrivatedatabaseDatabaseOutputArgs, opts ...pulumi.InvokeOption) LookupHostingPrivatedatabaseDatabaseResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (LookupHostingPrivatedatabaseDatabaseResult, error) { + args := v.(LookupHostingPrivatedatabaseDatabaseArgs) + r, err := LookupHostingPrivatedatabaseDatabase(ctx, &args, opts...) + var s LookupHostingPrivatedatabaseDatabaseResult + if r != nil { + s = *r + } + return s, err + }).(LookupHostingPrivatedatabaseDatabaseResultOutput) +} + +// A collection of arguments for invoking getHostingPrivatedatabaseDatabase. +type LookupHostingPrivatedatabaseDatabaseOutputArgs struct { + DatabaseName pulumi.StringInput `pulumi:"databaseName"` + Id pulumi.StringPtrInput `pulumi:"id"` + ServiceName pulumi.StringInput `pulumi:"serviceName"` +} + +func (LookupHostingPrivatedatabaseDatabaseOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LookupHostingPrivatedatabaseDatabaseArgs)(nil)).Elem() +} + +// A collection of values returned by getHostingPrivatedatabaseDatabase. +type LookupHostingPrivatedatabaseDatabaseResultOutput struct{ *pulumi.OutputState } + +func (LookupHostingPrivatedatabaseDatabaseResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LookupHostingPrivatedatabaseDatabaseResult)(nil)).Elem() +} + +func (o LookupHostingPrivatedatabaseDatabaseResultOutput) ToLookupHostingPrivatedatabaseDatabaseResultOutput() LookupHostingPrivatedatabaseDatabaseResultOutput { + return o +} + +func (o LookupHostingPrivatedatabaseDatabaseResultOutput) ToLookupHostingPrivatedatabaseDatabaseResultOutputWithContext(ctx context.Context) LookupHostingPrivatedatabaseDatabaseResultOutput { + return o +} + +func (o LookupHostingPrivatedatabaseDatabaseResultOutput) BackupTime() pulumi.StringOutput { + return o.ApplyT(func(v LookupHostingPrivatedatabaseDatabaseResult) string { return v.BackupTime }).(pulumi.StringOutput) +} + +func (o LookupHostingPrivatedatabaseDatabaseResultOutput) CreationDate() pulumi.StringOutput { + return o.ApplyT(func(v LookupHostingPrivatedatabaseDatabaseResult) string { return v.CreationDate }).(pulumi.StringOutput) +} + +func (o LookupHostingPrivatedatabaseDatabaseResultOutput) DatabaseName() pulumi.StringOutput { + return o.ApplyT(func(v LookupHostingPrivatedatabaseDatabaseResult) string { return v.DatabaseName }).(pulumi.StringOutput) +} + +func (o LookupHostingPrivatedatabaseDatabaseResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v LookupHostingPrivatedatabaseDatabaseResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o LookupHostingPrivatedatabaseDatabaseResultOutput) QuotaUsed() pulumi.Float64Output { + return o.ApplyT(func(v LookupHostingPrivatedatabaseDatabaseResult) float64 { return v.QuotaUsed }).(pulumi.Float64Output) +} + +func (o LookupHostingPrivatedatabaseDatabaseResultOutput) ServiceName() pulumi.StringOutput { + return o.ApplyT(func(v LookupHostingPrivatedatabaseDatabaseResult) string { return v.ServiceName }).(pulumi.StringOutput) +} + +func (o LookupHostingPrivatedatabaseDatabaseResultOutput) Users() GetHostingPrivatedatabaseDatabaseUserArrayOutput { + return o.ApplyT(func(v LookupHostingPrivatedatabaseDatabaseResult) []GetHostingPrivatedatabaseDatabaseUser { + return v.Users + }).(GetHostingPrivatedatabaseDatabaseUserArrayOutput) +} + +func init() { + pulumi.RegisterOutputType(LookupHostingPrivatedatabaseDatabaseResultOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getHostingPrivatedatabaseUser.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getHostingPrivatedatabaseUser.go new file mode 100644 index 00000000..f1bfce42 --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getHostingPrivatedatabaseUser.go @@ -0,0 +1,107 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func LookupHostingPrivatedatabaseUser(ctx *pulumi.Context, args *LookupHostingPrivatedatabaseUserArgs, opts ...pulumi.InvokeOption) (*LookupHostingPrivatedatabaseUserResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var rv LookupHostingPrivatedatabaseUserResult + err = ctx.InvokePackage("ovh:index/getHostingPrivatedatabaseUser:getHostingPrivatedatabaseUser", args, &rv, ref, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getHostingPrivatedatabaseUser. +type LookupHostingPrivatedatabaseUserArgs struct { + Id *string `pulumi:"id"` + ServiceName string `pulumi:"serviceName"` + UserName string `pulumi:"userName"` +} + +// A collection of values returned by getHostingPrivatedatabaseUser. +type LookupHostingPrivatedatabaseUserResult struct { + CreationDate string `pulumi:"creationDate"` + Databases []GetHostingPrivatedatabaseUserDatabase `pulumi:"databases"` + Id string `pulumi:"id"` + ServiceName string `pulumi:"serviceName"` + UserName string `pulumi:"userName"` +} + +func LookupHostingPrivatedatabaseUserOutput(ctx *pulumi.Context, args LookupHostingPrivatedatabaseUserOutputArgs, opts ...pulumi.InvokeOption) LookupHostingPrivatedatabaseUserResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (LookupHostingPrivatedatabaseUserResult, error) { + args := v.(LookupHostingPrivatedatabaseUserArgs) + r, err := LookupHostingPrivatedatabaseUser(ctx, &args, opts...) + var s LookupHostingPrivatedatabaseUserResult + if r != nil { + s = *r + } + return s, err + }).(LookupHostingPrivatedatabaseUserResultOutput) +} + +// A collection of arguments for invoking getHostingPrivatedatabaseUser. +type LookupHostingPrivatedatabaseUserOutputArgs struct { + Id pulumi.StringPtrInput `pulumi:"id"` + ServiceName pulumi.StringInput `pulumi:"serviceName"` + UserName pulumi.StringInput `pulumi:"userName"` +} + +func (LookupHostingPrivatedatabaseUserOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LookupHostingPrivatedatabaseUserArgs)(nil)).Elem() +} + +// A collection of values returned by getHostingPrivatedatabaseUser. +type LookupHostingPrivatedatabaseUserResultOutput struct{ *pulumi.OutputState } + +func (LookupHostingPrivatedatabaseUserResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LookupHostingPrivatedatabaseUserResult)(nil)).Elem() +} + +func (o LookupHostingPrivatedatabaseUserResultOutput) ToLookupHostingPrivatedatabaseUserResultOutput() LookupHostingPrivatedatabaseUserResultOutput { + return o +} + +func (o LookupHostingPrivatedatabaseUserResultOutput) ToLookupHostingPrivatedatabaseUserResultOutputWithContext(ctx context.Context) LookupHostingPrivatedatabaseUserResultOutput { + return o +} + +func (o LookupHostingPrivatedatabaseUserResultOutput) CreationDate() pulumi.StringOutput { + return o.ApplyT(func(v LookupHostingPrivatedatabaseUserResult) string { return v.CreationDate }).(pulumi.StringOutput) +} + +func (o LookupHostingPrivatedatabaseUserResultOutput) Databases() GetHostingPrivatedatabaseUserDatabaseArrayOutput { + return o.ApplyT(func(v LookupHostingPrivatedatabaseUserResult) []GetHostingPrivatedatabaseUserDatabase { + return v.Databases + }).(GetHostingPrivatedatabaseUserDatabaseArrayOutput) +} + +func (o LookupHostingPrivatedatabaseUserResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v LookupHostingPrivatedatabaseUserResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o LookupHostingPrivatedatabaseUserResultOutput) ServiceName() pulumi.StringOutput { + return o.ApplyT(func(v LookupHostingPrivatedatabaseUserResult) string { return v.ServiceName }).(pulumi.StringOutput) +} + +func (o LookupHostingPrivatedatabaseUserResultOutput) UserName() pulumi.StringOutput { + return o.ApplyT(func(v LookupHostingPrivatedatabaseUserResult) string { return v.UserName }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(LookupHostingPrivatedatabaseUserResultOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getHostingPrivatedatabaseUserGrant.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getHostingPrivatedatabaseUserGrant.go new file mode 100644 index 00000000..69fd9cf7 --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getHostingPrivatedatabaseUserGrant.go @@ -0,0 +1,112 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func LookupHostingPrivatedatabaseUserGrant(ctx *pulumi.Context, args *LookupHostingPrivatedatabaseUserGrantArgs, opts ...pulumi.InvokeOption) (*LookupHostingPrivatedatabaseUserGrantResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var rv LookupHostingPrivatedatabaseUserGrantResult + err = ctx.InvokePackage("ovh:index/getHostingPrivatedatabaseUserGrant:getHostingPrivatedatabaseUserGrant", args, &rv, ref, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getHostingPrivatedatabaseUserGrant. +type LookupHostingPrivatedatabaseUserGrantArgs struct { + DatabaseName string `pulumi:"databaseName"` + Id *string `pulumi:"id"` + ServiceName string `pulumi:"serviceName"` + UserName string `pulumi:"userName"` +} + +// A collection of values returned by getHostingPrivatedatabaseUserGrant. +type LookupHostingPrivatedatabaseUserGrantResult struct { + CreationDate string `pulumi:"creationDate"` + DatabaseName string `pulumi:"databaseName"` + Grant string `pulumi:"grant"` + Id string `pulumi:"id"` + ServiceName string `pulumi:"serviceName"` + UserName string `pulumi:"userName"` +} + +func LookupHostingPrivatedatabaseUserGrantOutput(ctx *pulumi.Context, args LookupHostingPrivatedatabaseUserGrantOutputArgs, opts ...pulumi.InvokeOption) LookupHostingPrivatedatabaseUserGrantResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (LookupHostingPrivatedatabaseUserGrantResult, error) { + args := v.(LookupHostingPrivatedatabaseUserGrantArgs) + r, err := LookupHostingPrivatedatabaseUserGrant(ctx, &args, opts...) + var s LookupHostingPrivatedatabaseUserGrantResult + if r != nil { + s = *r + } + return s, err + }).(LookupHostingPrivatedatabaseUserGrantResultOutput) +} + +// A collection of arguments for invoking getHostingPrivatedatabaseUserGrant. +type LookupHostingPrivatedatabaseUserGrantOutputArgs struct { + DatabaseName pulumi.StringInput `pulumi:"databaseName"` + Id pulumi.StringPtrInput `pulumi:"id"` + ServiceName pulumi.StringInput `pulumi:"serviceName"` + UserName pulumi.StringInput `pulumi:"userName"` +} + +func (LookupHostingPrivatedatabaseUserGrantOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LookupHostingPrivatedatabaseUserGrantArgs)(nil)).Elem() +} + +// A collection of values returned by getHostingPrivatedatabaseUserGrant. +type LookupHostingPrivatedatabaseUserGrantResultOutput struct{ *pulumi.OutputState } + +func (LookupHostingPrivatedatabaseUserGrantResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LookupHostingPrivatedatabaseUserGrantResult)(nil)).Elem() +} + +func (o LookupHostingPrivatedatabaseUserGrantResultOutput) ToLookupHostingPrivatedatabaseUserGrantResultOutput() LookupHostingPrivatedatabaseUserGrantResultOutput { + return o +} + +func (o LookupHostingPrivatedatabaseUserGrantResultOutput) ToLookupHostingPrivatedatabaseUserGrantResultOutputWithContext(ctx context.Context) LookupHostingPrivatedatabaseUserGrantResultOutput { + return o +} + +func (o LookupHostingPrivatedatabaseUserGrantResultOutput) CreationDate() pulumi.StringOutput { + return o.ApplyT(func(v LookupHostingPrivatedatabaseUserGrantResult) string { return v.CreationDate }).(pulumi.StringOutput) +} + +func (o LookupHostingPrivatedatabaseUserGrantResultOutput) DatabaseName() pulumi.StringOutput { + return o.ApplyT(func(v LookupHostingPrivatedatabaseUserGrantResult) string { return v.DatabaseName }).(pulumi.StringOutput) +} + +func (o LookupHostingPrivatedatabaseUserGrantResultOutput) Grant() pulumi.StringOutput { + return o.ApplyT(func(v LookupHostingPrivatedatabaseUserGrantResult) string { return v.Grant }).(pulumi.StringOutput) +} + +func (o LookupHostingPrivatedatabaseUserGrantResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v LookupHostingPrivatedatabaseUserGrantResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o LookupHostingPrivatedatabaseUserGrantResultOutput) ServiceName() pulumi.StringOutput { + return o.ApplyT(func(v LookupHostingPrivatedatabaseUserGrantResult) string { return v.ServiceName }).(pulumi.StringOutput) +} + +func (o LookupHostingPrivatedatabaseUserGrantResultOutput) UserName() pulumi.StringOutput { + return o.ApplyT(func(v LookupHostingPrivatedatabaseUserGrantResult) string { return v.UserName }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(LookupHostingPrivatedatabaseUserGrantResultOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getHostingPrivatedatabaseWhitelist.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getHostingPrivatedatabaseWhitelist.go new file mode 100644 index 00000000..9514b196 --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getHostingPrivatedatabaseWhitelist.go @@ -0,0 +1,125 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func LookupHostingPrivatedatabaseWhitelist(ctx *pulumi.Context, args *LookupHostingPrivatedatabaseWhitelistArgs, opts ...pulumi.InvokeOption) (*LookupHostingPrivatedatabaseWhitelistResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var rv LookupHostingPrivatedatabaseWhitelistResult + err = ctx.InvokePackage("ovh:index/getHostingPrivatedatabaseWhitelist:getHostingPrivatedatabaseWhitelist", args, &rv, ref, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getHostingPrivatedatabaseWhitelist. +type LookupHostingPrivatedatabaseWhitelistArgs struct { + Id *string `pulumi:"id"` + Ip *string `pulumi:"ip"` + ServiceName string `pulumi:"serviceName"` +} + +// A collection of values returned by getHostingPrivatedatabaseWhitelist. +type LookupHostingPrivatedatabaseWhitelistResult struct { + CreationDate string `pulumi:"creationDate"` + Id string `pulumi:"id"` + Ip *string `pulumi:"ip"` + LastUpdate string `pulumi:"lastUpdate"` + Name string `pulumi:"name"` + Service bool `pulumi:"service"` + ServiceName string `pulumi:"serviceName"` + Sftp bool `pulumi:"sftp"` + Status string `pulumi:"status"` +} + +func LookupHostingPrivatedatabaseWhitelistOutput(ctx *pulumi.Context, args LookupHostingPrivatedatabaseWhitelistOutputArgs, opts ...pulumi.InvokeOption) LookupHostingPrivatedatabaseWhitelistResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (LookupHostingPrivatedatabaseWhitelistResult, error) { + args := v.(LookupHostingPrivatedatabaseWhitelistArgs) + r, err := LookupHostingPrivatedatabaseWhitelist(ctx, &args, opts...) + var s LookupHostingPrivatedatabaseWhitelistResult + if r != nil { + s = *r + } + return s, err + }).(LookupHostingPrivatedatabaseWhitelistResultOutput) +} + +// A collection of arguments for invoking getHostingPrivatedatabaseWhitelist. +type LookupHostingPrivatedatabaseWhitelistOutputArgs struct { + Id pulumi.StringPtrInput `pulumi:"id"` + Ip pulumi.StringPtrInput `pulumi:"ip"` + ServiceName pulumi.StringInput `pulumi:"serviceName"` +} + +func (LookupHostingPrivatedatabaseWhitelistOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LookupHostingPrivatedatabaseWhitelistArgs)(nil)).Elem() +} + +// A collection of values returned by getHostingPrivatedatabaseWhitelist. +type LookupHostingPrivatedatabaseWhitelistResultOutput struct{ *pulumi.OutputState } + +func (LookupHostingPrivatedatabaseWhitelistResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LookupHostingPrivatedatabaseWhitelistResult)(nil)).Elem() +} + +func (o LookupHostingPrivatedatabaseWhitelistResultOutput) ToLookupHostingPrivatedatabaseWhitelistResultOutput() LookupHostingPrivatedatabaseWhitelistResultOutput { + return o +} + +func (o LookupHostingPrivatedatabaseWhitelistResultOutput) ToLookupHostingPrivatedatabaseWhitelistResultOutputWithContext(ctx context.Context) LookupHostingPrivatedatabaseWhitelistResultOutput { + return o +} + +func (o LookupHostingPrivatedatabaseWhitelistResultOutput) CreationDate() pulumi.StringOutput { + return o.ApplyT(func(v LookupHostingPrivatedatabaseWhitelistResult) string { return v.CreationDate }).(pulumi.StringOutput) +} + +func (o LookupHostingPrivatedatabaseWhitelistResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v LookupHostingPrivatedatabaseWhitelistResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o LookupHostingPrivatedatabaseWhitelistResultOutput) Ip() pulumi.StringPtrOutput { + return o.ApplyT(func(v LookupHostingPrivatedatabaseWhitelistResult) *string { return v.Ip }).(pulumi.StringPtrOutput) +} + +func (o LookupHostingPrivatedatabaseWhitelistResultOutput) LastUpdate() pulumi.StringOutput { + return o.ApplyT(func(v LookupHostingPrivatedatabaseWhitelistResult) string { return v.LastUpdate }).(pulumi.StringOutput) +} + +func (o LookupHostingPrivatedatabaseWhitelistResultOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v LookupHostingPrivatedatabaseWhitelistResult) string { return v.Name }).(pulumi.StringOutput) +} + +func (o LookupHostingPrivatedatabaseWhitelistResultOutput) Service() pulumi.BoolOutput { + return o.ApplyT(func(v LookupHostingPrivatedatabaseWhitelistResult) bool { return v.Service }).(pulumi.BoolOutput) +} + +func (o LookupHostingPrivatedatabaseWhitelistResultOutput) ServiceName() pulumi.StringOutput { + return o.ApplyT(func(v LookupHostingPrivatedatabaseWhitelistResult) string { return v.ServiceName }).(pulumi.StringOutput) +} + +func (o LookupHostingPrivatedatabaseWhitelistResultOutput) Sftp() pulumi.BoolOutput { + return o.ApplyT(func(v LookupHostingPrivatedatabaseWhitelistResult) bool { return v.Sftp }).(pulumi.BoolOutput) +} + +func (o LookupHostingPrivatedatabaseWhitelistResultOutput) Status() pulumi.StringOutput { + return o.ApplyT(func(v LookupHostingPrivatedatabaseWhitelistResult) string { return v.Status }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(LookupHostingPrivatedatabaseWhitelistResultOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getIamPermissionsGroup.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getIamPermissionsGroup.go new file mode 100644 index 00000000..3f54b725 --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getIamPermissionsGroup.go @@ -0,0 +1,136 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func LookupIamPermissionsGroup(ctx *pulumi.Context, args *LookupIamPermissionsGroupArgs, opts ...pulumi.InvokeOption) (*LookupIamPermissionsGroupResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var rv LookupIamPermissionsGroupResult + err = ctx.InvokePackage("ovh:index/getIamPermissionsGroup:getIamPermissionsGroup", args, &rv, ref, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getIamPermissionsGroup. +type LookupIamPermissionsGroupArgs struct { + Allows []string `pulumi:"allows"` + Denies []string `pulumi:"denies"` + Description *string `pulumi:"description"` + Excepts []string `pulumi:"excepts"` + UpdatedAt *string `pulumi:"updatedAt"` + Urn string `pulumi:"urn"` +} + +// A collection of values returned by getIamPermissionsGroup. +type LookupIamPermissionsGroupResult struct { + Allows []string `pulumi:"allows"` + CreatedAt string `pulumi:"createdAt"` + Denies []string `pulumi:"denies"` + Description *string `pulumi:"description"` + Excepts []string `pulumi:"excepts"` + Id string `pulumi:"id"` + Name string `pulumi:"name"` + Owner string `pulumi:"owner"` + UpdatedAt string `pulumi:"updatedAt"` + Urn string `pulumi:"urn"` +} + +func LookupIamPermissionsGroupOutput(ctx *pulumi.Context, args LookupIamPermissionsGroupOutputArgs, opts ...pulumi.InvokeOption) LookupIamPermissionsGroupResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (LookupIamPermissionsGroupResult, error) { + args := v.(LookupIamPermissionsGroupArgs) + r, err := LookupIamPermissionsGroup(ctx, &args, opts...) + var s LookupIamPermissionsGroupResult + if r != nil { + s = *r + } + return s, err + }).(LookupIamPermissionsGroupResultOutput) +} + +// A collection of arguments for invoking getIamPermissionsGroup. +type LookupIamPermissionsGroupOutputArgs struct { + Allows pulumi.StringArrayInput `pulumi:"allows"` + Denies pulumi.StringArrayInput `pulumi:"denies"` + Description pulumi.StringPtrInput `pulumi:"description"` + Excepts pulumi.StringArrayInput `pulumi:"excepts"` + UpdatedAt pulumi.StringPtrInput `pulumi:"updatedAt"` + Urn pulumi.StringInput `pulumi:"urn"` +} + +func (LookupIamPermissionsGroupOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LookupIamPermissionsGroupArgs)(nil)).Elem() +} + +// A collection of values returned by getIamPermissionsGroup. +type LookupIamPermissionsGroupResultOutput struct{ *pulumi.OutputState } + +func (LookupIamPermissionsGroupResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LookupIamPermissionsGroupResult)(nil)).Elem() +} + +func (o LookupIamPermissionsGroupResultOutput) ToLookupIamPermissionsGroupResultOutput() LookupIamPermissionsGroupResultOutput { + return o +} + +func (o LookupIamPermissionsGroupResultOutput) ToLookupIamPermissionsGroupResultOutputWithContext(ctx context.Context) LookupIamPermissionsGroupResultOutput { + return o +} + +func (o LookupIamPermissionsGroupResultOutput) Allows() pulumi.StringArrayOutput { + return o.ApplyT(func(v LookupIamPermissionsGroupResult) []string { return v.Allows }).(pulumi.StringArrayOutput) +} + +func (o LookupIamPermissionsGroupResultOutput) CreatedAt() pulumi.StringOutput { + return o.ApplyT(func(v LookupIamPermissionsGroupResult) string { return v.CreatedAt }).(pulumi.StringOutput) +} + +func (o LookupIamPermissionsGroupResultOutput) Denies() pulumi.StringArrayOutput { + return o.ApplyT(func(v LookupIamPermissionsGroupResult) []string { return v.Denies }).(pulumi.StringArrayOutput) +} + +func (o LookupIamPermissionsGroupResultOutput) Description() pulumi.StringPtrOutput { + return o.ApplyT(func(v LookupIamPermissionsGroupResult) *string { return v.Description }).(pulumi.StringPtrOutput) +} + +func (o LookupIamPermissionsGroupResultOutput) Excepts() pulumi.StringArrayOutput { + return o.ApplyT(func(v LookupIamPermissionsGroupResult) []string { return v.Excepts }).(pulumi.StringArrayOutput) +} + +func (o LookupIamPermissionsGroupResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v LookupIamPermissionsGroupResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o LookupIamPermissionsGroupResultOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v LookupIamPermissionsGroupResult) string { return v.Name }).(pulumi.StringOutput) +} + +func (o LookupIamPermissionsGroupResultOutput) Owner() pulumi.StringOutput { + return o.ApplyT(func(v LookupIamPermissionsGroupResult) string { return v.Owner }).(pulumi.StringOutput) +} + +func (o LookupIamPermissionsGroupResultOutput) UpdatedAt() pulumi.StringOutput { + return o.ApplyT(func(v LookupIamPermissionsGroupResult) string { return v.UpdatedAt }).(pulumi.StringOutput) +} + +func (o LookupIamPermissionsGroupResultOutput) Urn() pulumi.StringOutput { + return o.ApplyT(func(v LookupIamPermissionsGroupResult) string { return v.Urn }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(LookupIamPermissionsGroupResultOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getIamPermissionsGroups.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getIamPermissionsGroups.go new file mode 100644 index 00000000..e3fdbe22 --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getIamPermissionsGroups.go @@ -0,0 +1,86 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func GetIamPermissionsGroups(ctx *pulumi.Context, args *GetIamPermissionsGroupsArgs, opts ...pulumi.InvokeOption) (*GetIamPermissionsGroupsResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var rv GetIamPermissionsGroupsResult + err = ctx.InvokePackage("ovh:index/getIamPermissionsGroups:getIamPermissionsGroups", args, &rv, ref, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getIamPermissionsGroups. +type GetIamPermissionsGroupsArgs struct { + Id *string `pulumi:"id"` +} + +// A collection of values returned by getIamPermissionsGroups. +type GetIamPermissionsGroupsResult struct { + Id string `pulumi:"id"` + Urns []string `pulumi:"urns"` +} + +func GetIamPermissionsGroupsOutput(ctx *pulumi.Context, args GetIamPermissionsGroupsOutputArgs, opts ...pulumi.InvokeOption) GetIamPermissionsGroupsResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (GetIamPermissionsGroupsResult, error) { + args := v.(GetIamPermissionsGroupsArgs) + r, err := GetIamPermissionsGroups(ctx, &args, opts...) + var s GetIamPermissionsGroupsResult + if r != nil { + s = *r + } + return s, err + }).(GetIamPermissionsGroupsResultOutput) +} + +// A collection of arguments for invoking getIamPermissionsGroups. +type GetIamPermissionsGroupsOutputArgs struct { + Id pulumi.StringPtrInput `pulumi:"id"` +} + +func (GetIamPermissionsGroupsOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetIamPermissionsGroupsArgs)(nil)).Elem() +} + +// A collection of values returned by getIamPermissionsGroups. +type GetIamPermissionsGroupsResultOutput struct{ *pulumi.OutputState } + +func (GetIamPermissionsGroupsResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetIamPermissionsGroupsResult)(nil)).Elem() +} + +func (o GetIamPermissionsGroupsResultOutput) ToGetIamPermissionsGroupsResultOutput() GetIamPermissionsGroupsResultOutput { + return o +} + +func (o GetIamPermissionsGroupsResultOutput) ToGetIamPermissionsGroupsResultOutputWithContext(ctx context.Context) GetIamPermissionsGroupsResultOutput { + return o +} + +func (o GetIamPermissionsGroupsResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetIamPermissionsGroupsResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o GetIamPermissionsGroupsResultOutput) Urns() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetIamPermissionsGroupsResult) []string { return v.Urns }).(pulumi.StringArrayOutput) +} + +func init() { + pulumi.RegisterOutputType(GetIamPermissionsGroupsResultOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getIamPolicies.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getIamPolicies.go new file mode 100644 index 00000000..a2a7cb9f --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getIamPolicies.go @@ -0,0 +1,86 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func GetIamPolicies(ctx *pulumi.Context, args *GetIamPoliciesArgs, opts ...pulumi.InvokeOption) (*GetIamPoliciesResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var rv GetIamPoliciesResult + err = ctx.InvokePackage("ovh:index/getIamPolicies:getIamPolicies", args, &rv, ref, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getIamPolicies. +type GetIamPoliciesArgs struct { + Id *string `pulumi:"id"` +} + +// A collection of values returned by getIamPolicies. +type GetIamPoliciesResult struct { + Id string `pulumi:"id"` + Policies []string `pulumi:"policies"` +} + +func GetIamPoliciesOutput(ctx *pulumi.Context, args GetIamPoliciesOutputArgs, opts ...pulumi.InvokeOption) GetIamPoliciesResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (GetIamPoliciesResult, error) { + args := v.(GetIamPoliciesArgs) + r, err := GetIamPolicies(ctx, &args, opts...) + var s GetIamPoliciesResult + if r != nil { + s = *r + } + return s, err + }).(GetIamPoliciesResultOutput) +} + +// A collection of arguments for invoking getIamPolicies. +type GetIamPoliciesOutputArgs struct { + Id pulumi.StringPtrInput `pulumi:"id"` +} + +func (GetIamPoliciesOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetIamPoliciesArgs)(nil)).Elem() +} + +// A collection of values returned by getIamPolicies. +type GetIamPoliciesResultOutput struct{ *pulumi.OutputState } + +func (GetIamPoliciesResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetIamPoliciesResult)(nil)).Elem() +} + +func (o GetIamPoliciesResultOutput) ToGetIamPoliciesResultOutput() GetIamPoliciesResultOutput { + return o +} + +func (o GetIamPoliciesResultOutput) ToGetIamPoliciesResultOutputWithContext(ctx context.Context) GetIamPoliciesResultOutput { + return o +} + +func (o GetIamPoliciesResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetIamPoliciesResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o GetIamPoliciesResultOutput) Policies() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetIamPoliciesResult) []string { return v.Policies }).(pulumi.StringArrayOutput) +} + +func init() { + pulumi.RegisterOutputType(GetIamPoliciesResultOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getIamPolicy.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getIamPolicy.go new file mode 100644 index 00000000..17ca0d08 --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getIamPolicy.go @@ -0,0 +1,151 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func LookupIamPolicy(ctx *pulumi.Context, args *LookupIamPolicyArgs, opts ...pulumi.InvokeOption) (*LookupIamPolicyResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var rv LookupIamPolicyResult + err = ctx.InvokePackage("ovh:index/getIamPolicy:getIamPolicy", args, &rv, ref, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getIamPolicy. +type LookupIamPolicyArgs struct { + Allows []string `pulumi:"allows"` + Denies []string `pulumi:"denies"` + Description *string `pulumi:"description"` + Excepts []string `pulumi:"excepts"` + Id string `pulumi:"id"` + PermissionsGroups []string `pulumi:"permissionsGroups"` +} + +// A collection of values returned by getIamPolicy. +type LookupIamPolicyResult struct { + Allows []string `pulumi:"allows"` + CreatedAt string `pulumi:"createdAt"` + Denies []string `pulumi:"denies"` + Description *string `pulumi:"description"` + Excepts []string `pulumi:"excepts"` + Id string `pulumi:"id"` + Identities []string `pulumi:"identities"` + Name string `pulumi:"name"` + Owner string `pulumi:"owner"` + PermissionsGroups []string `pulumi:"permissionsGroups"` + ReadOnly bool `pulumi:"readOnly"` + Resources []string `pulumi:"resources"` + UpdatedAt string `pulumi:"updatedAt"` +} + +func LookupIamPolicyOutput(ctx *pulumi.Context, args LookupIamPolicyOutputArgs, opts ...pulumi.InvokeOption) LookupIamPolicyResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (LookupIamPolicyResult, error) { + args := v.(LookupIamPolicyArgs) + r, err := LookupIamPolicy(ctx, &args, opts...) + var s LookupIamPolicyResult + if r != nil { + s = *r + } + return s, err + }).(LookupIamPolicyResultOutput) +} + +// A collection of arguments for invoking getIamPolicy. +type LookupIamPolicyOutputArgs struct { + Allows pulumi.StringArrayInput `pulumi:"allows"` + Denies pulumi.StringArrayInput `pulumi:"denies"` + Description pulumi.StringPtrInput `pulumi:"description"` + Excepts pulumi.StringArrayInput `pulumi:"excepts"` + Id pulumi.StringInput `pulumi:"id"` + PermissionsGroups pulumi.StringArrayInput `pulumi:"permissionsGroups"` +} + +func (LookupIamPolicyOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LookupIamPolicyArgs)(nil)).Elem() +} + +// A collection of values returned by getIamPolicy. +type LookupIamPolicyResultOutput struct{ *pulumi.OutputState } + +func (LookupIamPolicyResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LookupIamPolicyResult)(nil)).Elem() +} + +func (o LookupIamPolicyResultOutput) ToLookupIamPolicyResultOutput() LookupIamPolicyResultOutput { + return o +} + +func (o LookupIamPolicyResultOutput) ToLookupIamPolicyResultOutputWithContext(ctx context.Context) LookupIamPolicyResultOutput { + return o +} + +func (o LookupIamPolicyResultOutput) Allows() pulumi.StringArrayOutput { + return o.ApplyT(func(v LookupIamPolicyResult) []string { return v.Allows }).(pulumi.StringArrayOutput) +} + +func (o LookupIamPolicyResultOutput) CreatedAt() pulumi.StringOutput { + return o.ApplyT(func(v LookupIamPolicyResult) string { return v.CreatedAt }).(pulumi.StringOutput) +} + +func (o LookupIamPolicyResultOutput) Denies() pulumi.StringArrayOutput { + return o.ApplyT(func(v LookupIamPolicyResult) []string { return v.Denies }).(pulumi.StringArrayOutput) +} + +func (o LookupIamPolicyResultOutput) Description() pulumi.StringPtrOutput { + return o.ApplyT(func(v LookupIamPolicyResult) *string { return v.Description }).(pulumi.StringPtrOutput) +} + +func (o LookupIamPolicyResultOutput) Excepts() pulumi.StringArrayOutput { + return o.ApplyT(func(v LookupIamPolicyResult) []string { return v.Excepts }).(pulumi.StringArrayOutput) +} + +func (o LookupIamPolicyResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v LookupIamPolicyResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o LookupIamPolicyResultOutput) Identities() pulumi.StringArrayOutput { + return o.ApplyT(func(v LookupIamPolicyResult) []string { return v.Identities }).(pulumi.StringArrayOutput) +} + +func (o LookupIamPolicyResultOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v LookupIamPolicyResult) string { return v.Name }).(pulumi.StringOutput) +} + +func (o LookupIamPolicyResultOutput) Owner() pulumi.StringOutput { + return o.ApplyT(func(v LookupIamPolicyResult) string { return v.Owner }).(pulumi.StringOutput) +} + +func (o LookupIamPolicyResultOutput) PermissionsGroups() pulumi.StringArrayOutput { + return o.ApplyT(func(v LookupIamPolicyResult) []string { return v.PermissionsGroups }).(pulumi.StringArrayOutput) +} + +func (o LookupIamPolicyResultOutput) ReadOnly() pulumi.BoolOutput { + return o.ApplyT(func(v LookupIamPolicyResult) bool { return v.ReadOnly }).(pulumi.BoolOutput) +} + +func (o LookupIamPolicyResultOutput) Resources() pulumi.StringArrayOutput { + return o.ApplyT(func(v LookupIamPolicyResult) []string { return v.Resources }).(pulumi.StringArrayOutput) +} + +func (o LookupIamPolicyResultOutput) UpdatedAt() pulumi.StringOutput { + return o.ApplyT(func(v LookupIamPolicyResult) string { return v.UpdatedAt }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(LookupIamPolicyResultOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getIamReferenceActions.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getIamReferenceActions.go new file mode 100644 index 00000000..672eac4b --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getIamReferenceActions.go @@ -0,0 +1,93 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func GetIamReferenceActions(ctx *pulumi.Context, args *GetIamReferenceActionsArgs, opts ...pulumi.InvokeOption) (*GetIamReferenceActionsResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var rv GetIamReferenceActionsResult + err = ctx.InvokePackage("ovh:index/getIamReferenceActions:getIamReferenceActions", args, &rv, ref, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getIamReferenceActions. +type GetIamReferenceActionsArgs struct { + Id *string `pulumi:"id"` + Type string `pulumi:"type"` +} + +// A collection of values returned by getIamReferenceActions. +type GetIamReferenceActionsResult struct { + Actions []GetIamReferenceActionsAction `pulumi:"actions"` + Id string `pulumi:"id"` + Type string `pulumi:"type"` +} + +func GetIamReferenceActionsOutput(ctx *pulumi.Context, args GetIamReferenceActionsOutputArgs, opts ...pulumi.InvokeOption) GetIamReferenceActionsResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (GetIamReferenceActionsResult, error) { + args := v.(GetIamReferenceActionsArgs) + r, err := GetIamReferenceActions(ctx, &args, opts...) + var s GetIamReferenceActionsResult + if r != nil { + s = *r + } + return s, err + }).(GetIamReferenceActionsResultOutput) +} + +// A collection of arguments for invoking getIamReferenceActions. +type GetIamReferenceActionsOutputArgs struct { + Id pulumi.StringPtrInput `pulumi:"id"` + Type pulumi.StringInput `pulumi:"type"` +} + +func (GetIamReferenceActionsOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetIamReferenceActionsArgs)(nil)).Elem() +} + +// A collection of values returned by getIamReferenceActions. +type GetIamReferenceActionsResultOutput struct{ *pulumi.OutputState } + +func (GetIamReferenceActionsResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetIamReferenceActionsResult)(nil)).Elem() +} + +func (o GetIamReferenceActionsResultOutput) ToGetIamReferenceActionsResultOutput() GetIamReferenceActionsResultOutput { + return o +} + +func (o GetIamReferenceActionsResultOutput) ToGetIamReferenceActionsResultOutputWithContext(ctx context.Context) GetIamReferenceActionsResultOutput { + return o +} + +func (o GetIamReferenceActionsResultOutput) Actions() GetIamReferenceActionsActionArrayOutput { + return o.ApplyT(func(v GetIamReferenceActionsResult) []GetIamReferenceActionsAction { return v.Actions }).(GetIamReferenceActionsActionArrayOutput) +} + +func (o GetIamReferenceActionsResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetIamReferenceActionsResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o GetIamReferenceActionsResultOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v GetIamReferenceActionsResult) string { return v.Type }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(GetIamReferenceActionsResultOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getIamReferenceResourceType.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getIamReferenceResourceType.go new file mode 100644 index 00000000..94a6e2d8 --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getIamReferenceResourceType.go @@ -0,0 +1,86 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func GetIamReferenceResourceType(ctx *pulumi.Context, args *GetIamReferenceResourceTypeArgs, opts ...pulumi.InvokeOption) (*GetIamReferenceResourceTypeResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var rv GetIamReferenceResourceTypeResult + err = ctx.InvokePackage("ovh:index/getIamReferenceResourceType:getIamReferenceResourceType", args, &rv, ref, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getIamReferenceResourceType. +type GetIamReferenceResourceTypeArgs struct { + Id *string `pulumi:"id"` +} + +// A collection of values returned by getIamReferenceResourceType. +type GetIamReferenceResourceTypeResult struct { + Id string `pulumi:"id"` + Types []string `pulumi:"types"` +} + +func GetIamReferenceResourceTypeOutput(ctx *pulumi.Context, args GetIamReferenceResourceTypeOutputArgs, opts ...pulumi.InvokeOption) GetIamReferenceResourceTypeResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (GetIamReferenceResourceTypeResult, error) { + args := v.(GetIamReferenceResourceTypeArgs) + r, err := GetIamReferenceResourceType(ctx, &args, opts...) + var s GetIamReferenceResourceTypeResult + if r != nil { + s = *r + } + return s, err + }).(GetIamReferenceResourceTypeResultOutput) +} + +// A collection of arguments for invoking getIamReferenceResourceType. +type GetIamReferenceResourceTypeOutputArgs struct { + Id pulumi.StringPtrInput `pulumi:"id"` +} + +func (GetIamReferenceResourceTypeOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetIamReferenceResourceTypeArgs)(nil)).Elem() +} + +// A collection of values returned by getIamReferenceResourceType. +type GetIamReferenceResourceTypeResultOutput struct{ *pulumi.OutputState } + +func (GetIamReferenceResourceTypeResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetIamReferenceResourceTypeResult)(nil)).Elem() +} + +func (o GetIamReferenceResourceTypeResultOutput) ToGetIamReferenceResourceTypeResultOutput() GetIamReferenceResourceTypeResultOutput { + return o +} + +func (o GetIamReferenceResourceTypeResultOutput) ToGetIamReferenceResourceTypeResultOutputWithContext(ctx context.Context) GetIamReferenceResourceTypeResultOutput { + return o +} + +func (o GetIamReferenceResourceTypeResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetIamReferenceResourceTypeResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o GetIamReferenceResourceTypeResultOutput) Types() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetIamReferenceResourceTypeResult) []string { return v.Types }).(pulumi.StringArrayOutput) +} + +func init() { + pulumi.RegisterOutputType(GetIamReferenceResourceTypeResultOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getIamResourceGroup.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getIamResourceGroup.go new file mode 100644 index 00000000..dc93c44d --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getIamResourceGroup.go @@ -0,0 +1,116 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func LookupIamResourceGroup(ctx *pulumi.Context, args *LookupIamResourceGroupArgs, opts ...pulumi.InvokeOption) (*LookupIamResourceGroupResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var rv LookupIamResourceGroupResult + err = ctx.InvokePackage("ovh:index/getIamResourceGroup:getIamResourceGroup", args, &rv, ref, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getIamResourceGroup. +type LookupIamResourceGroupArgs struct { + Id string `pulumi:"id"` +} + +// A collection of values returned by getIamResourceGroup. +type LookupIamResourceGroupResult struct { + CreatedAt string `pulumi:"createdAt"` + Id string `pulumi:"id"` + Name string `pulumi:"name"` + Owner string `pulumi:"owner"` + ReadOnly bool `pulumi:"readOnly"` + Resources []string `pulumi:"resources"` + UpdatedAt string `pulumi:"updatedAt"` + Urn string `pulumi:"urn"` +} + +func LookupIamResourceGroupOutput(ctx *pulumi.Context, args LookupIamResourceGroupOutputArgs, opts ...pulumi.InvokeOption) LookupIamResourceGroupResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (LookupIamResourceGroupResult, error) { + args := v.(LookupIamResourceGroupArgs) + r, err := LookupIamResourceGroup(ctx, &args, opts...) + var s LookupIamResourceGroupResult + if r != nil { + s = *r + } + return s, err + }).(LookupIamResourceGroupResultOutput) +} + +// A collection of arguments for invoking getIamResourceGroup. +type LookupIamResourceGroupOutputArgs struct { + Id pulumi.StringInput `pulumi:"id"` +} + +func (LookupIamResourceGroupOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LookupIamResourceGroupArgs)(nil)).Elem() +} + +// A collection of values returned by getIamResourceGroup. +type LookupIamResourceGroupResultOutput struct{ *pulumi.OutputState } + +func (LookupIamResourceGroupResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LookupIamResourceGroupResult)(nil)).Elem() +} + +func (o LookupIamResourceGroupResultOutput) ToLookupIamResourceGroupResultOutput() LookupIamResourceGroupResultOutput { + return o +} + +func (o LookupIamResourceGroupResultOutput) ToLookupIamResourceGroupResultOutputWithContext(ctx context.Context) LookupIamResourceGroupResultOutput { + return o +} + +func (o LookupIamResourceGroupResultOutput) CreatedAt() pulumi.StringOutput { + return o.ApplyT(func(v LookupIamResourceGroupResult) string { return v.CreatedAt }).(pulumi.StringOutput) +} + +func (o LookupIamResourceGroupResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v LookupIamResourceGroupResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o LookupIamResourceGroupResultOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v LookupIamResourceGroupResult) string { return v.Name }).(pulumi.StringOutput) +} + +func (o LookupIamResourceGroupResultOutput) Owner() pulumi.StringOutput { + return o.ApplyT(func(v LookupIamResourceGroupResult) string { return v.Owner }).(pulumi.StringOutput) +} + +func (o LookupIamResourceGroupResultOutput) ReadOnly() pulumi.BoolOutput { + return o.ApplyT(func(v LookupIamResourceGroupResult) bool { return v.ReadOnly }).(pulumi.BoolOutput) +} + +func (o LookupIamResourceGroupResultOutput) Resources() pulumi.StringArrayOutput { + return o.ApplyT(func(v LookupIamResourceGroupResult) []string { return v.Resources }).(pulumi.StringArrayOutput) +} + +func (o LookupIamResourceGroupResultOutput) UpdatedAt() pulumi.StringOutput { + return o.ApplyT(func(v LookupIamResourceGroupResult) string { return v.UpdatedAt }).(pulumi.StringOutput) +} + +func (o LookupIamResourceGroupResultOutput) Urn() pulumi.StringOutput { + return o.ApplyT(func(v LookupIamResourceGroupResult) string { return v.Urn }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(LookupIamResourceGroupResultOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getIamResourceGroups.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getIamResourceGroups.go new file mode 100644 index 00000000..340bbdac --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getIamResourceGroups.go @@ -0,0 +1,86 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func GetIamResourceGroups(ctx *pulumi.Context, args *GetIamResourceGroupsArgs, opts ...pulumi.InvokeOption) (*GetIamResourceGroupsResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var rv GetIamResourceGroupsResult + err = ctx.InvokePackage("ovh:index/getIamResourceGroups:getIamResourceGroups", args, &rv, ref, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getIamResourceGroups. +type GetIamResourceGroupsArgs struct { + Id *string `pulumi:"id"` +} + +// A collection of values returned by getIamResourceGroups. +type GetIamResourceGroupsResult struct { + Id string `pulumi:"id"` + ResourceGroups []string `pulumi:"resourceGroups"` +} + +func GetIamResourceGroupsOutput(ctx *pulumi.Context, args GetIamResourceGroupsOutputArgs, opts ...pulumi.InvokeOption) GetIamResourceGroupsResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (GetIamResourceGroupsResult, error) { + args := v.(GetIamResourceGroupsArgs) + r, err := GetIamResourceGroups(ctx, &args, opts...) + var s GetIamResourceGroupsResult + if r != nil { + s = *r + } + return s, err + }).(GetIamResourceGroupsResultOutput) +} + +// A collection of arguments for invoking getIamResourceGroups. +type GetIamResourceGroupsOutputArgs struct { + Id pulumi.StringPtrInput `pulumi:"id"` +} + +func (GetIamResourceGroupsOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetIamResourceGroupsArgs)(nil)).Elem() +} + +// A collection of values returned by getIamResourceGroups. +type GetIamResourceGroupsResultOutput struct{ *pulumi.OutputState } + +func (GetIamResourceGroupsResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetIamResourceGroupsResult)(nil)).Elem() +} + +func (o GetIamResourceGroupsResultOutput) ToGetIamResourceGroupsResultOutput() GetIamResourceGroupsResultOutput { + return o +} + +func (o GetIamResourceGroupsResultOutput) ToGetIamResourceGroupsResultOutputWithContext(ctx context.Context) GetIamResourceGroupsResultOutput { + return o +} + +func (o GetIamResourceGroupsResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetIamResourceGroupsResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o GetIamResourceGroupsResultOutput) ResourceGroups() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetIamResourceGroupsResult) []string { return v.ResourceGroups }).(pulumi.StringArrayOutput) +} + +func init() { + pulumi.RegisterOutputType(GetIamResourceGroupsResultOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getIpFirewall.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getIpFirewall.go new file mode 100644 index 00000000..efa96c85 --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getIpFirewall.go @@ -0,0 +1,105 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func LookupIpFirewall(ctx *pulumi.Context, args *LookupIpFirewallArgs, opts ...pulumi.InvokeOption) (*LookupIpFirewallResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var rv LookupIpFirewallResult + err = ctx.InvokePackage("ovh:index/getIpFirewall:getIpFirewall", args, &rv, ref, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getIpFirewall. +type LookupIpFirewallArgs struct { + Ip string `pulumi:"ip"` + IpOnFirewall string `pulumi:"ipOnFirewall"` +} + +// A collection of values returned by getIpFirewall. +type LookupIpFirewallResult struct { + Enabled bool `pulumi:"enabled"` + // The provider-assigned unique ID for this managed resource. + Id string `pulumi:"id"` + Ip string `pulumi:"ip"` + IpOnFirewall string `pulumi:"ipOnFirewall"` + State string `pulumi:"state"` +} + +func LookupIpFirewallOutput(ctx *pulumi.Context, args LookupIpFirewallOutputArgs, opts ...pulumi.InvokeOption) LookupIpFirewallResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (LookupIpFirewallResult, error) { + args := v.(LookupIpFirewallArgs) + r, err := LookupIpFirewall(ctx, &args, opts...) + var s LookupIpFirewallResult + if r != nil { + s = *r + } + return s, err + }).(LookupIpFirewallResultOutput) +} + +// A collection of arguments for invoking getIpFirewall. +type LookupIpFirewallOutputArgs struct { + Ip pulumi.StringInput `pulumi:"ip"` + IpOnFirewall pulumi.StringInput `pulumi:"ipOnFirewall"` +} + +func (LookupIpFirewallOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LookupIpFirewallArgs)(nil)).Elem() +} + +// A collection of values returned by getIpFirewall. +type LookupIpFirewallResultOutput struct{ *pulumi.OutputState } + +func (LookupIpFirewallResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LookupIpFirewallResult)(nil)).Elem() +} + +func (o LookupIpFirewallResultOutput) ToLookupIpFirewallResultOutput() LookupIpFirewallResultOutput { + return o +} + +func (o LookupIpFirewallResultOutput) ToLookupIpFirewallResultOutputWithContext(ctx context.Context) LookupIpFirewallResultOutput { + return o +} + +func (o LookupIpFirewallResultOutput) Enabled() pulumi.BoolOutput { + return o.ApplyT(func(v LookupIpFirewallResult) bool { return v.Enabled }).(pulumi.BoolOutput) +} + +// The provider-assigned unique ID for this managed resource. +func (o LookupIpFirewallResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v LookupIpFirewallResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o LookupIpFirewallResultOutput) Ip() pulumi.StringOutput { + return o.ApplyT(func(v LookupIpFirewallResult) string { return v.Ip }).(pulumi.StringOutput) +} + +func (o LookupIpFirewallResultOutput) IpOnFirewall() pulumi.StringOutput { + return o.ApplyT(func(v LookupIpFirewallResult) string { return v.IpOnFirewall }).(pulumi.StringOutput) +} + +func (o LookupIpFirewallResultOutput) State() pulumi.StringOutput { + return o.ApplyT(func(v LookupIpFirewallResult) string { return v.State }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(LookupIpFirewallResultOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getIpFirewallRule.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getIpFirewallRule.go new file mode 100644 index 00000000..7ab6a63f --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getIpFirewallRule.go @@ -0,0 +1,157 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func LookupIpFirewallRule(ctx *pulumi.Context, args *LookupIpFirewallRuleArgs, opts ...pulumi.InvokeOption) (*LookupIpFirewallRuleResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var rv LookupIpFirewallRuleResult + err = ctx.InvokePackage("ovh:index/getIpFirewallRule:getIpFirewallRule", args, &rv, ref, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getIpFirewallRule. +type LookupIpFirewallRuleArgs struct { + Ip string `pulumi:"ip"` + IpOnFirewall string `pulumi:"ipOnFirewall"` + Sequence float64 `pulumi:"sequence"` +} + +// A collection of values returned by getIpFirewallRule. +type LookupIpFirewallRuleResult struct { + Action string `pulumi:"action"` + CreationDate string `pulumi:"creationDate"` + Destination string `pulumi:"destination"` + DestinationPort string `pulumi:"destinationPort"` + Fragments bool `pulumi:"fragments"` + // The provider-assigned unique ID for this managed resource. + Id string `pulumi:"id"` + Ip string `pulumi:"ip"` + IpOnFirewall string `pulumi:"ipOnFirewall"` + Protocol string `pulumi:"protocol"` + Rule string `pulumi:"rule"` + Sequence float64 `pulumi:"sequence"` + Source string `pulumi:"source"` + SourcePort string `pulumi:"sourcePort"` + State string `pulumi:"state"` + TcpOption string `pulumi:"tcpOption"` +} + +func LookupIpFirewallRuleOutput(ctx *pulumi.Context, args LookupIpFirewallRuleOutputArgs, opts ...pulumi.InvokeOption) LookupIpFirewallRuleResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (LookupIpFirewallRuleResult, error) { + args := v.(LookupIpFirewallRuleArgs) + r, err := LookupIpFirewallRule(ctx, &args, opts...) + var s LookupIpFirewallRuleResult + if r != nil { + s = *r + } + return s, err + }).(LookupIpFirewallRuleResultOutput) +} + +// A collection of arguments for invoking getIpFirewallRule. +type LookupIpFirewallRuleOutputArgs struct { + Ip pulumi.StringInput `pulumi:"ip"` + IpOnFirewall pulumi.StringInput `pulumi:"ipOnFirewall"` + Sequence pulumi.Float64Input `pulumi:"sequence"` +} + +func (LookupIpFirewallRuleOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LookupIpFirewallRuleArgs)(nil)).Elem() +} + +// A collection of values returned by getIpFirewallRule. +type LookupIpFirewallRuleResultOutput struct{ *pulumi.OutputState } + +func (LookupIpFirewallRuleResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LookupIpFirewallRuleResult)(nil)).Elem() +} + +func (o LookupIpFirewallRuleResultOutput) ToLookupIpFirewallRuleResultOutput() LookupIpFirewallRuleResultOutput { + return o +} + +func (o LookupIpFirewallRuleResultOutput) ToLookupIpFirewallRuleResultOutputWithContext(ctx context.Context) LookupIpFirewallRuleResultOutput { + return o +} + +func (o LookupIpFirewallRuleResultOutput) Action() pulumi.StringOutput { + return o.ApplyT(func(v LookupIpFirewallRuleResult) string { return v.Action }).(pulumi.StringOutput) +} + +func (o LookupIpFirewallRuleResultOutput) CreationDate() pulumi.StringOutput { + return o.ApplyT(func(v LookupIpFirewallRuleResult) string { return v.CreationDate }).(pulumi.StringOutput) +} + +func (o LookupIpFirewallRuleResultOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v LookupIpFirewallRuleResult) string { return v.Destination }).(pulumi.StringOutput) +} + +func (o LookupIpFirewallRuleResultOutput) DestinationPort() pulumi.StringOutput { + return o.ApplyT(func(v LookupIpFirewallRuleResult) string { return v.DestinationPort }).(pulumi.StringOutput) +} + +func (o LookupIpFirewallRuleResultOutput) Fragments() pulumi.BoolOutput { + return o.ApplyT(func(v LookupIpFirewallRuleResult) bool { return v.Fragments }).(pulumi.BoolOutput) +} + +// The provider-assigned unique ID for this managed resource. +func (o LookupIpFirewallRuleResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v LookupIpFirewallRuleResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o LookupIpFirewallRuleResultOutput) Ip() pulumi.StringOutput { + return o.ApplyT(func(v LookupIpFirewallRuleResult) string { return v.Ip }).(pulumi.StringOutput) +} + +func (o LookupIpFirewallRuleResultOutput) IpOnFirewall() pulumi.StringOutput { + return o.ApplyT(func(v LookupIpFirewallRuleResult) string { return v.IpOnFirewall }).(pulumi.StringOutput) +} + +func (o LookupIpFirewallRuleResultOutput) Protocol() pulumi.StringOutput { + return o.ApplyT(func(v LookupIpFirewallRuleResult) string { return v.Protocol }).(pulumi.StringOutput) +} + +func (o LookupIpFirewallRuleResultOutput) Rule() pulumi.StringOutput { + return o.ApplyT(func(v LookupIpFirewallRuleResult) string { return v.Rule }).(pulumi.StringOutput) +} + +func (o LookupIpFirewallRuleResultOutput) Sequence() pulumi.Float64Output { + return o.ApplyT(func(v LookupIpFirewallRuleResult) float64 { return v.Sequence }).(pulumi.Float64Output) +} + +func (o LookupIpFirewallRuleResultOutput) Source() pulumi.StringOutput { + return o.ApplyT(func(v LookupIpFirewallRuleResult) string { return v.Source }).(pulumi.StringOutput) +} + +func (o LookupIpFirewallRuleResultOutput) SourcePort() pulumi.StringOutput { + return o.ApplyT(func(v LookupIpFirewallRuleResult) string { return v.SourcePort }).(pulumi.StringOutput) +} + +func (o LookupIpFirewallRuleResultOutput) State() pulumi.StringOutput { + return o.ApplyT(func(v LookupIpFirewallRuleResult) string { return v.State }).(pulumi.StringOutput) +} + +func (o LookupIpFirewallRuleResultOutput) TcpOption() pulumi.StringOutput { + return o.ApplyT(func(v LookupIpFirewallRuleResult) string { return v.TcpOption }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(LookupIpFirewallRuleResultOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getIpMitigation.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getIpMitigation.go new file mode 100644 index 00000000..8aae8c76 --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getIpMitigation.go @@ -0,0 +1,110 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func LookupIpMitigation(ctx *pulumi.Context, args *LookupIpMitigationArgs, opts ...pulumi.InvokeOption) (*LookupIpMitigationResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var rv LookupIpMitigationResult + err = ctx.InvokePackage("ovh:index/getIpMitigation:getIpMitigation", args, &rv, ref, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getIpMitigation. +type LookupIpMitigationArgs struct { + Ip string `pulumi:"ip"` + IpOnMitigation string `pulumi:"ipOnMitigation"` +} + +// A collection of values returned by getIpMitigation. +type LookupIpMitigationResult struct { + Auto bool `pulumi:"auto"` + // The provider-assigned unique ID for this managed resource. + Id string `pulumi:"id"` + Ip string `pulumi:"ip"` + IpOnMitigation string `pulumi:"ipOnMitigation"` + Permanent bool `pulumi:"permanent"` + State string `pulumi:"state"` +} + +func LookupIpMitigationOutput(ctx *pulumi.Context, args LookupIpMitigationOutputArgs, opts ...pulumi.InvokeOption) LookupIpMitigationResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (LookupIpMitigationResult, error) { + args := v.(LookupIpMitigationArgs) + r, err := LookupIpMitigation(ctx, &args, opts...) + var s LookupIpMitigationResult + if r != nil { + s = *r + } + return s, err + }).(LookupIpMitigationResultOutput) +} + +// A collection of arguments for invoking getIpMitigation. +type LookupIpMitigationOutputArgs struct { + Ip pulumi.StringInput `pulumi:"ip"` + IpOnMitigation pulumi.StringInput `pulumi:"ipOnMitigation"` +} + +func (LookupIpMitigationOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LookupIpMitigationArgs)(nil)).Elem() +} + +// A collection of values returned by getIpMitigation. +type LookupIpMitigationResultOutput struct{ *pulumi.OutputState } + +func (LookupIpMitigationResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LookupIpMitigationResult)(nil)).Elem() +} + +func (o LookupIpMitigationResultOutput) ToLookupIpMitigationResultOutput() LookupIpMitigationResultOutput { + return o +} + +func (o LookupIpMitigationResultOutput) ToLookupIpMitigationResultOutputWithContext(ctx context.Context) LookupIpMitigationResultOutput { + return o +} + +func (o LookupIpMitigationResultOutput) Auto() pulumi.BoolOutput { + return o.ApplyT(func(v LookupIpMitigationResult) bool { return v.Auto }).(pulumi.BoolOutput) +} + +// The provider-assigned unique ID for this managed resource. +func (o LookupIpMitigationResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v LookupIpMitigationResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o LookupIpMitigationResultOutput) Ip() pulumi.StringOutput { + return o.ApplyT(func(v LookupIpMitigationResult) string { return v.Ip }).(pulumi.StringOutput) +} + +func (o LookupIpMitigationResultOutput) IpOnMitigation() pulumi.StringOutput { + return o.ApplyT(func(v LookupIpMitigationResult) string { return v.IpOnMitigation }).(pulumi.StringOutput) +} + +func (o LookupIpMitigationResultOutput) Permanent() pulumi.BoolOutput { + return o.ApplyT(func(v LookupIpMitigationResult) bool { return v.Permanent }).(pulumi.BoolOutput) +} + +func (o LookupIpMitigationResultOutput) State() pulumi.StringOutput { + return o.ApplyT(func(v LookupIpMitigationResult) string { return v.State }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(LookupIpMitigationResultOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getIpService.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getIpService.go new file mode 100644 index 00000000..32d52ad0 --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getIpService.go @@ -0,0 +1,123 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func LookupIpService(ctx *pulumi.Context, args *LookupIpServiceArgs, opts ...pulumi.InvokeOption) (*LookupIpServiceResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var rv LookupIpServiceResult + err = ctx.InvokePackage("ovh:index/getIpService:getIpService", args, &rv, ref, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getIpService. +type LookupIpServiceArgs struct { + Id *string `pulumi:"id"` + ServiceName string `pulumi:"serviceName"` +} + +// A collection of values returned by getIpService. +type LookupIpServiceResult struct { + CanBeTerminated bool `pulumi:"canBeTerminated"` + Country string `pulumi:"country"` + Description string `pulumi:"description"` + Id string `pulumi:"id"` + Ip string `pulumi:"ip"` + OrganisationId string `pulumi:"organisationId"` + RoutedTos []GetIpServiceRoutedTo `pulumi:"routedTos"` + ServiceName string `pulumi:"serviceName"` + Type string `pulumi:"type"` +} + +func LookupIpServiceOutput(ctx *pulumi.Context, args LookupIpServiceOutputArgs, opts ...pulumi.InvokeOption) LookupIpServiceResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (LookupIpServiceResult, error) { + args := v.(LookupIpServiceArgs) + r, err := LookupIpService(ctx, &args, opts...) + var s LookupIpServiceResult + if r != nil { + s = *r + } + return s, err + }).(LookupIpServiceResultOutput) +} + +// A collection of arguments for invoking getIpService. +type LookupIpServiceOutputArgs struct { + Id pulumi.StringPtrInput `pulumi:"id"` + ServiceName pulumi.StringInput `pulumi:"serviceName"` +} + +func (LookupIpServiceOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LookupIpServiceArgs)(nil)).Elem() +} + +// A collection of values returned by getIpService. +type LookupIpServiceResultOutput struct{ *pulumi.OutputState } + +func (LookupIpServiceResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LookupIpServiceResult)(nil)).Elem() +} + +func (o LookupIpServiceResultOutput) ToLookupIpServiceResultOutput() LookupIpServiceResultOutput { + return o +} + +func (o LookupIpServiceResultOutput) ToLookupIpServiceResultOutputWithContext(ctx context.Context) LookupIpServiceResultOutput { + return o +} + +func (o LookupIpServiceResultOutput) CanBeTerminated() pulumi.BoolOutput { + return o.ApplyT(func(v LookupIpServiceResult) bool { return v.CanBeTerminated }).(pulumi.BoolOutput) +} + +func (o LookupIpServiceResultOutput) Country() pulumi.StringOutput { + return o.ApplyT(func(v LookupIpServiceResult) string { return v.Country }).(pulumi.StringOutput) +} + +func (o LookupIpServiceResultOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v LookupIpServiceResult) string { return v.Description }).(pulumi.StringOutput) +} + +func (o LookupIpServiceResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v LookupIpServiceResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o LookupIpServiceResultOutput) Ip() pulumi.StringOutput { + return o.ApplyT(func(v LookupIpServiceResult) string { return v.Ip }).(pulumi.StringOutput) +} + +func (o LookupIpServiceResultOutput) OrganisationId() pulumi.StringOutput { + return o.ApplyT(func(v LookupIpServiceResult) string { return v.OrganisationId }).(pulumi.StringOutput) +} + +func (o LookupIpServiceResultOutput) RoutedTos() GetIpServiceRoutedToArrayOutput { + return o.ApplyT(func(v LookupIpServiceResult) []GetIpServiceRoutedTo { return v.RoutedTos }).(GetIpServiceRoutedToArrayOutput) +} + +func (o LookupIpServiceResultOutput) ServiceName() pulumi.StringOutput { + return o.ApplyT(func(v LookupIpServiceResult) string { return v.ServiceName }).(pulumi.StringOutput) +} + +func (o LookupIpServiceResultOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v LookupIpServiceResult) string { return v.Type }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(LookupIpServiceResultOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getIploadbalancing.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getIploadbalancing.go new file mode 100644 index 00000000..28558ad2 --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getIploadbalancing.go @@ -0,0 +1,173 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func LookupIploadbalancing(ctx *pulumi.Context, args *LookupIploadbalancingArgs, opts ...pulumi.InvokeOption) (*LookupIploadbalancingResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var rv LookupIploadbalancingResult + err = ctx.InvokePackage("ovh:index/getIploadbalancing:getIploadbalancing", args, &rv, ref, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getIploadbalancing. +type LookupIploadbalancingArgs struct { + DisplayName *string `pulumi:"displayName"` + Id *string `pulumi:"id"` + IpLoadbalancing *string `pulumi:"ipLoadbalancing"` + Ipv4 *string `pulumi:"ipv4"` + Ipv6 *string `pulumi:"ipv6"` + Offer *string `pulumi:"offer"` + ServiceName *string `pulumi:"serviceName"` + SslConfiguration *string `pulumi:"sslConfiguration"` + State *string `pulumi:"state"` + VrackEligibility *bool `pulumi:"vrackEligibility"` + VrackName *string `pulumi:"vrackName"` + Zones []string `pulumi:"zones"` +} + +// A collection of values returned by getIploadbalancing. +type LookupIploadbalancingResult struct { + DisplayName string `pulumi:"displayName"` + Id string `pulumi:"id"` + IpLoadbalancing string `pulumi:"ipLoadbalancing"` + Ipv4 string `pulumi:"ipv4"` + Ipv6 string `pulumi:"ipv6"` + MetricsToken string `pulumi:"metricsToken"` + Offer string `pulumi:"offer"` + OrderableZones []GetIploadbalancingOrderableZone `pulumi:"orderableZones"` + ServiceName string `pulumi:"serviceName"` + SslConfiguration string `pulumi:"sslConfiguration"` + State string `pulumi:"state"` + Urn string `pulumi:"urn"` + VrackEligibility bool `pulumi:"vrackEligibility"` + VrackName string `pulumi:"vrackName"` + Zones []string `pulumi:"zones"` +} + +func LookupIploadbalancingOutput(ctx *pulumi.Context, args LookupIploadbalancingOutputArgs, opts ...pulumi.InvokeOption) LookupIploadbalancingResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (LookupIploadbalancingResult, error) { + args := v.(LookupIploadbalancingArgs) + r, err := LookupIploadbalancing(ctx, &args, opts...) + var s LookupIploadbalancingResult + if r != nil { + s = *r + } + return s, err + }).(LookupIploadbalancingResultOutput) +} + +// A collection of arguments for invoking getIploadbalancing. +type LookupIploadbalancingOutputArgs struct { + DisplayName pulumi.StringPtrInput `pulumi:"displayName"` + Id pulumi.StringPtrInput `pulumi:"id"` + IpLoadbalancing pulumi.StringPtrInput `pulumi:"ipLoadbalancing"` + Ipv4 pulumi.StringPtrInput `pulumi:"ipv4"` + Ipv6 pulumi.StringPtrInput `pulumi:"ipv6"` + Offer pulumi.StringPtrInput `pulumi:"offer"` + ServiceName pulumi.StringPtrInput `pulumi:"serviceName"` + SslConfiguration pulumi.StringPtrInput `pulumi:"sslConfiguration"` + State pulumi.StringPtrInput `pulumi:"state"` + VrackEligibility pulumi.BoolPtrInput `pulumi:"vrackEligibility"` + VrackName pulumi.StringPtrInput `pulumi:"vrackName"` + Zones pulumi.StringArrayInput `pulumi:"zones"` +} + +func (LookupIploadbalancingOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LookupIploadbalancingArgs)(nil)).Elem() +} + +// A collection of values returned by getIploadbalancing. +type LookupIploadbalancingResultOutput struct{ *pulumi.OutputState } + +func (LookupIploadbalancingResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LookupIploadbalancingResult)(nil)).Elem() +} + +func (o LookupIploadbalancingResultOutput) ToLookupIploadbalancingResultOutput() LookupIploadbalancingResultOutput { + return o +} + +func (o LookupIploadbalancingResultOutput) ToLookupIploadbalancingResultOutputWithContext(ctx context.Context) LookupIploadbalancingResultOutput { + return o +} + +func (o LookupIploadbalancingResultOutput) DisplayName() pulumi.StringOutput { + return o.ApplyT(func(v LookupIploadbalancingResult) string { return v.DisplayName }).(pulumi.StringOutput) +} + +func (o LookupIploadbalancingResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v LookupIploadbalancingResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o LookupIploadbalancingResultOutput) IpLoadbalancing() pulumi.StringOutput { + return o.ApplyT(func(v LookupIploadbalancingResult) string { return v.IpLoadbalancing }).(pulumi.StringOutput) +} + +func (o LookupIploadbalancingResultOutput) Ipv4() pulumi.StringOutput { + return o.ApplyT(func(v LookupIploadbalancingResult) string { return v.Ipv4 }).(pulumi.StringOutput) +} + +func (o LookupIploadbalancingResultOutput) Ipv6() pulumi.StringOutput { + return o.ApplyT(func(v LookupIploadbalancingResult) string { return v.Ipv6 }).(pulumi.StringOutput) +} + +func (o LookupIploadbalancingResultOutput) MetricsToken() pulumi.StringOutput { + return o.ApplyT(func(v LookupIploadbalancingResult) string { return v.MetricsToken }).(pulumi.StringOutput) +} + +func (o LookupIploadbalancingResultOutput) Offer() pulumi.StringOutput { + return o.ApplyT(func(v LookupIploadbalancingResult) string { return v.Offer }).(pulumi.StringOutput) +} + +func (o LookupIploadbalancingResultOutput) OrderableZones() GetIploadbalancingOrderableZoneArrayOutput { + return o.ApplyT(func(v LookupIploadbalancingResult) []GetIploadbalancingOrderableZone { return v.OrderableZones }).(GetIploadbalancingOrderableZoneArrayOutput) +} + +func (o LookupIploadbalancingResultOutput) ServiceName() pulumi.StringOutput { + return o.ApplyT(func(v LookupIploadbalancingResult) string { return v.ServiceName }).(pulumi.StringOutput) +} + +func (o LookupIploadbalancingResultOutput) SslConfiguration() pulumi.StringOutput { + return o.ApplyT(func(v LookupIploadbalancingResult) string { return v.SslConfiguration }).(pulumi.StringOutput) +} + +func (o LookupIploadbalancingResultOutput) State() pulumi.StringOutput { + return o.ApplyT(func(v LookupIploadbalancingResult) string { return v.State }).(pulumi.StringOutput) +} + +func (o LookupIploadbalancingResultOutput) Urn() pulumi.StringOutput { + return o.ApplyT(func(v LookupIploadbalancingResult) string { return v.Urn }).(pulumi.StringOutput) +} + +func (o LookupIploadbalancingResultOutput) VrackEligibility() pulumi.BoolOutput { + return o.ApplyT(func(v LookupIploadbalancingResult) bool { return v.VrackEligibility }).(pulumi.BoolOutput) +} + +func (o LookupIploadbalancingResultOutput) VrackName() pulumi.StringOutput { + return o.ApplyT(func(v LookupIploadbalancingResult) string { return v.VrackName }).(pulumi.StringOutput) +} + +func (o LookupIploadbalancingResultOutput) Zones() pulumi.StringArrayOutput { + return o.ApplyT(func(v LookupIploadbalancingResult) []string { return v.Zones }).(pulumi.StringArrayOutput) +} + +func init() { + pulumi.RegisterOutputType(LookupIploadbalancingResultOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getIploadbalancingVrackNetwork.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getIploadbalancingVrackNetwork.go new file mode 100644 index 00000000..80569a58 --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getIploadbalancingVrackNetwork.go @@ -0,0 +1,115 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func LookupIploadbalancingVrackNetwork(ctx *pulumi.Context, args *LookupIploadbalancingVrackNetworkArgs, opts ...pulumi.InvokeOption) (*LookupIploadbalancingVrackNetworkResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var rv LookupIploadbalancingVrackNetworkResult + err = ctx.InvokePackage("ovh:index/getIploadbalancingVrackNetwork:getIploadbalancingVrackNetwork", args, &rv, ref, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getIploadbalancingVrackNetwork. +type LookupIploadbalancingVrackNetworkArgs struct { + Id *string `pulumi:"id"` + ServiceName string `pulumi:"serviceName"` + VrackNetworkId float64 `pulumi:"vrackNetworkId"` +} + +// A collection of values returned by getIploadbalancingVrackNetwork. +type LookupIploadbalancingVrackNetworkResult struct { + DisplayName string `pulumi:"displayName"` + Id string `pulumi:"id"` + NatIp string `pulumi:"natIp"` + ServiceName string `pulumi:"serviceName"` + Subnet string `pulumi:"subnet"` + Vlan float64 `pulumi:"vlan"` + VrackNetworkId float64 `pulumi:"vrackNetworkId"` +} + +func LookupIploadbalancingVrackNetworkOutput(ctx *pulumi.Context, args LookupIploadbalancingVrackNetworkOutputArgs, opts ...pulumi.InvokeOption) LookupIploadbalancingVrackNetworkResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (LookupIploadbalancingVrackNetworkResult, error) { + args := v.(LookupIploadbalancingVrackNetworkArgs) + r, err := LookupIploadbalancingVrackNetwork(ctx, &args, opts...) + var s LookupIploadbalancingVrackNetworkResult + if r != nil { + s = *r + } + return s, err + }).(LookupIploadbalancingVrackNetworkResultOutput) +} + +// A collection of arguments for invoking getIploadbalancingVrackNetwork. +type LookupIploadbalancingVrackNetworkOutputArgs struct { + Id pulumi.StringPtrInput `pulumi:"id"` + ServiceName pulumi.StringInput `pulumi:"serviceName"` + VrackNetworkId pulumi.Float64Input `pulumi:"vrackNetworkId"` +} + +func (LookupIploadbalancingVrackNetworkOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LookupIploadbalancingVrackNetworkArgs)(nil)).Elem() +} + +// A collection of values returned by getIploadbalancingVrackNetwork. +type LookupIploadbalancingVrackNetworkResultOutput struct{ *pulumi.OutputState } + +func (LookupIploadbalancingVrackNetworkResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LookupIploadbalancingVrackNetworkResult)(nil)).Elem() +} + +func (o LookupIploadbalancingVrackNetworkResultOutput) ToLookupIploadbalancingVrackNetworkResultOutput() LookupIploadbalancingVrackNetworkResultOutput { + return o +} + +func (o LookupIploadbalancingVrackNetworkResultOutput) ToLookupIploadbalancingVrackNetworkResultOutputWithContext(ctx context.Context) LookupIploadbalancingVrackNetworkResultOutput { + return o +} + +func (o LookupIploadbalancingVrackNetworkResultOutput) DisplayName() pulumi.StringOutput { + return o.ApplyT(func(v LookupIploadbalancingVrackNetworkResult) string { return v.DisplayName }).(pulumi.StringOutput) +} + +func (o LookupIploadbalancingVrackNetworkResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v LookupIploadbalancingVrackNetworkResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o LookupIploadbalancingVrackNetworkResultOutput) NatIp() pulumi.StringOutput { + return o.ApplyT(func(v LookupIploadbalancingVrackNetworkResult) string { return v.NatIp }).(pulumi.StringOutput) +} + +func (o LookupIploadbalancingVrackNetworkResultOutput) ServiceName() pulumi.StringOutput { + return o.ApplyT(func(v LookupIploadbalancingVrackNetworkResult) string { return v.ServiceName }).(pulumi.StringOutput) +} + +func (o LookupIploadbalancingVrackNetworkResultOutput) Subnet() pulumi.StringOutput { + return o.ApplyT(func(v LookupIploadbalancingVrackNetworkResult) string { return v.Subnet }).(pulumi.StringOutput) +} + +func (o LookupIploadbalancingVrackNetworkResultOutput) Vlan() pulumi.Float64Output { + return o.ApplyT(func(v LookupIploadbalancingVrackNetworkResult) float64 { return v.Vlan }).(pulumi.Float64Output) +} + +func (o LookupIploadbalancingVrackNetworkResultOutput) VrackNetworkId() pulumi.Float64Output { + return o.ApplyT(func(v LookupIploadbalancingVrackNetworkResult) float64 { return v.VrackNetworkId }).(pulumi.Float64Output) +} + +func init() { + pulumi.RegisterOutputType(LookupIploadbalancingVrackNetworkResultOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getIploadbalancingVrackNetworks.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getIploadbalancingVrackNetworks.go new file mode 100644 index 00000000..1937380f --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getIploadbalancingVrackNetworks.go @@ -0,0 +1,107 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func GetIploadbalancingVrackNetworks(ctx *pulumi.Context, args *GetIploadbalancingVrackNetworksArgs, opts ...pulumi.InvokeOption) (*GetIploadbalancingVrackNetworksResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var rv GetIploadbalancingVrackNetworksResult + err = ctx.InvokePackage("ovh:index/getIploadbalancingVrackNetworks:getIploadbalancingVrackNetworks", args, &rv, ref, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getIploadbalancingVrackNetworks. +type GetIploadbalancingVrackNetworksArgs struct { + Id *string `pulumi:"id"` + ServiceName string `pulumi:"serviceName"` + Subnet *string `pulumi:"subnet"` + VlanId *float64 `pulumi:"vlanId"` +} + +// A collection of values returned by getIploadbalancingVrackNetworks. +type GetIploadbalancingVrackNetworksResult struct { + Id string `pulumi:"id"` + Results []float64 `pulumi:"results"` + ServiceName string `pulumi:"serviceName"` + Subnet *string `pulumi:"subnet"` + VlanId *float64 `pulumi:"vlanId"` +} + +func GetIploadbalancingVrackNetworksOutput(ctx *pulumi.Context, args GetIploadbalancingVrackNetworksOutputArgs, opts ...pulumi.InvokeOption) GetIploadbalancingVrackNetworksResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (GetIploadbalancingVrackNetworksResult, error) { + args := v.(GetIploadbalancingVrackNetworksArgs) + r, err := GetIploadbalancingVrackNetworks(ctx, &args, opts...) + var s GetIploadbalancingVrackNetworksResult + if r != nil { + s = *r + } + return s, err + }).(GetIploadbalancingVrackNetworksResultOutput) +} + +// A collection of arguments for invoking getIploadbalancingVrackNetworks. +type GetIploadbalancingVrackNetworksOutputArgs struct { + Id pulumi.StringPtrInput `pulumi:"id"` + ServiceName pulumi.StringInput `pulumi:"serviceName"` + Subnet pulumi.StringPtrInput `pulumi:"subnet"` + VlanId pulumi.Float64PtrInput `pulumi:"vlanId"` +} + +func (GetIploadbalancingVrackNetworksOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetIploadbalancingVrackNetworksArgs)(nil)).Elem() +} + +// A collection of values returned by getIploadbalancingVrackNetworks. +type GetIploadbalancingVrackNetworksResultOutput struct{ *pulumi.OutputState } + +func (GetIploadbalancingVrackNetworksResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetIploadbalancingVrackNetworksResult)(nil)).Elem() +} + +func (o GetIploadbalancingVrackNetworksResultOutput) ToGetIploadbalancingVrackNetworksResultOutput() GetIploadbalancingVrackNetworksResultOutput { + return o +} + +func (o GetIploadbalancingVrackNetworksResultOutput) ToGetIploadbalancingVrackNetworksResultOutputWithContext(ctx context.Context) GetIploadbalancingVrackNetworksResultOutput { + return o +} + +func (o GetIploadbalancingVrackNetworksResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetIploadbalancingVrackNetworksResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o GetIploadbalancingVrackNetworksResultOutput) Results() pulumi.Float64ArrayOutput { + return o.ApplyT(func(v GetIploadbalancingVrackNetworksResult) []float64 { return v.Results }).(pulumi.Float64ArrayOutput) +} + +func (o GetIploadbalancingVrackNetworksResultOutput) ServiceName() pulumi.StringOutput { + return o.ApplyT(func(v GetIploadbalancingVrackNetworksResult) string { return v.ServiceName }).(pulumi.StringOutput) +} + +func (o GetIploadbalancingVrackNetworksResultOutput) Subnet() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetIploadbalancingVrackNetworksResult) *string { return v.Subnet }).(pulumi.StringPtrOutput) +} + +func (o GetIploadbalancingVrackNetworksResultOutput) VlanId() pulumi.Float64PtrOutput { + return o.ApplyT(func(v GetIploadbalancingVrackNetworksResult) *float64 { return v.VlanId }).(pulumi.Float64PtrOutput) +} + +func init() { + pulumi.RegisterOutputType(GetIploadbalancingVrackNetworksResultOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getMe.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getMe.go new file mode 100644 index 00000000..af0b84a9 --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getMe.go @@ -0,0 +1,231 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func GetMe(ctx *pulumi.Context, args *GetMeArgs, opts ...pulumi.InvokeOption) (*GetMeResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var rv GetMeResult + err = ctx.InvokePackage("ovh:index/getMe:getMe", args, &rv, ref, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getMe. +type GetMeArgs struct { + Id *string `pulumi:"id"` +} + +// A collection of values returned by getMe. +type GetMeResult struct { + Address string `pulumi:"address"` + Area string `pulumi:"area"` + BirthCity string `pulumi:"birthCity"` + BirthDay string `pulumi:"birthDay"` + City string `pulumi:"city"` + CompanyNationalIdentificationNumber string `pulumi:"companyNationalIdentificationNumber"` + CorporationType string `pulumi:"corporationType"` + Country string `pulumi:"country"` + Currencies []GetMeCurrency `pulumi:"currencies"` + CustomerCode string `pulumi:"customerCode"` + Email string `pulumi:"email"` + Fax string `pulumi:"fax"` + Firstname string `pulumi:"firstname"` + Id string `pulumi:"id"` + ItalianSdi string `pulumi:"italianSdi"` + Language string `pulumi:"language"` + Legalform string `pulumi:"legalform"` + Name string `pulumi:"name"` + NationalIdentificationNumber string `pulumi:"nationalIdentificationNumber"` + Nichandle string `pulumi:"nichandle"` + Organisation string `pulumi:"organisation"` + OvhCompany string `pulumi:"ovhCompany"` + OvhSubsidiary string `pulumi:"ovhSubsidiary"` + Phone string `pulumi:"phone"` + PhoneCountry string `pulumi:"phoneCountry"` + Sex string `pulumi:"sex"` + SpareEmail string `pulumi:"spareEmail"` + State string `pulumi:"state"` + Urn string `pulumi:"urn"` + Vat string `pulumi:"vat"` + Zip string `pulumi:"zip"` +} + +func GetMeOutput(ctx *pulumi.Context, args GetMeOutputArgs, opts ...pulumi.InvokeOption) GetMeResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (GetMeResult, error) { + args := v.(GetMeArgs) + r, err := GetMe(ctx, &args, opts...) + var s GetMeResult + if r != nil { + s = *r + } + return s, err + }).(GetMeResultOutput) +} + +// A collection of arguments for invoking getMe. +type GetMeOutputArgs struct { + Id pulumi.StringPtrInput `pulumi:"id"` +} + +func (GetMeOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetMeArgs)(nil)).Elem() +} + +// A collection of values returned by getMe. +type GetMeResultOutput struct{ *pulumi.OutputState } + +func (GetMeResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetMeResult)(nil)).Elem() +} + +func (o GetMeResultOutput) ToGetMeResultOutput() GetMeResultOutput { + return o +} + +func (o GetMeResultOutput) ToGetMeResultOutputWithContext(ctx context.Context) GetMeResultOutput { + return o +} + +func (o GetMeResultOutput) Address() pulumi.StringOutput { + return o.ApplyT(func(v GetMeResult) string { return v.Address }).(pulumi.StringOutput) +} + +func (o GetMeResultOutput) Area() pulumi.StringOutput { + return o.ApplyT(func(v GetMeResult) string { return v.Area }).(pulumi.StringOutput) +} + +func (o GetMeResultOutput) BirthCity() pulumi.StringOutput { + return o.ApplyT(func(v GetMeResult) string { return v.BirthCity }).(pulumi.StringOutput) +} + +func (o GetMeResultOutput) BirthDay() pulumi.StringOutput { + return o.ApplyT(func(v GetMeResult) string { return v.BirthDay }).(pulumi.StringOutput) +} + +func (o GetMeResultOutput) City() pulumi.StringOutput { + return o.ApplyT(func(v GetMeResult) string { return v.City }).(pulumi.StringOutput) +} + +func (o GetMeResultOutput) CompanyNationalIdentificationNumber() pulumi.StringOutput { + return o.ApplyT(func(v GetMeResult) string { return v.CompanyNationalIdentificationNumber }).(pulumi.StringOutput) +} + +func (o GetMeResultOutput) CorporationType() pulumi.StringOutput { + return o.ApplyT(func(v GetMeResult) string { return v.CorporationType }).(pulumi.StringOutput) +} + +func (o GetMeResultOutput) Country() pulumi.StringOutput { + return o.ApplyT(func(v GetMeResult) string { return v.Country }).(pulumi.StringOutput) +} + +func (o GetMeResultOutput) Currencies() GetMeCurrencyArrayOutput { + return o.ApplyT(func(v GetMeResult) []GetMeCurrency { return v.Currencies }).(GetMeCurrencyArrayOutput) +} + +func (o GetMeResultOutput) CustomerCode() pulumi.StringOutput { + return o.ApplyT(func(v GetMeResult) string { return v.CustomerCode }).(pulumi.StringOutput) +} + +func (o GetMeResultOutput) Email() pulumi.StringOutput { + return o.ApplyT(func(v GetMeResult) string { return v.Email }).(pulumi.StringOutput) +} + +func (o GetMeResultOutput) Fax() pulumi.StringOutput { + return o.ApplyT(func(v GetMeResult) string { return v.Fax }).(pulumi.StringOutput) +} + +func (o GetMeResultOutput) Firstname() pulumi.StringOutput { + return o.ApplyT(func(v GetMeResult) string { return v.Firstname }).(pulumi.StringOutput) +} + +func (o GetMeResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetMeResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o GetMeResultOutput) ItalianSdi() pulumi.StringOutput { + return o.ApplyT(func(v GetMeResult) string { return v.ItalianSdi }).(pulumi.StringOutput) +} + +func (o GetMeResultOutput) Language() pulumi.StringOutput { + return o.ApplyT(func(v GetMeResult) string { return v.Language }).(pulumi.StringOutput) +} + +func (o GetMeResultOutput) Legalform() pulumi.StringOutput { + return o.ApplyT(func(v GetMeResult) string { return v.Legalform }).(pulumi.StringOutput) +} + +func (o GetMeResultOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetMeResult) string { return v.Name }).(pulumi.StringOutput) +} + +func (o GetMeResultOutput) NationalIdentificationNumber() pulumi.StringOutput { + return o.ApplyT(func(v GetMeResult) string { return v.NationalIdentificationNumber }).(pulumi.StringOutput) +} + +func (o GetMeResultOutput) Nichandle() pulumi.StringOutput { + return o.ApplyT(func(v GetMeResult) string { return v.Nichandle }).(pulumi.StringOutput) +} + +func (o GetMeResultOutput) Organisation() pulumi.StringOutput { + return o.ApplyT(func(v GetMeResult) string { return v.Organisation }).(pulumi.StringOutput) +} + +func (o GetMeResultOutput) OvhCompany() pulumi.StringOutput { + return o.ApplyT(func(v GetMeResult) string { return v.OvhCompany }).(pulumi.StringOutput) +} + +func (o GetMeResultOutput) OvhSubsidiary() pulumi.StringOutput { + return o.ApplyT(func(v GetMeResult) string { return v.OvhSubsidiary }).(pulumi.StringOutput) +} + +func (o GetMeResultOutput) Phone() pulumi.StringOutput { + return o.ApplyT(func(v GetMeResult) string { return v.Phone }).(pulumi.StringOutput) +} + +func (o GetMeResultOutput) PhoneCountry() pulumi.StringOutput { + return o.ApplyT(func(v GetMeResult) string { return v.PhoneCountry }).(pulumi.StringOutput) +} + +func (o GetMeResultOutput) Sex() pulumi.StringOutput { + return o.ApplyT(func(v GetMeResult) string { return v.Sex }).(pulumi.StringOutput) +} + +func (o GetMeResultOutput) SpareEmail() pulumi.StringOutput { + return o.ApplyT(func(v GetMeResult) string { return v.SpareEmail }).(pulumi.StringOutput) +} + +func (o GetMeResultOutput) State() pulumi.StringOutput { + return o.ApplyT(func(v GetMeResult) string { return v.State }).(pulumi.StringOutput) +} + +func (o GetMeResultOutput) Urn() pulumi.StringOutput { + return o.ApplyT(func(v GetMeResult) string { return v.Urn }).(pulumi.StringOutput) +} + +func (o GetMeResultOutput) Vat() pulumi.StringOutput { + return o.ApplyT(func(v GetMeResult) string { return v.Vat }).(pulumi.StringOutput) +} + +func (o GetMeResultOutput) Zip() pulumi.StringOutput { + return o.ApplyT(func(v GetMeResult) string { return v.Zip }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(GetMeResultOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getMeApiOauth2Client.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getMeApiOauth2Client.go new file mode 100644 index 00000000..b2fb37ac --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getMeApiOauth2Client.go @@ -0,0 +1,113 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func LookupMeApiOauth2Client(ctx *pulumi.Context, args *LookupMeApiOauth2ClientArgs, opts ...pulumi.InvokeOption) (*LookupMeApiOauth2ClientResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var rv LookupMeApiOauth2ClientResult + err = ctx.InvokePackage("ovh:index/getMeApiOauth2Client:getMeApiOauth2Client", args, &rv, ref, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getMeApiOauth2Client. +type LookupMeApiOauth2ClientArgs struct { + ClientId string `pulumi:"clientId"` + Id *string `pulumi:"id"` +} + +// A collection of values returned by getMeApiOauth2Client. +type LookupMeApiOauth2ClientResult struct { + CallbackUrls []string `pulumi:"callbackUrls"` + ClientId string `pulumi:"clientId"` + Description string `pulumi:"description"` + Flow string `pulumi:"flow"` + Id string `pulumi:"id"` + Identity string `pulumi:"identity"` + Name string `pulumi:"name"` +} + +func LookupMeApiOauth2ClientOutput(ctx *pulumi.Context, args LookupMeApiOauth2ClientOutputArgs, opts ...pulumi.InvokeOption) LookupMeApiOauth2ClientResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (LookupMeApiOauth2ClientResult, error) { + args := v.(LookupMeApiOauth2ClientArgs) + r, err := LookupMeApiOauth2Client(ctx, &args, opts...) + var s LookupMeApiOauth2ClientResult + if r != nil { + s = *r + } + return s, err + }).(LookupMeApiOauth2ClientResultOutput) +} + +// A collection of arguments for invoking getMeApiOauth2Client. +type LookupMeApiOauth2ClientOutputArgs struct { + ClientId pulumi.StringInput `pulumi:"clientId"` + Id pulumi.StringPtrInput `pulumi:"id"` +} + +func (LookupMeApiOauth2ClientOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LookupMeApiOauth2ClientArgs)(nil)).Elem() +} + +// A collection of values returned by getMeApiOauth2Client. +type LookupMeApiOauth2ClientResultOutput struct{ *pulumi.OutputState } + +func (LookupMeApiOauth2ClientResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LookupMeApiOauth2ClientResult)(nil)).Elem() +} + +func (o LookupMeApiOauth2ClientResultOutput) ToLookupMeApiOauth2ClientResultOutput() LookupMeApiOauth2ClientResultOutput { + return o +} + +func (o LookupMeApiOauth2ClientResultOutput) ToLookupMeApiOauth2ClientResultOutputWithContext(ctx context.Context) LookupMeApiOauth2ClientResultOutput { + return o +} + +func (o LookupMeApiOauth2ClientResultOutput) CallbackUrls() pulumi.StringArrayOutput { + return o.ApplyT(func(v LookupMeApiOauth2ClientResult) []string { return v.CallbackUrls }).(pulumi.StringArrayOutput) +} + +func (o LookupMeApiOauth2ClientResultOutput) ClientId() pulumi.StringOutput { + return o.ApplyT(func(v LookupMeApiOauth2ClientResult) string { return v.ClientId }).(pulumi.StringOutput) +} + +func (o LookupMeApiOauth2ClientResultOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v LookupMeApiOauth2ClientResult) string { return v.Description }).(pulumi.StringOutput) +} + +func (o LookupMeApiOauth2ClientResultOutput) Flow() pulumi.StringOutput { + return o.ApplyT(func(v LookupMeApiOauth2ClientResult) string { return v.Flow }).(pulumi.StringOutput) +} + +func (o LookupMeApiOauth2ClientResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v LookupMeApiOauth2ClientResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o LookupMeApiOauth2ClientResultOutput) Identity() pulumi.StringOutput { + return o.ApplyT(func(v LookupMeApiOauth2ClientResult) string { return v.Identity }).(pulumi.StringOutput) +} + +func (o LookupMeApiOauth2ClientResultOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v LookupMeApiOauth2ClientResult) string { return v.Name }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(LookupMeApiOauth2ClientResultOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getMeApiOauth2Clients.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getMeApiOauth2Clients.go new file mode 100644 index 00000000..4fc3c2cb --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getMeApiOauth2Clients.go @@ -0,0 +1,86 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func GetMeApiOauth2Clients(ctx *pulumi.Context, args *GetMeApiOauth2ClientsArgs, opts ...pulumi.InvokeOption) (*GetMeApiOauth2ClientsResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var rv GetMeApiOauth2ClientsResult + err = ctx.InvokePackage("ovh:index/getMeApiOauth2Clients:getMeApiOauth2Clients", args, &rv, ref, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getMeApiOauth2Clients. +type GetMeApiOauth2ClientsArgs struct { + Id *string `pulumi:"id"` +} + +// A collection of values returned by getMeApiOauth2Clients. +type GetMeApiOauth2ClientsResult struct { + ClientIds []string `pulumi:"clientIds"` + Id string `pulumi:"id"` +} + +func GetMeApiOauth2ClientsOutput(ctx *pulumi.Context, args GetMeApiOauth2ClientsOutputArgs, opts ...pulumi.InvokeOption) GetMeApiOauth2ClientsResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (GetMeApiOauth2ClientsResult, error) { + args := v.(GetMeApiOauth2ClientsArgs) + r, err := GetMeApiOauth2Clients(ctx, &args, opts...) + var s GetMeApiOauth2ClientsResult + if r != nil { + s = *r + } + return s, err + }).(GetMeApiOauth2ClientsResultOutput) +} + +// A collection of arguments for invoking getMeApiOauth2Clients. +type GetMeApiOauth2ClientsOutputArgs struct { + Id pulumi.StringPtrInput `pulumi:"id"` +} + +func (GetMeApiOauth2ClientsOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetMeApiOauth2ClientsArgs)(nil)).Elem() +} + +// A collection of values returned by getMeApiOauth2Clients. +type GetMeApiOauth2ClientsResultOutput struct{ *pulumi.OutputState } + +func (GetMeApiOauth2ClientsResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetMeApiOauth2ClientsResult)(nil)).Elem() +} + +func (o GetMeApiOauth2ClientsResultOutput) ToGetMeApiOauth2ClientsResultOutput() GetMeApiOauth2ClientsResultOutput { + return o +} + +func (o GetMeApiOauth2ClientsResultOutput) ToGetMeApiOauth2ClientsResultOutputWithContext(ctx context.Context) GetMeApiOauth2ClientsResultOutput { + return o +} + +func (o GetMeApiOauth2ClientsResultOutput) ClientIds() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetMeApiOauth2ClientsResult) []string { return v.ClientIds }).(pulumi.StringArrayOutput) +} + +func (o GetMeApiOauth2ClientsResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetMeApiOauth2ClientsResult) string { return v.Id }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(GetMeApiOauth2ClientsResultOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getMeIdentityGroup.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getMeIdentityGroup.go new file mode 100644 index 00000000..e3e46173 --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getMeIdentityGroup.go @@ -0,0 +1,118 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func LookupMeIdentityGroup(ctx *pulumi.Context, args *LookupMeIdentityGroupArgs, opts ...pulumi.InvokeOption) (*LookupMeIdentityGroupResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var rv LookupMeIdentityGroupResult + err = ctx.InvokePackage("ovh:index/getMeIdentityGroup:getMeIdentityGroup", args, &rv, ref, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getMeIdentityGroup. +type LookupMeIdentityGroupArgs struct { + Id *string `pulumi:"id"` + Name string `pulumi:"name"` +} + +// A collection of values returned by getMeIdentityGroup. +type LookupMeIdentityGroupResult struct { + Creation string `pulumi:"creation"` + DefaultGroup bool `pulumi:"defaultGroup"` + Description string `pulumi:"description"` + Id string `pulumi:"id"` + LastUpdate string `pulumi:"lastUpdate"` + Name string `pulumi:"name"` + Role string `pulumi:"role"` + Urn string `pulumi:"urn"` +} + +func LookupMeIdentityGroupOutput(ctx *pulumi.Context, args LookupMeIdentityGroupOutputArgs, opts ...pulumi.InvokeOption) LookupMeIdentityGroupResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (LookupMeIdentityGroupResult, error) { + args := v.(LookupMeIdentityGroupArgs) + r, err := LookupMeIdentityGroup(ctx, &args, opts...) + var s LookupMeIdentityGroupResult + if r != nil { + s = *r + } + return s, err + }).(LookupMeIdentityGroupResultOutput) +} + +// A collection of arguments for invoking getMeIdentityGroup. +type LookupMeIdentityGroupOutputArgs struct { + Id pulumi.StringPtrInput `pulumi:"id"` + Name pulumi.StringInput `pulumi:"name"` +} + +func (LookupMeIdentityGroupOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LookupMeIdentityGroupArgs)(nil)).Elem() +} + +// A collection of values returned by getMeIdentityGroup. +type LookupMeIdentityGroupResultOutput struct{ *pulumi.OutputState } + +func (LookupMeIdentityGroupResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LookupMeIdentityGroupResult)(nil)).Elem() +} + +func (o LookupMeIdentityGroupResultOutput) ToLookupMeIdentityGroupResultOutput() LookupMeIdentityGroupResultOutput { + return o +} + +func (o LookupMeIdentityGroupResultOutput) ToLookupMeIdentityGroupResultOutputWithContext(ctx context.Context) LookupMeIdentityGroupResultOutput { + return o +} + +func (o LookupMeIdentityGroupResultOutput) Creation() pulumi.StringOutput { + return o.ApplyT(func(v LookupMeIdentityGroupResult) string { return v.Creation }).(pulumi.StringOutput) +} + +func (o LookupMeIdentityGroupResultOutput) DefaultGroup() pulumi.BoolOutput { + return o.ApplyT(func(v LookupMeIdentityGroupResult) bool { return v.DefaultGroup }).(pulumi.BoolOutput) +} + +func (o LookupMeIdentityGroupResultOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v LookupMeIdentityGroupResult) string { return v.Description }).(pulumi.StringOutput) +} + +func (o LookupMeIdentityGroupResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v LookupMeIdentityGroupResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o LookupMeIdentityGroupResultOutput) LastUpdate() pulumi.StringOutput { + return o.ApplyT(func(v LookupMeIdentityGroupResult) string { return v.LastUpdate }).(pulumi.StringOutput) +} + +func (o LookupMeIdentityGroupResultOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v LookupMeIdentityGroupResult) string { return v.Name }).(pulumi.StringOutput) +} + +func (o LookupMeIdentityGroupResultOutput) Role() pulumi.StringOutput { + return o.ApplyT(func(v LookupMeIdentityGroupResult) string { return v.Role }).(pulumi.StringOutput) +} + +func (o LookupMeIdentityGroupResultOutput) Urn() pulumi.StringOutput { + return o.ApplyT(func(v LookupMeIdentityGroupResult) string { return v.Urn }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(LookupMeIdentityGroupResultOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getMeIdentityGroups.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getMeIdentityGroups.go new file mode 100644 index 00000000..d80a1e73 --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getMeIdentityGroups.go @@ -0,0 +1,86 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func GetMeIdentityGroups(ctx *pulumi.Context, args *GetMeIdentityGroupsArgs, opts ...pulumi.InvokeOption) (*GetMeIdentityGroupsResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var rv GetMeIdentityGroupsResult + err = ctx.InvokePackage("ovh:index/getMeIdentityGroups:getMeIdentityGroups", args, &rv, ref, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getMeIdentityGroups. +type GetMeIdentityGroupsArgs struct { + Id *string `pulumi:"id"` +} + +// A collection of values returned by getMeIdentityGroups. +type GetMeIdentityGroupsResult struct { + Groups []string `pulumi:"groups"` + Id string `pulumi:"id"` +} + +func GetMeIdentityGroupsOutput(ctx *pulumi.Context, args GetMeIdentityGroupsOutputArgs, opts ...pulumi.InvokeOption) GetMeIdentityGroupsResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (GetMeIdentityGroupsResult, error) { + args := v.(GetMeIdentityGroupsArgs) + r, err := GetMeIdentityGroups(ctx, &args, opts...) + var s GetMeIdentityGroupsResult + if r != nil { + s = *r + } + return s, err + }).(GetMeIdentityGroupsResultOutput) +} + +// A collection of arguments for invoking getMeIdentityGroups. +type GetMeIdentityGroupsOutputArgs struct { + Id pulumi.StringPtrInput `pulumi:"id"` +} + +func (GetMeIdentityGroupsOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetMeIdentityGroupsArgs)(nil)).Elem() +} + +// A collection of values returned by getMeIdentityGroups. +type GetMeIdentityGroupsResultOutput struct{ *pulumi.OutputState } + +func (GetMeIdentityGroupsResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetMeIdentityGroupsResult)(nil)).Elem() +} + +func (o GetMeIdentityGroupsResultOutput) ToGetMeIdentityGroupsResultOutput() GetMeIdentityGroupsResultOutput { + return o +} + +func (o GetMeIdentityGroupsResultOutput) ToGetMeIdentityGroupsResultOutputWithContext(ctx context.Context) GetMeIdentityGroupsResultOutput { + return o +} + +func (o GetMeIdentityGroupsResultOutput) Groups() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetMeIdentityGroupsResult) []string { return v.Groups }).(pulumi.StringArrayOutput) +} + +func (o GetMeIdentityGroupsResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetMeIdentityGroupsResult) string { return v.Id }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(GetMeIdentityGroupsResultOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getMeIdentityUser.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getMeIdentityUser.go new file mode 100644 index 00000000..2d8b58e0 --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getMeIdentityUser.go @@ -0,0 +1,133 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func LookupMeIdentityUser(ctx *pulumi.Context, args *LookupMeIdentityUserArgs, opts ...pulumi.InvokeOption) (*LookupMeIdentityUserResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var rv LookupMeIdentityUserResult + err = ctx.InvokePackage("ovh:index/getMeIdentityUser:getMeIdentityUser", args, &rv, ref, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getMeIdentityUser. +type LookupMeIdentityUserArgs struct { + Id *string `pulumi:"id"` + User string `pulumi:"user"` +} + +// A collection of values returned by getMeIdentityUser. +type LookupMeIdentityUserResult struct { + Creation string `pulumi:"creation"` + Description string `pulumi:"description"` + Email string `pulumi:"email"` + Group string `pulumi:"group"` + Id string `pulumi:"id"` + LastUpdate string `pulumi:"lastUpdate"` + Login string `pulumi:"login"` + PasswordLastUpdate string `pulumi:"passwordLastUpdate"` + Status string `pulumi:"status"` + Urn string `pulumi:"urn"` + User string `pulumi:"user"` +} + +func LookupMeIdentityUserOutput(ctx *pulumi.Context, args LookupMeIdentityUserOutputArgs, opts ...pulumi.InvokeOption) LookupMeIdentityUserResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (LookupMeIdentityUserResult, error) { + args := v.(LookupMeIdentityUserArgs) + r, err := LookupMeIdentityUser(ctx, &args, opts...) + var s LookupMeIdentityUserResult + if r != nil { + s = *r + } + return s, err + }).(LookupMeIdentityUserResultOutput) +} + +// A collection of arguments for invoking getMeIdentityUser. +type LookupMeIdentityUserOutputArgs struct { + Id pulumi.StringPtrInput `pulumi:"id"` + User pulumi.StringInput `pulumi:"user"` +} + +func (LookupMeIdentityUserOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LookupMeIdentityUserArgs)(nil)).Elem() +} + +// A collection of values returned by getMeIdentityUser. +type LookupMeIdentityUserResultOutput struct{ *pulumi.OutputState } + +func (LookupMeIdentityUserResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LookupMeIdentityUserResult)(nil)).Elem() +} + +func (o LookupMeIdentityUserResultOutput) ToLookupMeIdentityUserResultOutput() LookupMeIdentityUserResultOutput { + return o +} + +func (o LookupMeIdentityUserResultOutput) ToLookupMeIdentityUserResultOutputWithContext(ctx context.Context) LookupMeIdentityUserResultOutput { + return o +} + +func (o LookupMeIdentityUserResultOutput) Creation() pulumi.StringOutput { + return o.ApplyT(func(v LookupMeIdentityUserResult) string { return v.Creation }).(pulumi.StringOutput) +} + +func (o LookupMeIdentityUserResultOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v LookupMeIdentityUserResult) string { return v.Description }).(pulumi.StringOutput) +} + +func (o LookupMeIdentityUserResultOutput) Email() pulumi.StringOutput { + return o.ApplyT(func(v LookupMeIdentityUserResult) string { return v.Email }).(pulumi.StringOutput) +} + +func (o LookupMeIdentityUserResultOutput) Group() pulumi.StringOutput { + return o.ApplyT(func(v LookupMeIdentityUserResult) string { return v.Group }).(pulumi.StringOutput) +} + +func (o LookupMeIdentityUserResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v LookupMeIdentityUserResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o LookupMeIdentityUserResultOutput) LastUpdate() pulumi.StringOutput { + return o.ApplyT(func(v LookupMeIdentityUserResult) string { return v.LastUpdate }).(pulumi.StringOutput) +} + +func (o LookupMeIdentityUserResultOutput) Login() pulumi.StringOutput { + return o.ApplyT(func(v LookupMeIdentityUserResult) string { return v.Login }).(pulumi.StringOutput) +} + +func (o LookupMeIdentityUserResultOutput) PasswordLastUpdate() pulumi.StringOutput { + return o.ApplyT(func(v LookupMeIdentityUserResult) string { return v.PasswordLastUpdate }).(pulumi.StringOutput) +} + +func (o LookupMeIdentityUserResultOutput) Status() pulumi.StringOutput { + return o.ApplyT(func(v LookupMeIdentityUserResult) string { return v.Status }).(pulumi.StringOutput) +} + +func (o LookupMeIdentityUserResultOutput) Urn() pulumi.StringOutput { + return o.ApplyT(func(v LookupMeIdentityUserResult) string { return v.Urn }).(pulumi.StringOutput) +} + +func (o LookupMeIdentityUserResultOutput) User() pulumi.StringOutput { + return o.ApplyT(func(v LookupMeIdentityUserResult) string { return v.User }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(LookupMeIdentityUserResultOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getMeIdentityUsers.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getMeIdentityUsers.go new file mode 100644 index 00000000..0d33ae5a --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getMeIdentityUsers.go @@ -0,0 +1,86 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func GetMeIdentityUsers(ctx *pulumi.Context, args *GetMeIdentityUsersArgs, opts ...pulumi.InvokeOption) (*GetMeIdentityUsersResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var rv GetMeIdentityUsersResult + err = ctx.InvokePackage("ovh:index/getMeIdentityUsers:getMeIdentityUsers", args, &rv, ref, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getMeIdentityUsers. +type GetMeIdentityUsersArgs struct { + Id *string `pulumi:"id"` +} + +// A collection of values returned by getMeIdentityUsers. +type GetMeIdentityUsersResult struct { + Id string `pulumi:"id"` + Users []string `pulumi:"users"` +} + +func GetMeIdentityUsersOutput(ctx *pulumi.Context, args GetMeIdentityUsersOutputArgs, opts ...pulumi.InvokeOption) GetMeIdentityUsersResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (GetMeIdentityUsersResult, error) { + args := v.(GetMeIdentityUsersArgs) + r, err := GetMeIdentityUsers(ctx, &args, opts...) + var s GetMeIdentityUsersResult + if r != nil { + s = *r + } + return s, err + }).(GetMeIdentityUsersResultOutput) +} + +// A collection of arguments for invoking getMeIdentityUsers. +type GetMeIdentityUsersOutputArgs struct { + Id pulumi.StringPtrInput `pulumi:"id"` +} + +func (GetMeIdentityUsersOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetMeIdentityUsersArgs)(nil)).Elem() +} + +// A collection of values returned by getMeIdentityUsers. +type GetMeIdentityUsersResultOutput struct{ *pulumi.OutputState } + +func (GetMeIdentityUsersResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetMeIdentityUsersResult)(nil)).Elem() +} + +func (o GetMeIdentityUsersResultOutput) ToGetMeIdentityUsersResultOutput() GetMeIdentityUsersResultOutput { + return o +} + +func (o GetMeIdentityUsersResultOutput) ToGetMeIdentityUsersResultOutputWithContext(ctx context.Context) GetMeIdentityUsersResultOutput { + return o +} + +func (o GetMeIdentityUsersResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetMeIdentityUsersResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o GetMeIdentityUsersResultOutput) Users() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetMeIdentityUsersResult) []string { return v.Users }).(pulumi.StringArrayOutput) +} + +func init() { + pulumi.RegisterOutputType(GetMeIdentityUsersResultOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getMeInstallationTemplate.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getMeInstallationTemplate.go new file mode 100644 index 00000000..36f76ef1 --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getMeInstallationTemplate.go @@ -0,0 +1,169 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func LookupMeInstallationTemplate(ctx *pulumi.Context, args *LookupMeInstallationTemplateArgs, opts ...pulumi.InvokeOption) (*LookupMeInstallationTemplateResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var rv LookupMeInstallationTemplateResult + err = ctx.InvokePackage("ovh:index/getMeInstallationTemplate:getMeInstallationTemplate", args, &rv, ref, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getMeInstallationTemplate. +type LookupMeInstallationTemplateArgs struct { + Id *string `pulumi:"id"` + TemplateName string `pulumi:"templateName"` +} + +// A collection of values returned by getMeInstallationTemplate. +type LookupMeInstallationTemplateResult struct { + BitFormat float64 `pulumi:"bitFormat"` + Category string `pulumi:"category"` + Customizations []GetMeInstallationTemplateCustomization `pulumi:"customizations"` + Description string `pulumi:"description"` + Distribution string `pulumi:"distribution"` + EndOfInstall string `pulumi:"endOfInstall"` + Family string `pulumi:"family"` + Filesystems []string `pulumi:"filesystems"` + // Deprecated: Deprecated + HardRaidConfiguration bool `pulumi:"hardRaidConfiguration"` + Id string `pulumi:"id"` + Inputs []GetMeInstallationTemplateInput `pulumi:"inputs"` + LvmReady bool `pulumi:"lvmReady"` + NoPartitioning bool `pulumi:"noPartitioning"` + PartitionSchemes []GetMeInstallationTemplatePartitionSchemeType `pulumi:"partitionSchemes"` + SoftRaidOnlyMirroring bool `pulumi:"softRaidOnlyMirroring"` + Subfamily string `pulumi:"subfamily"` + TemplateName string `pulumi:"templateName"` +} + +func LookupMeInstallationTemplateOutput(ctx *pulumi.Context, args LookupMeInstallationTemplateOutputArgs, opts ...pulumi.InvokeOption) LookupMeInstallationTemplateResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (LookupMeInstallationTemplateResult, error) { + args := v.(LookupMeInstallationTemplateArgs) + r, err := LookupMeInstallationTemplate(ctx, &args, opts...) + var s LookupMeInstallationTemplateResult + if r != nil { + s = *r + } + return s, err + }).(LookupMeInstallationTemplateResultOutput) +} + +// A collection of arguments for invoking getMeInstallationTemplate. +type LookupMeInstallationTemplateOutputArgs struct { + Id pulumi.StringPtrInput `pulumi:"id"` + TemplateName pulumi.StringInput `pulumi:"templateName"` +} + +func (LookupMeInstallationTemplateOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LookupMeInstallationTemplateArgs)(nil)).Elem() +} + +// A collection of values returned by getMeInstallationTemplate. +type LookupMeInstallationTemplateResultOutput struct{ *pulumi.OutputState } + +func (LookupMeInstallationTemplateResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LookupMeInstallationTemplateResult)(nil)).Elem() +} + +func (o LookupMeInstallationTemplateResultOutput) ToLookupMeInstallationTemplateResultOutput() LookupMeInstallationTemplateResultOutput { + return o +} + +func (o LookupMeInstallationTemplateResultOutput) ToLookupMeInstallationTemplateResultOutputWithContext(ctx context.Context) LookupMeInstallationTemplateResultOutput { + return o +} + +func (o LookupMeInstallationTemplateResultOutput) BitFormat() pulumi.Float64Output { + return o.ApplyT(func(v LookupMeInstallationTemplateResult) float64 { return v.BitFormat }).(pulumi.Float64Output) +} + +func (o LookupMeInstallationTemplateResultOutput) Category() pulumi.StringOutput { + return o.ApplyT(func(v LookupMeInstallationTemplateResult) string { return v.Category }).(pulumi.StringOutput) +} + +func (o LookupMeInstallationTemplateResultOutput) Customizations() GetMeInstallationTemplateCustomizationArrayOutput { + return o.ApplyT(func(v LookupMeInstallationTemplateResult) []GetMeInstallationTemplateCustomization { + return v.Customizations + }).(GetMeInstallationTemplateCustomizationArrayOutput) +} + +func (o LookupMeInstallationTemplateResultOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v LookupMeInstallationTemplateResult) string { return v.Description }).(pulumi.StringOutput) +} + +func (o LookupMeInstallationTemplateResultOutput) Distribution() pulumi.StringOutput { + return o.ApplyT(func(v LookupMeInstallationTemplateResult) string { return v.Distribution }).(pulumi.StringOutput) +} + +func (o LookupMeInstallationTemplateResultOutput) EndOfInstall() pulumi.StringOutput { + return o.ApplyT(func(v LookupMeInstallationTemplateResult) string { return v.EndOfInstall }).(pulumi.StringOutput) +} + +func (o LookupMeInstallationTemplateResultOutput) Family() pulumi.StringOutput { + return o.ApplyT(func(v LookupMeInstallationTemplateResult) string { return v.Family }).(pulumi.StringOutput) +} + +func (o LookupMeInstallationTemplateResultOutput) Filesystems() pulumi.StringArrayOutput { + return o.ApplyT(func(v LookupMeInstallationTemplateResult) []string { return v.Filesystems }).(pulumi.StringArrayOutput) +} + +// Deprecated: Deprecated +func (o LookupMeInstallationTemplateResultOutput) HardRaidConfiguration() pulumi.BoolOutput { + return o.ApplyT(func(v LookupMeInstallationTemplateResult) bool { return v.HardRaidConfiguration }).(pulumi.BoolOutput) +} + +func (o LookupMeInstallationTemplateResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v LookupMeInstallationTemplateResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o LookupMeInstallationTemplateResultOutput) Inputs() GetMeInstallationTemplateInputArrayOutput { + return o.ApplyT(func(v LookupMeInstallationTemplateResult) []GetMeInstallationTemplateInput { return v.Inputs }).(GetMeInstallationTemplateInputArrayOutput) +} + +func (o LookupMeInstallationTemplateResultOutput) LvmReady() pulumi.BoolOutput { + return o.ApplyT(func(v LookupMeInstallationTemplateResult) bool { return v.LvmReady }).(pulumi.BoolOutput) +} + +func (o LookupMeInstallationTemplateResultOutput) NoPartitioning() pulumi.BoolOutput { + return o.ApplyT(func(v LookupMeInstallationTemplateResult) bool { return v.NoPartitioning }).(pulumi.BoolOutput) +} + +func (o LookupMeInstallationTemplateResultOutput) PartitionSchemes() GetMeInstallationTemplatePartitionSchemeTypeArrayOutput { + return o.ApplyT(func(v LookupMeInstallationTemplateResult) []GetMeInstallationTemplatePartitionSchemeType { + return v.PartitionSchemes + }).(GetMeInstallationTemplatePartitionSchemeTypeArrayOutput) +} + +func (o LookupMeInstallationTemplateResultOutput) SoftRaidOnlyMirroring() pulumi.BoolOutput { + return o.ApplyT(func(v LookupMeInstallationTemplateResult) bool { return v.SoftRaidOnlyMirroring }).(pulumi.BoolOutput) +} + +func (o LookupMeInstallationTemplateResultOutput) Subfamily() pulumi.StringOutput { + return o.ApplyT(func(v LookupMeInstallationTemplateResult) string { return v.Subfamily }).(pulumi.StringOutput) +} + +func (o LookupMeInstallationTemplateResultOutput) TemplateName() pulumi.StringOutput { + return o.ApplyT(func(v LookupMeInstallationTemplateResult) string { return v.TemplateName }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(LookupMeInstallationTemplateResultOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getMeInstallationTemplates.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getMeInstallationTemplates.go new file mode 100644 index 00000000..7a9a1387 --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getMeInstallationTemplates.go @@ -0,0 +1,86 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func GetMeInstallationTemplates(ctx *pulumi.Context, args *GetMeInstallationTemplatesArgs, opts ...pulumi.InvokeOption) (*GetMeInstallationTemplatesResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var rv GetMeInstallationTemplatesResult + err = ctx.InvokePackage("ovh:index/getMeInstallationTemplates:getMeInstallationTemplates", args, &rv, ref, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getMeInstallationTemplates. +type GetMeInstallationTemplatesArgs struct { + Id *string `pulumi:"id"` +} + +// A collection of values returned by getMeInstallationTemplates. +type GetMeInstallationTemplatesResult struct { + Id string `pulumi:"id"` + Results []string `pulumi:"results"` +} + +func GetMeInstallationTemplatesOutput(ctx *pulumi.Context, args GetMeInstallationTemplatesOutputArgs, opts ...pulumi.InvokeOption) GetMeInstallationTemplatesResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (GetMeInstallationTemplatesResult, error) { + args := v.(GetMeInstallationTemplatesArgs) + r, err := GetMeInstallationTemplates(ctx, &args, opts...) + var s GetMeInstallationTemplatesResult + if r != nil { + s = *r + } + return s, err + }).(GetMeInstallationTemplatesResultOutput) +} + +// A collection of arguments for invoking getMeInstallationTemplates. +type GetMeInstallationTemplatesOutputArgs struct { + Id pulumi.StringPtrInput `pulumi:"id"` +} + +func (GetMeInstallationTemplatesOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetMeInstallationTemplatesArgs)(nil)).Elem() +} + +// A collection of values returned by getMeInstallationTemplates. +type GetMeInstallationTemplatesResultOutput struct{ *pulumi.OutputState } + +func (GetMeInstallationTemplatesResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetMeInstallationTemplatesResult)(nil)).Elem() +} + +func (o GetMeInstallationTemplatesResultOutput) ToGetMeInstallationTemplatesResultOutput() GetMeInstallationTemplatesResultOutput { + return o +} + +func (o GetMeInstallationTemplatesResultOutput) ToGetMeInstallationTemplatesResultOutputWithContext(ctx context.Context) GetMeInstallationTemplatesResultOutput { + return o +} + +func (o GetMeInstallationTemplatesResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetMeInstallationTemplatesResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o GetMeInstallationTemplatesResultOutput) Results() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetMeInstallationTemplatesResult) []string { return v.Results }).(pulumi.StringArrayOutput) +} + +func init() { + pulumi.RegisterOutputType(GetMeInstallationTemplatesResultOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getMePaymentmeanBankaccount.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getMePaymentmeanBankaccount.go new file mode 100644 index 00000000..1a669135 --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getMePaymentmeanBankaccount.go @@ -0,0 +1,119 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func GetMePaymentmeanBankaccount(ctx *pulumi.Context, args *GetMePaymentmeanBankaccountArgs, opts ...pulumi.InvokeOption) (*GetMePaymentmeanBankaccountResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var rv GetMePaymentmeanBankaccountResult + err = ctx.InvokePackage("ovh:index/getMePaymentmeanBankaccount:getMePaymentmeanBankaccount", args, &rv, ref, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getMePaymentmeanBankaccount. +type GetMePaymentmeanBankaccountArgs struct { + DescriptionRegexp *string `pulumi:"descriptionRegexp"` + Id *string `pulumi:"id"` + State *string `pulumi:"state"` + UseDefault *bool `pulumi:"useDefault"` + UseOldest *bool `pulumi:"useOldest"` +} + +// A collection of values returned by getMePaymentmeanBankaccount. +type GetMePaymentmeanBankaccountResult struct { + Default bool `pulumi:"default"` + Description string `pulumi:"description"` + DescriptionRegexp *string `pulumi:"descriptionRegexp"` + Id string `pulumi:"id"` + State string `pulumi:"state"` + UseDefault *bool `pulumi:"useDefault"` + UseOldest *bool `pulumi:"useOldest"` +} + +func GetMePaymentmeanBankaccountOutput(ctx *pulumi.Context, args GetMePaymentmeanBankaccountOutputArgs, opts ...pulumi.InvokeOption) GetMePaymentmeanBankaccountResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (GetMePaymentmeanBankaccountResult, error) { + args := v.(GetMePaymentmeanBankaccountArgs) + r, err := GetMePaymentmeanBankaccount(ctx, &args, opts...) + var s GetMePaymentmeanBankaccountResult + if r != nil { + s = *r + } + return s, err + }).(GetMePaymentmeanBankaccountResultOutput) +} + +// A collection of arguments for invoking getMePaymentmeanBankaccount. +type GetMePaymentmeanBankaccountOutputArgs struct { + DescriptionRegexp pulumi.StringPtrInput `pulumi:"descriptionRegexp"` + Id pulumi.StringPtrInput `pulumi:"id"` + State pulumi.StringPtrInput `pulumi:"state"` + UseDefault pulumi.BoolPtrInput `pulumi:"useDefault"` + UseOldest pulumi.BoolPtrInput `pulumi:"useOldest"` +} + +func (GetMePaymentmeanBankaccountOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetMePaymentmeanBankaccountArgs)(nil)).Elem() +} + +// A collection of values returned by getMePaymentmeanBankaccount. +type GetMePaymentmeanBankaccountResultOutput struct{ *pulumi.OutputState } + +func (GetMePaymentmeanBankaccountResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetMePaymentmeanBankaccountResult)(nil)).Elem() +} + +func (o GetMePaymentmeanBankaccountResultOutput) ToGetMePaymentmeanBankaccountResultOutput() GetMePaymentmeanBankaccountResultOutput { + return o +} + +func (o GetMePaymentmeanBankaccountResultOutput) ToGetMePaymentmeanBankaccountResultOutputWithContext(ctx context.Context) GetMePaymentmeanBankaccountResultOutput { + return o +} + +func (o GetMePaymentmeanBankaccountResultOutput) Default() pulumi.BoolOutput { + return o.ApplyT(func(v GetMePaymentmeanBankaccountResult) bool { return v.Default }).(pulumi.BoolOutput) +} + +func (o GetMePaymentmeanBankaccountResultOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v GetMePaymentmeanBankaccountResult) string { return v.Description }).(pulumi.StringOutput) +} + +func (o GetMePaymentmeanBankaccountResultOutput) DescriptionRegexp() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetMePaymentmeanBankaccountResult) *string { return v.DescriptionRegexp }).(pulumi.StringPtrOutput) +} + +func (o GetMePaymentmeanBankaccountResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetMePaymentmeanBankaccountResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o GetMePaymentmeanBankaccountResultOutput) State() pulumi.StringOutput { + return o.ApplyT(func(v GetMePaymentmeanBankaccountResult) string { return v.State }).(pulumi.StringOutput) +} + +func (o GetMePaymentmeanBankaccountResultOutput) UseDefault() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetMePaymentmeanBankaccountResult) *bool { return v.UseDefault }).(pulumi.BoolPtrOutput) +} + +func (o GetMePaymentmeanBankaccountResultOutput) UseOldest() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetMePaymentmeanBankaccountResult) *bool { return v.UseOldest }).(pulumi.BoolPtrOutput) +} + +func init() { + pulumi.RegisterOutputType(GetMePaymentmeanBankaccountResultOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getMePaymentmeanCreditcard.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getMePaymentmeanCreditcard.go new file mode 100644 index 00000000..847fe42e --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getMePaymentmeanCreditcard.go @@ -0,0 +1,124 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func GetMePaymentmeanCreditcard(ctx *pulumi.Context, args *GetMePaymentmeanCreditcardArgs, opts ...pulumi.InvokeOption) (*GetMePaymentmeanCreditcardResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var rv GetMePaymentmeanCreditcardResult + err = ctx.InvokePackage("ovh:index/getMePaymentmeanCreditcard:getMePaymentmeanCreditcard", args, &rv, ref, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getMePaymentmeanCreditcard. +type GetMePaymentmeanCreditcardArgs struct { + DescriptionRegexp *string `pulumi:"descriptionRegexp"` + Id *string `pulumi:"id"` + States []string `pulumi:"states"` + UseDefault *bool `pulumi:"useDefault"` + UseLastToExpire *bool `pulumi:"useLastToExpire"` +} + +// A collection of values returned by getMePaymentmeanCreditcard. +type GetMePaymentmeanCreditcardResult struct { + Default bool `pulumi:"default"` + Description string `pulumi:"description"` + DescriptionRegexp *string `pulumi:"descriptionRegexp"` + Id string `pulumi:"id"` + State string `pulumi:"state"` + States []string `pulumi:"states"` + UseDefault *bool `pulumi:"useDefault"` + UseLastToExpire *bool `pulumi:"useLastToExpire"` +} + +func GetMePaymentmeanCreditcardOutput(ctx *pulumi.Context, args GetMePaymentmeanCreditcardOutputArgs, opts ...pulumi.InvokeOption) GetMePaymentmeanCreditcardResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (GetMePaymentmeanCreditcardResult, error) { + args := v.(GetMePaymentmeanCreditcardArgs) + r, err := GetMePaymentmeanCreditcard(ctx, &args, opts...) + var s GetMePaymentmeanCreditcardResult + if r != nil { + s = *r + } + return s, err + }).(GetMePaymentmeanCreditcardResultOutput) +} + +// A collection of arguments for invoking getMePaymentmeanCreditcard. +type GetMePaymentmeanCreditcardOutputArgs struct { + DescriptionRegexp pulumi.StringPtrInput `pulumi:"descriptionRegexp"` + Id pulumi.StringPtrInput `pulumi:"id"` + States pulumi.StringArrayInput `pulumi:"states"` + UseDefault pulumi.BoolPtrInput `pulumi:"useDefault"` + UseLastToExpire pulumi.BoolPtrInput `pulumi:"useLastToExpire"` +} + +func (GetMePaymentmeanCreditcardOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetMePaymentmeanCreditcardArgs)(nil)).Elem() +} + +// A collection of values returned by getMePaymentmeanCreditcard. +type GetMePaymentmeanCreditcardResultOutput struct{ *pulumi.OutputState } + +func (GetMePaymentmeanCreditcardResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetMePaymentmeanCreditcardResult)(nil)).Elem() +} + +func (o GetMePaymentmeanCreditcardResultOutput) ToGetMePaymentmeanCreditcardResultOutput() GetMePaymentmeanCreditcardResultOutput { + return o +} + +func (o GetMePaymentmeanCreditcardResultOutput) ToGetMePaymentmeanCreditcardResultOutputWithContext(ctx context.Context) GetMePaymentmeanCreditcardResultOutput { + return o +} + +func (o GetMePaymentmeanCreditcardResultOutput) Default() pulumi.BoolOutput { + return o.ApplyT(func(v GetMePaymentmeanCreditcardResult) bool { return v.Default }).(pulumi.BoolOutput) +} + +func (o GetMePaymentmeanCreditcardResultOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v GetMePaymentmeanCreditcardResult) string { return v.Description }).(pulumi.StringOutput) +} + +func (o GetMePaymentmeanCreditcardResultOutput) DescriptionRegexp() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetMePaymentmeanCreditcardResult) *string { return v.DescriptionRegexp }).(pulumi.StringPtrOutput) +} + +func (o GetMePaymentmeanCreditcardResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetMePaymentmeanCreditcardResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o GetMePaymentmeanCreditcardResultOutput) State() pulumi.StringOutput { + return o.ApplyT(func(v GetMePaymentmeanCreditcardResult) string { return v.State }).(pulumi.StringOutput) +} + +func (o GetMePaymentmeanCreditcardResultOutput) States() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetMePaymentmeanCreditcardResult) []string { return v.States }).(pulumi.StringArrayOutput) +} + +func (o GetMePaymentmeanCreditcardResultOutput) UseDefault() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetMePaymentmeanCreditcardResult) *bool { return v.UseDefault }).(pulumi.BoolPtrOutput) +} + +func (o GetMePaymentmeanCreditcardResultOutput) UseLastToExpire() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetMePaymentmeanCreditcardResult) *bool { return v.UseLastToExpire }).(pulumi.BoolPtrOutput) +} + +func init() { + pulumi.RegisterOutputType(GetMePaymentmeanCreditcardResultOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getOrderCart.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getOrderCart.go new file mode 100644 index 00000000..36b366c5 --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getOrderCart.go @@ -0,0 +1,124 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func GetOrderCart(ctx *pulumi.Context, args *GetOrderCartArgs, opts ...pulumi.InvokeOption) (*GetOrderCartResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var rv GetOrderCartResult + err = ctx.InvokePackage("ovh:index/getOrderCart:getOrderCart", args, &rv, ref, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getOrderCart. +type GetOrderCartArgs struct { + Assign *bool `pulumi:"assign"` + Description *string `pulumi:"description"` + Expire *string `pulumi:"expire"` + Id *string `pulumi:"id"` + OvhSubsidiary string `pulumi:"ovhSubsidiary"` +} + +// A collection of values returned by getOrderCart. +type GetOrderCartResult struct { + Assign *bool `pulumi:"assign"` + CartId string `pulumi:"cartId"` + Description *string `pulumi:"description"` + Expire string `pulumi:"expire"` + Id string `pulumi:"id"` + Items []float64 `pulumi:"items"` + OvhSubsidiary string `pulumi:"ovhSubsidiary"` + ReadOnly bool `pulumi:"readOnly"` +} + +func GetOrderCartOutput(ctx *pulumi.Context, args GetOrderCartOutputArgs, opts ...pulumi.InvokeOption) GetOrderCartResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (GetOrderCartResult, error) { + args := v.(GetOrderCartArgs) + r, err := GetOrderCart(ctx, &args, opts...) + var s GetOrderCartResult + if r != nil { + s = *r + } + return s, err + }).(GetOrderCartResultOutput) +} + +// A collection of arguments for invoking getOrderCart. +type GetOrderCartOutputArgs struct { + Assign pulumi.BoolPtrInput `pulumi:"assign"` + Description pulumi.StringPtrInput `pulumi:"description"` + Expire pulumi.StringPtrInput `pulumi:"expire"` + Id pulumi.StringPtrInput `pulumi:"id"` + OvhSubsidiary pulumi.StringInput `pulumi:"ovhSubsidiary"` +} + +func (GetOrderCartOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetOrderCartArgs)(nil)).Elem() +} + +// A collection of values returned by getOrderCart. +type GetOrderCartResultOutput struct{ *pulumi.OutputState } + +func (GetOrderCartResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetOrderCartResult)(nil)).Elem() +} + +func (o GetOrderCartResultOutput) ToGetOrderCartResultOutput() GetOrderCartResultOutput { + return o +} + +func (o GetOrderCartResultOutput) ToGetOrderCartResultOutputWithContext(ctx context.Context) GetOrderCartResultOutput { + return o +} + +func (o GetOrderCartResultOutput) Assign() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetOrderCartResult) *bool { return v.Assign }).(pulumi.BoolPtrOutput) +} + +func (o GetOrderCartResultOutput) CartId() pulumi.StringOutput { + return o.ApplyT(func(v GetOrderCartResult) string { return v.CartId }).(pulumi.StringOutput) +} + +func (o GetOrderCartResultOutput) Description() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetOrderCartResult) *string { return v.Description }).(pulumi.StringPtrOutput) +} + +func (o GetOrderCartResultOutput) Expire() pulumi.StringOutput { + return o.ApplyT(func(v GetOrderCartResult) string { return v.Expire }).(pulumi.StringOutput) +} + +func (o GetOrderCartResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetOrderCartResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o GetOrderCartResultOutput) Items() pulumi.Float64ArrayOutput { + return o.ApplyT(func(v GetOrderCartResult) []float64 { return v.Items }).(pulumi.Float64ArrayOutput) +} + +func (o GetOrderCartResultOutput) OvhSubsidiary() pulumi.StringOutput { + return o.ApplyT(func(v GetOrderCartResult) string { return v.OvhSubsidiary }).(pulumi.StringOutput) +} + +func (o GetOrderCartResultOutput) ReadOnly() pulumi.BoolOutput { + return o.ApplyT(func(v GetOrderCartResult) bool { return v.ReadOnly }).(pulumi.BoolOutput) +} + +func init() { + pulumi.RegisterOutputType(GetOrderCartResultOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getOrderCartProduct.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getOrderCartProduct.go new file mode 100644 index 00000000..13f72baf --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getOrderCartProduct.go @@ -0,0 +1,100 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func LookupOrderCartProduct(ctx *pulumi.Context, args *LookupOrderCartProductArgs, opts ...pulumi.InvokeOption) (*LookupOrderCartProductResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var rv LookupOrderCartProductResult + err = ctx.InvokePackage("ovh:index/getOrderCartProduct:getOrderCartProduct", args, &rv, ref, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getOrderCartProduct. +type LookupOrderCartProductArgs struct { + CartId string `pulumi:"cartId"` + Id *string `pulumi:"id"` + Product string `pulumi:"product"` +} + +// A collection of values returned by getOrderCartProduct. +type LookupOrderCartProductResult struct { + CartId string `pulumi:"cartId"` + Id string `pulumi:"id"` + Product string `pulumi:"product"` + Results []GetOrderCartProductResult `pulumi:"results"` +} + +func LookupOrderCartProductOutput(ctx *pulumi.Context, args LookupOrderCartProductOutputArgs, opts ...pulumi.InvokeOption) LookupOrderCartProductResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (LookupOrderCartProductResult, error) { + args := v.(LookupOrderCartProductArgs) + r, err := LookupOrderCartProduct(ctx, &args, opts...) + var s LookupOrderCartProductResult + if r != nil { + s = *r + } + return s, err + }).(LookupOrderCartProductResultOutput) +} + +// A collection of arguments for invoking getOrderCartProduct. +type LookupOrderCartProductOutputArgs struct { + CartId pulumi.StringInput `pulumi:"cartId"` + Id pulumi.StringPtrInput `pulumi:"id"` + Product pulumi.StringInput `pulumi:"product"` +} + +func (LookupOrderCartProductOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LookupOrderCartProductArgs)(nil)).Elem() +} + +// A collection of values returned by getOrderCartProduct. +type LookupOrderCartProductResultOutput struct{ *pulumi.OutputState } + +func (LookupOrderCartProductResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LookupOrderCartProductResult)(nil)).Elem() +} + +func (o LookupOrderCartProductResultOutput) ToLookupOrderCartProductResultOutput() LookupOrderCartProductResultOutput { + return o +} + +func (o LookupOrderCartProductResultOutput) ToLookupOrderCartProductResultOutputWithContext(ctx context.Context) LookupOrderCartProductResultOutput { + return o +} + +func (o LookupOrderCartProductResultOutput) CartId() pulumi.StringOutput { + return o.ApplyT(func(v LookupOrderCartProductResult) string { return v.CartId }).(pulumi.StringOutput) +} + +func (o LookupOrderCartProductResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v LookupOrderCartProductResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o LookupOrderCartProductResultOutput) Product() pulumi.StringOutput { + return o.ApplyT(func(v LookupOrderCartProductResult) string { return v.Product }).(pulumi.StringOutput) +} + +func (o LookupOrderCartProductResultOutput) Results() GetOrderCartProductResultArrayOutput { + return o.ApplyT(func(v LookupOrderCartProductResult) []GetOrderCartProductResult { return v.Results }).(GetOrderCartProductResultArrayOutput) +} + +func init() { + pulumi.RegisterOutputType(LookupOrderCartProductResultOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getOrderCartProductOptions.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getOrderCartProductOptions.go new file mode 100644 index 00000000..e7551640 --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getOrderCartProductOptions.go @@ -0,0 +1,114 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func LookupOrderCartProductOptions(ctx *pulumi.Context, args *LookupOrderCartProductOptionsArgs, opts ...pulumi.InvokeOption) (*LookupOrderCartProductOptionsResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var rv LookupOrderCartProductOptionsResult + err = ctx.InvokePackage("ovh:index/getOrderCartProductOptions:getOrderCartProductOptions", args, &rv, ref, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getOrderCartProductOptions. +type LookupOrderCartProductOptionsArgs struct { + CartId string `pulumi:"cartId"` + CatalogName *string `pulumi:"catalogName"` + Id *string `pulumi:"id"` + PlanCode string `pulumi:"planCode"` + Product string `pulumi:"product"` +} + +// A collection of values returned by getOrderCartProductOptions. +type LookupOrderCartProductOptionsResult struct { + CartId string `pulumi:"cartId"` + CatalogName *string `pulumi:"catalogName"` + Id string `pulumi:"id"` + PlanCode string `pulumi:"planCode"` + Product string `pulumi:"product"` + Results []GetOrderCartProductOptionsResult `pulumi:"results"` +} + +func LookupOrderCartProductOptionsOutput(ctx *pulumi.Context, args LookupOrderCartProductOptionsOutputArgs, opts ...pulumi.InvokeOption) LookupOrderCartProductOptionsResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (LookupOrderCartProductOptionsResult, error) { + args := v.(LookupOrderCartProductOptionsArgs) + r, err := LookupOrderCartProductOptions(ctx, &args, opts...) + var s LookupOrderCartProductOptionsResult + if r != nil { + s = *r + } + return s, err + }).(LookupOrderCartProductOptionsResultOutput) +} + +// A collection of arguments for invoking getOrderCartProductOptions. +type LookupOrderCartProductOptionsOutputArgs struct { + CartId pulumi.StringInput `pulumi:"cartId"` + CatalogName pulumi.StringPtrInput `pulumi:"catalogName"` + Id pulumi.StringPtrInput `pulumi:"id"` + PlanCode pulumi.StringInput `pulumi:"planCode"` + Product pulumi.StringInput `pulumi:"product"` +} + +func (LookupOrderCartProductOptionsOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LookupOrderCartProductOptionsArgs)(nil)).Elem() +} + +// A collection of values returned by getOrderCartProductOptions. +type LookupOrderCartProductOptionsResultOutput struct{ *pulumi.OutputState } + +func (LookupOrderCartProductOptionsResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LookupOrderCartProductOptionsResult)(nil)).Elem() +} + +func (o LookupOrderCartProductOptionsResultOutput) ToLookupOrderCartProductOptionsResultOutput() LookupOrderCartProductOptionsResultOutput { + return o +} + +func (o LookupOrderCartProductOptionsResultOutput) ToLookupOrderCartProductOptionsResultOutputWithContext(ctx context.Context) LookupOrderCartProductOptionsResultOutput { + return o +} + +func (o LookupOrderCartProductOptionsResultOutput) CartId() pulumi.StringOutput { + return o.ApplyT(func(v LookupOrderCartProductOptionsResult) string { return v.CartId }).(pulumi.StringOutput) +} + +func (o LookupOrderCartProductOptionsResultOutput) CatalogName() pulumi.StringPtrOutput { + return o.ApplyT(func(v LookupOrderCartProductOptionsResult) *string { return v.CatalogName }).(pulumi.StringPtrOutput) +} + +func (o LookupOrderCartProductOptionsResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v LookupOrderCartProductOptionsResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o LookupOrderCartProductOptionsResultOutput) PlanCode() pulumi.StringOutput { + return o.ApplyT(func(v LookupOrderCartProductOptionsResult) string { return v.PlanCode }).(pulumi.StringOutput) +} + +func (o LookupOrderCartProductOptionsResultOutput) Product() pulumi.StringOutput { + return o.ApplyT(func(v LookupOrderCartProductOptionsResult) string { return v.Product }).(pulumi.StringOutput) +} + +func (o LookupOrderCartProductOptionsResultOutput) Results() GetOrderCartProductOptionsResultArrayOutput { + return o.ApplyT(func(v LookupOrderCartProductOptionsResult) []GetOrderCartProductOptionsResult { return v.Results }).(GetOrderCartProductOptionsResultArrayOutput) +} + +func init() { + pulumi.RegisterOutputType(LookupOrderCartProductOptionsResultOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getOrderCartProductOptionsPlan.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getOrderCartProductOptionsPlan.go new file mode 100644 index 00000000..fdb4a509 --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getOrderCartProductOptionsPlan.go @@ -0,0 +1,160 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func GetOrderCartProductOptionsPlan(ctx *pulumi.Context, args *GetOrderCartProductOptionsPlanArgs, opts ...pulumi.InvokeOption) (*GetOrderCartProductOptionsPlanResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var rv GetOrderCartProductOptionsPlanResult + err = ctx.InvokePackage("ovh:index/getOrderCartProductOptionsPlan:getOrderCartProductOptionsPlan", args, &rv, ref, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getOrderCartProductOptionsPlan. +type GetOrderCartProductOptionsPlanArgs struct { + CartId string `pulumi:"cartId"` + CatalogName *string `pulumi:"catalogName"` + Id *string `pulumi:"id"` + OptionsPlanCode string `pulumi:"optionsPlanCode"` + PlanCode string `pulumi:"planCode"` + PriceCapacity string `pulumi:"priceCapacity"` + Product string `pulumi:"product"` +} + +// A collection of values returned by getOrderCartProductOptionsPlan. +type GetOrderCartProductOptionsPlanResult struct { + CartId string `pulumi:"cartId"` + CatalogName *string `pulumi:"catalogName"` + Exclusive bool `pulumi:"exclusive"` + Family string `pulumi:"family"` + Id string `pulumi:"id"` + Mandatory bool `pulumi:"mandatory"` + OptionsPlanCode string `pulumi:"optionsPlanCode"` + PlanCode string `pulumi:"planCode"` + PriceCapacity string `pulumi:"priceCapacity"` + Prices []GetOrderCartProductOptionsPlanPrice `pulumi:"prices"` + Product string `pulumi:"product"` + ProductName string `pulumi:"productName"` + ProductType string `pulumi:"productType"` + SelectedPrices []GetOrderCartProductOptionsPlanSelectedPrice `pulumi:"selectedPrices"` +} + +func GetOrderCartProductOptionsPlanOutput(ctx *pulumi.Context, args GetOrderCartProductOptionsPlanOutputArgs, opts ...pulumi.InvokeOption) GetOrderCartProductOptionsPlanResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (GetOrderCartProductOptionsPlanResult, error) { + args := v.(GetOrderCartProductOptionsPlanArgs) + r, err := GetOrderCartProductOptionsPlan(ctx, &args, opts...) + var s GetOrderCartProductOptionsPlanResult + if r != nil { + s = *r + } + return s, err + }).(GetOrderCartProductOptionsPlanResultOutput) +} + +// A collection of arguments for invoking getOrderCartProductOptionsPlan. +type GetOrderCartProductOptionsPlanOutputArgs struct { + CartId pulumi.StringInput `pulumi:"cartId"` + CatalogName pulumi.StringPtrInput `pulumi:"catalogName"` + Id pulumi.StringPtrInput `pulumi:"id"` + OptionsPlanCode pulumi.StringInput `pulumi:"optionsPlanCode"` + PlanCode pulumi.StringInput `pulumi:"planCode"` + PriceCapacity pulumi.StringInput `pulumi:"priceCapacity"` + Product pulumi.StringInput `pulumi:"product"` +} + +func (GetOrderCartProductOptionsPlanOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetOrderCartProductOptionsPlanArgs)(nil)).Elem() +} + +// A collection of values returned by getOrderCartProductOptionsPlan. +type GetOrderCartProductOptionsPlanResultOutput struct{ *pulumi.OutputState } + +func (GetOrderCartProductOptionsPlanResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetOrderCartProductOptionsPlanResult)(nil)).Elem() +} + +func (o GetOrderCartProductOptionsPlanResultOutput) ToGetOrderCartProductOptionsPlanResultOutput() GetOrderCartProductOptionsPlanResultOutput { + return o +} + +func (o GetOrderCartProductOptionsPlanResultOutput) ToGetOrderCartProductOptionsPlanResultOutputWithContext(ctx context.Context) GetOrderCartProductOptionsPlanResultOutput { + return o +} + +func (o GetOrderCartProductOptionsPlanResultOutput) CartId() pulumi.StringOutput { + return o.ApplyT(func(v GetOrderCartProductOptionsPlanResult) string { return v.CartId }).(pulumi.StringOutput) +} + +func (o GetOrderCartProductOptionsPlanResultOutput) CatalogName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetOrderCartProductOptionsPlanResult) *string { return v.CatalogName }).(pulumi.StringPtrOutput) +} + +func (o GetOrderCartProductOptionsPlanResultOutput) Exclusive() pulumi.BoolOutput { + return o.ApplyT(func(v GetOrderCartProductOptionsPlanResult) bool { return v.Exclusive }).(pulumi.BoolOutput) +} + +func (o GetOrderCartProductOptionsPlanResultOutput) Family() pulumi.StringOutput { + return o.ApplyT(func(v GetOrderCartProductOptionsPlanResult) string { return v.Family }).(pulumi.StringOutput) +} + +func (o GetOrderCartProductOptionsPlanResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetOrderCartProductOptionsPlanResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o GetOrderCartProductOptionsPlanResultOutput) Mandatory() pulumi.BoolOutput { + return o.ApplyT(func(v GetOrderCartProductOptionsPlanResult) bool { return v.Mandatory }).(pulumi.BoolOutput) +} + +func (o GetOrderCartProductOptionsPlanResultOutput) OptionsPlanCode() pulumi.StringOutput { + return o.ApplyT(func(v GetOrderCartProductOptionsPlanResult) string { return v.OptionsPlanCode }).(pulumi.StringOutput) +} + +func (o GetOrderCartProductOptionsPlanResultOutput) PlanCode() pulumi.StringOutput { + return o.ApplyT(func(v GetOrderCartProductOptionsPlanResult) string { return v.PlanCode }).(pulumi.StringOutput) +} + +func (o GetOrderCartProductOptionsPlanResultOutput) PriceCapacity() pulumi.StringOutput { + return o.ApplyT(func(v GetOrderCartProductOptionsPlanResult) string { return v.PriceCapacity }).(pulumi.StringOutput) +} + +func (o GetOrderCartProductOptionsPlanResultOutput) Prices() GetOrderCartProductOptionsPlanPriceArrayOutput { + return o.ApplyT(func(v GetOrderCartProductOptionsPlanResult) []GetOrderCartProductOptionsPlanPrice { return v.Prices }).(GetOrderCartProductOptionsPlanPriceArrayOutput) +} + +func (o GetOrderCartProductOptionsPlanResultOutput) Product() pulumi.StringOutput { + return o.ApplyT(func(v GetOrderCartProductOptionsPlanResult) string { return v.Product }).(pulumi.StringOutput) +} + +func (o GetOrderCartProductOptionsPlanResultOutput) ProductName() pulumi.StringOutput { + return o.ApplyT(func(v GetOrderCartProductOptionsPlanResult) string { return v.ProductName }).(pulumi.StringOutput) +} + +func (o GetOrderCartProductOptionsPlanResultOutput) ProductType() pulumi.StringOutput { + return o.ApplyT(func(v GetOrderCartProductOptionsPlanResult) string { return v.ProductType }).(pulumi.StringOutput) +} + +func (o GetOrderCartProductOptionsPlanResultOutput) SelectedPrices() GetOrderCartProductOptionsPlanSelectedPriceArrayOutput { + return o.ApplyT(func(v GetOrderCartProductOptionsPlanResult) []GetOrderCartProductOptionsPlanSelectedPrice { + return v.SelectedPrices + }).(GetOrderCartProductOptionsPlanSelectedPriceArrayOutput) +} + +func init() { + pulumi.RegisterOutputType(GetOrderCartProductOptionsPlanResultOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getOrderCartProductPlan.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getOrderCartProductPlan.go new file mode 100644 index 00000000..2794ccbb --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getOrderCartProductPlan.go @@ -0,0 +1,136 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func GetOrderCartProductPlan(ctx *pulumi.Context, args *GetOrderCartProductPlanArgs, opts ...pulumi.InvokeOption) (*GetOrderCartProductPlanResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var rv GetOrderCartProductPlanResult + err = ctx.InvokePackage("ovh:index/getOrderCartProductPlan:getOrderCartProductPlan", args, &rv, ref, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getOrderCartProductPlan. +type GetOrderCartProductPlanArgs struct { + CartId string `pulumi:"cartId"` + CatalogName *string `pulumi:"catalogName"` + Id *string `pulumi:"id"` + PlanCode string `pulumi:"planCode"` + PriceCapacity string `pulumi:"priceCapacity"` + Product string `pulumi:"product"` +} + +// A collection of values returned by getOrderCartProductPlan. +type GetOrderCartProductPlanResult struct { + CartId string `pulumi:"cartId"` + CatalogName *string `pulumi:"catalogName"` + Id string `pulumi:"id"` + PlanCode string `pulumi:"planCode"` + PriceCapacity string `pulumi:"priceCapacity"` + Prices []GetOrderCartProductPlanPrice `pulumi:"prices"` + Product string `pulumi:"product"` + ProductName string `pulumi:"productName"` + ProductType string `pulumi:"productType"` + SelectedPrices []GetOrderCartProductPlanSelectedPrice `pulumi:"selectedPrices"` +} + +func GetOrderCartProductPlanOutput(ctx *pulumi.Context, args GetOrderCartProductPlanOutputArgs, opts ...pulumi.InvokeOption) GetOrderCartProductPlanResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (GetOrderCartProductPlanResult, error) { + args := v.(GetOrderCartProductPlanArgs) + r, err := GetOrderCartProductPlan(ctx, &args, opts...) + var s GetOrderCartProductPlanResult + if r != nil { + s = *r + } + return s, err + }).(GetOrderCartProductPlanResultOutput) +} + +// A collection of arguments for invoking getOrderCartProductPlan. +type GetOrderCartProductPlanOutputArgs struct { + CartId pulumi.StringInput `pulumi:"cartId"` + CatalogName pulumi.StringPtrInput `pulumi:"catalogName"` + Id pulumi.StringPtrInput `pulumi:"id"` + PlanCode pulumi.StringInput `pulumi:"planCode"` + PriceCapacity pulumi.StringInput `pulumi:"priceCapacity"` + Product pulumi.StringInput `pulumi:"product"` +} + +func (GetOrderCartProductPlanOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetOrderCartProductPlanArgs)(nil)).Elem() +} + +// A collection of values returned by getOrderCartProductPlan. +type GetOrderCartProductPlanResultOutput struct{ *pulumi.OutputState } + +func (GetOrderCartProductPlanResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetOrderCartProductPlanResult)(nil)).Elem() +} + +func (o GetOrderCartProductPlanResultOutput) ToGetOrderCartProductPlanResultOutput() GetOrderCartProductPlanResultOutput { + return o +} + +func (o GetOrderCartProductPlanResultOutput) ToGetOrderCartProductPlanResultOutputWithContext(ctx context.Context) GetOrderCartProductPlanResultOutput { + return o +} + +func (o GetOrderCartProductPlanResultOutput) CartId() pulumi.StringOutput { + return o.ApplyT(func(v GetOrderCartProductPlanResult) string { return v.CartId }).(pulumi.StringOutput) +} + +func (o GetOrderCartProductPlanResultOutput) CatalogName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetOrderCartProductPlanResult) *string { return v.CatalogName }).(pulumi.StringPtrOutput) +} + +func (o GetOrderCartProductPlanResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetOrderCartProductPlanResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o GetOrderCartProductPlanResultOutput) PlanCode() pulumi.StringOutput { + return o.ApplyT(func(v GetOrderCartProductPlanResult) string { return v.PlanCode }).(pulumi.StringOutput) +} + +func (o GetOrderCartProductPlanResultOutput) PriceCapacity() pulumi.StringOutput { + return o.ApplyT(func(v GetOrderCartProductPlanResult) string { return v.PriceCapacity }).(pulumi.StringOutput) +} + +func (o GetOrderCartProductPlanResultOutput) Prices() GetOrderCartProductPlanPriceArrayOutput { + return o.ApplyT(func(v GetOrderCartProductPlanResult) []GetOrderCartProductPlanPrice { return v.Prices }).(GetOrderCartProductPlanPriceArrayOutput) +} + +func (o GetOrderCartProductPlanResultOutput) Product() pulumi.StringOutput { + return o.ApplyT(func(v GetOrderCartProductPlanResult) string { return v.Product }).(pulumi.StringOutput) +} + +func (o GetOrderCartProductPlanResultOutput) ProductName() pulumi.StringOutput { + return o.ApplyT(func(v GetOrderCartProductPlanResult) string { return v.ProductName }).(pulumi.StringOutput) +} + +func (o GetOrderCartProductPlanResultOutput) ProductType() pulumi.StringOutput { + return o.ApplyT(func(v GetOrderCartProductPlanResult) string { return v.ProductType }).(pulumi.StringOutput) +} + +func (o GetOrderCartProductPlanResultOutput) SelectedPrices() GetOrderCartProductPlanSelectedPriceArrayOutput { + return o.ApplyT(func(v GetOrderCartProductPlanResult) []GetOrderCartProductPlanSelectedPrice { return v.SelectedPrices }).(GetOrderCartProductPlanSelectedPriceArrayOutput) +} + +func init() { + pulumi.RegisterOutputType(GetOrderCartProductPlanResultOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getVps.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getVps.go new file mode 100644 index 00000000..0fd360ea --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getVps.go @@ -0,0 +1,168 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func LookupVps(ctx *pulumi.Context, args *LookupVpsArgs, opts ...pulumi.InvokeOption) (*LookupVpsResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var rv LookupVpsResult + err = ctx.InvokePackage("ovh:index/getVps:getVps", args, &rv, ref, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getVps. +type LookupVpsArgs struct { + Id *string `pulumi:"id"` + ServiceName string `pulumi:"serviceName"` +} + +// A collection of values returned by getVps. +type LookupVpsResult struct { + Cluster string `pulumi:"cluster"` + Datacenter map[string]string `pulumi:"datacenter"` + Displayname string `pulumi:"displayname"` + Id string `pulumi:"id"` + Ips []string `pulumi:"ips"` + Keymap string `pulumi:"keymap"` + Memory float64 `pulumi:"memory"` + Model map[string]string `pulumi:"model"` + Name string `pulumi:"name"` + Netbootmode string `pulumi:"netbootmode"` + Offertype string `pulumi:"offertype"` + ServiceName string `pulumi:"serviceName"` + Slamonitoring bool `pulumi:"slamonitoring"` + State string `pulumi:"state"` + Type string `pulumi:"type"` + Urn string `pulumi:"urn"` + Vcore float64 `pulumi:"vcore"` + Zone string `pulumi:"zone"` +} + +func LookupVpsOutput(ctx *pulumi.Context, args LookupVpsOutputArgs, opts ...pulumi.InvokeOption) LookupVpsResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (LookupVpsResult, error) { + args := v.(LookupVpsArgs) + r, err := LookupVps(ctx, &args, opts...) + var s LookupVpsResult + if r != nil { + s = *r + } + return s, err + }).(LookupVpsResultOutput) +} + +// A collection of arguments for invoking getVps. +type LookupVpsOutputArgs struct { + Id pulumi.StringPtrInput `pulumi:"id"` + ServiceName pulumi.StringInput `pulumi:"serviceName"` +} + +func (LookupVpsOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LookupVpsArgs)(nil)).Elem() +} + +// A collection of values returned by getVps. +type LookupVpsResultOutput struct{ *pulumi.OutputState } + +func (LookupVpsResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LookupVpsResult)(nil)).Elem() +} + +func (o LookupVpsResultOutput) ToLookupVpsResultOutput() LookupVpsResultOutput { + return o +} + +func (o LookupVpsResultOutput) ToLookupVpsResultOutputWithContext(ctx context.Context) LookupVpsResultOutput { + return o +} + +func (o LookupVpsResultOutput) Cluster() pulumi.StringOutput { + return o.ApplyT(func(v LookupVpsResult) string { return v.Cluster }).(pulumi.StringOutput) +} + +func (o LookupVpsResultOutput) Datacenter() pulumi.StringMapOutput { + return o.ApplyT(func(v LookupVpsResult) map[string]string { return v.Datacenter }).(pulumi.StringMapOutput) +} + +func (o LookupVpsResultOutput) Displayname() pulumi.StringOutput { + return o.ApplyT(func(v LookupVpsResult) string { return v.Displayname }).(pulumi.StringOutput) +} + +func (o LookupVpsResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v LookupVpsResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o LookupVpsResultOutput) Ips() pulumi.StringArrayOutput { + return o.ApplyT(func(v LookupVpsResult) []string { return v.Ips }).(pulumi.StringArrayOutput) +} + +func (o LookupVpsResultOutput) Keymap() pulumi.StringOutput { + return o.ApplyT(func(v LookupVpsResult) string { return v.Keymap }).(pulumi.StringOutput) +} + +func (o LookupVpsResultOutput) Memory() pulumi.Float64Output { + return o.ApplyT(func(v LookupVpsResult) float64 { return v.Memory }).(pulumi.Float64Output) +} + +func (o LookupVpsResultOutput) Model() pulumi.StringMapOutput { + return o.ApplyT(func(v LookupVpsResult) map[string]string { return v.Model }).(pulumi.StringMapOutput) +} + +func (o LookupVpsResultOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v LookupVpsResult) string { return v.Name }).(pulumi.StringOutput) +} + +func (o LookupVpsResultOutput) Netbootmode() pulumi.StringOutput { + return o.ApplyT(func(v LookupVpsResult) string { return v.Netbootmode }).(pulumi.StringOutput) +} + +func (o LookupVpsResultOutput) Offertype() pulumi.StringOutput { + return o.ApplyT(func(v LookupVpsResult) string { return v.Offertype }).(pulumi.StringOutput) +} + +func (o LookupVpsResultOutput) ServiceName() pulumi.StringOutput { + return o.ApplyT(func(v LookupVpsResult) string { return v.ServiceName }).(pulumi.StringOutput) +} + +func (o LookupVpsResultOutput) Slamonitoring() pulumi.BoolOutput { + return o.ApplyT(func(v LookupVpsResult) bool { return v.Slamonitoring }).(pulumi.BoolOutput) +} + +func (o LookupVpsResultOutput) State() pulumi.StringOutput { + return o.ApplyT(func(v LookupVpsResult) string { return v.State }).(pulumi.StringOutput) +} + +func (o LookupVpsResultOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v LookupVpsResult) string { return v.Type }).(pulumi.StringOutput) +} + +func (o LookupVpsResultOutput) Urn() pulumi.StringOutput { + return o.ApplyT(func(v LookupVpsResult) string { return v.Urn }).(pulumi.StringOutput) +} + +func (o LookupVpsResultOutput) Vcore() pulumi.Float64Output { + return o.ApplyT(func(v LookupVpsResult) float64 { return v.Vcore }).(pulumi.Float64Output) +} + +func (o LookupVpsResultOutput) Zone() pulumi.StringOutput { + return o.ApplyT(func(v LookupVpsResult) string { return v.Zone }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(LookupVpsResultOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getVpss.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getVpss.go new file mode 100644 index 00000000..f2dfae14 --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getVpss.go @@ -0,0 +1,86 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func GetVpss(ctx *pulumi.Context, args *GetVpssArgs, opts ...pulumi.InvokeOption) (*GetVpssResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var rv GetVpssResult + err = ctx.InvokePackage("ovh:index/getVpss:getVpss", args, &rv, ref, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getVpss. +type GetVpssArgs struct { + Id *string `pulumi:"id"` +} + +// A collection of values returned by getVpss. +type GetVpssResult struct { + Id string `pulumi:"id"` + Results []string `pulumi:"results"` +} + +func GetVpssOutput(ctx *pulumi.Context, args GetVpssOutputArgs, opts ...pulumi.InvokeOption) GetVpssResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (GetVpssResult, error) { + args := v.(GetVpssArgs) + r, err := GetVpss(ctx, &args, opts...) + var s GetVpssResult + if r != nil { + s = *r + } + return s, err + }).(GetVpssResultOutput) +} + +// A collection of arguments for invoking getVpss. +type GetVpssOutputArgs struct { + Id pulumi.StringPtrInput `pulumi:"id"` +} + +func (GetVpssOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetVpssArgs)(nil)).Elem() +} + +// A collection of values returned by getVpss. +type GetVpssResultOutput struct{ *pulumi.OutputState } + +func (GetVpssResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetVpssResult)(nil)).Elem() +} + +func (o GetVpssResultOutput) ToGetVpssResultOutput() GetVpssResultOutput { + return o +} + +func (o GetVpssResultOutput) ToGetVpssResultOutputWithContext(ctx context.Context) GetVpssResultOutput { + return o +} + +func (o GetVpssResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetVpssResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o GetVpssResultOutput) Results() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetVpssResult) []string { return v.Results }).(pulumi.StringArrayOutput) +} + +func init() { + pulumi.RegisterOutputType(GetVpssResultOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getVracks.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getVracks.go new file mode 100644 index 00000000..8d80cbf6 --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/getVracks.go @@ -0,0 +1,86 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +func GetVracks(ctx *pulumi.Context, args *GetVracksArgs, opts ...pulumi.InvokeOption) (*GetVracksResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var rv GetVracksResult + err = ctx.InvokePackage("ovh:index/getVracks:getVracks", args, &rv, ref, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getVracks. +type GetVracksArgs struct { + Id *string `pulumi:"id"` +} + +// A collection of values returned by getVracks. +type GetVracksResult struct { + Id string `pulumi:"id"` + Results []string `pulumi:"results"` +} + +func GetVracksOutput(ctx *pulumi.Context, args GetVracksOutputArgs, opts ...pulumi.InvokeOption) GetVracksResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (GetVracksResult, error) { + args := v.(GetVracksArgs) + r, err := GetVracks(ctx, &args, opts...) + var s GetVracksResult + if r != nil { + s = *r + } + return s, err + }).(GetVracksResultOutput) +} + +// A collection of arguments for invoking getVracks. +type GetVracksOutputArgs struct { + Id pulumi.StringPtrInput `pulumi:"id"` +} + +func (GetVracksOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetVracksArgs)(nil)).Elem() +} + +// A collection of values returned by getVracks. +type GetVracksResultOutput struct{ *pulumi.OutputState } + +func (GetVracksResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetVracksResult)(nil)).Elem() +} + +func (o GetVracksResultOutput) ToGetVracksResultOutput() GetVracksResultOutput { + return o +} + +func (o GetVracksResultOutput) ToGetVracksResultOutputWithContext(ctx context.Context) GetVracksResultOutput { + return o +} + +func (o GetVracksResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetVracksResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o GetVracksResultOutput) Results() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetVracksResult) []string { return v.Results }).(pulumi.StringArrayOutput) +} + +func init() { + pulumi.RegisterOutputType(GetVracksResultOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/go.mod b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/go.mod new file mode 100644 index 00000000..aa04ddb9 --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/go.mod @@ -0,0 +1,5 @@ +module github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh + +go 1.21 + +require github.com/pulumi/pulumi/sdk/v3 v3.129.0 diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/hostingPrivatedatabase.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/hostingPrivatedatabase.go new file mode 100644 index 00000000..440d8898 --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/hostingPrivatedatabase.go @@ -0,0 +1,425 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type HostingPrivatedatabase struct { + pulumi.CustomResourceState + + // Number of CPU on your private database + Cpu pulumi.Float64Output `pulumi:"cpu"` + // Datacenter where this private database is located + Datacenter pulumi.StringOutput `pulumi:"datacenter"` + // Name displayed in customer panel for your private database + DisplayName pulumi.StringOutput `pulumi:"displayName"` + // Private database hostname + Hostname pulumi.StringOutput `pulumi:"hostname"` + // Private database FTP hostname + HostnameFtp pulumi.StringOutput `pulumi:"hostnameFtp"` + // Infrastructure where service was stored + Infrastructure pulumi.StringOutput `pulumi:"infrastructure"` + // Type of the private database offer + Offer pulumi.StringOutput `pulumi:"offer"` + // Details about an Order + Orders HostingPrivatedatabaseOrderArrayOutput `pulumi:"orders"` + // Ovh Subsidiary + OvhSubsidiary pulumi.StringOutput `pulumi:"ovhSubsidiary"` + OvhUrn pulumi.StringOutput `pulumi:"ovhUrn"` + // Ovh payment mode + // + // Deprecated: Deprecated + PaymentMean pulumi.StringPtrOutput `pulumi:"paymentMean"` + // Product Plan to order + Plan HostingPrivatedatabasePlanOutput `pulumi:"plan"` + // Product Plan to order + PlanOptions HostingPrivatedatabasePlanOptionArrayOutput `pulumi:"planOptions"` + // Private database service port + Port pulumi.Float64Output `pulumi:"port"` + // Private database FTP port + PortFtp pulumi.Float64Output `pulumi:"portFtp"` + // Space allowed (in MB) on your private database + QuotaSize pulumi.Float64Output `pulumi:"quotaSize"` + // Sapce used (in MB) on your private database + QuotaUsed pulumi.Float64Output `pulumi:"quotaUsed"` + // Amount of ram (in MB) on your private database + Ram pulumi.Float64Output `pulumi:"ram"` + // Private database server name + Server pulumi.StringOutput `pulumi:"server"` + ServiceName pulumi.StringOutput `pulumi:"serviceName"` + // Private database state + State pulumi.StringOutput `pulumi:"state"` + // Private database type + Type pulumi.StringOutput `pulumi:"type"` + // Private database available versions + Version pulumi.StringOutput `pulumi:"version"` + // Private database version label + VersionLabel pulumi.StringOutput `pulumi:"versionLabel"` + // Private database version number + VersionNumber pulumi.Float64Output `pulumi:"versionNumber"` +} + +// NewHostingPrivatedatabase registers a new resource with the given unique name, arguments, and options. +func NewHostingPrivatedatabase(ctx *pulumi.Context, + name string, args *HostingPrivatedatabaseArgs, opts ...pulumi.ResourceOption) (*HostingPrivatedatabase, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.OvhSubsidiary == nil { + return nil, errors.New("invalid value for required argument 'OvhSubsidiary'") + } + if args.Plan == nil { + return nil, errors.New("invalid value for required argument 'Plan'") + } + opts = internal.PkgResourceDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var resource HostingPrivatedatabase + err = ctx.RegisterPackageResource("ovh:index/hostingPrivatedatabase:HostingPrivatedatabase", name, args, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetHostingPrivatedatabase gets an existing HostingPrivatedatabase resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetHostingPrivatedatabase(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *HostingPrivatedatabaseState, opts ...pulumi.ResourceOption) (*HostingPrivatedatabase, error) { + var resource HostingPrivatedatabase + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + err = ctx.ReadPackageResource("ovh:index/hostingPrivatedatabase:HostingPrivatedatabase", name, id, state, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering HostingPrivatedatabase resources. +type hostingPrivatedatabaseState struct { + // Number of CPU on your private database + Cpu *float64 `pulumi:"cpu"` + // Datacenter where this private database is located + Datacenter *string `pulumi:"datacenter"` + // Name displayed in customer panel for your private database + DisplayName *string `pulumi:"displayName"` + // Private database hostname + Hostname *string `pulumi:"hostname"` + // Private database FTP hostname + HostnameFtp *string `pulumi:"hostnameFtp"` + // Infrastructure where service was stored + Infrastructure *string `pulumi:"infrastructure"` + // Type of the private database offer + Offer *string `pulumi:"offer"` + // Details about an Order + Orders []HostingPrivatedatabaseOrder `pulumi:"orders"` + // Ovh Subsidiary + OvhSubsidiary *string `pulumi:"ovhSubsidiary"` + OvhUrn *string `pulumi:"ovhUrn"` + // Ovh payment mode + // + // Deprecated: Deprecated + PaymentMean *string `pulumi:"paymentMean"` + // Product Plan to order + Plan *HostingPrivatedatabasePlan `pulumi:"plan"` + // Product Plan to order + PlanOptions []HostingPrivatedatabasePlanOption `pulumi:"planOptions"` + // Private database service port + Port *float64 `pulumi:"port"` + // Private database FTP port + PortFtp *float64 `pulumi:"portFtp"` + // Space allowed (in MB) on your private database + QuotaSize *float64 `pulumi:"quotaSize"` + // Sapce used (in MB) on your private database + QuotaUsed *float64 `pulumi:"quotaUsed"` + // Amount of ram (in MB) on your private database + Ram *float64 `pulumi:"ram"` + // Private database server name + Server *string `pulumi:"server"` + ServiceName *string `pulumi:"serviceName"` + // Private database state + State *string `pulumi:"state"` + // Private database type + Type *string `pulumi:"type"` + // Private database available versions + Version *string `pulumi:"version"` + // Private database version label + VersionLabel *string `pulumi:"versionLabel"` + // Private database version number + VersionNumber *float64 `pulumi:"versionNumber"` +} + +type HostingPrivatedatabaseState struct { + // Number of CPU on your private database + Cpu pulumi.Float64PtrInput + // Datacenter where this private database is located + Datacenter pulumi.StringPtrInput + // Name displayed in customer panel for your private database + DisplayName pulumi.StringPtrInput + // Private database hostname + Hostname pulumi.StringPtrInput + // Private database FTP hostname + HostnameFtp pulumi.StringPtrInput + // Infrastructure where service was stored + Infrastructure pulumi.StringPtrInput + // Type of the private database offer + Offer pulumi.StringPtrInput + // Details about an Order + Orders HostingPrivatedatabaseOrderArrayInput + // Ovh Subsidiary + OvhSubsidiary pulumi.StringPtrInput + OvhUrn pulumi.StringPtrInput + // Ovh payment mode + // + // Deprecated: Deprecated + PaymentMean pulumi.StringPtrInput + // Product Plan to order + Plan HostingPrivatedatabasePlanPtrInput + // Product Plan to order + PlanOptions HostingPrivatedatabasePlanOptionArrayInput + // Private database service port + Port pulumi.Float64PtrInput + // Private database FTP port + PortFtp pulumi.Float64PtrInput + // Space allowed (in MB) on your private database + QuotaSize pulumi.Float64PtrInput + // Sapce used (in MB) on your private database + QuotaUsed pulumi.Float64PtrInput + // Amount of ram (in MB) on your private database + Ram pulumi.Float64PtrInput + // Private database server name + Server pulumi.StringPtrInput + ServiceName pulumi.StringPtrInput + // Private database state + State pulumi.StringPtrInput + // Private database type + Type pulumi.StringPtrInput + // Private database available versions + Version pulumi.StringPtrInput + // Private database version label + VersionLabel pulumi.StringPtrInput + // Private database version number + VersionNumber pulumi.Float64PtrInput +} + +func (HostingPrivatedatabaseState) ElementType() reflect.Type { + return reflect.TypeOf((*hostingPrivatedatabaseState)(nil)).Elem() +} + +type hostingPrivatedatabaseArgs struct { + // Name displayed in customer panel for your private database + DisplayName *string `pulumi:"displayName"` + // Details about an Order + Orders []HostingPrivatedatabaseOrder `pulumi:"orders"` + // Ovh Subsidiary + OvhSubsidiary string `pulumi:"ovhSubsidiary"` + // Ovh payment mode + // + // Deprecated: Deprecated + PaymentMean *string `pulumi:"paymentMean"` + // Product Plan to order + Plan HostingPrivatedatabasePlan `pulumi:"plan"` + // Product Plan to order + PlanOptions []HostingPrivatedatabasePlanOption `pulumi:"planOptions"` + ServiceName *string `pulumi:"serviceName"` +} + +// The set of arguments for constructing a HostingPrivatedatabase resource. +type HostingPrivatedatabaseArgs struct { + // Name displayed in customer panel for your private database + DisplayName pulumi.StringPtrInput + // Details about an Order + Orders HostingPrivatedatabaseOrderArrayInput + // Ovh Subsidiary + OvhSubsidiary pulumi.StringInput + // Ovh payment mode + // + // Deprecated: Deprecated + PaymentMean pulumi.StringPtrInput + // Product Plan to order + Plan HostingPrivatedatabasePlanInput + // Product Plan to order + PlanOptions HostingPrivatedatabasePlanOptionArrayInput + ServiceName pulumi.StringPtrInput +} + +func (HostingPrivatedatabaseArgs) ElementType() reflect.Type { + return reflect.TypeOf((*hostingPrivatedatabaseArgs)(nil)).Elem() +} + +type HostingPrivatedatabaseInput interface { + pulumi.Input + + ToHostingPrivatedatabaseOutput() HostingPrivatedatabaseOutput + ToHostingPrivatedatabaseOutputWithContext(ctx context.Context) HostingPrivatedatabaseOutput +} + +func (*HostingPrivatedatabase) ElementType() reflect.Type { + return reflect.TypeOf((**HostingPrivatedatabase)(nil)).Elem() +} + +func (i *HostingPrivatedatabase) ToHostingPrivatedatabaseOutput() HostingPrivatedatabaseOutput { + return i.ToHostingPrivatedatabaseOutputWithContext(context.Background()) +} + +func (i *HostingPrivatedatabase) ToHostingPrivatedatabaseOutputWithContext(ctx context.Context) HostingPrivatedatabaseOutput { + return pulumi.ToOutputWithContext(ctx, i).(HostingPrivatedatabaseOutput) +} + +type HostingPrivatedatabaseOutput struct{ *pulumi.OutputState } + +func (HostingPrivatedatabaseOutput) ElementType() reflect.Type { + return reflect.TypeOf((**HostingPrivatedatabase)(nil)).Elem() +} + +func (o HostingPrivatedatabaseOutput) ToHostingPrivatedatabaseOutput() HostingPrivatedatabaseOutput { + return o +} + +func (o HostingPrivatedatabaseOutput) ToHostingPrivatedatabaseOutputWithContext(ctx context.Context) HostingPrivatedatabaseOutput { + return o +} + +// Number of CPU on your private database +func (o HostingPrivatedatabaseOutput) Cpu() pulumi.Float64Output { + return o.ApplyT(func(v *HostingPrivatedatabase) pulumi.Float64Output { return v.Cpu }).(pulumi.Float64Output) +} + +// Datacenter where this private database is located +func (o HostingPrivatedatabaseOutput) Datacenter() pulumi.StringOutput { + return o.ApplyT(func(v *HostingPrivatedatabase) pulumi.StringOutput { return v.Datacenter }).(pulumi.StringOutput) +} + +// Name displayed in customer panel for your private database +func (o HostingPrivatedatabaseOutput) DisplayName() pulumi.StringOutput { + return o.ApplyT(func(v *HostingPrivatedatabase) pulumi.StringOutput { return v.DisplayName }).(pulumi.StringOutput) +} + +// Private database hostname +func (o HostingPrivatedatabaseOutput) Hostname() pulumi.StringOutput { + return o.ApplyT(func(v *HostingPrivatedatabase) pulumi.StringOutput { return v.Hostname }).(pulumi.StringOutput) +} + +// Private database FTP hostname +func (o HostingPrivatedatabaseOutput) HostnameFtp() pulumi.StringOutput { + return o.ApplyT(func(v *HostingPrivatedatabase) pulumi.StringOutput { return v.HostnameFtp }).(pulumi.StringOutput) +} + +// Infrastructure where service was stored +func (o HostingPrivatedatabaseOutput) Infrastructure() pulumi.StringOutput { + return o.ApplyT(func(v *HostingPrivatedatabase) pulumi.StringOutput { return v.Infrastructure }).(pulumi.StringOutput) +} + +// Type of the private database offer +func (o HostingPrivatedatabaseOutput) Offer() pulumi.StringOutput { + return o.ApplyT(func(v *HostingPrivatedatabase) pulumi.StringOutput { return v.Offer }).(pulumi.StringOutput) +} + +// Details about an Order +func (o HostingPrivatedatabaseOutput) Orders() HostingPrivatedatabaseOrderArrayOutput { + return o.ApplyT(func(v *HostingPrivatedatabase) HostingPrivatedatabaseOrderArrayOutput { return v.Orders }).(HostingPrivatedatabaseOrderArrayOutput) +} + +// Ovh Subsidiary +func (o HostingPrivatedatabaseOutput) OvhSubsidiary() pulumi.StringOutput { + return o.ApplyT(func(v *HostingPrivatedatabase) pulumi.StringOutput { return v.OvhSubsidiary }).(pulumi.StringOutput) +} + +func (o HostingPrivatedatabaseOutput) OvhUrn() pulumi.StringOutput { + return o.ApplyT(func(v *HostingPrivatedatabase) pulumi.StringOutput { return v.OvhUrn }).(pulumi.StringOutput) +} + +// Ovh payment mode +// +// Deprecated: Deprecated +func (o HostingPrivatedatabaseOutput) PaymentMean() pulumi.StringPtrOutput { + return o.ApplyT(func(v *HostingPrivatedatabase) pulumi.StringPtrOutput { return v.PaymentMean }).(pulumi.StringPtrOutput) +} + +// Product Plan to order +func (o HostingPrivatedatabaseOutput) Plan() HostingPrivatedatabasePlanOutput { + return o.ApplyT(func(v *HostingPrivatedatabase) HostingPrivatedatabasePlanOutput { return v.Plan }).(HostingPrivatedatabasePlanOutput) +} + +// Product Plan to order +func (o HostingPrivatedatabaseOutput) PlanOptions() HostingPrivatedatabasePlanOptionArrayOutput { + return o.ApplyT(func(v *HostingPrivatedatabase) HostingPrivatedatabasePlanOptionArrayOutput { return v.PlanOptions }).(HostingPrivatedatabasePlanOptionArrayOutput) +} + +// Private database service port +func (o HostingPrivatedatabaseOutput) Port() pulumi.Float64Output { + return o.ApplyT(func(v *HostingPrivatedatabase) pulumi.Float64Output { return v.Port }).(pulumi.Float64Output) +} + +// Private database FTP port +func (o HostingPrivatedatabaseOutput) PortFtp() pulumi.Float64Output { + return o.ApplyT(func(v *HostingPrivatedatabase) pulumi.Float64Output { return v.PortFtp }).(pulumi.Float64Output) +} + +// Space allowed (in MB) on your private database +func (o HostingPrivatedatabaseOutput) QuotaSize() pulumi.Float64Output { + return o.ApplyT(func(v *HostingPrivatedatabase) pulumi.Float64Output { return v.QuotaSize }).(pulumi.Float64Output) +} + +// Sapce used (in MB) on your private database +func (o HostingPrivatedatabaseOutput) QuotaUsed() pulumi.Float64Output { + return o.ApplyT(func(v *HostingPrivatedatabase) pulumi.Float64Output { return v.QuotaUsed }).(pulumi.Float64Output) +} + +// Amount of ram (in MB) on your private database +func (o HostingPrivatedatabaseOutput) Ram() pulumi.Float64Output { + return o.ApplyT(func(v *HostingPrivatedatabase) pulumi.Float64Output { return v.Ram }).(pulumi.Float64Output) +} + +// Private database server name +func (o HostingPrivatedatabaseOutput) Server() pulumi.StringOutput { + return o.ApplyT(func(v *HostingPrivatedatabase) pulumi.StringOutput { return v.Server }).(pulumi.StringOutput) +} + +func (o HostingPrivatedatabaseOutput) ServiceName() pulumi.StringOutput { + return o.ApplyT(func(v *HostingPrivatedatabase) pulumi.StringOutput { return v.ServiceName }).(pulumi.StringOutput) +} + +// Private database state +func (o HostingPrivatedatabaseOutput) State() pulumi.StringOutput { + return o.ApplyT(func(v *HostingPrivatedatabase) pulumi.StringOutput { return v.State }).(pulumi.StringOutput) +} + +// Private database type +func (o HostingPrivatedatabaseOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v *HostingPrivatedatabase) pulumi.StringOutput { return v.Type }).(pulumi.StringOutput) +} + +// Private database available versions +func (o HostingPrivatedatabaseOutput) Version() pulumi.StringOutput { + return o.ApplyT(func(v *HostingPrivatedatabase) pulumi.StringOutput { return v.Version }).(pulumi.StringOutput) +} + +// Private database version label +func (o HostingPrivatedatabaseOutput) VersionLabel() pulumi.StringOutput { + return o.ApplyT(func(v *HostingPrivatedatabase) pulumi.StringOutput { return v.VersionLabel }).(pulumi.StringOutput) +} + +// Private database version number +func (o HostingPrivatedatabaseOutput) VersionNumber() pulumi.Float64Output { + return o.ApplyT(func(v *HostingPrivatedatabase) pulumi.Float64Output { return v.VersionNumber }).(pulumi.Float64Output) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*HostingPrivatedatabaseInput)(nil)).Elem(), &HostingPrivatedatabase{}) + pulumi.RegisterOutputType(HostingPrivatedatabaseOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/hostingPrivatedatabaseDatabase.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/hostingPrivatedatabaseDatabase.go new file mode 100644 index 00000000..601b0edc --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/hostingPrivatedatabaseDatabase.go @@ -0,0 +1,150 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type HostingPrivatedatabaseDatabase struct { + pulumi.CustomResourceState + + // Name of your new database + DatabaseName pulumi.StringOutput `pulumi:"databaseName"` + // The internal name of your private database + ServiceName pulumi.StringOutput `pulumi:"serviceName"` +} + +// NewHostingPrivatedatabaseDatabase registers a new resource with the given unique name, arguments, and options. +func NewHostingPrivatedatabaseDatabase(ctx *pulumi.Context, + name string, args *HostingPrivatedatabaseDatabaseArgs, opts ...pulumi.ResourceOption) (*HostingPrivatedatabaseDatabase, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.DatabaseName == nil { + return nil, errors.New("invalid value for required argument 'DatabaseName'") + } + if args.ServiceName == nil { + return nil, errors.New("invalid value for required argument 'ServiceName'") + } + opts = internal.PkgResourceDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var resource HostingPrivatedatabaseDatabase + err = ctx.RegisterPackageResource("ovh:index/hostingPrivatedatabaseDatabase:HostingPrivatedatabaseDatabase", name, args, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetHostingPrivatedatabaseDatabase gets an existing HostingPrivatedatabaseDatabase resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetHostingPrivatedatabaseDatabase(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *HostingPrivatedatabaseDatabaseState, opts ...pulumi.ResourceOption) (*HostingPrivatedatabaseDatabase, error) { + var resource HostingPrivatedatabaseDatabase + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + err = ctx.ReadPackageResource("ovh:index/hostingPrivatedatabaseDatabase:HostingPrivatedatabaseDatabase", name, id, state, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering HostingPrivatedatabaseDatabase resources. +type hostingPrivatedatabaseDatabaseState struct { + // Name of your new database + DatabaseName *string `pulumi:"databaseName"` + // The internal name of your private database + ServiceName *string `pulumi:"serviceName"` +} + +type HostingPrivatedatabaseDatabaseState struct { + // Name of your new database + DatabaseName pulumi.StringPtrInput + // The internal name of your private database + ServiceName pulumi.StringPtrInput +} + +func (HostingPrivatedatabaseDatabaseState) ElementType() reflect.Type { + return reflect.TypeOf((*hostingPrivatedatabaseDatabaseState)(nil)).Elem() +} + +type hostingPrivatedatabaseDatabaseArgs struct { + // Name of your new database + DatabaseName string `pulumi:"databaseName"` + // The internal name of your private database + ServiceName string `pulumi:"serviceName"` +} + +// The set of arguments for constructing a HostingPrivatedatabaseDatabase resource. +type HostingPrivatedatabaseDatabaseArgs struct { + // Name of your new database + DatabaseName pulumi.StringInput + // The internal name of your private database + ServiceName pulumi.StringInput +} + +func (HostingPrivatedatabaseDatabaseArgs) ElementType() reflect.Type { + return reflect.TypeOf((*hostingPrivatedatabaseDatabaseArgs)(nil)).Elem() +} + +type HostingPrivatedatabaseDatabaseInput interface { + pulumi.Input + + ToHostingPrivatedatabaseDatabaseOutput() HostingPrivatedatabaseDatabaseOutput + ToHostingPrivatedatabaseDatabaseOutputWithContext(ctx context.Context) HostingPrivatedatabaseDatabaseOutput +} + +func (*HostingPrivatedatabaseDatabase) ElementType() reflect.Type { + return reflect.TypeOf((**HostingPrivatedatabaseDatabase)(nil)).Elem() +} + +func (i *HostingPrivatedatabaseDatabase) ToHostingPrivatedatabaseDatabaseOutput() HostingPrivatedatabaseDatabaseOutput { + return i.ToHostingPrivatedatabaseDatabaseOutputWithContext(context.Background()) +} + +func (i *HostingPrivatedatabaseDatabase) ToHostingPrivatedatabaseDatabaseOutputWithContext(ctx context.Context) HostingPrivatedatabaseDatabaseOutput { + return pulumi.ToOutputWithContext(ctx, i).(HostingPrivatedatabaseDatabaseOutput) +} + +type HostingPrivatedatabaseDatabaseOutput struct{ *pulumi.OutputState } + +func (HostingPrivatedatabaseDatabaseOutput) ElementType() reflect.Type { + return reflect.TypeOf((**HostingPrivatedatabaseDatabase)(nil)).Elem() +} + +func (o HostingPrivatedatabaseDatabaseOutput) ToHostingPrivatedatabaseDatabaseOutput() HostingPrivatedatabaseDatabaseOutput { + return o +} + +func (o HostingPrivatedatabaseDatabaseOutput) ToHostingPrivatedatabaseDatabaseOutputWithContext(ctx context.Context) HostingPrivatedatabaseDatabaseOutput { + return o +} + +// Name of your new database +func (o HostingPrivatedatabaseDatabaseOutput) DatabaseName() pulumi.StringOutput { + return o.ApplyT(func(v *HostingPrivatedatabaseDatabase) pulumi.StringOutput { return v.DatabaseName }).(pulumi.StringOutput) +} + +// The internal name of your private database +func (o HostingPrivatedatabaseDatabaseOutput) ServiceName() pulumi.StringOutput { + return o.ApplyT(func(v *HostingPrivatedatabaseDatabase) pulumi.StringOutput { return v.ServiceName }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*HostingPrivatedatabaseDatabaseInput)(nil)).Elem(), &HostingPrivatedatabaseDatabase{}) + pulumi.RegisterOutputType(HostingPrivatedatabaseDatabaseOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/hostingPrivatedatabaseUser.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/hostingPrivatedatabaseUser.go new file mode 100644 index 00000000..f747db4b --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/hostingPrivatedatabaseUser.go @@ -0,0 +1,175 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type HostingPrivatedatabaseUser struct { + pulumi.CustomResourceState + + // Password for the new user ( alphanumeric and 8 characters minimum ) + Password pulumi.StringOutput `pulumi:"password"` + // The internal name of your private database + ServiceName pulumi.StringOutput `pulumi:"serviceName"` + // User name used to connect on your databases + UserName pulumi.StringOutput `pulumi:"userName"` +} + +// NewHostingPrivatedatabaseUser registers a new resource with the given unique name, arguments, and options. +func NewHostingPrivatedatabaseUser(ctx *pulumi.Context, + name string, args *HostingPrivatedatabaseUserArgs, opts ...pulumi.ResourceOption) (*HostingPrivatedatabaseUser, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.Password == nil { + return nil, errors.New("invalid value for required argument 'Password'") + } + if args.ServiceName == nil { + return nil, errors.New("invalid value for required argument 'ServiceName'") + } + if args.UserName == nil { + return nil, errors.New("invalid value for required argument 'UserName'") + } + if args.Password != nil { + args.Password = pulumi.ToSecret(args.Password).(pulumi.StringInput) + } + secrets := pulumi.AdditionalSecretOutputs([]string{ + "password", + }) + opts = append(opts, secrets) + opts = internal.PkgResourceDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var resource HostingPrivatedatabaseUser + err = ctx.RegisterPackageResource("ovh:index/hostingPrivatedatabaseUser:HostingPrivatedatabaseUser", name, args, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetHostingPrivatedatabaseUser gets an existing HostingPrivatedatabaseUser resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetHostingPrivatedatabaseUser(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *HostingPrivatedatabaseUserState, opts ...pulumi.ResourceOption) (*HostingPrivatedatabaseUser, error) { + var resource HostingPrivatedatabaseUser + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + err = ctx.ReadPackageResource("ovh:index/hostingPrivatedatabaseUser:HostingPrivatedatabaseUser", name, id, state, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering HostingPrivatedatabaseUser resources. +type hostingPrivatedatabaseUserState struct { + // Password for the new user ( alphanumeric and 8 characters minimum ) + Password *string `pulumi:"password"` + // The internal name of your private database + ServiceName *string `pulumi:"serviceName"` + // User name used to connect on your databases + UserName *string `pulumi:"userName"` +} + +type HostingPrivatedatabaseUserState struct { + // Password for the new user ( alphanumeric and 8 characters minimum ) + Password pulumi.StringPtrInput + // The internal name of your private database + ServiceName pulumi.StringPtrInput + // User name used to connect on your databases + UserName pulumi.StringPtrInput +} + +func (HostingPrivatedatabaseUserState) ElementType() reflect.Type { + return reflect.TypeOf((*hostingPrivatedatabaseUserState)(nil)).Elem() +} + +type hostingPrivatedatabaseUserArgs struct { + // Password for the new user ( alphanumeric and 8 characters minimum ) + Password string `pulumi:"password"` + // The internal name of your private database + ServiceName string `pulumi:"serviceName"` + // User name used to connect on your databases + UserName string `pulumi:"userName"` +} + +// The set of arguments for constructing a HostingPrivatedatabaseUser resource. +type HostingPrivatedatabaseUserArgs struct { + // Password for the new user ( alphanumeric and 8 characters minimum ) + Password pulumi.StringInput + // The internal name of your private database + ServiceName pulumi.StringInput + // User name used to connect on your databases + UserName pulumi.StringInput +} + +func (HostingPrivatedatabaseUserArgs) ElementType() reflect.Type { + return reflect.TypeOf((*hostingPrivatedatabaseUserArgs)(nil)).Elem() +} + +type HostingPrivatedatabaseUserInput interface { + pulumi.Input + + ToHostingPrivatedatabaseUserOutput() HostingPrivatedatabaseUserOutput + ToHostingPrivatedatabaseUserOutputWithContext(ctx context.Context) HostingPrivatedatabaseUserOutput +} + +func (*HostingPrivatedatabaseUser) ElementType() reflect.Type { + return reflect.TypeOf((**HostingPrivatedatabaseUser)(nil)).Elem() +} + +func (i *HostingPrivatedatabaseUser) ToHostingPrivatedatabaseUserOutput() HostingPrivatedatabaseUserOutput { + return i.ToHostingPrivatedatabaseUserOutputWithContext(context.Background()) +} + +func (i *HostingPrivatedatabaseUser) ToHostingPrivatedatabaseUserOutputWithContext(ctx context.Context) HostingPrivatedatabaseUserOutput { + return pulumi.ToOutputWithContext(ctx, i).(HostingPrivatedatabaseUserOutput) +} + +type HostingPrivatedatabaseUserOutput struct{ *pulumi.OutputState } + +func (HostingPrivatedatabaseUserOutput) ElementType() reflect.Type { + return reflect.TypeOf((**HostingPrivatedatabaseUser)(nil)).Elem() +} + +func (o HostingPrivatedatabaseUserOutput) ToHostingPrivatedatabaseUserOutput() HostingPrivatedatabaseUserOutput { + return o +} + +func (o HostingPrivatedatabaseUserOutput) ToHostingPrivatedatabaseUserOutputWithContext(ctx context.Context) HostingPrivatedatabaseUserOutput { + return o +} + +// Password for the new user ( alphanumeric and 8 characters minimum ) +func (o HostingPrivatedatabaseUserOutput) Password() pulumi.StringOutput { + return o.ApplyT(func(v *HostingPrivatedatabaseUser) pulumi.StringOutput { return v.Password }).(pulumi.StringOutput) +} + +// The internal name of your private database +func (o HostingPrivatedatabaseUserOutput) ServiceName() pulumi.StringOutput { + return o.ApplyT(func(v *HostingPrivatedatabaseUser) pulumi.StringOutput { return v.ServiceName }).(pulumi.StringOutput) +} + +// User name used to connect on your databases +func (o HostingPrivatedatabaseUserOutput) UserName() pulumi.StringOutput { + return o.ApplyT(func(v *HostingPrivatedatabaseUser) pulumi.StringOutput { return v.UserName }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*HostingPrivatedatabaseUserInput)(nil)).Elem(), &HostingPrivatedatabaseUser{}) + pulumi.RegisterOutputType(HostingPrivatedatabaseUserOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/hostingPrivatedatabaseUserGrant.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/hostingPrivatedatabaseUserGrant.go new file mode 100644 index 00000000..0c933d2e --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/hostingPrivatedatabaseUserGrant.go @@ -0,0 +1,186 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type HostingPrivatedatabaseUserGrant struct { + pulumi.CustomResourceState + + // Database name where add grant + DatabaseName pulumi.StringOutput `pulumi:"databaseName"` + // Database name where add grant + Grant pulumi.StringOutput `pulumi:"grant"` + // The internal name of your private database + ServiceName pulumi.StringOutput `pulumi:"serviceName"` + // User name used to connect on your databases + UserName pulumi.StringOutput `pulumi:"userName"` +} + +// NewHostingPrivatedatabaseUserGrant registers a new resource with the given unique name, arguments, and options. +func NewHostingPrivatedatabaseUserGrant(ctx *pulumi.Context, + name string, args *HostingPrivatedatabaseUserGrantArgs, opts ...pulumi.ResourceOption) (*HostingPrivatedatabaseUserGrant, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.DatabaseName == nil { + return nil, errors.New("invalid value for required argument 'DatabaseName'") + } + if args.Grant == nil { + return nil, errors.New("invalid value for required argument 'Grant'") + } + if args.ServiceName == nil { + return nil, errors.New("invalid value for required argument 'ServiceName'") + } + if args.UserName == nil { + return nil, errors.New("invalid value for required argument 'UserName'") + } + opts = internal.PkgResourceDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var resource HostingPrivatedatabaseUserGrant + err = ctx.RegisterPackageResource("ovh:index/hostingPrivatedatabaseUserGrant:HostingPrivatedatabaseUserGrant", name, args, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetHostingPrivatedatabaseUserGrant gets an existing HostingPrivatedatabaseUserGrant resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetHostingPrivatedatabaseUserGrant(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *HostingPrivatedatabaseUserGrantState, opts ...pulumi.ResourceOption) (*HostingPrivatedatabaseUserGrant, error) { + var resource HostingPrivatedatabaseUserGrant + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + err = ctx.ReadPackageResource("ovh:index/hostingPrivatedatabaseUserGrant:HostingPrivatedatabaseUserGrant", name, id, state, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering HostingPrivatedatabaseUserGrant resources. +type hostingPrivatedatabaseUserGrantState struct { + // Database name where add grant + DatabaseName *string `pulumi:"databaseName"` + // Database name where add grant + Grant *string `pulumi:"grant"` + // The internal name of your private database + ServiceName *string `pulumi:"serviceName"` + // User name used to connect on your databases + UserName *string `pulumi:"userName"` +} + +type HostingPrivatedatabaseUserGrantState struct { + // Database name where add grant + DatabaseName pulumi.StringPtrInput + // Database name where add grant + Grant pulumi.StringPtrInput + // The internal name of your private database + ServiceName pulumi.StringPtrInput + // User name used to connect on your databases + UserName pulumi.StringPtrInput +} + +func (HostingPrivatedatabaseUserGrantState) ElementType() reflect.Type { + return reflect.TypeOf((*hostingPrivatedatabaseUserGrantState)(nil)).Elem() +} + +type hostingPrivatedatabaseUserGrantArgs struct { + // Database name where add grant + DatabaseName string `pulumi:"databaseName"` + // Database name where add grant + Grant string `pulumi:"grant"` + // The internal name of your private database + ServiceName string `pulumi:"serviceName"` + // User name used to connect on your databases + UserName string `pulumi:"userName"` +} + +// The set of arguments for constructing a HostingPrivatedatabaseUserGrant resource. +type HostingPrivatedatabaseUserGrantArgs struct { + // Database name where add grant + DatabaseName pulumi.StringInput + // Database name where add grant + Grant pulumi.StringInput + // The internal name of your private database + ServiceName pulumi.StringInput + // User name used to connect on your databases + UserName pulumi.StringInput +} + +func (HostingPrivatedatabaseUserGrantArgs) ElementType() reflect.Type { + return reflect.TypeOf((*hostingPrivatedatabaseUserGrantArgs)(nil)).Elem() +} + +type HostingPrivatedatabaseUserGrantInput interface { + pulumi.Input + + ToHostingPrivatedatabaseUserGrantOutput() HostingPrivatedatabaseUserGrantOutput + ToHostingPrivatedatabaseUserGrantOutputWithContext(ctx context.Context) HostingPrivatedatabaseUserGrantOutput +} + +func (*HostingPrivatedatabaseUserGrant) ElementType() reflect.Type { + return reflect.TypeOf((**HostingPrivatedatabaseUserGrant)(nil)).Elem() +} + +func (i *HostingPrivatedatabaseUserGrant) ToHostingPrivatedatabaseUserGrantOutput() HostingPrivatedatabaseUserGrantOutput { + return i.ToHostingPrivatedatabaseUserGrantOutputWithContext(context.Background()) +} + +func (i *HostingPrivatedatabaseUserGrant) ToHostingPrivatedatabaseUserGrantOutputWithContext(ctx context.Context) HostingPrivatedatabaseUserGrantOutput { + return pulumi.ToOutputWithContext(ctx, i).(HostingPrivatedatabaseUserGrantOutput) +} + +type HostingPrivatedatabaseUserGrantOutput struct{ *pulumi.OutputState } + +func (HostingPrivatedatabaseUserGrantOutput) ElementType() reflect.Type { + return reflect.TypeOf((**HostingPrivatedatabaseUserGrant)(nil)).Elem() +} + +func (o HostingPrivatedatabaseUserGrantOutput) ToHostingPrivatedatabaseUserGrantOutput() HostingPrivatedatabaseUserGrantOutput { + return o +} + +func (o HostingPrivatedatabaseUserGrantOutput) ToHostingPrivatedatabaseUserGrantOutputWithContext(ctx context.Context) HostingPrivatedatabaseUserGrantOutput { + return o +} + +// Database name where add grant +func (o HostingPrivatedatabaseUserGrantOutput) DatabaseName() pulumi.StringOutput { + return o.ApplyT(func(v *HostingPrivatedatabaseUserGrant) pulumi.StringOutput { return v.DatabaseName }).(pulumi.StringOutput) +} + +// Database name where add grant +func (o HostingPrivatedatabaseUserGrantOutput) Grant() pulumi.StringOutput { + return o.ApplyT(func(v *HostingPrivatedatabaseUserGrant) pulumi.StringOutput { return v.Grant }).(pulumi.StringOutput) +} + +// The internal name of your private database +func (o HostingPrivatedatabaseUserGrantOutput) ServiceName() pulumi.StringOutput { + return o.ApplyT(func(v *HostingPrivatedatabaseUserGrant) pulumi.StringOutput { return v.ServiceName }).(pulumi.StringOutput) +} + +// User name used to connect on your databases +func (o HostingPrivatedatabaseUserGrantOutput) UserName() pulumi.StringOutput { + return o.ApplyT(func(v *HostingPrivatedatabaseUserGrant) pulumi.StringOutput { return v.UserName }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*HostingPrivatedatabaseUserGrantInput)(nil)).Elem(), &HostingPrivatedatabaseUserGrant{}) + pulumi.RegisterOutputType(HostingPrivatedatabaseUserGrantOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/hostingPrivatedatabaseWhitelist.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/hostingPrivatedatabaseWhitelist.go new file mode 100644 index 00000000..8896c537 --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/hostingPrivatedatabaseWhitelist.go @@ -0,0 +1,201 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type HostingPrivatedatabaseWhitelist struct { + pulumi.CustomResourceState + + // The whitelisted IP in your instance + Ip pulumi.StringOutput `pulumi:"ip"` + // Custom name for your Whitelisted IP + Name pulumi.StringOutput `pulumi:"name"` + // Authorize this IP to access service port + Service pulumi.BoolOutput `pulumi:"service"` + // The internal name of your private database + ServiceName pulumi.StringOutput `pulumi:"serviceName"` + // Authorize this IP to access SFTP port + Sftp pulumi.BoolOutput `pulumi:"sftp"` +} + +// NewHostingPrivatedatabaseWhitelist registers a new resource with the given unique name, arguments, and options. +func NewHostingPrivatedatabaseWhitelist(ctx *pulumi.Context, + name string, args *HostingPrivatedatabaseWhitelistArgs, opts ...pulumi.ResourceOption) (*HostingPrivatedatabaseWhitelist, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.Ip == nil { + return nil, errors.New("invalid value for required argument 'Ip'") + } + if args.Service == nil { + return nil, errors.New("invalid value for required argument 'Service'") + } + if args.ServiceName == nil { + return nil, errors.New("invalid value for required argument 'ServiceName'") + } + if args.Sftp == nil { + return nil, errors.New("invalid value for required argument 'Sftp'") + } + opts = internal.PkgResourceDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var resource HostingPrivatedatabaseWhitelist + err = ctx.RegisterPackageResource("ovh:index/hostingPrivatedatabaseWhitelist:HostingPrivatedatabaseWhitelist", name, args, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetHostingPrivatedatabaseWhitelist gets an existing HostingPrivatedatabaseWhitelist resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetHostingPrivatedatabaseWhitelist(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *HostingPrivatedatabaseWhitelistState, opts ...pulumi.ResourceOption) (*HostingPrivatedatabaseWhitelist, error) { + var resource HostingPrivatedatabaseWhitelist + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + err = ctx.ReadPackageResource("ovh:index/hostingPrivatedatabaseWhitelist:HostingPrivatedatabaseWhitelist", name, id, state, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering HostingPrivatedatabaseWhitelist resources. +type hostingPrivatedatabaseWhitelistState struct { + // The whitelisted IP in your instance + Ip *string `pulumi:"ip"` + // Custom name for your Whitelisted IP + Name *string `pulumi:"name"` + // Authorize this IP to access service port + Service *bool `pulumi:"service"` + // The internal name of your private database + ServiceName *string `pulumi:"serviceName"` + // Authorize this IP to access SFTP port + Sftp *bool `pulumi:"sftp"` +} + +type HostingPrivatedatabaseWhitelistState struct { + // The whitelisted IP in your instance + Ip pulumi.StringPtrInput + // Custom name for your Whitelisted IP + Name pulumi.StringPtrInput + // Authorize this IP to access service port + Service pulumi.BoolPtrInput + // The internal name of your private database + ServiceName pulumi.StringPtrInput + // Authorize this IP to access SFTP port + Sftp pulumi.BoolPtrInput +} + +func (HostingPrivatedatabaseWhitelistState) ElementType() reflect.Type { + return reflect.TypeOf((*hostingPrivatedatabaseWhitelistState)(nil)).Elem() +} + +type hostingPrivatedatabaseWhitelistArgs struct { + // The whitelisted IP in your instance + Ip string `pulumi:"ip"` + // Custom name for your Whitelisted IP + Name *string `pulumi:"name"` + // Authorize this IP to access service port + Service bool `pulumi:"service"` + // The internal name of your private database + ServiceName string `pulumi:"serviceName"` + // Authorize this IP to access SFTP port + Sftp bool `pulumi:"sftp"` +} + +// The set of arguments for constructing a HostingPrivatedatabaseWhitelist resource. +type HostingPrivatedatabaseWhitelistArgs struct { + // The whitelisted IP in your instance + Ip pulumi.StringInput + // Custom name for your Whitelisted IP + Name pulumi.StringPtrInput + // Authorize this IP to access service port + Service pulumi.BoolInput + // The internal name of your private database + ServiceName pulumi.StringInput + // Authorize this IP to access SFTP port + Sftp pulumi.BoolInput +} + +func (HostingPrivatedatabaseWhitelistArgs) ElementType() reflect.Type { + return reflect.TypeOf((*hostingPrivatedatabaseWhitelistArgs)(nil)).Elem() +} + +type HostingPrivatedatabaseWhitelistInput interface { + pulumi.Input + + ToHostingPrivatedatabaseWhitelistOutput() HostingPrivatedatabaseWhitelistOutput + ToHostingPrivatedatabaseWhitelistOutputWithContext(ctx context.Context) HostingPrivatedatabaseWhitelistOutput +} + +func (*HostingPrivatedatabaseWhitelist) ElementType() reflect.Type { + return reflect.TypeOf((**HostingPrivatedatabaseWhitelist)(nil)).Elem() +} + +func (i *HostingPrivatedatabaseWhitelist) ToHostingPrivatedatabaseWhitelistOutput() HostingPrivatedatabaseWhitelistOutput { + return i.ToHostingPrivatedatabaseWhitelistOutputWithContext(context.Background()) +} + +func (i *HostingPrivatedatabaseWhitelist) ToHostingPrivatedatabaseWhitelistOutputWithContext(ctx context.Context) HostingPrivatedatabaseWhitelistOutput { + return pulumi.ToOutputWithContext(ctx, i).(HostingPrivatedatabaseWhitelistOutput) +} + +type HostingPrivatedatabaseWhitelistOutput struct{ *pulumi.OutputState } + +func (HostingPrivatedatabaseWhitelistOutput) ElementType() reflect.Type { + return reflect.TypeOf((**HostingPrivatedatabaseWhitelist)(nil)).Elem() +} + +func (o HostingPrivatedatabaseWhitelistOutput) ToHostingPrivatedatabaseWhitelistOutput() HostingPrivatedatabaseWhitelistOutput { + return o +} + +func (o HostingPrivatedatabaseWhitelistOutput) ToHostingPrivatedatabaseWhitelistOutputWithContext(ctx context.Context) HostingPrivatedatabaseWhitelistOutput { + return o +} + +// The whitelisted IP in your instance +func (o HostingPrivatedatabaseWhitelistOutput) Ip() pulumi.StringOutput { + return o.ApplyT(func(v *HostingPrivatedatabaseWhitelist) pulumi.StringOutput { return v.Ip }).(pulumi.StringOutput) +} + +// Custom name for your Whitelisted IP +func (o HostingPrivatedatabaseWhitelistOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *HostingPrivatedatabaseWhitelist) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +// Authorize this IP to access service port +func (o HostingPrivatedatabaseWhitelistOutput) Service() pulumi.BoolOutput { + return o.ApplyT(func(v *HostingPrivatedatabaseWhitelist) pulumi.BoolOutput { return v.Service }).(pulumi.BoolOutput) +} + +// The internal name of your private database +func (o HostingPrivatedatabaseWhitelistOutput) ServiceName() pulumi.StringOutput { + return o.ApplyT(func(v *HostingPrivatedatabaseWhitelist) pulumi.StringOutput { return v.ServiceName }).(pulumi.StringOutput) +} + +// Authorize this IP to access SFTP port +func (o HostingPrivatedatabaseWhitelistOutput) Sftp() pulumi.BoolOutput { + return o.ApplyT(func(v *HostingPrivatedatabaseWhitelist) pulumi.BoolOutput { return v.Sftp }).(pulumi.BoolOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*HostingPrivatedatabaseWhitelistInput)(nil)).Elem(), &HostingPrivatedatabaseWhitelist{}) + pulumi.RegisterOutputType(HostingPrivatedatabaseWhitelistOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/iamPermissionsGroup.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/iamPermissionsGroup.go new file mode 100644 index 00000000..67d642ef --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/iamPermissionsGroup.go @@ -0,0 +1,192 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type IamPermissionsGroup struct { + pulumi.CustomResourceState + + Allows pulumi.StringArrayOutput `pulumi:"allows"` + CreatedAt pulumi.StringOutput `pulumi:"createdAt"` + Denies pulumi.StringArrayOutput `pulumi:"denies"` + Description pulumi.StringOutput `pulumi:"description"` + Excepts pulumi.StringArrayOutput `pulumi:"excepts"` + Name pulumi.StringOutput `pulumi:"name"` + OvhUrn pulumi.StringOutput `pulumi:"ovhUrn"` + Owner pulumi.StringOutput `pulumi:"owner"` + UpdatedAt pulumi.StringOutput `pulumi:"updatedAt"` +} + +// NewIamPermissionsGroup registers a new resource with the given unique name, arguments, and options. +func NewIamPermissionsGroup(ctx *pulumi.Context, + name string, args *IamPermissionsGroupArgs, opts ...pulumi.ResourceOption) (*IamPermissionsGroup, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.Description == nil { + return nil, errors.New("invalid value for required argument 'Description'") + } + opts = internal.PkgResourceDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var resource IamPermissionsGroup + err = ctx.RegisterPackageResource("ovh:index/iamPermissionsGroup:IamPermissionsGroup", name, args, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetIamPermissionsGroup gets an existing IamPermissionsGroup resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetIamPermissionsGroup(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *IamPermissionsGroupState, opts ...pulumi.ResourceOption) (*IamPermissionsGroup, error) { + var resource IamPermissionsGroup + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + err = ctx.ReadPackageResource("ovh:index/iamPermissionsGroup:IamPermissionsGroup", name, id, state, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering IamPermissionsGroup resources. +type iamPermissionsGroupState struct { + Allows []string `pulumi:"allows"` + CreatedAt *string `pulumi:"createdAt"` + Denies []string `pulumi:"denies"` + Description *string `pulumi:"description"` + Excepts []string `pulumi:"excepts"` + Name *string `pulumi:"name"` + OvhUrn *string `pulumi:"ovhUrn"` + Owner *string `pulumi:"owner"` + UpdatedAt *string `pulumi:"updatedAt"` +} + +type IamPermissionsGroupState struct { + Allows pulumi.StringArrayInput + CreatedAt pulumi.StringPtrInput + Denies pulumi.StringArrayInput + Description pulumi.StringPtrInput + Excepts pulumi.StringArrayInput + Name pulumi.StringPtrInput + OvhUrn pulumi.StringPtrInput + Owner pulumi.StringPtrInput + UpdatedAt pulumi.StringPtrInput +} + +func (IamPermissionsGroupState) ElementType() reflect.Type { + return reflect.TypeOf((*iamPermissionsGroupState)(nil)).Elem() +} + +type iamPermissionsGroupArgs struct { + Allows []string `pulumi:"allows"` + Denies []string `pulumi:"denies"` + Description string `pulumi:"description"` + Excepts []string `pulumi:"excepts"` + Name *string `pulumi:"name"` + UpdatedAt *string `pulumi:"updatedAt"` +} + +// The set of arguments for constructing a IamPermissionsGroup resource. +type IamPermissionsGroupArgs struct { + Allows pulumi.StringArrayInput + Denies pulumi.StringArrayInput + Description pulumi.StringInput + Excepts pulumi.StringArrayInput + Name pulumi.StringPtrInput + UpdatedAt pulumi.StringPtrInput +} + +func (IamPermissionsGroupArgs) ElementType() reflect.Type { + return reflect.TypeOf((*iamPermissionsGroupArgs)(nil)).Elem() +} + +type IamPermissionsGroupInput interface { + pulumi.Input + + ToIamPermissionsGroupOutput() IamPermissionsGroupOutput + ToIamPermissionsGroupOutputWithContext(ctx context.Context) IamPermissionsGroupOutput +} + +func (*IamPermissionsGroup) ElementType() reflect.Type { + return reflect.TypeOf((**IamPermissionsGroup)(nil)).Elem() +} + +func (i *IamPermissionsGroup) ToIamPermissionsGroupOutput() IamPermissionsGroupOutput { + return i.ToIamPermissionsGroupOutputWithContext(context.Background()) +} + +func (i *IamPermissionsGroup) ToIamPermissionsGroupOutputWithContext(ctx context.Context) IamPermissionsGroupOutput { + return pulumi.ToOutputWithContext(ctx, i).(IamPermissionsGroupOutput) +} + +type IamPermissionsGroupOutput struct{ *pulumi.OutputState } + +func (IamPermissionsGroupOutput) ElementType() reflect.Type { + return reflect.TypeOf((**IamPermissionsGroup)(nil)).Elem() +} + +func (o IamPermissionsGroupOutput) ToIamPermissionsGroupOutput() IamPermissionsGroupOutput { + return o +} + +func (o IamPermissionsGroupOutput) ToIamPermissionsGroupOutputWithContext(ctx context.Context) IamPermissionsGroupOutput { + return o +} + +func (o IamPermissionsGroupOutput) Allows() pulumi.StringArrayOutput { + return o.ApplyT(func(v *IamPermissionsGroup) pulumi.StringArrayOutput { return v.Allows }).(pulumi.StringArrayOutput) +} + +func (o IamPermissionsGroupOutput) CreatedAt() pulumi.StringOutput { + return o.ApplyT(func(v *IamPermissionsGroup) pulumi.StringOutput { return v.CreatedAt }).(pulumi.StringOutput) +} + +func (o IamPermissionsGroupOutput) Denies() pulumi.StringArrayOutput { + return o.ApplyT(func(v *IamPermissionsGroup) pulumi.StringArrayOutput { return v.Denies }).(pulumi.StringArrayOutput) +} + +func (o IamPermissionsGroupOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v *IamPermissionsGroup) pulumi.StringOutput { return v.Description }).(pulumi.StringOutput) +} + +func (o IamPermissionsGroupOutput) Excepts() pulumi.StringArrayOutput { + return o.ApplyT(func(v *IamPermissionsGroup) pulumi.StringArrayOutput { return v.Excepts }).(pulumi.StringArrayOutput) +} + +func (o IamPermissionsGroupOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *IamPermissionsGroup) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +func (o IamPermissionsGroupOutput) OvhUrn() pulumi.StringOutput { + return o.ApplyT(func(v *IamPermissionsGroup) pulumi.StringOutput { return v.OvhUrn }).(pulumi.StringOutput) +} + +func (o IamPermissionsGroupOutput) Owner() pulumi.StringOutput { + return o.ApplyT(func(v *IamPermissionsGroup) pulumi.StringOutput { return v.Owner }).(pulumi.StringOutput) +} + +func (o IamPermissionsGroupOutput) UpdatedAt() pulumi.StringOutput { + return o.ApplyT(func(v *IamPermissionsGroup) pulumi.StringOutput { return v.UpdatedAt }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*IamPermissionsGroupInput)(nil)).Elem(), &IamPermissionsGroup{}) + pulumi.RegisterOutputType(IamPermissionsGroupOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/iamPolicy.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/iamPolicy.go new file mode 100644 index 00000000..78598465 --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/iamPolicy.go @@ -0,0 +1,220 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type IamPolicy struct { + pulumi.CustomResourceState + + Allows pulumi.StringArrayOutput `pulumi:"allows"` + CreatedAt pulumi.StringOutput `pulumi:"createdAt"` + Denies pulumi.StringArrayOutput `pulumi:"denies"` + Description pulumi.StringPtrOutput `pulumi:"description"` + Excepts pulumi.StringArrayOutput `pulumi:"excepts"` + Identities pulumi.StringArrayOutput `pulumi:"identities"` + Name pulumi.StringOutput `pulumi:"name"` + Owner pulumi.StringOutput `pulumi:"owner"` + PermissionsGroups pulumi.StringArrayOutput `pulumi:"permissionsGroups"` + ReadOnly pulumi.BoolOutput `pulumi:"readOnly"` + Resources pulumi.StringArrayOutput `pulumi:"resources"` + UpdatedAt pulumi.StringOutput `pulumi:"updatedAt"` +} + +// NewIamPolicy registers a new resource with the given unique name, arguments, and options. +func NewIamPolicy(ctx *pulumi.Context, + name string, args *IamPolicyArgs, opts ...pulumi.ResourceOption) (*IamPolicy, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.Identities == nil { + return nil, errors.New("invalid value for required argument 'Identities'") + } + if args.Resources == nil { + return nil, errors.New("invalid value for required argument 'Resources'") + } + opts = internal.PkgResourceDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var resource IamPolicy + err = ctx.RegisterPackageResource("ovh:index/iamPolicy:IamPolicy", name, args, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetIamPolicy gets an existing IamPolicy resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetIamPolicy(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *IamPolicyState, opts ...pulumi.ResourceOption) (*IamPolicy, error) { + var resource IamPolicy + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + err = ctx.ReadPackageResource("ovh:index/iamPolicy:IamPolicy", name, id, state, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering IamPolicy resources. +type iamPolicyState struct { + Allows []string `pulumi:"allows"` + CreatedAt *string `pulumi:"createdAt"` + Denies []string `pulumi:"denies"` + Description *string `pulumi:"description"` + Excepts []string `pulumi:"excepts"` + Identities []string `pulumi:"identities"` + Name *string `pulumi:"name"` + Owner *string `pulumi:"owner"` + PermissionsGroups []string `pulumi:"permissionsGroups"` + ReadOnly *bool `pulumi:"readOnly"` + Resources []string `pulumi:"resources"` + UpdatedAt *string `pulumi:"updatedAt"` +} + +type IamPolicyState struct { + Allows pulumi.StringArrayInput + CreatedAt pulumi.StringPtrInput + Denies pulumi.StringArrayInput + Description pulumi.StringPtrInput + Excepts pulumi.StringArrayInput + Identities pulumi.StringArrayInput + Name pulumi.StringPtrInput + Owner pulumi.StringPtrInput + PermissionsGroups pulumi.StringArrayInput + ReadOnly pulumi.BoolPtrInput + Resources pulumi.StringArrayInput + UpdatedAt pulumi.StringPtrInput +} + +func (IamPolicyState) ElementType() reflect.Type { + return reflect.TypeOf((*iamPolicyState)(nil)).Elem() +} + +type iamPolicyArgs struct { + Allows []string `pulumi:"allows"` + Denies []string `pulumi:"denies"` + Description *string `pulumi:"description"` + Excepts []string `pulumi:"excepts"` + Identities []string `pulumi:"identities"` + Name *string `pulumi:"name"` + PermissionsGroups []string `pulumi:"permissionsGroups"` + Resources []string `pulumi:"resources"` +} + +// The set of arguments for constructing a IamPolicy resource. +type IamPolicyArgs struct { + Allows pulumi.StringArrayInput + Denies pulumi.StringArrayInput + Description pulumi.StringPtrInput + Excepts pulumi.StringArrayInput + Identities pulumi.StringArrayInput + Name pulumi.StringPtrInput + PermissionsGroups pulumi.StringArrayInput + Resources pulumi.StringArrayInput +} + +func (IamPolicyArgs) ElementType() reflect.Type { + return reflect.TypeOf((*iamPolicyArgs)(nil)).Elem() +} + +type IamPolicyInput interface { + pulumi.Input + + ToIamPolicyOutput() IamPolicyOutput + ToIamPolicyOutputWithContext(ctx context.Context) IamPolicyOutput +} + +func (*IamPolicy) ElementType() reflect.Type { + return reflect.TypeOf((**IamPolicy)(nil)).Elem() +} + +func (i *IamPolicy) ToIamPolicyOutput() IamPolicyOutput { + return i.ToIamPolicyOutputWithContext(context.Background()) +} + +func (i *IamPolicy) ToIamPolicyOutputWithContext(ctx context.Context) IamPolicyOutput { + return pulumi.ToOutputWithContext(ctx, i).(IamPolicyOutput) +} + +type IamPolicyOutput struct{ *pulumi.OutputState } + +func (IamPolicyOutput) ElementType() reflect.Type { + return reflect.TypeOf((**IamPolicy)(nil)).Elem() +} + +func (o IamPolicyOutput) ToIamPolicyOutput() IamPolicyOutput { + return o +} + +func (o IamPolicyOutput) ToIamPolicyOutputWithContext(ctx context.Context) IamPolicyOutput { + return o +} + +func (o IamPolicyOutput) Allows() pulumi.StringArrayOutput { + return o.ApplyT(func(v *IamPolicy) pulumi.StringArrayOutput { return v.Allows }).(pulumi.StringArrayOutput) +} + +func (o IamPolicyOutput) CreatedAt() pulumi.StringOutput { + return o.ApplyT(func(v *IamPolicy) pulumi.StringOutput { return v.CreatedAt }).(pulumi.StringOutput) +} + +func (o IamPolicyOutput) Denies() pulumi.StringArrayOutput { + return o.ApplyT(func(v *IamPolicy) pulumi.StringArrayOutput { return v.Denies }).(pulumi.StringArrayOutput) +} + +func (o IamPolicyOutput) Description() pulumi.StringPtrOutput { + return o.ApplyT(func(v *IamPolicy) pulumi.StringPtrOutput { return v.Description }).(pulumi.StringPtrOutput) +} + +func (o IamPolicyOutput) Excepts() pulumi.StringArrayOutput { + return o.ApplyT(func(v *IamPolicy) pulumi.StringArrayOutput { return v.Excepts }).(pulumi.StringArrayOutput) +} + +func (o IamPolicyOutput) Identities() pulumi.StringArrayOutput { + return o.ApplyT(func(v *IamPolicy) pulumi.StringArrayOutput { return v.Identities }).(pulumi.StringArrayOutput) +} + +func (o IamPolicyOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *IamPolicy) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +func (o IamPolicyOutput) Owner() pulumi.StringOutput { + return o.ApplyT(func(v *IamPolicy) pulumi.StringOutput { return v.Owner }).(pulumi.StringOutput) +} + +func (o IamPolicyOutput) PermissionsGroups() pulumi.StringArrayOutput { + return o.ApplyT(func(v *IamPolicy) pulumi.StringArrayOutput { return v.PermissionsGroups }).(pulumi.StringArrayOutput) +} + +func (o IamPolicyOutput) ReadOnly() pulumi.BoolOutput { + return o.ApplyT(func(v *IamPolicy) pulumi.BoolOutput { return v.ReadOnly }).(pulumi.BoolOutput) +} + +func (o IamPolicyOutput) Resources() pulumi.StringArrayOutput { + return o.ApplyT(func(v *IamPolicy) pulumi.StringArrayOutput { return v.Resources }).(pulumi.StringArrayOutput) +} + +func (o IamPolicyOutput) UpdatedAt() pulumi.StringOutput { + return o.ApplyT(func(v *IamPolicy) pulumi.StringOutput { return v.UpdatedAt }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*IamPolicyInput)(nil)).Elem(), &IamPolicy{}) + pulumi.RegisterOutputType(IamPolicyOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/iamResourceGroup.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/iamResourceGroup.go new file mode 100644 index 00000000..9a611045 --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/iamResourceGroup.go @@ -0,0 +1,166 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type IamResourceGroup struct { + pulumi.CustomResourceState + + CreatedAt pulumi.StringOutput `pulumi:"createdAt"` + Name pulumi.StringOutput `pulumi:"name"` + OvhUrn pulumi.StringOutput `pulumi:"ovhUrn"` + Owner pulumi.StringOutput `pulumi:"owner"` + ReadOnly pulumi.BoolOutput `pulumi:"readOnly"` + Resources pulumi.StringArrayOutput `pulumi:"resources"` + UpdatedAt pulumi.StringOutput `pulumi:"updatedAt"` +} + +// NewIamResourceGroup registers a new resource with the given unique name, arguments, and options. +func NewIamResourceGroup(ctx *pulumi.Context, + name string, args *IamResourceGroupArgs, opts ...pulumi.ResourceOption) (*IamResourceGroup, error) { + if args == nil { + args = &IamResourceGroupArgs{} + } + + opts = internal.PkgResourceDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var resource IamResourceGroup + err = ctx.RegisterPackageResource("ovh:index/iamResourceGroup:IamResourceGroup", name, args, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetIamResourceGroup gets an existing IamResourceGroup resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetIamResourceGroup(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *IamResourceGroupState, opts ...pulumi.ResourceOption) (*IamResourceGroup, error) { + var resource IamResourceGroup + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + err = ctx.ReadPackageResource("ovh:index/iamResourceGroup:IamResourceGroup", name, id, state, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering IamResourceGroup resources. +type iamResourceGroupState struct { + CreatedAt *string `pulumi:"createdAt"` + Name *string `pulumi:"name"` + OvhUrn *string `pulumi:"ovhUrn"` + Owner *string `pulumi:"owner"` + ReadOnly *bool `pulumi:"readOnly"` + Resources []string `pulumi:"resources"` + UpdatedAt *string `pulumi:"updatedAt"` +} + +type IamResourceGroupState struct { + CreatedAt pulumi.StringPtrInput + Name pulumi.StringPtrInput + OvhUrn pulumi.StringPtrInput + Owner pulumi.StringPtrInput + ReadOnly pulumi.BoolPtrInput + Resources pulumi.StringArrayInput + UpdatedAt pulumi.StringPtrInput +} + +func (IamResourceGroupState) ElementType() reflect.Type { + return reflect.TypeOf((*iamResourceGroupState)(nil)).Elem() +} + +type iamResourceGroupArgs struct { + Name *string `pulumi:"name"` + Resources []string `pulumi:"resources"` +} + +// The set of arguments for constructing a IamResourceGroup resource. +type IamResourceGroupArgs struct { + Name pulumi.StringPtrInput + Resources pulumi.StringArrayInput +} + +func (IamResourceGroupArgs) ElementType() reflect.Type { + return reflect.TypeOf((*iamResourceGroupArgs)(nil)).Elem() +} + +type IamResourceGroupInput interface { + pulumi.Input + + ToIamResourceGroupOutput() IamResourceGroupOutput + ToIamResourceGroupOutputWithContext(ctx context.Context) IamResourceGroupOutput +} + +func (*IamResourceGroup) ElementType() reflect.Type { + return reflect.TypeOf((**IamResourceGroup)(nil)).Elem() +} + +func (i *IamResourceGroup) ToIamResourceGroupOutput() IamResourceGroupOutput { + return i.ToIamResourceGroupOutputWithContext(context.Background()) +} + +func (i *IamResourceGroup) ToIamResourceGroupOutputWithContext(ctx context.Context) IamResourceGroupOutput { + return pulumi.ToOutputWithContext(ctx, i).(IamResourceGroupOutput) +} + +type IamResourceGroupOutput struct{ *pulumi.OutputState } + +func (IamResourceGroupOutput) ElementType() reflect.Type { + return reflect.TypeOf((**IamResourceGroup)(nil)).Elem() +} + +func (o IamResourceGroupOutput) ToIamResourceGroupOutput() IamResourceGroupOutput { + return o +} + +func (o IamResourceGroupOutput) ToIamResourceGroupOutputWithContext(ctx context.Context) IamResourceGroupOutput { + return o +} + +func (o IamResourceGroupOutput) CreatedAt() pulumi.StringOutput { + return o.ApplyT(func(v *IamResourceGroup) pulumi.StringOutput { return v.CreatedAt }).(pulumi.StringOutput) +} + +func (o IamResourceGroupOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *IamResourceGroup) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +func (o IamResourceGroupOutput) OvhUrn() pulumi.StringOutput { + return o.ApplyT(func(v *IamResourceGroup) pulumi.StringOutput { return v.OvhUrn }).(pulumi.StringOutput) +} + +func (o IamResourceGroupOutput) Owner() pulumi.StringOutput { + return o.ApplyT(func(v *IamResourceGroup) pulumi.StringOutput { return v.Owner }).(pulumi.StringOutput) +} + +func (o IamResourceGroupOutput) ReadOnly() pulumi.BoolOutput { + return o.ApplyT(func(v *IamResourceGroup) pulumi.BoolOutput { return v.ReadOnly }).(pulumi.BoolOutput) +} + +func (o IamResourceGroupOutput) Resources() pulumi.StringArrayOutput { + return o.ApplyT(func(v *IamResourceGroup) pulumi.StringArrayOutput { return v.Resources }).(pulumi.StringArrayOutput) +} + +func (o IamResourceGroupOutput) UpdatedAt() pulumi.StringOutput { + return o.ApplyT(func(v *IamResourceGroup) pulumi.StringOutput { return v.UpdatedAt }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*IamResourceGroupInput)(nil)).Elem(), &IamResourceGroup{}) + pulumi.RegisterOutputType(IamResourceGroupOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/init.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/init.go new file mode 100644 index 00000000..ccfd0ef6 --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/init.go @@ -0,0 +1,738 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "fmt" + + "github.com/blang/semver" + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type module struct { + version semver.Version +} + +func (m *module) Version() semver.Version { + return m.version +} + +func (m *module) Construct(ctx *pulumi.Context, name, typ, urn string) (r pulumi.Resource, err error) { + switch typ { + case "ovh:index/cloudProject:CloudProject": + r = &CloudProject{} + case "ovh:index/cloudProjectAlerting:CloudProjectAlerting": + r = &CloudProjectAlerting{} + case "ovh:index/cloudProjectContainerregistry:CloudProjectContainerregistry": + r = &CloudProjectContainerregistry{} + case "ovh:index/cloudProjectContainerregistryIpRestrictionsManagement:CloudProjectContainerregistryIpRestrictionsManagement": + r = &CloudProjectContainerregistryIpRestrictionsManagement{} + case "ovh:index/cloudProjectContainerregistryIpRestrictionsRegistry:CloudProjectContainerregistryIpRestrictionsRegistry": + r = &CloudProjectContainerregistryIpRestrictionsRegistry{} + case "ovh:index/cloudProjectContainerregistryOidc:CloudProjectContainerregistryOidc": + r = &CloudProjectContainerregistryOidc{} + case "ovh:index/cloudProjectContainerregistryUser:CloudProjectContainerregistryUser": + r = &CloudProjectContainerregistryUser{} + case "ovh:index/cloudProjectDatabase:CloudProjectDatabase": + r = &CloudProjectDatabase{} + case "ovh:index/cloudProjectDatabaseDatabase:CloudProjectDatabaseDatabase": + r = &CloudProjectDatabaseDatabase{} + case "ovh:index/cloudProjectDatabaseIntegration:CloudProjectDatabaseIntegration": + r = &CloudProjectDatabaseIntegration{} + case "ovh:index/cloudProjectDatabaseIpRestriction:CloudProjectDatabaseIpRestriction": + r = &CloudProjectDatabaseIpRestriction{} + case "ovh:index/cloudProjectDatabaseKafkaAcl:CloudProjectDatabaseKafkaAcl": + r = &CloudProjectDatabaseKafkaAcl{} + case "ovh:index/cloudProjectDatabaseKafkaSchemaregistryacl:CloudProjectDatabaseKafkaSchemaregistryacl": + r = &CloudProjectDatabaseKafkaSchemaregistryacl{} + case "ovh:index/cloudProjectDatabaseKafkaTopic:CloudProjectDatabaseKafkaTopic": + r = &CloudProjectDatabaseKafkaTopic{} + case "ovh:index/cloudProjectDatabaseLogSubscription:CloudProjectDatabaseLogSubscription": + r = &CloudProjectDatabaseLogSubscription{} + case "ovh:index/cloudProjectDatabaseM3dbNamespace:CloudProjectDatabaseM3dbNamespace": + r = &CloudProjectDatabaseM3dbNamespace{} + case "ovh:index/cloudProjectDatabaseM3dbUser:CloudProjectDatabaseM3dbUser": + r = &CloudProjectDatabaseM3dbUser{} + case "ovh:index/cloudProjectDatabaseMongodbUser:CloudProjectDatabaseMongodbUser": + r = &CloudProjectDatabaseMongodbUser{} + case "ovh:index/cloudProjectDatabaseOpensearchPattern:CloudProjectDatabaseOpensearchPattern": + r = &CloudProjectDatabaseOpensearchPattern{} + case "ovh:index/cloudProjectDatabaseOpensearchUser:CloudProjectDatabaseOpensearchUser": + r = &CloudProjectDatabaseOpensearchUser{} + case "ovh:index/cloudProjectDatabasePostgresqlConnectionPool:CloudProjectDatabasePostgresqlConnectionPool": + r = &CloudProjectDatabasePostgresqlConnectionPool{} + case "ovh:index/cloudProjectDatabasePostgresqlUser:CloudProjectDatabasePostgresqlUser": + r = &CloudProjectDatabasePostgresqlUser{} + case "ovh:index/cloudProjectDatabaseRedisUser:CloudProjectDatabaseRedisUser": + r = &CloudProjectDatabaseRedisUser{} + case "ovh:index/cloudProjectDatabaseUser:CloudProjectDatabaseUser": + r = &CloudProjectDatabaseUser{} + case "ovh:index/cloudProjectFailoverIpAttach:CloudProjectFailoverIpAttach": + r = &CloudProjectFailoverIpAttach{} + case "ovh:index/cloudProjectGateway:CloudProjectGateway": + r = &CloudProjectGateway{} + case "ovh:index/cloudProjectGatewayInterface:CloudProjectGatewayInterface": + r = &CloudProjectGatewayInterface{} + case "ovh:index/cloudProjectKube:CloudProjectKube": + r = &CloudProjectKube{} + case "ovh:index/cloudProjectKubeIprestrictions:CloudProjectKubeIprestrictions": + r = &CloudProjectKubeIprestrictions{} + case "ovh:index/cloudProjectKubeNodepool:CloudProjectKubeNodepool": + r = &CloudProjectKubeNodepool{} + case "ovh:index/cloudProjectKubeOidc:CloudProjectKubeOidc": + r = &CloudProjectKubeOidc{} + case "ovh:index/cloudProjectNetworkPrivate:CloudProjectNetworkPrivate": + r = &CloudProjectNetworkPrivate{} + case "ovh:index/cloudProjectNetworkPrivateSubnet:CloudProjectNetworkPrivateSubnet": + r = &CloudProjectNetworkPrivateSubnet{} + case "ovh:index/cloudProjectRegionLoadbalancerLogSubscription:CloudProjectRegionLoadbalancerLogSubscription": + r = &CloudProjectRegionLoadbalancerLogSubscription{} + case "ovh:index/cloudProjectRegionStoragePresign:CloudProjectRegionStoragePresign": + r = &CloudProjectRegionStoragePresign{} + case "ovh:index/cloudProjectUser:CloudProjectUser": + r = &CloudProjectUser{} + case "ovh:index/cloudProjectUserS3Credential:CloudProjectUserS3Credential": + r = &CloudProjectUserS3Credential{} + case "ovh:index/cloudProjectUserS3Policy:CloudProjectUserS3Policy": + r = &CloudProjectUserS3Policy{} + case "ovh:index/cloudProjectWorkflowBackup:CloudProjectWorkflowBackup": + r = &CloudProjectWorkflowBackup{} + case "ovh:index/dbaasLogsCluster:DbaasLogsCluster": + r = &DbaasLogsCluster{} + case "ovh:index/dbaasLogsInput:DbaasLogsInput": + r = &DbaasLogsInput{} + case "ovh:index/dbaasLogsOutputGraylogStream:DbaasLogsOutputGraylogStream": + r = &DbaasLogsOutputGraylogStream{} + case "ovh:index/dbaasLogsToken:DbaasLogsToken": + r = &DbaasLogsToken{} + case "ovh:index/dedicatedCephAcl:DedicatedCephAcl": + r = &DedicatedCephAcl{} + case "ovh:index/dedicatedNashaPartition:DedicatedNashaPartition": + r = &DedicatedNashaPartition{} + case "ovh:index/dedicatedNashaPartitionAccess:DedicatedNashaPartitionAccess": + r = &DedicatedNashaPartitionAccess{} + case "ovh:index/dedicatedNashaPartitionSnapshot:DedicatedNashaPartitionSnapshot": + r = &DedicatedNashaPartitionSnapshot{} + case "ovh:index/dedicatedServerInstallTask:DedicatedServerInstallTask": + r = &DedicatedServerInstallTask{} + case "ovh:index/dedicatedServerNetworking:DedicatedServerNetworking": + r = &DedicatedServerNetworking{} + case "ovh:index/dedicatedServerRebootTask:DedicatedServerRebootTask": + r = &DedicatedServerRebootTask{} + case "ovh:index/dedicatedServerUpdate:DedicatedServerUpdate": + r = &DedicatedServerUpdate{} + case "ovh:index/domainZone:DomainZone": + r = &DomainZone{} + case "ovh:index/domainZoneDnssec:DomainZoneDnssec": + r = &DomainZoneDnssec{} + case "ovh:index/domainZoneRecord:DomainZoneRecord": + r = &DomainZoneRecord{} + case "ovh:index/domainZoneRedirection:DomainZoneRedirection": + r = &DomainZoneRedirection{} + case "ovh:index/hostingPrivatedatabase:HostingPrivatedatabase": + r = &HostingPrivatedatabase{} + case "ovh:index/hostingPrivatedatabaseDatabase:HostingPrivatedatabaseDatabase": + r = &HostingPrivatedatabaseDatabase{} + case "ovh:index/hostingPrivatedatabaseUser:HostingPrivatedatabaseUser": + r = &HostingPrivatedatabaseUser{} + case "ovh:index/hostingPrivatedatabaseUserGrant:HostingPrivatedatabaseUserGrant": + r = &HostingPrivatedatabaseUserGrant{} + case "ovh:index/hostingPrivatedatabaseWhitelist:HostingPrivatedatabaseWhitelist": + r = &HostingPrivatedatabaseWhitelist{} + case "ovh:index/iamPermissionsGroup:IamPermissionsGroup": + r = &IamPermissionsGroup{} + case "ovh:index/iamPolicy:IamPolicy": + r = &IamPolicy{} + case "ovh:index/iamResourceGroup:IamResourceGroup": + r = &IamResourceGroup{} + case "ovh:index/ipFirewall:IpFirewall": + r = &IpFirewall{} + case "ovh:index/ipFirewallRule:IpFirewallRule": + r = &IpFirewallRule{} + case "ovh:index/ipMitigation:IpMitigation": + r = &IpMitigation{} + case "ovh:index/ipMove:IpMove": + r = &IpMove{} + case "ovh:index/ipReverse:IpReverse": + r = &IpReverse{} + case "ovh:index/ipService:IpService": + r = &IpService{} + case "ovh:index/iploadbalancing:Iploadbalancing": + r = &Iploadbalancing{} + case "ovh:index/iploadbalancingHttpFarm:IploadbalancingHttpFarm": + r = &IploadbalancingHttpFarm{} + case "ovh:index/iploadbalancingHttpFarmServer:IploadbalancingHttpFarmServer": + r = &IploadbalancingHttpFarmServer{} + case "ovh:index/iploadbalancingHttpFrontend:IploadbalancingHttpFrontend": + r = &IploadbalancingHttpFrontend{} + case "ovh:index/iploadbalancingHttpRoute:IploadbalancingHttpRoute": + r = &IploadbalancingHttpRoute{} + case "ovh:index/iploadbalancingHttpRouteRule:IploadbalancingHttpRouteRule": + r = &IploadbalancingHttpRouteRule{} + case "ovh:index/iploadbalancingRefresh:IploadbalancingRefresh": + r = &IploadbalancingRefresh{} + case "ovh:index/iploadbalancingTcpFarm:IploadbalancingTcpFarm": + r = &IploadbalancingTcpFarm{} + case "ovh:index/iploadbalancingTcpFarmServer:IploadbalancingTcpFarmServer": + r = &IploadbalancingTcpFarmServer{} + case "ovh:index/iploadbalancingTcpFrontend:IploadbalancingTcpFrontend": + r = &IploadbalancingTcpFrontend{} + case "ovh:index/iploadbalancingTcpRoute:IploadbalancingTcpRoute": + r = &IploadbalancingTcpRoute{} + case "ovh:index/iploadbalancingTcpRouteRule:IploadbalancingTcpRouteRule": + r = &IploadbalancingTcpRouteRule{} + case "ovh:index/iploadbalancingUdpFrontend:IploadbalancingUdpFrontend": + r = &IploadbalancingUdpFrontend{} + case "ovh:index/iploadbalancingVrackNetwork:IploadbalancingVrackNetwork": + r = &IploadbalancingVrackNetwork{} + case "ovh:index/meApiOauth2Client:MeApiOauth2Client": + r = &MeApiOauth2Client{} + case "ovh:index/meIdentityGroup:MeIdentityGroup": + r = &MeIdentityGroup{} + case "ovh:index/meIdentityUser:MeIdentityUser": + r = &MeIdentityUser{} + case "ovh:index/meInstallationTemplate:MeInstallationTemplate": + r = &MeInstallationTemplate{} + case "ovh:index/meInstallationTemplatePartitionScheme:MeInstallationTemplatePartitionScheme": + r = &MeInstallationTemplatePartitionScheme{} + case "ovh:index/meInstallationTemplatePartitionSchemeHardwareRaid:MeInstallationTemplatePartitionSchemeHardwareRaid": + r = &MeInstallationTemplatePartitionSchemeHardwareRaid{} + case "ovh:index/meInstallationTemplatePartitionSchemePartition:MeInstallationTemplatePartitionSchemePartition": + r = &MeInstallationTemplatePartitionSchemePartition{} + case "ovh:index/vps:Vps": + r = &Vps{} + case "ovh:index/vrack:Vrack": + r = &Vrack{} + case "ovh:index/vrackCloudproject:VrackCloudproject": + r = &VrackCloudproject{} + case "ovh:index/vrackDedicatedServer:VrackDedicatedServer": + r = &VrackDedicatedServer{} + case "ovh:index/vrackDedicatedServerInterface:VrackDedicatedServerInterface": + r = &VrackDedicatedServerInterface{} + case "ovh:index/vrackIp:VrackIp": + r = &VrackIp{} + case "ovh:index/vrackIploadbalancing:VrackIploadbalancing": + r = &VrackIploadbalancing{} + default: + return nil, fmt.Errorf("unknown resource type: %s", typ) + } + + err = ctx.RegisterResource(typ, name, nil, r, pulumi.URN_(urn)) + return +} + +type pkg struct { + version semver.Version +} + +func (p *pkg) Version() semver.Version { + return p.version +} + +func (p *pkg) ConstructProvider(ctx *pulumi.Context, name, typ, urn string) (pulumi.ProviderResource, error) { + if typ != "pulumi:providers:ovh" { + return nil, fmt.Errorf("unknown provider type: %s", typ) + } + + r := &Provider{} + err := ctx.RegisterResource(typ, name, nil, r, pulumi.URN_(urn)) + return r, err +} + +func init() { + version, err := internal.PkgVersion() + if err != nil { + version = semver.Version{Major: 1} + } + pulumi.RegisterResourceModule( + "ovh", + "index/cloudProject", + &module{version}, + ) + pulumi.RegisterResourceModule( + "ovh", + "index/cloudProjectAlerting", + &module{version}, + ) + pulumi.RegisterResourceModule( + "ovh", + "index/cloudProjectContainerregistry", + &module{version}, + ) + pulumi.RegisterResourceModule( + "ovh", + "index/cloudProjectContainerregistryIpRestrictionsManagement", + &module{version}, + ) + pulumi.RegisterResourceModule( + "ovh", + "index/cloudProjectContainerregistryIpRestrictionsRegistry", + &module{version}, + ) + pulumi.RegisterResourceModule( + "ovh", + "index/cloudProjectContainerregistryOidc", + &module{version}, + ) + pulumi.RegisterResourceModule( + "ovh", + "index/cloudProjectContainerregistryUser", + &module{version}, + ) + pulumi.RegisterResourceModule( + "ovh", + "index/cloudProjectDatabase", + &module{version}, + ) + pulumi.RegisterResourceModule( + "ovh", + "index/cloudProjectDatabaseDatabase", + &module{version}, + ) + pulumi.RegisterResourceModule( + "ovh", + "index/cloudProjectDatabaseIntegration", + &module{version}, + ) + pulumi.RegisterResourceModule( + "ovh", + "index/cloudProjectDatabaseIpRestriction", + &module{version}, + ) + pulumi.RegisterResourceModule( + "ovh", + "index/cloudProjectDatabaseKafkaAcl", + &module{version}, + ) + pulumi.RegisterResourceModule( + "ovh", + "index/cloudProjectDatabaseKafkaSchemaregistryacl", + &module{version}, + ) + pulumi.RegisterResourceModule( + "ovh", + "index/cloudProjectDatabaseKafkaTopic", + &module{version}, + ) + pulumi.RegisterResourceModule( + "ovh", + "index/cloudProjectDatabaseLogSubscription", + &module{version}, + ) + pulumi.RegisterResourceModule( + "ovh", + "index/cloudProjectDatabaseM3dbNamespace", + &module{version}, + ) + pulumi.RegisterResourceModule( + "ovh", + "index/cloudProjectDatabaseM3dbUser", + &module{version}, + ) + pulumi.RegisterResourceModule( + "ovh", + "index/cloudProjectDatabaseMongodbUser", + &module{version}, + ) + pulumi.RegisterResourceModule( + "ovh", + "index/cloudProjectDatabaseOpensearchPattern", + &module{version}, + ) + pulumi.RegisterResourceModule( + "ovh", + "index/cloudProjectDatabaseOpensearchUser", + &module{version}, + ) + pulumi.RegisterResourceModule( + "ovh", + "index/cloudProjectDatabasePostgresqlConnectionPool", + &module{version}, + ) + pulumi.RegisterResourceModule( + "ovh", + "index/cloudProjectDatabasePostgresqlUser", + &module{version}, + ) + pulumi.RegisterResourceModule( + "ovh", + "index/cloudProjectDatabaseRedisUser", + &module{version}, + ) + pulumi.RegisterResourceModule( + "ovh", + "index/cloudProjectDatabaseUser", + &module{version}, + ) + pulumi.RegisterResourceModule( + "ovh", + "index/cloudProjectFailoverIpAttach", + &module{version}, + ) + pulumi.RegisterResourceModule( + "ovh", + "index/cloudProjectGateway", + &module{version}, + ) + pulumi.RegisterResourceModule( + "ovh", + "index/cloudProjectGatewayInterface", + &module{version}, + ) + pulumi.RegisterResourceModule( + "ovh", + "index/cloudProjectKube", + &module{version}, + ) + pulumi.RegisterResourceModule( + "ovh", + "index/cloudProjectKubeIprestrictions", + &module{version}, + ) + pulumi.RegisterResourceModule( + "ovh", + "index/cloudProjectKubeNodepool", + &module{version}, + ) + pulumi.RegisterResourceModule( + "ovh", + "index/cloudProjectKubeOidc", + &module{version}, + ) + pulumi.RegisterResourceModule( + "ovh", + "index/cloudProjectNetworkPrivate", + &module{version}, + ) + pulumi.RegisterResourceModule( + "ovh", + "index/cloudProjectNetworkPrivateSubnet", + &module{version}, + ) + pulumi.RegisterResourceModule( + "ovh", + "index/cloudProjectRegionLoadbalancerLogSubscription", + &module{version}, + ) + pulumi.RegisterResourceModule( + "ovh", + "index/cloudProjectRegionStoragePresign", + &module{version}, + ) + pulumi.RegisterResourceModule( + "ovh", + "index/cloudProjectUser", + &module{version}, + ) + pulumi.RegisterResourceModule( + "ovh", + "index/cloudProjectUserS3Credential", + &module{version}, + ) + pulumi.RegisterResourceModule( + "ovh", + "index/cloudProjectUserS3Policy", + &module{version}, + ) + pulumi.RegisterResourceModule( + "ovh", + "index/cloudProjectWorkflowBackup", + &module{version}, + ) + pulumi.RegisterResourceModule( + "ovh", + "index/dbaasLogsCluster", + &module{version}, + ) + pulumi.RegisterResourceModule( + "ovh", + "index/dbaasLogsInput", + &module{version}, + ) + pulumi.RegisterResourceModule( + "ovh", + "index/dbaasLogsOutputGraylogStream", + &module{version}, + ) + pulumi.RegisterResourceModule( + "ovh", + "index/dbaasLogsToken", + &module{version}, + ) + pulumi.RegisterResourceModule( + "ovh", + "index/dedicatedCephAcl", + &module{version}, + ) + pulumi.RegisterResourceModule( + "ovh", + "index/dedicatedNashaPartition", + &module{version}, + ) + pulumi.RegisterResourceModule( + "ovh", + "index/dedicatedNashaPartitionAccess", + &module{version}, + ) + pulumi.RegisterResourceModule( + "ovh", + "index/dedicatedNashaPartitionSnapshot", + &module{version}, + ) + pulumi.RegisterResourceModule( + "ovh", + "index/dedicatedServerInstallTask", + &module{version}, + ) + pulumi.RegisterResourceModule( + "ovh", + "index/dedicatedServerNetworking", + &module{version}, + ) + pulumi.RegisterResourceModule( + "ovh", + "index/dedicatedServerRebootTask", + &module{version}, + ) + pulumi.RegisterResourceModule( + "ovh", + "index/dedicatedServerUpdate", + &module{version}, + ) + pulumi.RegisterResourceModule( + "ovh", + "index/domainZone", + &module{version}, + ) + pulumi.RegisterResourceModule( + "ovh", + "index/domainZoneDnssec", + &module{version}, + ) + pulumi.RegisterResourceModule( + "ovh", + "index/domainZoneRecord", + &module{version}, + ) + pulumi.RegisterResourceModule( + "ovh", + "index/domainZoneRedirection", + &module{version}, + ) + pulumi.RegisterResourceModule( + "ovh", + "index/hostingPrivatedatabase", + &module{version}, + ) + pulumi.RegisterResourceModule( + "ovh", + "index/hostingPrivatedatabaseDatabase", + &module{version}, + ) + pulumi.RegisterResourceModule( + "ovh", + "index/hostingPrivatedatabaseUser", + &module{version}, + ) + pulumi.RegisterResourceModule( + "ovh", + "index/hostingPrivatedatabaseUserGrant", + &module{version}, + ) + pulumi.RegisterResourceModule( + "ovh", + "index/hostingPrivatedatabaseWhitelist", + &module{version}, + ) + pulumi.RegisterResourceModule( + "ovh", + "index/iamPermissionsGroup", + &module{version}, + ) + pulumi.RegisterResourceModule( + "ovh", + "index/iamPolicy", + &module{version}, + ) + pulumi.RegisterResourceModule( + "ovh", + "index/iamResourceGroup", + &module{version}, + ) + pulumi.RegisterResourceModule( + "ovh", + "index/ipFirewall", + &module{version}, + ) + pulumi.RegisterResourceModule( + "ovh", + "index/ipFirewallRule", + &module{version}, + ) + pulumi.RegisterResourceModule( + "ovh", + "index/ipMitigation", + &module{version}, + ) + pulumi.RegisterResourceModule( + "ovh", + "index/ipMove", + &module{version}, + ) + pulumi.RegisterResourceModule( + "ovh", + "index/ipReverse", + &module{version}, + ) + pulumi.RegisterResourceModule( + "ovh", + "index/ipService", + &module{version}, + ) + pulumi.RegisterResourceModule( + "ovh", + "index/iploadbalancing", + &module{version}, + ) + pulumi.RegisterResourceModule( + "ovh", + "index/iploadbalancingHttpFarm", + &module{version}, + ) + pulumi.RegisterResourceModule( + "ovh", + "index/iploadbalancingHttpFarmServer", + &module{version}, + ) + pulumi.RegisterResourceModule( + "ovh", + "index/iploadbalancingHttpFrontend", + &module{version}, + ) + pulumi.RegisterResourceModule( + "ovh", + "index/iploadbalancingHttpRoute", + &module{version}, + ) + pulumi.RegisterResourceModule( + "ovh", + "index/iploadbalancingHttpRouteRule", + &module{version}, + ) + pulumi.RegisterResourceModule( + "ovh", + "index/iploadbalancingRefresh", + &module{version}, + ) + pulumi.RegisterResourceModule( + "ovh", + "index/iploadbalancingTcpFarm", + &module{version}, + ) + pulumi.RegisterResourceModule( + "ovh", + "index/iploadbalancingTcpFarmServer", + &module{version}, + ) + pulumi.RegisterResourceModule( + "ovh", + "index/iploadbalancingTcpFrontend", + &module{version}, + ) + pulumi.RegisterResourceModule( + "ovh", + "index/iploadbalancingTcpRoute", + &module{version}, + ) + pulumi.RegisterResourceModule( + "ovh", + "index/iploadbalancingTcpRouteRule", + &module{version}, + ) + pulumi.RegisterResourceModule( + "ovh", + "index/iploadbalancingUdpFrontend", + &module{version}, + ) + pulumi.RegisterResourceModule( + "ovh", + "index/iploadbalancingVrackNetwork", + &module{version}, + ) + pulumi.RegisterResourceModule( + "ovh", + "index/meApiOauth2Client", + &module{version}, + ) + pulumi.RegisterResourceModule( + "ovh", + "index/meIdentityGroup", + &module{version}, + ) + pulumi.RegisterResourceModule( + "ovh", + "index/meIdentityUser", + &module{version}, + ) + pulumi.RegisterResourceModule( + "ovh", + "index/meInstallationTemplate", + &module{version}, + ) + pulumi.RegisterResourceModule( + "ovh", + "index/meInstallationTemplatePartitionScheme", + &module{version}, + ) + pulumi.RegisterResourceModule( + "ovh", + "index/meInstallationTemplatePartitionSchemeHardwareRaid", + &module{version}, + ) + pulumi.RegisterResourceModule( + "ovh", + "index/meInstallationTemplatePartitionSchemePartition", + &module{version}, + ) + pulumi.RegisterResourceModule( + "ovh", + "index/vps", + &module{version}, + ) + pulumi.RegisterResourceModule( + "ovh", + "index/vrack", + &module{version}, + ) + pulumi.RegisterResourceModule( + "ovh", + "index/vrackCloudproject", + &module{version}, + ) + pulumi.RegisterResourceModule( + "ovh", + "index/vrackDedicatedServer", + &module{version}, + ) + pulumi.RegisterResourceModule( + "ovh", + "index/vrackDedicatedServerInterface", + &module{version}, + ) + pulumi.RegisterResourceModule( + "ovh", + "index/vrackIp", + &module{version}, + ) + pulumi.RegisterResourceModule( + "ovh", + "index/vrackIploadbalancing", + &module{version}, + ) + pulumi.RegisterResourcePackage( + "ovh", + &pkg{version}, + ) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/internal/pulumiUtilities.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/internal/pulumiUtilities.go new file mode 100644 index 00000000..b55764cf --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/internal/pulumiUtilities.go @@ -0,0 +1,216 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package internal + +import ( + "encoding/base64" + "fmt" + "os" + "reflect" + "regexp" + "strconv" + "strings" + + "github.com/blang/semver" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + pulumirpc "github.com/pulumi/pulumi/sdk/v3/proto/go" +) + +import ( + "github.com/pulumi/pulumi/sdk/v3/go/pulumi/internals" +) + +type envParser func(v string) interface{} + +func ParseEnvBool(v string) interface{} { + b, err := strconv.ParseBool(v) + if err != nil { + return nil + } + return b +} + +func ParseEnvInt(v string) interface{} { + i, err := strconv.ParseInt(v, 0, 0) + if err != nil { + return nil + } + return int(i) +} + +func ParseEnvFloat(v string) interface{} { + f, err := strconv.ParseFloat(v, 64) + if err != nil { + return nil + } + return f +} + +func ParseEnvStringArray(v string) interface{} { + var result pulumi.StringArray + for _, item := range strings.Split(v, ";") { + result = append(result, pulumi.String(item)) + } + return result +} + +func GetEnvOrDefault(def interface{}, parser envParser, vars ...string) interface{} { + for _, v := range vars { + if value, ok := os.LookupEnv(v); ok { + if parser != nil { + return parser(value) + } + return value + } + } + return def +} + +// PkgVersion uses reflection to determine the version of the current package. +// If a version cannot be determined, v1 will be assumed. The second return +// value is always nil. +func PkgVersion() (semver.Version, error) { + // emptyVersion defaults to v0.0.0 + if !SdkVersion.Equals(semver.Version{}) { + return SdkVersion, nil + } + type sentinal struct{} + pkgPath := reflect.TypeOf(sentinal{}).PkgPath() + re := regexp.MustCompile("^github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh(/v\\d+)?") + if match := re.FindStringSubmatch(pkgPath); match != nil { + vStr := match[1] + if len(vStr) == 0 { // If the version capture group was empty, default to v1. + return semver.Version{Major: 1}, nil + } + return semver.MustParse(fmt.Sprintf("%s.0.0", vStr[2:])), nil + } + return semver.Version{Major: 1}, nil +} + +// isZero is a null safe check for if a value is it's types zero value. +func IsZero(v interface{}) bool { + if v == nil { + return true + } + return reflect.ValueOf(v).IsZero() +} + +func CallPlain( + ctx *pulumi.Context, + tok string, + args pulumi.Input, + output pulumi.Output, + self pulumi.Resource, + property string, + resultPtr reflect.Value, + errorPtr *error, + opts ...pulumi.InvokeOption, +) { + res, err := callPlainInner(ctx, tok, args, output, self, opts...) + if err != nil { + *errorPtr = err + return + } + + v := reflect.ValueOf(res) + + // extract res.property field if asked to do so + if property != "" { + v = v.FieldByName("Res") + } + + // return by setting the result pointer; this style of returns shortens the generated code without generics + resultPtr.Elem().Set(v) +} + +func callPlainInner( + ctx *pulumi.Context, + tok string, + args pulumi.Input, + output pulumi.Output, + self pulumi.Resource, + opts ...pulumi.InvokeOption, +) (any, error) { + o, err := ctx.Call(tok, args, output, self, opts...) + if err != nil { + return nil, err + } + + outputData, err := internals.UnsafeAwaitOutput(ctx.Context(), o) + if err != nil { + return nil, err + } + + // Ingoring deps silently. They are typically non-empty, r.f() calls include r as a dependency. + known := outputData.Known + value := outputData.Value + secret := outputData.Secret + + problem := "" + if !known { + problem = "an unknown value" + } else if secret { + problem = "a secret value" + } + + if problem != "" { + return nil, fmt.Errorf("Plain resource method %q incorrectly returned %s. "+ + "This is an error in the provider, please report this to the provider developer.", + tok, problem) + } + + return value, nil +} + +var packageRef *string + +// PkgGetPackageRef returns the package reference for the current package. +func PkgGetPackageRef(ctx *pulumi.Context) (string, error) { + if packageRef == nil { + + parameter, err := base64.StdEncoding.DecodeString("eyJyZW1vdGUiOnsidXJsIjoicmVnaXN0cnkub3BlbnRvZnUub3JnL292aC9vdmgiLCJ2ZXJzaW9uIjoiMC40OC4wIn19") + if err != nil { + return "", err + } + + resp, err := ctx.RegisterPackage(&pulumirpc.RegisterPackageRequest{ + Name: "terraform-provider", + Version: "0.1.0", + DownloadUrl: "", + Parameterization: &pulumirpc.Parameterization{ + Name: "ovh", + Version: "0.48.0", + Value: parameter, + }, + }) + if err != nil { + return "", err + } + packageRef = &resp.Ref + } + + return *packageRef, nil +} + +// PkgResourceDefaultOpts provides package level defaults to pulumi.OptionResource. +func PkgResourceDefaultOpts(opts []pulumi.ResourceOption) []pulumi.ResourceOption { + defaults := []pulumi.ResourceOption{} + + version := semver.MustParse("0.48.0") + if !version.Equals(semver.Version{}) { + defaults = append(defaults, pulumi.Version(version.String())) + } + return append(defaults, opts...) +} + +// PkgInvokeDefaultOpts provides package level defaults to pulumi.OptionInvoke. +func PkgInvokeDefaultOpts(opts []pulumi.InvokeOption) []pulumi.InvokeOption { + defaults := []pulumi.InvokeOption{} + + version := semver.MustParse("0.48.0") + if !version.Equals(semver.Version{}) { + defaults = append(defaults, pulumi.Version(version.String())) + } + return append(defaults, opts...) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/internal/pulumiVersion.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/internal/pulumiVersion.go new file mode 100644 index 00000000..4ad7cb87 --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/internal/pulumiVersion.go @@ -0,0 +1,11 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package internal + +import ( + "github.com/blang/semver" +) + +var SdkVersion semver.Version = semver.Version{} +var pluginDownloadURL string = "" diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/ipFirewall.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/ipFirewall.go new file mode 100644 index 00000000..584290c2 --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/ipFirewall.go @@ -0,0 +1,170 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type IpFirewall struct { + pulumi.CustomResourceState + + Enabled pulumi.BoolOutput `pulumi:"enabled"` + // IP (v4 or v6) CIDR notation (e.g., 192.0.2.0/24) + Ip pulumi.StringOutput `pulumi:"ip"` + // IPv4 address (e.g., 192.0.2.0) + IpOnFirewall pulumi.StringOutput `pulumi:"ipOnFirewall"` + // Current state of your ip on firewall + State pulumi.StringOutput `pulumi:"state"` +} + +// NewIpFirewall registers a new resource with the given unique name, arguments, and options. +func NewIpFirewall(ctx *pulumi.Context, + name string, args *IpFirewallArgs, opts ...pulumi.ResourceOption) (*IpFirewall, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.Ip == nil { + return nil, errors.New("invalid value for required argument 'Ip'") + } + if args.IpOnFirewall == nil { + return nil, errors.New("invalid value for required argument 'IpOnFirewall'") + } + opts = internal.PkgResourceDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var resource IpFirewall + err = ctx.RegisterPackageResource("ovh:index/ipFirewall:IpFirewall", name, args, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetIpFirewall gets an existing IpFirewall resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetIpFirewall(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *IpFirewallState, opts ...pulumi.ResourceOption) (*IpFirewall, error) { + var resource IpFirewall + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + err = ctx.ReadPackageResource("ovh:index/ipFirewall:IpFirewall", name, id, state, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering IpFirewall resources. +type ipFirewallState struct { + Enabled *bool `pulumi:"enabled"` + // IP (v4 or v6) CIDR notation (e.g., 192.0.2.0/24) + Ip *string `pulumi:"ip"` + // IPv4 address (e.g., 192.0.2.0) + IpOnFirewall *string `pulumi:"ipOnFirewall"` + // Current state of your ip on firewall + State *string `pulumi:"state"` +} + +type IpFirewallState struct { + Enabled pulumi.BoolPtrInput + // IP (v4 or v6) CIDR notation (e.g., 192.0.2.0/24) + Ip pulumi.StringPtrInput + // IPv4 address (e.g., 192.0.2.0) + IpOnFirewall pulumi.StringPtrInput + // Current state of your ip on firewall + State pulumi.StringPtrInput +} + +func (IpFirewallState) ElementType() reflect.Type { + return reflect.TypeOf((*ipFirewallState)(nil)).Elem() +} + +type ipFirewallArgs struct { + Enabled *bool `pulumi:"enabled"` + // IP (v4 or v6) CIDR notation (e.g., 192.0.2.0/24) + Ip string `pulumi:"ip"` + // IPv4 address (e.g., 192.0.2.0) + IpOnFirewall string `pulumi:"ipOnFirewall"` +} + +// The set of arguments for constructing a IpFirewall resource. +type IpFirewallArgs struct { + Enabled pulumi.BoolPtrInput + // IP (v4 or v6) CIDR notation (e.g., 192.0.2.0/24) + Ip pulumi.StringInput + // IPv4 address (e.g., 192.0.2.0) + IpOnFirewall pulumi.StringInput +} + +func (IpFirewallArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ipFirewallArgs)(nil)).Elem() +} + +type IpFirewallInput interface { + pulumi.Input + + ToIpFirewallOutput() IpFirewallOutput + ToIpFirewallOutputWithContext(ctx context.Context) IpFirewallOutput +} + +func (*IpFirewall) ElementType() reflect.Type { + return reflect.TypeOf((**IpFirewall)(nil)).Elem() +} + +func (i *IpFirewall) ToIpFirewallOutput() IpFirewallOutput { + return i.ToIpFirewallOutputWithContext(context.Background()) +} + +func (i *IpFirewall) ToIpFirewallOutputWithContext(ctx context.Context) IpFirewallOutput { + return pulumi.ToOutputWithContext(ctx, i).(IpFirewallOutput) +} + +type IpFirewallOutput struct{ *pulumi.OutputState } + +func (IpFirewallOutput) ElementType() reflect.Type { + return reflect.TypeOf((**IpFirewall)(nil)).Elem() +} + +func (o IpFirewallOutput) ToIpFirewallOutput() IpFirewallOutput { + return o +} + +func (o IpFirewallOutput) ToIpFirewallOutputWithContext(ctx context.Context) IpFirewallOutput { + return o +} + +func (o IpFirewallOutput) Enabled() pulumi.BoolOutput { + return o.ApplyT(func(v *IpFirewall) pulumi.BoolOutput { return v.Enabled }).(pulumi.BoolOutput) +} + +// IP (v4 or v6) CIDR notation (e.g., 192.0.2.0/24) +func (o IpFirewallOutput) Ip() pulumi.StringOutput { + return o.ApplyT(func(v *IpFirewall) pulumi.StringOutput { return v.Ip }).(pulumi.StringOutput) +} + +// IPv4 address (e.g., 192.0.2.0) +func (o IpFirewallOutput) IpOnFirewall() pulumi.StringOutput { + return o.ApplyT(func(v *IpFirewall) pulumi.StringOutput { return v.IpOnFirewall }).(pulumi.StringOutput) +} + +// Current state of your ip on firewall +func (o IpFirewallOutput) State() pulumi.StringOutput { + return o.ApplyT(func(v *IpFirewall) pulumi.StringOutput { return v.State }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*IpFirewallInput)(nil)).Elem(), &IpFirewall{}) + pulumi.RegisterOutputType(IpFirewallOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/ipFirewallRule.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/ipFirewallRule.go new file mode 100644 index 00000000..64358828 --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/ipFirewallRule.go @@ -0,0 +1,337 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type IpFirewallRule struct { + pulumi.CustomResourceState + + // Possible values for action + Action pulumi.StringOutput `pulumi:"action"` + CreationDate pulumi.StringOutput `pulumi:"creationDate"` + // Destination ip for your rule + Destination pulumi.StringOutput `pulumi:"destination"` + // Destination port for your rule. Only with TCP/UDP protocol + DestinationPort pulumi.Float64Output `pulumi:"destinationPort"` + // Destination port range for your rule. Only with TCP/UDP protocol + DestinationPortDesc pulumi.StringOutput `pulumi:"destinationPortDesc"` + // Fragments option + Fragments pulumi.BoolOutput `pulumi:"fragments"` + // IP (v4 or v6) CIDR notation (e.g., 192.0.2.0/24) + Ip pulumi.StringOutput `pulumi:"ip"` + // IPv4 address (e.g., 192.0.2.0) + IpOnFirewall pulumi.StringOutput `pulumi:"ipOnFirewall"` + // Possible values for protocol + Protocol pulumi.StringOutput `pulumi:"protocol"` + Rule pulumi.StringOutput `pulumi:"rule"` + // Possible values for action + Sequence pulumi.Float64Output `pulumi:"sequence"` + // IPv4 CIDR notation (e.g., 192.0.2.0/24) + Source pulumi.StringOutput `pulumi:"source"` + // Source port for your rule. Only with TCP/UDP protocol + SourcePort pulumi.Float64Output `pulumi:"sourcePort"` + // Source port for your rule. Only with TCP/UDP protocol + SourcePortDesc pulumi.StringOutput `pulumi:"sourcePortDesc"` + // Current state of your rule + State pulumi.StringOutput `pulumi:"state"` + // TCP option on your rule + TcpOption pulumi.StringOutput `pulumi:"tcpOption"` +} + +// NewIpFirewallRule registers a new resource with the given unique name, arguments, and options. +func NewIpFirewallRule(ctx *pulumi.Context, + name string, args *IpFirewallRuleArgs, opts ...pulumi.ResourceOption) (*IpFirewallRule, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.Action == nil { + return nil, errors.New("invalid value for required argument 'Action'") + } + if args.Ip == nil { + return nil, errors.New("invalid value for required argument 'Ip'") + } + if args.IpOnFirewall == nil { + return nil, errors.New("invalid value for required argument 'IpOnFirewall'") + } + if args.Protocol == nil { + return nil, errors.New("invalid value for required argument 'Protocol'") + } + if args.Sequence == nil { + return nil, errors.New("invalid value for required argument 'Sequence'") + } + opts = internal.PkgResourceDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var resource IpFirewallRule + err = ctx.RegisterPackageResource("ovh:index/ipFirewallRule:IpFirewallRule", name, args, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetIpFirewallRule gets an existing IpFirewallRule resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetIpFirewallRule(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *IpFirewallRuleState, opts ...pulumi.ResourceOption) (*IpFirewallRule, error) { + var resource IpFirewallRule + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + err = ctx.ReadPackageResource("ovh:index/ipFirewallRule:IpFirewallRule", name, id, state, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering IpFirewallRule resources. +type ipFirewallRuleState struct { + // Possible values for action + Action *string `pulumi:"action"` + CreationDate *string `pulumi:"creationDate"` + // Destination ip for your rule + Destination *string `pulumi:"destination"` + // Destination port for your rule. Only with TCP/UDP protocol + DestinationPort *float64 `pulumi:"destinationPort"` + // Destination port range for your rule. Only with TCP/UDP protocol + DestinationPortDesc *string `pulumi:"destinationPortDesc"` + // Fragments option + Fragments *bool `pulumi:"fragments"` + // IP (v4 or v6) CIDR notation (e.g., 192.0.2.0/24) + Ip *string `pulumi:"ip"` + // IPv4 address (e.g., 192.0.2.0) + IpOnFirewall *string `pulumi:"ipOnFirewall"` + // Possible values for protocol + Protocol *string `pulumi:"protocol"` + Rule *string `pulumi:"rule"` + // Possible values for action + Sequence *float64 `pulumi:"sequence"` + // IPv4 CIDR notation (e.g., 192.0.2.0/24) + Source *string `pulumi:"source"` + // Source port for your rule. Only with TCP/UDP protocol + SourcePort *float64 `pulumi:"sourcePort"` + // Source port for your rule. Only with TCP/UDP protocol + SourcePortDesc *string `pulumi:"sourcePortDesc"` + // Current state of your rule + State *string `pulumi:"state"` + // TCP option on your rule + TcpOption *string `pulumi:"tcpOption"` +} + +type IpFirewallRuleState struct { + // Possible values for action + Action pulumi.StringPtrInput + CreationDate pulumi.StringPtrInput + // Destination ip for your rule + Destination pulumi.StringPtrInput + // Destination port for your rule. Only with TCP/UDP protocol + DestinationPort pulumi.Float64PtrInput + // Destination port range for your rule. Only with TCP/UDP protocol + DestinationPortDesc pulumi.StringPtrInput + // Fragments option + Fragments pulumi.BoolPtrInput + // IP (v4 or v6) CIDR notation (e.g., 192.0.2.0/24) + Ip pulumi.StringPtrInput + // IPv4 address (e.g., 192.0.2.0) + IpOnFirewall pulumi.StringPtrInput + // Possible values for protocol + Protocol pulumi.StringPtrInput + Rule pulumi.StringPtrInput + // Possible values for action + Sequence pulumi.Float64PtrInput + // IPv4 CIDR notation (e.g., 192.0.2.0/24) + Source pulumi.StringPtrInput + // Source port for your rule. Only with TCP/UDP protocol + SourcePort pulumi.Float64PtrInput + // Source port for your rule. Only with TCP/UDP protocol + SourcePortDesc pulumi.StringPtrInput + // Current state of your rule + State pulumi.StringPtrInput + // TCP option on your rule + TcpOption pulumi.StringPtrInput +} + +func (IpFirewallRuleState) ElementType() reflect.Type { + return reflect.TypeOf((*ipFirewallRuleState)(nil)).Elem() +} + +type ipFirewallRuleArgs struct { + // Possible values for action + Action string `pulumi:"action"` + // Destination port for your rule. Only with TCP/UDP protocol + DestinationPort *float64 `pulumi:"destinationPort"` + // Fragments option + Fragments *bool `pulumi:"fragments"` + // IP (v4 or v6) CIDR notation (e.g., 192.0.2.0/24) + Ip string `pulumi:"ip"` + // IPv4 address (e.g., 192.0.2.0) + IpOnFirewall string `pulumi:"ipOnFirewall"` + // Possible values for protocol + Protocol string `pulumi:"protocol"` + // Possible values for action + Sequence float64 `pulumi:"sequence"` + // IPv4 CIDR notation (e.g., 192.0.2.0/24) + Source *string `pulumi:"source"` + // Source port for your rule. Only with TCP/UDP protocol + SourcePort *float64 `pulumi:"sourcePort"` + // TCP option on your rule + TcpOption *string `pulumi:"tcpOption"` +} + +// The set of arguments for constructing a IpFirewallRule resource. +type IpFirewallRuleArgs struct { + // Possible values for action + Action pulumi.StringInput + // Destination port for your rule. Only with TCP/UDP protocol + DestinationPort pulumi.Float64PtrInput + // Fragments option + Fragments pulumi.BoolPtrInput + // IP (v4 or v6) CIDR notation (e.g., 192.0.2.0/24) + Ip pulumi.StringInput + // IPv4 address (e.g., 192.0.2.0) + IpOnFirewall pulumi.StringInput + // Possible values for protocol + Protocol pulumi.StringInput + // Possible values for action + Sequence pulumi.Float64Input + // IPv4 CIDR notation (e.g., 192.0.2.0/24) + Source pulumi.StringPtrInput + // Source port for your rule. Only with TCP/UDP protocol + SourcePort pulumi.Float64PtrInput + // TCP option on your rule + TcpOption pulumi.StringPtrInput +} + +func (IpFirewallRuleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ipFirewallRuleArgs)(nil)).Elem() +} + +type IpFirewallRuleInput interface { + pulumi.Input + + ToIpFirewallRuleOutput() IpFirewallRuleOutput + ToIpFirewallRuleOutputWithContext(ctx context.Context) IpFirewallRuleOutput +} + +func (*IpFirewallRule) ElementType() reflect.Type { + return reflect.TypeOf((**IpFirewallRule)(nil)).Elem() +} + +func (i *IpFirewallRule) ToIpFirewallRuleOutput() IpFirewallRuleOutput { + return i.ToIpFirewallRuleOutputWithContext(context.Background()) +} + +func (i *IpFirewallRule) ToIpFirewallRuleOutputWithContext(ctx context.Context) IpFirewallRuleOutput { + return pulumi.ToOutputWithContext(ctx, i).(IpFirewallRuleOutput) +} + +type IpFirewallRuleOutput struct{ *pulumi.OutputState } + +func (IpFirewallRuleOutput) ElementType() reflect.Type { + return reflect.TypeOf((**IpFirewallRule)(nil)).Elem() +} + +func (o IpFirewallRuleOutput) ToIpFirewallRuleOutput() IpFirewallRuleOutput { + return o +} + +func (o IpFirewallRuleOutput) ToIpFirewallRuleOutputWithContext(ctx context.Context) IpFirewallRuleOutput { + return o +} + +// Possible values for action +func (o IpFirewallRuleOutput) Action() pulumi.StringOutput { + return o.ApplyT(func(v *IpFirewallRule) pulumi.StringOutput { return v.Action }).(pulumi.StringOutput) +} + +func (o IpFirewallRuleOutput) CreationDate() pulumi.StringOutput { + return o.ApplyT(func(v *IpFirewallRule) pulumi.StringOutput { return v.CreationDate }).(pulumi.StringOutput) +} + +// Destination ip for your rule +func (o IpFirewallRuleOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v *IpFirewallRule) pulumi.StringOutput { return v.Destination }).(pulumi.StringOutput) +} + +// Destination port for your rule. Only with TCP/UDP protocol +func (o IpFirewallRuleOutput) DestinationPort() pulumi.Float64Output { + return o.ApplyT(func(v *IpFirewallRule) pulumi.Float64Output { return v.DestinationPort }).(pulumi.Float64Output) +} + +// Destination port range for your rule. Only with TCP/UDP protocol +func (o IpFirewallRuleOutput) DestinationPortDesc() pulumi.StringOutput { + return o.ApplyT(func(v *IpFirewallRule) pulumi.StringOutput { return v.DestinationPortDesc }).(pulumi.StringOutput) +} + +// Fragments option +func (o IpFirewallRuleOutput) Fragments() pulumi.BoolOutput { + return o.ApplyT(func(v *IpFirewallRule) pulumi.BoolOutput { return v.Fragments }).(pulumi.BoolOutput) +} + +// IP (v4 or v6) CIDR notation (e.g., 192.0.2.0/24) +func (o IpFirewallRuleOutput) Ip() pulumi.StringOutput { + return o.ApplyT(func(v *IpFirewallRule) pulumi.StringOutput { return v.Ip }).(pulumi.StringOutput) +} + +// IPv4 address (e.g., 192.0.2.0) +func (o IpFirewallRuleOutput) IpOnFirewall() pulumi.StringOutput { + return o.ApplyT(func(v *IpFirewallRule) pulumi.StringOutput { return v.IpOnFirewall }).(pulumi.StringOutput) +} + +// Possible values for protocol +func (o IpFirewallRuleOutput) Protocol() pulumi.StringOutput { + return o.ApplyT(func(v *IpFirewallRule) pulumi.StringOutput { return v.Protocol }).(pulumi.StringOutput) +} + +func (o IpFirewallRuleOutput) Rule() pulumi.StringOutput { + return o.ApplyT(func(v *IpFirewallRule) pulumi.StringOutput { return v.Rule }).(pulumi.StringOutput) +} + +// Possible values for action +func (o IpFirewallRuleOutput) Sequence() pulumi.Float64Output { + return o.ApplyT(func(v *IpFirewallRule) pulumi.Float64Output { return v.Sequence }).(pulumi.Float64Output) +} + +// IPv4 CIDR notation (e.g., 192.0.2.0/24) +func (o IpFirewallRuleOutput) Source() pulumi.StringOutput { + return o.ApplyT(func(v *IpFirewallRule) pulumi.StringOutput { return v.Source }).(pulumi.StringOutput) +} + +// Source port for your rule. Only with TCP/UDP protocol +func (o IpFirewallRuleOutput) SourcePort() pulumi.Float64Output { + return o.ApplyT(func(v *IpFirewallRule) pulumi.Float64Output { return v.SourcePort }).(pulumi.Float64Output) +} + +// Source port for your rule. Only with TCP/UDP protocol +func (o IpFirewallRuleOutput) SourcePortDesc() pulumi.StringOutput { + return o.ApplyT(func(v *IpFirewallRule) pulumi.StringOutput { return v.SourcePortDesc }).(pulumi.StringOutput) +} + +// Current state of your rule +func (o IpFirewallRuleOutput) State() pulumi.StringOutput { + return o.ApplyT(func(v *IpFirewallRule) pulumi.StringOutput { return v.State }).(pulumi.StringOutput) +} + +// TCP option on your rule +func (o IpFirewallRuleOutput) TcpOption() pulumi.StringOutput { + return o.ApplyT(func(v *IpFirewallRule) pulumi.StringOutput { return v.TcpOption }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*IpFirewallRuleInput)(nil)).Elem(), &IpFirewallRule{}) + pulumi.RegisterOutputType(IpFirewallRuleOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/ipMitigation.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/ipMitigation.go new file mode 100644 index 00000000..68a88946 --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/ipMitigation.go @@ -0,0 +1,187 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type IpMitigation struct { + pulumi.CustomResourceState + + // Set on true if your ip is on auto-mitigation + Auto pulumi.BoolOutput `pulumi:"auto"` + // IP (v4 or v6) CIDR notation (e.g., 192.0.2.0/24) + Ip pulumi.StringOutput `pulumi:"ip"` + // IPv4 address (e.g., 192.0.2.0) + IpOnMitigation pulumi.StringOutput `pulumi:"ipOnMitigation"` + // Set on true if your ip is on permanent mitigation + Permanent pulumi.BoolOutput `pulumi:"permanent"` + // Current state of your ip on mitigation + State pulumi.StringOutput `pulumi:"state"` +} + +// NewIpMitigation registers a new resource with the given unique name, arguments, and options. +func NewIpMitigation(ctx *pulumi.Context, + name string, args *IpMitigationArgs, opts ...pulumi.ResourceOption) (*IpMitigation, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.Ip == nil { + return nil, errors.New("invalid value for required argument 'Ip'") + } + if args.IpOnMitigation == nil { + return nil, errors.New("invalid value for required argument 'IpOnMitigation'") + } + opts = internal.PkgResourceDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var resource IpMitigation + err = ctx.RegisterPackageResource("ovh:index/ipMitigation:IpMitigation", name, args, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetIpMitigation gets an existing IpMitigation resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetIpMitigation(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *IpMitigationState, opts ...pulumi.ResourceOption) (*IpMitigation, error) { + var resource IpMitigation + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + err = ctx.ReadPackageResource("ovh:index/ipMitigation:IpMitigation", name, id, state, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering IpMitigation resources. +type ipMitigationState struct { + // Set on true if your ip is on auto-mitigation + Auto *bool `pulumi:"auto"` + // IP (v4 or v6) CIDR notation (e.g., 192.0.2.0/24) + Ip *string `pulumi:"ip"` + // IPv4 address (e.g., 192.0.2.0) + IpOnMitigation *string `pulumi:"ipOnMitigation"` + // Set on true if your ip is on permanent mitigation + Permanent *bool `pulumi:"permanent"` + // Current state of your ip on mitigation + State *string `pulumi:"state"` +} + +type IpMitigationState struct { + // Set on true if your ip is on auto-mitigation + Auto pulumi.BoolPtrInput + // IP (v4 or v6) CIDR notation (e.g., 192.0.2.0/24) + Ip pulumi.StringPtrInput + // IPv4 address (e.g., 192.0.2.0) + IpOnMitigation pulumi.StringPtrInput + // Set on true if your ip is on permanent mitigation + Permanent pulumi.BoolPtrInput + // Current state of your ip on mitigation + State pulumi.StringPtrInput +} + +func (IpMitigationState) ElementType() reflect.Type { + return reflect.TypeOf((*ipMitigationState)(nil)).Elem() +} + +type ipMitigationArgs struct { + // IP (v4 or v6) CIDR notation (e.g., 192.0.2.0/24) + Ip string `pulumi:"ip"` + // IPv4 address (e.g., 192.0.2.0) + IpOnMitigation string `pulumi:"ipOnMitigation"` + // Set on true if your ip is on permanent mitigation + Permanent *bool `pulumi:"permanent"` +} + +// The set of arguments for constructing a IpMitigation resource. +type IpMitigationArgs struct { + // IP (v4 or v6) CIDR notation (e.g., 192.0.2.0/24) + Ip pulumi.StringInput + // IPv4 address (e.g., 192.0.2.0) + IpOnMitigation pulumi.StringInput + // Set on true if your ip is on permanent mitigation + Permanent pulumi.BoolPtrInput +} + +func (IpMitigationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ipMitigationArgs)(nil)).Elem() +} + +type IpMitigationInput interface { + pulumi.Input + + ToIpMitigationOutput() IpMitigationOutput + ToIpMitigationOutputWithContext(ctx context.Context) IpMitigationOutput +} + +func (*IpMitigation) ElementType() reflect.Type { + return reflect.TypeOf((**IpMitigation)(nil)).Elem() +} + +func (i *IpMitigation) ToIpMitigationOutput() IpMitigationOutput { + return i.ToIpMitigationOutputWithContext(context.Background()) +} + +func (i *IpMitigation) ToIpMitigationOutputWithContext(ctx context.Context) IpMitigationOutput { + return pulumi.ToOutputWithContext(ctx, i).(IpMitigationOutput) +} + +type IpMitigationOutput struct{ *pulumi.OutputState } + +func (IpMitigationOutput) ElementType() reflect.Type { + return reflect.TypeOf((**IpMitigation)(nil)).Elem() +} + +func (o IpMitigationOutput) ToIpMitigationOutput() IpMitigationOutput { + return o +} + +func (o IpMitigationOutput) ToIpMitigationOutputWithContext(ctx context.Context) IpMitigationOutput { + return o +} + +// Set on true if your ip is on auto-mitigation +func (o IpMitigationOutput) Auto() pulumi.BoolOutput { + return o.ApplyT(func(v *IpMitigation) pulumi.BoolOutput { return v.Auto }).(pulumi.BoolOutput) +} + +// IP (v4 or v6) CIDR notation (e.g., 192.0.2.0/24) +func (o IpMitigationOutput) Ip() pulumi.StringOutput { + return o.ApplyT(func(v *IpMitigation) pulumi.StringOutput { return v.Ip }).(pulumi.StringOutput) +} + +// IPv4 address (e.g., 192.0.2.0) +func (o IpMitigationOutput) IpOnMitigation() pulumi.StringOutput { + return o.ApplyT(func(v *IpMitigation) pulumi.StringOutput { return v.IpOnMitigation }).(pulumi.StringOutput) +} + +// Set on true if your ip is on permanent mitigation +func (o IpMitigationOutput) Permanent() pulumi.BoolOutput { + return o.ApplyT(func(v *IpMitigation) pulumi.BoolOutput { return v.Permanent }).(pulumi.BoolOutput) +} + +// Current state of your ip on mitigation +func (o IpMitigationOutput) State() pulumi.StringOutput { + return o.ApplyT(func(v *IpMitigation) pulumi.StringOutput { return v.State }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*IpMitigationInput)(nil)).Elem(), &IpMitigation{}) + pulumi.RegisterOutputType(IpMitigationOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/ipMove.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/ipMove.go new file mode 100644 index 00000000..cba39280 --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/ipMove.go @@ -0,0 +1,220 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type IpMove struct { + pulumi.CustomResourceState + + CanBeTerminated pulumi.BoolOutput `pulumi:"canBeTerminated"` + Country pulumi.StringOutput `pulumi:"country"` + // Custom description on your ip + Description pulumi.StringOutput `pulumi:"description"` + Ip pulumi.StringOutput `pulumi:"ip"` + OrganisationId pulumi.StringOutput `pulumi:"organisationId"` + // Routage information + RoutedTo IpMoveRoutedToOutput `pulumi:"routedTo"` + ServiceName pulumi.StringOutput `pulumi:"serviceName"` + // Starting date and time field of the current IP task that is in charge of changing the service the IP is attached to + TaskStartDate pulumi.StringOutput `pulumi:"taskStartDate"` + // Status field of the current IP task that is in charge of changing the service the IP is attached to + TaskStatus pulumi.StringOutput `pulumi:"taskStatus"` + // Possible values for ip type + Type pulumi.StringOutput `pulumi:"type"` +} + +// NewIpMove registers a new resource with the given unique name, arguments, and options. +func NewIpMove(ctx *pulumi.Context, + name string, args *IpMoveArgs, opts ...pulumi.ResourceOption) (*IpMove, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.Ip == nil { + return nil, errors.New("invalid value for required argument 'Ip'") + } + if args.RoutedTo == nil { + return nil, errors.New("invalid value for required argument 'RoutedTo'") + } + opts = internal.PkgResourceDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var resource IpMove + err = ctx.RegisterPackageResource("ovh:index/ipMove:IpMove", name, args, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetIpMove gets an existing IpMove resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetIpMove(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *IpMoveState, opts ...pulumi.ResourceOption) (*IpMove, error) { + var resource IpMove + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + err = ctx.ReadPackageResource("ovh:index/ipMove:IpMove", name, id, state, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering IpMove resources. +type ipMoveState struct { + CanBeTerminated *bool `pulumi:"canBeTerminated"` + Country *string `pulumi:"country"` + // Custom description on your ip + Description *string `pulumi:"description"` + Ip *string `pulumi:"ip"` + OrganisationId *string `pulumi:"organisationId"` + // Routage information + RoutedTo *IpMoveRoutedTo `pulumi:"routedTo"` + ServiceName *string `pulumi:"serviceName"` + // Starting date and time field of the current IP task that is in charge of changing the service the IP is attached to + TaskStartDate *string `pulumi:"taskStartDate"` + // Status field of the current IP task that is in charge of changing the service the IP is attached to + TaskStatus *string `pulumi:"taskStatus"` + // Possible values for ip type + Type *string `pulumi:"type"` +} + +type IpMoveState struct { + CanBeTerminated pulumi.BoolPtrInput + Country pulumi.StringPtrInput + // Custom description on your ip + Description pulumi.StringPtrInput + Ip pulumi.StringPtrInput + OrganisationId pulumi.StringPtrInput + // Routage information + RoutedTo IpMoveRoutedToPtrInput + ServiceName pulumi.StringPtrInput + // Starting date and time field of the current IP task that is in charge of changing the service the IP is attached to + TaskStartDate pulumi.StringPtrInput + // Status field of the current IP task that is in charge of changing the service the IP is attached to + TaskStatus pulumi.StringPtrInput + // Possible values for ip type + Type pulumi.StringPtrInput +} + +func (IpMoveState) ElementType() reflect.Type { + return reflect.TypeOf((*ipMoveState)(nil)).Elem() +} + +type ipMoveArgs struct { + // Custom description on your ip + Description *string `pulumi:"description"` + Ip string `pulumi:"ip"` + // Routage information + RoutedTo IpMoveRoutedTo `pulumi:"routedTo"` +} + +// The set of arguments for constructing a IpMove resource. +type IpMoveArgs struct { + // Custom description on your ip + Description pulumi.StringPtrInput + Ip pulumi.StringInput + // Routage information + RoutedTo IpMoveRoutedToInput +} + +func (IpMoveArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ipMoveArgs)(nil)).Elem() +} + +type IpMoveInput interface { + pulumi.Input + + ToIpMoveOutput() IpMoveOutput + ToIpMoveOutputWithContext(ctx context.Context) IpMoveOutput +} + +func (*IpMove) ElementType() reflect.Type { + return reflect.TypeOf((**IpMove)(nil)).Elem() +} + +func (i *IpMove) ToIpMoveOutput() IpMoveOutput { + return i.ToIpMoveOutputWithContext(context.Background()) +} + +func (i *IpMove) ToIpMoveOutputWithContext(ctx context.Context) IpMoveOutput { + return pulumi.ToOutputWithContext(ctx, i).(IpMoveOutput) +} + +type IpMoveOutput struct{ *pulumi.OutputState } + +func (IpMoveOutput) ElementType() reflect.Type { + return reflect.TypeOf((**IpMove)(nil)).Elem() +} + +func (o IpMoveOutput) ToIpMoveOutput() IpMoveOutput { + return o +} + +func (o IpMoveOutput) ToIpMoveOutputWithContext(ctx context.Context) IpMoveOutput { + return o +} + +func (o IpMoveOutput) CanBeTerminated() pulumi.BoolOutput { + return o.ApplyT(func(v *IpMove) pulumi.BoolOutput { return v.CanBeTerminated }).(pulumi.BoolOutput) +} + +func (o IpMoveOutput) Country() pulumi.StringOutput { + return o.ApplyT(func(v *IpMove) pulumi.StringOutput { return v.Country }).(pulumi.StringOutput) +} + +// Custom description on your ip +func (o IpMoveOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v *IpMove) pulumi.StringOutput { return v.Description }).(pulumi.StringOutput) +} + +func (o IpMoveOutput) Ip() pulumi.StringOutput { + return o.ApplyT(func(v *IpMove) pulumi.StringOutput { return v.Ip }).(pulumi.StringOutput) +} + +func (o IpMoveOutput) OrganisationId() pulumi.StringOutput { + return o.ApplyT(func(v *IpMove) pulumi.StringOutput { return v.OrganisationId }).(pulumi.StringOutput) +} + +// Routage information +func (o IpMoveOutput) RoutedTo() IpMoveRoutedToOutput { + return o.ApplyT(func(v *IpMove) IpMoveRoutedToOutput { return v.RoutedTo }).(IpMoveRoutedToOutput) +} + +func (o IpMoveOutput) ServiceName() pulumi.StringOutput { + return o.ApplyT(func(v *IpMove) pulumi.StringOutput { return v.ServiceName }).(pulumi.StringOutput) +} + +// Starting date and time field of the current IP task that is in charge of changing the service the IP is attached to +func (o IpMoveOutput) TaskStartDate() pulumi.StringOutput { + return o.ApplyT(func(v *IpMove) pulumi.StringOutput { return v.TaskStartDate }).(pulumi.StringOutput) +} + +// Status field of the current IP task that is in charge of changing the service the IP is attached to +func (o IpMoveOutput) TaskStatus() pulumi.StringOutput { + return o.ApplyT(func(v *IpMove) pulumi.StringOutput { return v.TaskStatus }).(pulumi.StringOutput) +} + +// Possible values for ip type +func (o IpMoveOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v *IpMove) pulumi.StringOutput { return v.Type }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*IpMoveInput)(nil)).Elem(), &IpMove{}) + pulumi.RegisterOutputType(IpMoveOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/ipReverse.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/ipReverse.go new file mode 100644 index 00000000..2b5c2eca --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/ipReverse.go @@ -0,0 +1,150 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type IpReverse struct { + pulumi.CustomResourceState + + Ip pulumi.StringOutput `pulumi:"ip"` + IpReverse pulumi.StringOutput `pulumi:"ipReverse"` + Reverse pulumi.StringOutput `pulumi:"reverse"` +} + +// NewIpReverse registers a new resource with the given unique name, arguments, and options. +func NewIpReverse(ctx *pulumi.Context, + name string, args *IpReverseArgs, opts ...pulumi.ResourceOption) (*IpReverse, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.Ip == nil { + return nil, errors.New("invalid value for required argument 'Ip'") + } + if args.IpReverse == nil { + return nil, errors.New("invalid value for required argument 'IpReverse'") + } + if args.Reverse == nil { + return nil, errors.New("invalid value for required argument 'Reverse'") + } + opts = internal.PkgResourceDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var resource IpReverse + err = ctx.RegisterPackageResource("ovh:index/ipReverse:IpReverse", name, args, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetIpReverse gets an existing IpReverse resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetIpReverse(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *IpReverseState, opts ...pulumi.ResourceOption) (*IpReverse, error) { + var resource IpReverse + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + err = ctx.ReadPackageResource("ovh:index/ipReverse:IpReverse", name, id, state, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering IpReverse resources. +type ipReverseState struct { + Ip *string `pulumi:"ip"` + IpReverse *string `pulumi:"ipReverse"` + Reverse *string `pulumi:"reverse"` +} + +type IpReverseState struct { + Ip pulumi.StringPtrInput + IpReverse pulumi.StringPtrInput + Reverse pulumi.StringPtrInput +} + +func (IpReverseState) ElementType() reflect.Type { + return reflect.TypeOf((*ipReverseState)(nil)).Elem() +} + +type ipReverseArgs struct { + Ip string `pulumi:"ip"` + IpReverse string `pulumi:"ipReverse"` + Reverse string `pulumi:"reverse"` +} + +// The set of arguments for constructing a IpReverse resource. +type IpReverseArgs struct { + Ip pulumi.StringInput + IpReverse pulumi.StringInput + Reverse pulumi.StringInput +} + +func (IpReverseArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ipReverseArgs)(nil)).Elem() +} + +type IpReverseInput interface { + pulumi.Input + + ToIpReverseOutput() IpReverseOutput + ToIpReverseOutputWithContext(ctx context.Context) IpReverseOutput +} + +func (*IpReverse) ElementType() reflect.Type { + return reflect.TypeOf((**IpReverse)(nil)).Elem() +} + +func (i *IpReverse) ToIpReverseOutput() IpReverseOutput { + return i.ToIpReverseOutputWithContext(context.Background()) +} + +func (i *IpReverse) ToIpReverseOutputWithContext(ctx context.Context) IpReverseOutput { + return pulumi.ToOutputWithContext(ctx, i).(IpReverseOutput) +} + +type IpReverseOutput struct{ *pulumi.OutputState } + +func (IpReverseOutput) ElementType() reflect.Type { + return reflect.TypeOf((**IpReverse)(nil)).Elem() +} + +func (o IpReverseOutput) ToIpReverseOutput() IpReverseOutput { + return o +} + +func (o IpReverseOutput) ToIpReverseOutputWithContext(ctx context.Context) IpReverseOutput { + return o +} + +func (o IpReverseOutput) Ip() pulumi.StringOutput { + return o.ApplyT(func(v *IpReverse) pulumi.StringOutput { return v.Ip }).(pulumi.StringOutput) +} + +func (o IpReverseOutput) IpReverse() pulumi.StringOutput { + return o.ApplyT(func(v *IpReverse) pulumi.StringOutput { return v.IpReverse }).(pulumi.StringOutput) +} + +func (o IpReverseOutput) Reverse() pulumi.StringOutput { + return o.ApplyT(func(v *IpReverse) pulumi.StringOutput { return v.Reverse }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*IpReverseInput)(nil)).Elem(), &IpReverse{}) + pulumi.RegisterOutputType(IpReverseOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/ipService.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/ipService.go new file mode 100644 index 00000000..6cb0da1a --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/ipService.go @@ -0,0 +1,279 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type IpService struct { + pulumi.CustomResourceState + + CanBeTerminated pulumi.BoolOutput `pulumi:"canBeTerminated"` + Country pulumi.StringOutput `pulumi:"country"` + // Custom description on your ip + Description pulumi.StringOutput `pulumi:"description"` + Ip pulumi.StringOutput `pulumi:"ip"` + // Details about an Order + Orders IpServiceOrderArrayOutput `pulumi:"orders"` + OrganisationId pulumi.StringOutput `pulumi:"organisationId"` + // Ovh Subsidiary + OvhSubsidiary pulumi.StringOutput `pulumi:"ovhSubsidiary"` + // Ovh payment mode + // + // Deprecated: Deprecated + PaymentMean pulumi.StringPtrOutput `pulumi:"paymentMean"` + // Product Plan to order + Plan IpServicePlanOutput `pulumi:"plan"` + // Product Plan to order + PlanOptions IpServicePlanOptionArrayOutput `pulumi:"planOptions"` + // Routage information + RoutedTos IpServiceRoutedToArrayOutput `pulumi:"routedTos"` + ServiceName pulumi.StringOutput `pulumi:"serviceName"` + // Possible values for ip type + Type pulumi.StringOutput `pulumi:"type"` +} + +// NewIpService registers a new resource with the given unique name, arguments, and options. +func NewIpService(ctx *pulumi.Context, + name string, args *IpServiceArgs, opts ...pulumi.ResourceOption) (*IpService, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.OvhSubsidiary == nil { + return nil, errors.New("invalid value for required argument 'OvhSubsidiary'") + } + if args.Plan == nil { + return nil, errors.New("invalid value for required argument 'Plan'") + } + opts = internal.PkgResourceDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var resource IpService + err = ctx.RegisterPackageResource("ovh:index/ipService:IpService", name, args, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetIpService gets an existing IpService resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetIpService(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *IpServiceState, opts ...pulumi.ResourceOption) (*IpService, error) { + var resource IpService + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + err = ctx.ReadPackageResource("ovh:index/ipService:IpService", name, id, state, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering IpService resources. +type ipServiceState struct { + CanBeTerminated *bool `pulumi:"canBeTerminated"` + Country *string `pulumi:"country"` + // Custom description on your ip + Description *string `pulumi:"description"` + Ip *string `pulumi:"ip"` + // Details about an Order + Orders []IpServiceOrder `pulumi:"orders"` + OrganisationId *string `pulumi:"organisationId"` + // Ovh Subsidiary + OvhSubsidiary *string `pulumi:"ovhSubsidiary"` + // Ovh payment mode + // + // Deprecated: Deprecated + PaymentMean *string `pulumi:"paymentMean"` + // Product Plan to order + Plan *IpServicePlan `pulumi:"plan"` + // Product Plan to order + PlanOptions []IpServicePlanOption `pulumi:"planOptions"` + // Routage information + RoutedTos []IpServiceRoutedTo `pulumi:"routedTos"` + ServiceName *string `pulumi:"serviceName"` + // Possible values for ip type + Type *string `pulumi:"type"` +} + +type IpServiceState struct { + CanBeTerminated pulumi.BoolPtrInput + Country pulumi.StringPtrInput + // Custom description on your ip + Description pulumi.StringPtrInput + Ip pulumi.StringPtrInput + // Details about an Order + Orders IpServiceOrderArrayInput + OrganisationId pulumi.StringPtrInput + // Ovh Subsidiary + OvhSubsidiary pulumi.StringPtrInput + // Ovh payment mode + // + // Deprecated: Deprecated + PaymentMean pulumi.StringPtrInput + // Product Plan to order + Plan IpServicePlanPtrInput + // Product Plan to order + PlanOptions IpServicePlanOptionArrayInput + // Routage information + RoutedTos IpServiceRoutedToArrayInput + ServiceName pulumi.StringPtrInput + // Possible values for ip type + Type pulumi.StringPtrInput +} + +func (IpServiceState) ElementType() reflect.Type { + return reflect.TypeOf((*ipServiceState)(nil)).Elem() +} + +type ipServiceArgs struct { + // Custom description on your ip + Description *string `pulumi:"description"` + // Details about an Order + Orders []IpServiceOrder `pulumi:"orders"` + // Ovh Subsidiary + OvhSubsidiary string `pulumi:"ovhSubsidiary"` + // Ovh payment mode + // + // Deprecated: Deprecated + PaymentMean *string `pulumi:"paymentMean"` + // Product Plan to order + Plan IpServicePlan `pulumi:"plan"` + // Product Plan to order + PlanOptions []IpServicePlanOption `pulumi:"planOptions"` +} + +// The set of arguments for constructing a IpService resource. +type IpServiceArgs struct { + // Custom description on your ip + Description pulumi.StringPtrInput + // Details about an Order + Orders IpServiceOrderArrayInput + // Ovh Subsidiary + OvhSubsidiary pulumi.StringInput + // Ovh payment mode + // + // Deprecated: Deprecated + PaymentMean pulumi.StringPtrInput + // Product Plan to order + Plan IpServicePlanInput + // Product Plan to order + PlanOptions IpServicePlanOptionArrayInput +} + +func (IpServiceArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ipServiceArgs)(nil)).Elem() +} + +type IpServiceInput interface { + pulumi.Input + + ToIpServiceOutput() IpServiceOutput + ToIpServiceOutputWithContext(ctx context.Context) IpServiceOutput +} + +func (*IpService) ElementType() reflect.Type { + return reflect.TypeOf((**IpService)(nil)).Elem() +} + +func (i *IpService) ToIpServiceOutput() IpServiceOutput { + return i.ToIpServiceOutputWithContext(context.Background()) +} + +func (i *IpService) ToIpServiceOutputWithContext(ctx context.Context) IpServiceOutput { + return pulumi.ToOutputWithContext(ctx, i).(IpServiceOutput) +} + +type IpServiceOutput struct{ *pulumi.OutputState } + +func (IpServiceOutput) ElementType() reflect.Type { + return reflect.TypeOf((**IpService)(nil)).Elem() +} + +func (o IpServiceOutput) ToIpServiceOutput() IpServiceOutput { + return o +} + +func (o IpServiceOutput) ToIpServiceOutputWithContext(ctx context.Context) IpServiceOutput { + return o +} + +func (o IpServiceOutput) CanBeTerminated() pulumi.BoolOutput { + return o.ApplyT(func(v *IpService) pulumi.BoolOutput { return v.CanBeTerminated }).(pulumi.BoolOutput) +} + +func (o IpServiceOutput) Country() pulumi.StringOutput { + return o.ApplyT(func(v *IpService) pulumi.StringOutput { return v.Country }).(pulumi.StringOutput) +} + +// Custom description on your ip +func (o IpServiceOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v *IpService) pulumi.StringOutput { return v.Description }).(pulumi.StringOutput) +} + +func (o IpServiceOutput) Ip() pulumi.StringOutput { + return o.ApplyT(func(v *IpService) pulumi.StringOutput { return v.Ip }).(pulumi.StringOutput) +} + +// Details about an Order +func (o IpServiceOutput) Orders() IpServiceOrderArrayOutput { + return o.ApplyT(func(v *IpService) IpServiceOrderArrayOutput { return v.Orders }).(IpServiceOrderArrayOutput) +} + +func (o IpServiceOutput) OrganisationId() pulumi.StringOutput { + return o.ApplyT(func(v *IpService) pulumi.StringOutput { return v.OrganisationId }).(pulumi.StringOutput) +} + +// Ovh Subsidiary +func (o IpServiceOutput) OvhSubsidiary() pulumi.StringOutput { + return o.ApplyT(func(v *IpService) pulumi.StringOutput { return v.OvhSubsidiary }).(pulumi.StringOutput) +} + +// Ovh payment mode +// +// Deprecated: Deprecated +func (o IpServiceOutput) PaymentMean() pulumi.StringPtrOutput { + return o.ApplyT(func(v *IpService) pulumi.StringPtrOutput { return v.PaymentMean }).(pulumi.StringPtrOutput) +} + +// Product Plan to order +func (o IpServiceOutput) Plan() IpServicePlanOutput { + return o.ApplyT(func(v *IpService) IpServicePlanOutput { return v.Plan }).(IpServicePlanOutput) +} + +// Product Plan to order +func (o IpServiceOutput) PlanOptions() IpServicePlanOptionArrayOutput { + return o.ApplyT(func(v *IpService) IpServicePlanOptionArrayOutput { return v.PlanOptions }).(IpServicePlanOptionArrayOutput) +} + +// Routage information +func (o IpServiceOutput) RoutedTos() IpServiceRoutedToArrayOutput { + return o.ApplyT(func(v *IpService) IpServiceRoutedToArrayOutput { return v.RoutedTos }).(IpServiceRoutedToArrayOutput) +} + +func (o IpServiceOutput) ServiceName() pulumi.StringOutput { + return o.ApplyT(func(v *IpService) pulumi.StringOutput { return v.ServiceName }).(pulumi.StringOutput) +} + +// Possible values for ip type +func (o IpServiceOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v *IpService) pulumi.StringOutput { return v.Type }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*IpServiceInput)(nil)).Elem(), &IpService{}) + pulumi.RegisterOutputType(IpServiceOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/iploadbalancing.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/iploadbalancing.go new file mode 100644 index 00000000..3bd4f7a8 --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/iploadbalancing.go @@ -0,0 +1,381 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type Iploadbalancing struct { + pulumi.CustomResourceState + + // Set the name displayed in ManagerV6 for your iplb (max 50 chars) + DisplayName pulumi.StringOutput `pulumi:"displayName"` + // Your IP load balancing + IpLoadbalancing pulumi.StringOutput `pulumi:"ipLoadbalancing"` + // The IPV4 associated to your IP load balancing + Ipv4 pulumi.StringOutput `pulumi:"ipv4"` + // The IPV6 associated to your IP load balancing. DEPRECATED. + Ipv6 pulumi.StringOutput `pulumi:"ipv6"` + // The metrics token associated with your IP load balancing + MetricsToken pulumi.StringOutput `pulumi:"metricsToken"` + // The offer of your IP load balancing + Offer pulumi.StringOutput `pulumi:"offer"` + // Available additional zone for your Load Balancer + OrderableZones IploadbalancingOrderableZoneArrayOutput `pulumi:"orderableZones"` + // Details about an Order + Orders IploadbalancingOrderArrayOutput `pulumi:"orders"` + // Ovh Subsidiary + OvhSubsidiary pulumi.StringOutput `pulumi:"ovhSubsidiary"` + OvhUrn pulumi.StringOutput `pulumi:"ovhUrn"` + // Ovh payment mode + // + // Deprecated: Deprecated + PaymentMean pulumi.StringPtrOutput `pulumi:"paymentMean"` + // Product Plan to order + Plan IploadbalancingPlanOutput `pulumi:"plan"` + // Product Plan to order + PlanOptions IploadbalancingPlanOptionArrayOutput `pulumi:"planOptions"` + // The internal name of your IP load balancing + ServiceName pulumi.StringOutput `pulumi:"serviceName"` + // Modern oldest compatible clients : Firefox 27, Chrome 30, IE 11 on Windows 7, Edge, Opera 17, Safari 9, Android 5.0, and + // Java 8. Intermediate oldest compatible clients : Firefox 1, Chrome 1, IE 7, Opera 5, Safari 1, Windows XP IE8, Android + // 2.3, Java 7. Intermediate if null. + SslConfiguration pulumi.StringOutput `pulumi:"sslConfiguration"` + // Current state of your IP + State pulumi.StringOutput `pulumi:"state"` + // Vrack eligibility + VrackEligibility pulumi.BoolOutput `pulumi:"vrackEligibility"` + // Name of the vRack on which the current Load Balancer is attached to, as it is named on vRack product + VrackName pulumi.StringOutput `pulumi:"vrackName"` + // Location where your service is + Zones pulumi.StringArrayOutput `pulumi:"zones"` +} + +// NewIploadbalancing registers a new resource with the given unique name, arguments, and options. +func NewIploadbalancing(ctx *pulumi.Context, + name string, args *IploadbalancingArgs, opts ...pulumi.ResourceOption) (*Iploadbalancing, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.OvhSubsidiary == nil { + return nil, errors.New("invalid value for required argument 'OvhSubsidiary'") + } + if args.Plan == nil { + return nil, errors.New("invalid value for required argument 'Plan'") + } + secrets := pulumi.AdditionalSecretOutputs([]string{ + "metricsToken", + }) + opts = append(opts, secrets) + opts = internal.PkgResourceDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var resource Iploadbalancing + err = ctx.RegisterPackageResource("ovh:index/iploadbalancing:Iploadbalancing", name, args, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetIploadbalancing gets an existing Iploadbalancing resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetIploadbalancing(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *IploadbalancingState, opts ...pulumi.ResourceOption) (*Iploadbalancing, error) { + var resource Iploadbalancing + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + err = ctx.ReadPackageResource("ovh:index/iploadbalancing:Iploadbalancing", name, id, state, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering Iploadbalancing resources. +type iploadbalancingState struct { + // Set the name displayed in ManagerV6 for your iplb (max 50 chars) + DisplayName *string `pulumi:"displayName"` + // Your IP load balancing + IpLoadbalancing *string `pulumi:"ipLoadbalancing"` + // The IPV4 associated to your IP load balancing + Ipv4 *string `pulumi:"ipv4"` + // The IPV6 associated to your IP load balancing. DEPRECATED. + Ipv6 *string `pulumi:"ipv6"` + // The metrics token associated with your IP load balancing + MetricsToken *string `pulumi:"metricsToken"` + // The offer of your IP load balancing + Offer *string `pulumi:"offer"` + // Available additional zone for your Load Balancer + OrderableZones []IploadbalancingOrderableZone `pulumi:"orderableZones"` + // Details about an Order + Orders []IploadbalancingOrder `pulumi:"orders"` + // Ovh Subsidiary + OvhSubsidiary *string `pulumi:"ovhSubsidiary"` + OvhUrn *string `pulumi:"ovhUrn"` + // Ovh payment mode + // + // Deprecated: Deprecated + PaymentMean *string `pulumi:"paymentMean"` + // Product Plan to order + Plan *IploadbalancingPlan `pulumi:"plan"` + // Product Plan to order + PlanOptions []IploadbalancingPlanOption `pulumi:"planOptions"` + // The internal name of your IP load balancing + ServiceName *string `pulumi:"serviceName"` + // Modern oldest compatible clients : Firefox 27, Chrome 30, IE 11 on Windows 7, Edge, Opera 17, Safari 9, Android 5.0, and + // Java 8. Intermediate oldest compatible clients : Firefox 1, Chrome 1, IE 7, Opera 5, Safari 1, Windows XP IE8, Android + // 2.3, Java 7. Intermediate if null. + SslConfiguration *string `pulumi:"sslConfiguration"` + // Current state of your IP + State *string `pulumi:"state"` + // Vrack eligibility + VrackEligibility *bool `pulumi:"vrackEligibility"` + // Name of the vRack on which the current Load Balancer is attached to, as it is named on vRack product + VrackName *string `pulumi:"vrackName"` + // Location where your service is + Zones []string `pulumi:"zones"` +} + +type IploadbalancingState struct { + // Set the name displayed in ManagerV6 for your iplb (max 50 chars) + DisplayName pulumi.StringPtrInput + // Your IP load balancing + IpLoadbalancing pulumi.StringPtrInput + // The IPV4 associated to your IP load balancing + Ipv4 pulumi.StringPtrInput + // The IPV6 associated to your IP load balancing. DEPRECATED. + Ipv6 pulumi.StringPtrInput + // The metrics token associated with your IP load balancing + MetricsToken pulumi.StringPtrInput + // The offer of your IP load balancing + Offer pulumi.StringPtrInput + // Available additional zone for your Load Balancer + OrderableZones IploadbalancingOrderableZoneArrayInput + // Details about an Order + Orders IploadbalancingOrderArrayInput + // Ovh Subsidiary + OvhSubsidiary pulumi.StringPtrInput + OvhUrn pulumi.StringPtrInput + // Ovh payment mode + // + // Deprecated: Deprecated + PaymentMean pulumi.StringPtrInput + // Product Plan to order + Plan IploadbalancingPlanPtrInput + // Product Plan to order + PlanOptions IploadbalancingPlanOptionArrayInput + // The internal name of your IP load balancing + ServiceName pulumi.StringPtrInput + // Modern oldest compatible clients : Firefox 27, Chrome 30, IE 11 on Windows 7, Edge, Opera 17, Safari 9, Android 5.0, and + // Java 8. Intermediate oldest compatible clients : Firefox 1, Chrome 1, IE 7, Opera 5, Safari 1, Windows XP IE8, Android + // 2.3, Java 7. Intermediate if null. + SslConfiguration pulumi.StringPtrInput + // Current state of your IP + State pulumi.StringPtrInput + // Vrack eligibility + VrackEligibility pulumi.BoolPtrInput + // Name of the vRack on which the current Load Balancer is attached to, as it is named on vRack product + VrackName pulumi.StringPtrInput + // Location where your service is + Zones pulumi.StringArrayInput +} + +func (IploadbalancingState) ElementType() reflect.Type { + return reflect.TypeOf((*iploadbalancingState)(nil)).Elem() +} + +type iploadbalancingArgs struct { + // Set the name displayed in ManagerV6 for your iplb (max 50 chars) + DisplayName *string `pulumi:"displayName"` + // Details about an Order + Orders []IploadbalancingOrder `pulumi:"orders"` + // Ovh Subsidiary + OvhSubsidiary string `pulumi:"ovhSubsidiary"` + // Ovh payment mode + // + // Deprecated: Deprecated + PaymentMean *string `pulumi:"paymentMean"` + // Product Plan to order + Plan IploadbalancingPlan `pulumi:"plan"` + // Product Plan to order + PlanOptions []IploadbalancingPlanOption `pulumi:"planOptions"` + // Modern oldest compatible clients : Firefox 27, Chrome 30, IE 11 on Windows 7, Edge, Opera 17, Safari 9, Android 5.0, and + // Java 8. Intermediate oldest compatible clients : Firefox 1, Chrome 1, IE 7, Opera 5, Safari 1, Windows XP IE8, Android + // 2.3, Java 7. Intermediate if null. + SslConfiguration *string `pulumi:"sslConfiguration"` +} + +// The set of arguments for constructing a Iploadbalancing resource. +type IploadbalancingArgs struct { + // Set the name displayed in ManagerV6 for your iplb (max 50 chars) + DisplayName pulumi.StringPtrInput + // Details about an Order + Orders IploadbalancingOrderArrayInput + // Ovh Subsidiary + OvhSubsidiary pulumi.StringInput + // Ovh payment mode + // + // Deprecated: Deprecated + PaymentMean pulumi.StringPtrInput + // Product Plan to order + Plan IploadbalancingPlanInput + // Product Plan to order + PlanOptions IploadbalancingPlanOptionArrayInput + // Modern oldest compatible clients : Firefox 27, Chrome 30, IE 11 on Windows 7, Edge, Opera 17, Safari 9, Android 5.0, and + // Java 8. Intermediate oldest compatible clients : Firefox 1, Chrome 1, IE 7, Opera 5, Safari 1, Windows XP IE8, Android + // 2.3, Java 7. Intermediate if null. + SslConfiguration pulumi.StringPtrInput +} + +func (IploadbalancingArgs) ElementType() reflect.Type { + return reflect.TypeOf((*iploadbalancingArgs)(nil)).Elem() +} + +type IploadbalancingInput interface { + pulumi.Input + + ToIploadbalancingOutput() IploadbalancingOutput + ToIploadbalancingOutputWithContext(ctx context.Context) IploadbalancingOutput +} + +func (*Iploadbalancing) ElementType() reflect.Type { + return reflect.TypeOf((**Iploadbalancing)(nil)).Elem() +} + +func (i *Iploadbalancing) ToIploadbalancingOutput() IploadbalancingOutput { + return i.ToIploadbalancingOutputWithContext(context.Background()) +} + +func (i *Iploadbalancing) ToIploadbalancingOutputWithContext(ctx context.Context) IploadbalancingOutput { + return pulumi.ToOutputWithContext(ctx, i).(IploadbalancingOutput) +} + +type IploadbalancingOutput struct{ *pulumi.OutputState } + +func (IploadbalancingOutput) ElementType() reflect.Type { + return reflect.TypeOf((**Iploadbalancing)(nil)).Elem() +} + +func (o IploadbalancingOutput) ToIploadbalancingOutput() IploadbalancingOutput { + return o +} + +func (o IploadbalancingOutput) ToIploadbalancingOutputWithContext(ctx context.Context) IploadbalancingOutput { + return o +} + +// Set the name displayed in ManagerV6 for your iplb (max 50 chars) +func (o IploadbalancingOutput) DisplayName() pulumi.StringOutput { + return o.ApplyT(func(v *Iploadbalancing) pulumi.StringOutput { return v.DisplayName }).(pulumi.StringOutput) +} + +// Your IP load balancing +func (o IploadbalancingOutput) IpLoadbalancing() pulumi.StringOutput { + return o.ApplyT(func(v *Iploadbalancing) pulumi.StringOutput { return v.IpLoadbalancing }).(pulumi.StringOutput) +} + +// The IPV4 associated to your IP load balancing +func (o IploadbalancingOutput) Ipv4() pulumi.StringOutput { + return o.ApplyT(func(v *Iploadbalancing) pulumi.StringOutput { return v.Ipv4 }).(pulumi.StringOutput) +} + +// The IPV6 associated to your IP load balancing. DEPRECATED. +func (o IploadbalancingOutput) Ipv6() pulumi.StringOutput { + return o.ApplyT(func(v *Iploadbalancing) pulumi.StringOutput { return v.Ipv6 }).(pulumi.StringOutput) +} + +// The metrics token associated with your IP load balancing +func (o IploadbalancingOutput) MetricsToken() pulumi.StringOutput { + return o.ApplyT(func(v *Iploadbalancing) pulumi.StringOutput { return v.MetricsToken }).(pulumi.StringOutput) +} + +// The offer of your IP load balancing +func (o IploadbalancingOutput) Offer() pulumi.StringOutput { + return o.ApplyT(func(v *Iploadbalancing) pulumi.StringOutput { return v.Offer }).(pulumi.StringOutput) +} + +// Available additional zone for your Load Balancer +func (o IploadbalancingOutput) OrderableZones() IploadbalancingOrderableZoneArrayOutput { + return o.ApplyT(func(v *Iploadbalancing) IploadbalancingOrderableZoneArrayOutput { return v.OrderableZones }).(IploadbalancingOrderableZoneArrayOutput) +} + +// Details about an Order +func (o IploadbalancingOutput) Orders() IploadbalancingOrderArrayOutput { + return o.ApplyT(func(v *Iploadbalancing) IploadbalancingOrderArrayOutput { return v.Orders }).(IploadbalancingOrderArrayOutput) +} + +// Ovh Subsidiary +func (o IploadbalancingOutput) OvhSubsidiary() pulumi.StringOutput { + return o.ApplyT(func(v *Iploadbalancing) pulumi.StringOutput { return v.OvhSubsidiary }).(pulumi.StringOutput) +} + +func (o IploadbalancingOutput) OvhUrn() pulumi.StringOutput { + return o.ApplyT(func(v *Iploadbalancing) pulumi.StringOutput { return v.OvhUrn }).(pulumi.StringOutput) +} + +// Ovh payment mode +// +// Deprecated: Deprecated +func (o IploadbalancingOutput) PaymentMean() pulumi.StringPtrOutput { + return o.ApplyT(func(v *Iploadbalancing) pulumi.StringPtrOutput { return v.PaymentMean }).(pulumi.StringPtrOutput) +} + +// Product Plan to order +func (o IploadbalancingOutput) Plan() IploadbalancingPlanOutput { + return o.ApplyT(func(v *Iploadbalancing) IploadbalancingPlanOutput { return v.Plan }).(IploadbalancingPlanOutput) +} + +// Product Plan to order +func (o IploadbalancingOutput) PlanOptions() IploadbalancingPlanOptionArrayOutput { + return o.ApplyT(func(v *Iploadbalancing) IploadbalancingPlanOptionArrayOutput { return v.PlanOptions }).(IploadbalancingPlanOptionArrayOutput) +} + +// The internal name of your IP load balancing +func (o IploadbalancingOutput) ServiceName() pulumi.StringOutput { + return o.ApplyT(func(v *Iploadbalancing) pulumi.StringOutput { return v.ServiceName }).(pulumi.StringOutput) +} + +// Modern oldest compatible clients : Firefox 27, Chrome 30, IE 11 on Windows 7, Edge, Opera 17, Safari 9, Android 5.0, and +// Java 8. Intermediate oldest compatible clients : Firefox 1, Chrome 1, IE 7, Opera 5, Safari 1, Windows XP IE8, Android +// 2.3, Java 7. Intermediate if null. +func (o IploadbalancingOutput) SslConfiguration() pulumi.StringOutput { + return o.ApplyT(func(v *Iploadbalancing) pulumi.StringOutput { return v.SslConfiguration }).(pulumi.StringOutput) +} + +// Current state of your IP +func (o IploadbalancingOutput) State() pulumi.StringOutput { + return o.ApplyT(func(v *Iploadbalancing) pulumi.StringOutput { return v.State }).(pulumi.StringOutput) +} + +// Vrack eligibility +func (o IploadbalancingOutput) VrackEligibility() pulumi.BoolOutput { + return o.ApplyT(func(v *Iploadbalancing) pulumi.BoolOutput { return v.VrackEligibility }).(pulumi.BoolOutput) +} + +// Name of the vRack on which the current Load Balancer is attached to, as it is named on vRack product +func (o IploadbalancingOutput) VrackName() pulumi.StringOutput { + return o.ApplyT(func(v *Iploadbalancing) pulumi.StringOutput { return v.VrackName }).(pulumi.StringOutput) +} + +// Location where your service is +func (o IploadbalancingOutput) Zones() pulumi.StringArrayOutput { + return o.ApplyT(func(v *Iploadbalancing) pulumi.StringArrayOutput { return v.Zones }).(pulumi.StringArrayOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*IploadbalancingInput)(nil)).Elem(), &Iploadbalancing{}) + pulumi.RegisterOutputType(IploadbalancingOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/iploadbalancingHttpFarm.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/iploadbalancingHttpFarm.go new file mode 100644 index 00000000..1ecc7054 --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/iploadbalancingHttpFarm.go @@ -0,0 +1,192 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type IploadbalancingHttpFarm struct { + pulumi.CustomResourceState + + Balance pulumi.StringPtrOutput `pulumi:"balance"` + DisplayName pulumi.StringPtrOutput `pulumi:"displayName"` + Port pulumi.Float64PtrOutput `pulumi:"port"` + Probe IploadbalancingHttpFarmProbePtrOutput `pulumi:"probe"` + ServiceName pulumi.StringOutput `pulumi:"serviceName"` + Stickiness pulumi.StringPtrOutput `pulumi:"stickiness"` + VrackNetworkId pulumi.Float64PtrOutput `pulumi:"vrackNetworkId"` + Zone pulumi.StringOutput `pulumi:"zone"` +} + +// NewIploadbalancingHttpFarm registers a new resource with the given unique name, arguments, and options. +func NewIploadbalancingHttpFarm(ctx *pulumi.Context, + name string, args *IploadbalancingHttpFarmArgs, opts ...pulumi.ResourceOption) (*IploadbalancingHttpFarm, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.ServiceName == nil { + return nil, errors.New("invalid value for required argument 'ServiceName'") + } + if args.Zone == nil { + return nil, errors.New("invalid value for required argument 'Zone'") + } + opts = internal.PkgResourceDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var resource IploadbalancingHttpFarm + err = ctx.RegisterPackageResource("ovh:index/iploadbalancingHttpFarm:IploadbalancingHttpFarm", name, args, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetIploadbalancingHttpFarm gets an existing IploadbalancingHttpFarm resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetIploadbalancingHttpFarm(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *IploadbalancingHttpFarmState, opts ...pulumi.ResourceOption) (*IploadbalancingHttpFarm, error) { + var resource IploadbalancingHttpFarm + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + err = ctx.ReadPackageResource("ovh:index/iploadbalancingHttpFarm:IploadbalancingHttpFarm", name, id, state, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering IploadbalancingHttpFarm resources. +type iploadbalancingHttpFarmState struct { + Balance *string `pulumi:"balance"` + DisplayName *string `pulumi:"displayName"` + Port *float64 `pulumi:"port"` + Probe *IploadbalancingHttpFarmProbe `pulumi:"probe"` + ServiceName *string `pulumi:"serviceName"` + Stickiness *string `pulumi:"stickiness"` + VrackNetworkId *float64 `pulumi:"vrackNetworkId"` + Zone *string `pulumi:"zone"` +} + +type IploadbalancingHttpFarmState struct { + Balance pulumi.StringPtrInput + DisplayName pulumi.StringPtrInput + Port pulumi.Float64PtrInput + Probe IploadbalancingHttpFarmProbePtrInput + ServiceName pulumi.StringPtrInput + Stickiness pulumi.StringPtrInput + VrackNetworkId pulumi.Float64PtrInput + Zone pulumi.StringPtrInput +} + +func (IploadbalancingHttpFarmState) ElementType() reflect.Type { + return reflect.TypeOf((*iploadbalancingHttpFarmState)(nil)).Elem() +} + +type iploadbalancingHttpFarmArgs struct { + Balance *string `pulumi:"balance"` + DisplayName *string `pulumi:"displayName"` + Port *float64 `pulumi:"port"` + Probe *IploadbalancingHttpFarmProbe `pulumi:"probe"` + ServiceName string `pulumi:"serviceName"` + Stickiness *string `pulumi:"stickiness"` + VrackNetworkId *float64 `pulumi:"vrackNetworkId"` + Zone string `pulumi:"zone"` +} + +// The set of arguments for constructing a IploadbalancingHttpFarm resource. +type IploadbalancingHttpFarmArgs struct { + Balance pulumi.StringPtrInput + DisplayName pulumi.StringPtrInput + Port pulumi.Float64PtrInput + Probe IploadbalancingHttpFarmProbePtrInput + ServiceName pulumi.StringInput + Stickiness pulumi.StringPtrInput + VrackNetworkId pulumi.Float64PtrInput + Zone pulumi.StringInput +} + +func (IploadbalancingHttpFarmArgs) ElementType() reflect.Type { + return reflect.TypeOf((*iploadbalancingHttpFarmArgs)(nil)).Elem() +} + +type IploadbalancingHttpFarmInput interface { + pulumi.Input + + ToIploadbalancingHttpFarmOutput() IploadbalancingHttpFarmOutput + ToIploadbalancingHttpFarmOutputWithContext(ctx context.Context) IploadbalancingHttpFarmOutput +} + +func (*IploadbalancingHttpFarm) ElementType() reflect.Type { + return reflect.TypeOf((**IploadbalancingHttpFarm)(nil)).Elem() +} + +func (i *IploadbalancingHttpFarm) ToIploadbalancingHttpFarmOutput() IploadbalancingHttpFarmOutput { + return i.ToIploadbalancingHttpFarmOutputWithContext(context.Background()) +} + +func (i *IploadbalancingHttpFarm) ToIploadbalancingHttpFarmOutputWithContext(ctx context.Context) IploadbalancingHttpFarmOutput { + return pulumi.ToOutputWithContext(ctx, i).(IploadbalancingHttpFarmOutput) +} + +type IploadbalancingHttpFarmOutput struct{ *pulumi.OutputState } + +func (IploadbalancingHttpFarmOutput) ElementType() reflect.Type { + return reflect.TypeOf((**IploadbalancingHttpFarm)(nil)).Elem() +} + +func (o IploadbalancingHttpFarmOutput) ToIploadbalancingHttpFarmOutput() IploadbalancingHttpFarmOutput { + return o +} + +func (o IploadbalancingHttpFarmOutput) ToIploadbalancingHttpFarmOutputWithContext(ctx context.Context) IploadbalancingHttpFarmOutput { + return o +} + +func (o IploadbalancingHttpFarmOutput) Balance() pulumi.StringPtrOutput { + return o.ApplyT(func(v *IploadbalancingHttpFarm) pulumi.StringPtrOutput { return v.Balance }).(pulumi.StringPtrOutput) +} + +func (o IploadbalancingHttpFarmOutput) DisplayName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *IploadbalancingHttpFarm) pulumi.StringPtrOutput { return v.DisplayName }).(pulumi.StringPtrOutput) +} + +func (o IploadbalancingHttpFarmOutput) Port() pulumi.Float64PtrOutput { + return o.ApplyT(func(v *IploadbalancingHttpFarm) pulumi.Float64PtrOutput { return v.Port }).(pulumi.Float64PtrOutput) +} + +func (o IploadbalancingHttpFarmOutput) Probe() IploadbalancingHttpFarmProbePtrOutput { + return o.ApplyT(func(v *IploadbalancingHttpFarm) IploadbalancingHttpFarmProbePtrOutput { return v.Probe }).(IploadbalancingHttpFarmProbePtrOutput) +} + +func (o IploadbalancingHttpFarmOutput) ServiceName() pulumi.StringOutput { + return o.ApplyT(func(v *IploadbalancingHttpFarm) pulumi.StringOutput { return v.ServiceName }).(pulumi.StringOutput) +} + +func (o IploadbalancingHttpFarmOutput) Stickiness() pulumi.StringPtrOutput { + return o.ApplyT(func(v *IploadbalancingHttpFarm) pulumi.StringPtrOutput { return v.Stickiness }).(pulumi.StringPtrOutput) +} + +func (o IploadbalancingHttpFarmOutput) VrackNetworkId() pulumi.Float64PtrOutput { + return o.ApplyT(func(v *IploadbalancingHttpFarm) pulumi.Float64PtrOutput { return v.VrackNetworkId }).(pulumi.Float64PtrOutput) +} + +func (o IploadbalancingHttpFarmOutput) Zone() pulumi.StringOutput { + return o.ApplyT(func(v *IploadbalancingHttpFarm) pulumi.StringOutput { return v.Zone }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*IploadbalancingHttpFarmInput)(nil)).Elem(), &IploadbalancingHttpFarm{}) + pulumi.RegisterOutputType(IploadbalancingHttpFarmOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/iploadbalancingHttpFarmServer.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/iploadbalancingHttpFarmServer.go new file mode 100644 index 00000000..6760dc7c --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/iploadbalancingHttpFarmServer.go @@ -0,0 +1,250 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type IploadbalancingHttpFarmServer struct { + pulumi.CustomResourceState + + Address pulumi.StringOutput `pulumi:"address"` + Backup pulumi.BoolPtrOutput `pulumi:"backup"` + Chain pulumi.StringPtrOutput `pulumi:"chain"` + Cookie pulumi.StringOutput `pulumi:"cookie"` + DisplayName pulumi.StringPtrOutput `pulumi:"displayName"` + FarmId pulumi.Float64Output `pulumi:"farmId"` + OnMarkedDown pulumi.StringPtrOutput `pulumi:"onMarkedDown"` + Port pulumi.Float64PtrOutput `pulumi:"port"` + Probe pulumi.BoolPtrOutput `pulumi:"probe"` + ProxyProtocolVersion pulumi.StringPtrOutput `pulumi:"proxyProtocolVersion"` + ServiceName pulumi.StringOutput `pulumi:"serviceName"` + Ssl pulumi.BoolPtrOutput `pulumi:"ssl"` + Status pulumi.StringOutput `pulumi:"status"` + Weight pulumi.Float64PtrOutput `pulumi:"weight"` +} + +// NewIploadbalancingHttpFarmServer registers a new resource with the given unique name, arguments, and options. +func NewIploadbalancingHttpFarmServer(ctx *pulumi.Context, + name string, args *IploadbalancingHttpFarmServerArgs, opts ...pulumi.ResourceOption) (*IploadbalancingHttpFarmServer, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.Address == nil { + return nil, errors.New("invalid value for required argument 'Address'") + } + if args.FarmId == nil { + return nil, errors.New("invalid value for required argument 'FarmId'") + } + if args.ServiceName == nil { + return nil, errors.New("invalid value for required argument 'ServiceName'") + } + if args.Status == nil { + return nil, errors.New("invalid value for required argument 'Status'") + } + opts = internal.PkgResourceDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var resource IploadbalancingHttpFarmServer + err = ctx.RegisterPackageResource("ovh:index/iploadbalancingHttpFarmServer:IploadbalancingHttpFarmServer", name, args, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetIploadbalancingHttpFarmServer gets an existing IploadbalancingHttpFarmServer resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetIploadbalancingHttpFarmServer(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *IploadbalancingHttpFarmServerState, opts ...pulumi.ResourceOption) (*IploadbalancingHttpFarmServer, error) { + var resource IploadbalancingHttpFarmServer + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + err = ctx.ReadPackageResource("ovh:index/iploadbalancingHttpFarmServer:IploadbalancingHttpFarmServer", name, id, state, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering IploadbalancingHttpFarmServer resources. +type iploadbalancingHttpFarmServerState struct { + Address *string `pulumi:"address"` + Backup *bool `pulumi:"backup"` + Chain *string `pulumi:"chain"` + Cookie *string `pulumi:"cookie"` + DisplayName *string `pulumi:"displayName"` + FarmId *float64 `pulumi:"farmId"` + OnMarkedDown *string `pulumi:"onMarkedDown"` + Port *float64 `pulumi:"port"` + Probe *bool `pulumi:"probe"` + ProxyProtocolVersion *string `pulumi:"proxyProtocolVersion"` + ServiceName *string `pulumi:"serviceName"` + Ssl *bool `pulumi:"ssl"` + Status *string `pulumi:"status"` + Weight *float64 `pulumi:"weight"` +} + +type IploadbalancingHttpFarmServerState struct { + Address pulumi.StringPtrInput + Backup pulumi.BoolPtrInput + Chain pulumi.StringPtrInput + Cookie pulumi.StringPtrInput + DisplayName pulumi.StringPtrInput + FarmId pulumi.Float64PtrInput + OnMarkedDown pulumi.StringPtrInput + Port pulumi.Float64PtrInput + Probe pulumi.BoolPtrInput + ProxyProtocolVersion pulumi.StringPtrInput + ServiceName pulumi.StringPtrInput + Ssl pulumi.BoolPtrInput + Status pulumi.StringPtrInput + Weight pulumi.Float64PtrInput +} + +func (IploadbalancingHttpFarmServerState) ElementType() reflect.Type { + return reflect.TypeOf((*iploadbalancingHttpFarmServerState)(nil)).Elem() +} + +type iploadbalancingHttpFarmServerArgs struct { + Address string `pulumi:"address"` + Backup *bool `pulumi:"backup"` + Chain *string `pulumi:"chain"` + DisplayName *string `pulumi:"displayName"` + FarmId float64 `pulumi:"farmId"` + OnMarkedDown *string `pulumi:"onMarkedDown"` + Port *float64 `pulumi:"port"` + Probe *bool `pulumi:"probe"` + ProxyProtocolVersion *string `pulumi:"proxyProtocolVersion"` + ServiceName string `pulumi:"serviceName"` + Ssl *bool `pulumi:"ssl"` + Status string `pulumi:"status"` + Weight *float64 `pulumi:"weight"` +} + +// The set of arguments for constructing a IploadbalancingHttpFarmServer resource. +type IploadbalancingHttpFarmServerArgs struct { + Address pulumi.StringInput + Backup pulumi.BoolPtrInput + Chain pulumi.StringPtrInput + DisplayName pulumi.StringPtrInput + FarmId pulumi.Float64Input + OnMarkedDown pulumi.StringPtrInput + Port pulumi.Float64PtrInput + Probe pulumi.BoolPtrInput + ProxyProtocolVersion pulumi.StringPtrInput + ServiceName pulumi.StringInput + Ssl pulumi.BoolPtrInput + Status pulumi.StringInput + Weight pulumi.Float64PtrInput +} + +func (IploadbalancingHttpFarmServerArgs) ElementType() reflect.Type { + return reflect.TypeOf((*iploadbalancingHttpFarmServerArgs)(nil)).Elem() +} + +type IploadbalancingHttpFarmServerInput interface { + pulumi.Input + + ToIploadbalancingHttpFarmServerOutput() IploadbalancingHttpFarmServerOutput + ToIploadbalancingHttpFarmServerOutputWithContext(ctx context.Context) IploadbalancingHttpFarmServerOutput +} + +func (*IploadbalancingHttpFarmServer) ElementType() reflect.Type { + return reflect.TypeOf((**IploadbalancingHttpFarmServer)(nil)).Elem() +} + +func (i *IploadbalancingHttpFarmServer) ToIploadbalancingHttpFarmServerOutput() IploadbalancingHttpFarmServerOutput { + return i.ToIploadbalancingHttpFarmServerOutputWithContext(context.Background()) +} + +func (i *IploadbalancingHttpFarmServer) ToIploadbalancingHttpFarmServerOutputWithContext(ctx context.Context) IploadbalancingHttpFarmServerOutput { + return pulumi.ToOutputWithContext(ctx, i).(IploadbalancingHttpFarmServerOutput) +} + +type IploadbalancingHttpFarmServerOutput struct{ *pulumi.OutputState } + +func (IploadbalancingHttpFarmServerOutput) ElementType() reflect.Type { + return reflect.TypeOf((**IploadbalancingHttpFarmServer)(nil)).Elem() +} + +func (o IploadbalancingHttpFarmServerOutput) ToIploadbalancingHttpFarmServerOutput() IploadbalancingHttpFarmServerOutput { + return o +} + +func (o IploadbalancingHttpFarmServerOutput) ToIploadbalancingHttpFarmServerOutputWithContext(ctx context.Context) IploadbalancingHttpFarmServerOutput { + return o +} + +func (o IploadbalancingHttpFarmServerOutput) Address() pulumi.StringOutput { + return o.ApplyT(func(v *IploadbalancingHttpFarmServer) pulumi.StringOutput { return v.Address }).(pulumi.StringOutput) +} + +func (o IploadbalancingHttpFarmServerOutput) Backup() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *IploadbalancingHttpFarmServer) pulumi.BoolPtrOutput { return v.Backup }).(pulumi.BoolPtrOutput) +} + +func (o IploadbalancingHttpFarmServerOutput) Chain() pulumi.StringPtrOutput { + return o.ApplyT(func(v *IploadbalancingHttpFarmServer) pulumi.StringPtrOutput { return v.Chain }).(pulumi.StringPtrOutput) +} + +func (o IploadbalancingHttpFarmServerOutput) Cookie() pulumi.StringOutput { + return o.ApplyT(func(v *IploadbalancingHttpFarmServer) pulumi.StringOutput { return v.Cookie }).(pulumi.StringOutput) +} + +func (o IploadbalancingHttpFarmServerOutput) DisplayName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *IploadbalancingHttpFarmServer) pulumi.StringPtrOutput { return v.DisplayName }).(pulumi.StringPtrOutput) +} + +func (o IploadbalancingHttpFarmServerOutput) FarmId() pulumi.Float64Output { + return o.ApplyT(func(v *IploadbalancingHttpFarmServer) pulumi.Float64Output { return v.FarmId }).(pulumi.Float64Output) +} + +func (o IploadbalancingHttpFarmServerOutput) OnMarkedDown() pulumi.StringPtrOutput { + return o.ApplyT(func(v *IploadbalancingHttpFarmServer) pulumi.StringPtrOutput { return v.OnMarkedDown }).(pulumi.StringPtrOutput) +} + +func (o IploadbalancingHttpFarmServerOutput) Port() pulumi.Float64PtrOutput { + return o.ApplyT(func(v *IploadbalancingHttpFarmServer) pulumi.Float64PtrOutput { return v.Port }).(pulumi.Float64PtrOutput) +} + +func (o IploadbalancingHttpFarmServerOutput) Probe() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *IploadbalancingHttpFarmServer) pulumi.BoolPtrOutput { return v.Probe }).(pulumi.BoolPtrOutput) +} + +func (o IploadbalancingHttpFarmServerOutput) ProxyProtocolVersion() pulumi.StringPtrOutput { + return o.ApplyT(func(v *IploadbalancingHttpFarmServer) pulumi.StringPtrOutput { return v.ProxyProtocolVersion }).(pulumi.StringPtrOutput) +} + +func (o IploadbalancingHttpFarmServerOutput) ServiceName() pulumi.StringOutput { + return o.ApplyT(func(v *IploadbalancingHttpFarmServer) pulumi.StringOutput { return v.ServiceName }).(pulumi.StringOutput) +} + +func (o IploadbalancingHttpFarmServerOutput) Ssl() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *IploadbalancingHttpFarmServer) pulumi.BoolPtrOutput { return v.Ssl }).(pulumi.BoolPtrOutput) +} + +func (o IploadbalancingHttpFarmServerOutput) Status() pulumi.StringOutput { + return o.ApplyT(func(v *IploadbalancingHttpFarmServer) pulumi.StringOutput { return v.Status }).(pulumi.StringOutput) +} + +func (o IploadbalancingHttpFarmServerOutput) Weight() pulumi.Float64PtrOutput { + return o.ApplyT(func(v *IploadbalancingHttpFarmServer) pulumi.Float64PtrOutput { return v.Weight }).(pulumi.Float64PtrOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*IploadbalancingHttpFarmServerInput)(nil)).Elem(), &IploadbalancingHttpFarmServer{}) + pulumi.RegisterOutputType(IploadbalancingHttpFarmServerOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/iploadbalancingHttpFrontend.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/iploadbalancingHttpFrontend.go new file mode 100644 index 00000000..715d2ac1 --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/iploadbalancingHttpFrontend.go @@ -0,0 +1,240 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type IploadbalancingHttpFrontend struct { + pulumi.CustomResourceState + + AllowedSources pulumi.StringArrayOutput `pulumi:"allowedSources"` + DedicatedIpfos pulumi.StringArrayOutput `pulumi:"dedicatedIpfos"` + DefaultFarmId pulumi.Float64Output `pulumi:"defaultFarmId"` + DefaultSslId pulumi.Float64Output `pulumi:"defaultSslId"` + Disabled pulumi.BoolPtrOutput `pulumi:"disabled"` + DisplayName pulumi.StringPtrOutput `pulumi:"displayName"` + Hsts pulumi.BoolPtrOutput `pulumi:"hsts"` + HttpHeaders pulumi.StringArrayOutput `pulumi:"httpHeaders"` + Port pulumi.StringOutput `pulumi:"port"` + RedirectLocation pulumi.StringPtrOutput `pulumi:"redirectLocation"` + ServiceName pulumi.StringOutput `pulumi:"serviceName"` + Ssl pulumi.BoolPtrOutput `pulumi:"ssl"` + Zone pulumi.StringOutput `pulumi:"zone"` +} + +// NewIploadbalancingHttpFrontend registers a new resource with the given unique name, arguments, and options. +func NewIploadbalancingHttpFrontend(ctx *pulumi.Context, + name string, args *IploadbalancingHttpFrontendArgs, opts ...pulumi.ResourceOption) (*IploadbalancingHttpFrontend, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.Port == nil { + return nil, errors.New("invalid value for required argument 'Port'") + } + if args.ServiceName == nil { + return nil, errors.New("invalid value for required argument 'ServiceName'") + } + if args.Zone == nil { + return nil, errors.New("invalid value for required argument 'Zone'") + } + opts = internal.PkgResourceDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var resource IploadbalancingHttpFrontend + err = ctx.RegisterPackageResource("ovh:index/iploadbalancingHttpFrontend:IploadbalancingHttpFrontend", name, args, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetIploadbalancingHttpFrontend gets an existing IploadbalancingHttpFrontend resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetIploadbalancingHttpFrontend(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *IploadbalancingHttpFrontendState, opts ...pulumi.ResourceOption) (*IploadbalancingHttpFrontend, error) { + var resource IploadbalancingHttpFrontend + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + err = ctx.ReadPackageResource("ovh:index/iploadbalancingHttpFrontend:IploadbalancingHttpFrontend", name, id, state, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering IploadbalancingHttpFrontend resources. +type iploadbalancingHttpFrontendState struct { + AllowedSources []string `pulumi:"allowedSources"` + DedicatedIpfos []string `pulumi:"dedicatedIpfos"` + DefaultFarmId *float64 `pulumi:"defaultFarmId"` + DefaultSslId *float64 `pulumi:"defaultSslId"` + Disabled *bool `pulumi:"disabled"` + DisplayName *string `pulumi:"displayName"` + Hsts *bool `pulumi:"hsts"` + HttpHeaders []string `pulumi:"httpHeaders"` + Port *string `pulumi:"port"` + RedirectLocation *string `pulumi:"redirectLocation"` + ServiceName *string `pulumi:"serviceName"` + Ssl *bool `pulumi:"ssl"` + Zone *string `pulumi:"zone"` +} + +type IploadbalancingHttpFrontendState struct { + AllowedSources pulumi.StringArrayInput + DedicatedIpfos pulumi.StringArrayInput + DefaultFarmId pulumi.Float64PtrInput + DefaultSslId pulumi.Float64PtrInput + Disabled pulumi.BoolPtrInput + DisplayName pulumi.StringPtrInput + Hsts pulumi.BoolPtrInput + HttpHeaders pulumi.StringArrayInput + Port pulumi.StringPtrInput + RedirectLocation pulumi.StringPtrInput + ServiceName pulumi.StringPtrInput + Ssl pulumi.BoolPtrInput + Zone pulumi.StringPtrInput +} + +func (IploadbalancingHttpFrontendState) ElementType() reflect.Type { + return reflect.TypeOf((*iploadbalancingHttpFrontendState)(nil)).Elem() +} + +type iploadbalancingHttpFrontendArgs struct { + AllowedSources []string `pulumi:"allowedSources"` + DedicatedIpfos []string `pulumi:"dedicatedIpfos"` + DefaultFarmId *float64 `pulumi:"defaultFarmId"` + DefaultSslId *float64 `pulumi:"defaultSslId"` + Disabled *bool `pulumi:"disabled"` + DisplayName *string `pulumi:"displayName"` + Hsts *bool `pulumi:"hsts"` + HttpHeaders []string `pulumi:"httpHeaders"` + Port string `pulumi:"port"` + RedirectLocation *string `pulumi:"redirectLocation"` + ServiceName string `pulumi:"serviceName"` + Ssl *bool `pulumi:"ssl"` + Zone string `pulumi:"zone"` +} + +// The set of arguments for constructing a IploadbalancingHttpFrontend resource. +type IploadbalancingHttpFrontendArgs struct { + AllowedSources pulumi.StringArrayInput + DedicatedIpfos pulumi.StringArrayInput + DefaultFarmId pulumi.Float64PtrInput + DefaultSslId pulumi.Float64PtrInput + Disabled pulumi.BoolPtrInput + DisplayName pulumi.StringPtrInput + Hsts pulumi.BoolPtrInput + HttpHeaders pulumi.StringArrayInput + Port pulumi.StringInput + RedirectLocation pulumi.StringPtrInput + ServiceName pulumi.StringInput + Ssl pulumi.BoolPtrInput + Zone pulumi.StringInput +} + +func (IploadbalancingHttpFrontendArgs) ElementType() reflect.Type { + return reflect.TypeOf((*iploadbalancingHttpFrontendArgs)(nil)).Elem() +} + +type IploadbalancingHttpFrontendInput interface { + pulumi.Input + + ToIploadbalancingHttpFrontendOutput() IploadbalancingHttpFrontendOutput + ToIploadbalancingHttpFrontendOutputWithContext(ctx context.Context) IploadbalancingHttpFrontendOutput +} + +func (*IploadbalancingHttpFrontend) ElementType() reflect.Type { + return reflect.TypeOf((**IploadbalancingHttpFrontend)(nil)).Elem() +} + +func (i *IploadbalancingHttpFrontend) ToIploadbalancingHttpFrontendOutput() IploadbalancingHttpFrontendOutput { + return i.ToIploadbalancingHttpFrontendOutputWithContext(context.Background()) +} + +func (i *IploadbalancingHttpFrontend) ToIploadbalancingHttpFrontendOutputWithContext(ctx context.Context) IploadbalancingHttpFrontendOutput { + return pulumi.ToOutputWithContext(ctx, i).(IploadbalancingHttpFrontendOutput) +} + +type IploadbalancingHttpFrontendOutput struct{ *pulumi.OutputState } + +func (IploadbalancingHttpFrontendOutput) ElementType() reflect.Type { + return reflect.TypeOf((**IploadbalancingHttpFrontend)(nil)).Elem() +} + +func (o IploadbalancingHttpFrontendOutput) ToIploadbalancingHttpFrontendOutput() IploadbalancingHttpFrontendOutput { + return o +} + +func (o IploadbalancingHttpFrontendOutput) ToIploadbalancingHttpFrontendOutputWithContext(ctx context.Context) IploadbalancingHttpFrontendOutput { + return o +} + +func (o IploadbalancingHttpFrontendOutput) AllowedSources() pulumi.StringArrayOutput { + return o.ApplyT(func(v *IploadbalancingHttpFrontend) pulumi.StringArrayOutput { return v.AllowedSources }).(pulumi.StringArrayOutput) +} + +func (o IploadbalancingHttpFrontendOutput) DedicatedIpfos() pulumi.StringArrayOutput { + return o.ApplyT(func(v *IploadbalancingHttpFrontend) pulumi.StringArrayOutput { return v.DedicatedIpfos }).(pulumi.StringArrayOutput) +} + +func (o IploadbalancingHttpFrontendOutput) DefaultFarmId() pulumi.Float64Output { + return o.ApplyT(func(v *IploadbalancingHttpFrontend) pulumi.Float64Output { return v.DefaultFarmId }).(pulumi.Float64Output) +} + +func (o IploadbalancingHttpFrontendOutput) DefaultSslId() pulumi.Float64Output { + return o.ApplyT(func(v *IploadbalancingHttpFrontend) pulumi.Float64Output { return v.DefaultSslId }).(pulumi.Float64Output) +} + +func (o IploadbalancingHttpFrontendOutput) Disabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *IploadbalancingHttpFrontend) pulumi.BoolPtrOutput { return v.Disabled }).(pulumi.BoolPtrOutput) +} + +func (o IploadbalancingHttpFrontendOutput) DisplayName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *IploadbalancingHttpFrontend) pulumi.StringPtrOutput { return v.DisplayName }).(pulumi.StringPtrOutput) +} + +func (o IploadbalancingHttpFrontendOutput) Hsts() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *IploadbalancingHttpFrontend) pulumi.BoolPtrOutput { return v.Hsts }).(pulumi.BoolPtrOutput) +} + +func (o IploadbalancingHttpFrontendOutput) HttpHeaders() pulumi.StringArrayOutput { + return o.ApplyT(func(v *IploadbalancingHttpFrontend) pulumi.StringArrayOutput { return v.HttpHeaders }).(pulumi.StringArrayOutput) +} + +func (o IploadbalancingHttpFrontendOutput) Port() pulumi.StringOutput { + return o.ApplyT(func(v *IploadbalancingHttpFrontend) pulumi.StringOutput { return v.Port }).(pulumi.StringOutput) +} + +func (o IploadbalancingHttpFrontendOutput) RedirectLocation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *IploadbalancingHttpFrontend) pulumi.StringPtrOutput { return v.RedirectLocation }).(pulumi.StringPtrOutput) +} + +func (o IploadbalancingHttpFrontendOutput) ServiceName() pulumi.StringOutput { + return o.ApplyT(func(v *IploadbalancingHttpFrontend) pulumi.StringOutput { return v.ServiceName }).(pulumi.StringOutput) +} + +func (o IploadbalancingHttpFrontendOutput) Ssl() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *IploadbalancingHttpFrontend) pulumi.BoolPtrOutput { return v.Ssl }).(pulumi.BoolPtrOutput) +} + +func (o IploadbalancingHttpFrontendOutput) Zone() pulumi.StringOutput { + return o.ApplyT(func(v *IploadbalancingHttpFrontend) pulumi.StringOutput { return v.Zone }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*IploadbalancingHttpFrontendInput)(nil)).Elem(), &IploadbalancingHttpFrontend{}) + pulumi.RegisterOutputType(IploadbalancingHttpFrontendOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/iploadbalancingHttpRoute.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/iploadbalancingHttpRoute.go new file mode 100644 index 00000000..79d40de6 --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/iploadbalancingHttpRoute.go @@ -0,0 +1,223 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type IploadbalancingHttpRoute struct { + pulumi.CustomResourceState + + // Action triggered when all rules match + Action IploadbalancingHttpRouteActionOutput `pulumi:"action"` + // Human readable name for your route, this field is for you + DisplayName pulumi.StringPtrOutput `pulumi:"displayName"` + // Route traffic for this frontend + FrontendId pulumi.Float64Output `pulumi:"frontendId"` + // List of rules to match to trigger action + Rules IploadbalancingHttpRouteRuleTypeArrayOutput `pulumi:"rules"` + // The internal name of your IP load balancing + ServiceName pulumi.StringOutput `pulumi:"serviceName"` + // Route status. Routes in "ok" state are ready to operate + Status pulumi.StringOutput `pulumi:"status"` + // Route priority ([0..255]). 0 if null. Highest priority routes are evaluated last. Only the first matching route will + // trigger an action + Weight pulumi.Float64Output `pulumi:"weight"` +} + +// NewIploadbalancingHttpRoute registers a new resource with the given unique name, arguments, and options. +func NewIploadbalancingHttpRoute(ctx *pulumi.Context, + name string, args *IploadbalancingHttpRouteArgs, opts ...pulumi.ResourceOption) (*IploadbalancingHttpRoute, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.Action == nil { + return nil, errors.New("invalid value for required argument 'Action'") + } + if args.ServiceName == nil { + return nil, errors.New("invalid value for required argument 'ServiceName'") + } + opts = internal.PkgResourceDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var resource IploadbalancingHttpRoute + err = ctx.RegisterPackageResource("ovh:index/iploadbalancingHttpRoute:IploadbalancingHttpRoute", name, args, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetIploadbalancingHttpRoute gets an existing IploadbalancingHttpRoute resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetIploadbalancingHttpRoute(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *IploadbalancingHttpRouteState, opts ...pulumi.ResourceOption) (*IploadbalancingHttpRoute, error) { + var resource IploadbalancingHttpRoute + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + err = ctx.ReadPackageResource("ovh:index/iploadbalancingHttpRoute:IploadbalancingHttpRoute", name, id, state, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering IploadbalancingHttpRoute resources. +type iploadbalancingHttpRouteState struct { + // Action triggered when all rules match + Action *IploadbalancingHttpRouteAction `pulumi:"action"` + // Human readable name for your route, this field is for you + DisplayName *string `pulumi:"displayName"` + // Route traffic for this frontend + FrontendId *float64 `pulumi:"frontendId"` + // List of rules to match to trigger action + Rules []IploadbalancingHttpRouteRuleType `pulumi:"rules"` + // The internal name of your IP load balancing + ServiceName *string `pulumi:"serviceName"` + // Route status. Routes in "ok" state are ready to operate + Status *string `pulumi:"status"` + // Route priority ([0..255]). 0 if null. Highest priority routes are evaluated last. Only the first matching route will + // trigger an action + Weight *float64 `pulumi:"weight"` +} + +type IploadbalancingHttpRouteState struct { + // Action triggered when all rules match + Action IploadbalancingHttpRouteActionPtrInput + // Human readable name for your route, this field is for you + DisplayName pulumi.StringPtrInput + // Route traffic for this frontend + FrontendId pulumi.Float64PtrInput + // List of rules to match to trigger action + Rules IploadbalancingHttpRouteRuleTypeArrayInput + // The internal name of your IP load balancing + ServiceName pulumi.StringPtrInput + // Route status. Routes in "ok" state are ready to operate + Status pulumi.StringPtrInput + // Route priority ([0..255]). 0 if null. Highest priority routes are evaluated last. Only the first matching route will + // trigger an action + Weight pulumi.Float64PtrInput +} + +func (IploadbalancingHttpRouteState) ElementType() reflect.Type { + return reflect.TypeOf((*iploadbalancingHttpRouteState)(nil)).Elem() +} + +type iploadbalancingHttpRouteArgs struct { + // Action triggered when all rules match + Action IploadbalancingHttpRouteAction `pulumi:"action"` + // Human readable name for your route, this field is for you + DisplayName *string `pulumi:"displayName"` + // Route traffic for this frontend + FrontendId *float64 `pulumi:"frontendId"` + // The internal name of your IP load balancing + ServiceName string `pulumi:"serviceName"` + // Route priority ([0..255]). 0 if null. Highest priority routes are evaluated last. Only the first matching route will + // trigger an action + Weight *float64 `pulumi:"weight"` +} + +// The set of arguments for constructing a IploadbalancingHttpRoute resource. +type IploadbalancingHttpRouteArgs struct { + // Action triggered when all rules match + Action IploadbalancingHttpRouteActionInput + // Human readable name for your route, this field is for you + DisplayName pulumi.StringPtrInput + // Route traffic for this frontend + FrontendId pulumi.Float64PtrInput + // The internal name of your IP load balancing + ServiceName pulumi.StringInput + // Route priority ([0..255]). 0 if null. Highest priority routes are evaluated last. Only the first matching route will + // trigger an action + Weight pulumi.Float64PtrInput +} + +func (IploadbalancingHttpRouteArgs) ElementType() reflect.Type { + return reflect.TypeOf((*iploadbalancingHttpRouteArgs)(nil)).Elem() +} + +type IploadbalancingHttpRouteInput interface { + pulumi.Input + + ToIploadbalancingHttpRouteOutput() IploadbalancingHttpRouteOutput + ToIploadbalancingHttpRouteOutputWithContext(ctx context.Context) IploadbalancingHttpRouteOutput +} + +func (*IploadbalancingHttpRoute) ElementType() reflect.Type { + return reflect.TypeOf((**IploadbalancingHttpRoute)(nil)).Elem() +} + +func (i *IploadbalancingHttpRoute) ToIploadbalancingHttpRouteOutput() IploadbalancingHttpRouteOutput { + return i.ToIploadbalancingHttpRouteOutputWithContext(context.Background()) +} + +func (i *IploadbalancingHttpRoute) ToIploadbalancingHttpRouteOutputWithContext(ctx context.Context) IploadbalancingHttpRouteOutput { + return pulumi.ToOutputWithContext(ctx, i).(IploadbalancingHttpRouteOutput) +} + +type IploadbalancingHttpRouteOutput struct{ *pulumi.OutputState } + +func (IploadbalancingHttpRouteOutput) ElementType() reflect.Type { + return reflect.TypeOf((**IploadbalancingHttpRoute)(nil)).Elem() +} + +func (o IploadbalancingHttpRouteOutput) ToIploadbalancingHttpRouteOutput() IploadbalancingHttpRouteOutput { + return o +} + +func (o IploadbalancingHttpRouteOutput) ToIploadbalancingHttpRouteOutputWithContext(ctx context.Context) IploadbalancingHttpRouteOutput { + return o +} + +// Action triggered when all rules match +func (o IploadbalancingHttpRouteOutput) Action() IploadbalancingHttpRouteActionOutput { + return o.ApplyT(func(v *IploadbalancingHttpRoute) IploadbalancingHttpRouteActionOutput { return v.Action }).(IploadbalancingHttpRouteActionOutput) +} + +// Human readable name for your route, this field is for you +func (o IploadbalancingHttpRouteOutput) DisplayName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *IploadbalancingHttpRoute) pulumi.StringPtrOutput { return v.DisplayName }).(pulumi.StringPtrOutput) +} + +// Route traffic for this frontend +func (o IploadbalancingHttpRouteOutput) FrontendId() pulumi.Float64Output { + return o.ApplyT(func(v *IploadbalancingHttpRoute) pulumi.Float64Output { return v.FrontendId }).(pulumi.Float64Output) +} + +// List of rules to match to trigger action +func (o IploadbalancingHttpRouteOutput) Rules() IploadbalancingHttpRouteRuleTypeArrayOutput { + return o.ApplyT(func(v *IploadbalancingHttpRoute) IploadbalancingHttpRouteRuleTypeArrayOutput { return v.Rules }).(IploadbalancingHttpRouteRuleTypeArrayOutput) +} + +// The internal name of your IP load balancing +func (o IploadbalancingHttpRouteOutput) ServiceName() pulumi.StringOutput { + return o.ApplyT(func(v *IploadbalancingHttpRoute) pulumi.StringOutput { return v.ServiceName }).(pulumi.StringOutput) +} + +// Route status. Routes in "ok" state are ready to operate +func (o IploadbalancingHttpRouteOutput) Status() pulumi.StringOutput { + return o.ApplyT(func(v *IploadbalancingHttpRoute) pulumi.StringOutput { return v.Status }).(pulumi.StringOutput) +} + +// Route priority ([0..255]). 0 if null. Highest priority routes are evaluated last. Only the first matching route will +// trigger an action +func (o IploadbalancingHttpRouteOutput) Weight() pulumi.Float64Output { + return o.ApplyT(func(v *IploadbalancingHttpRoute) pulumi.Float64Output { return v.Weight }).(pulumi.Float64Output) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*IploadbalancingHttpRouteInput)(nil)).Elem(), &IploadbalancingHttpRoute{}) + pulumi.RegisterOutputType(IploadbalancingHttpRouteOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/iploadbalancingHttpRouteRule.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/iploadbalancingHttpRouteRule.go new file mode 100644 index 00000000..7e3cd7d5 --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/iploadbalancingHttpRouteRule.go @@ -0,0 +1,198 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type IploadbalancingHttpRouteRule struct { + pulumi.CustomResourceState + + DisplayName pulumi.StringPtrOutput `pulumi:"displayName"` + Field pulumi.StringOutput `pulumi:"field"` + Match pulumi.StringOutput `pulumi:"match"` + Negate pulumi.BoolOutput `pulumi:"negate"` + Pattern pulumi.StringPtrOutput `pulumi:"pattern"` + RouteId pulumi.StringOutput `pulumi:"routeId"` + ServiceName pulumi.StringOutput `pulumi:"serviceName"` + SubField pulumi.StringPtrOutput `pulumi:"subField"` +} + +// NewIploadbalancingHttpRouteRule registers a new resource with the given unique name, arguments, and options. +func NewIploadbalancingHttpRouteRule(ctx *pulumi.Context, + name string, args *IploadbalancingHttpRouteRuleArgs, opts ...pulumi.ResourceOption) (*IploadbalancingHttpRouteRule, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.Field == nil { + return nil, errors.New("invalid value for required argument 'Field'") + } + if args.Match == nil { + return nil, errors.New("invalid value for required argument 'Match'") + } + if args.RouteId == nil { + return nil, errors.New("invalid value for required argument 'RouteId'") + } + if args.ServiceName == nil { + return nil, errors.New("invalid value for required argument 'ServiceName'") + } + opts = internal.PkgResourceDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var resource IploadbalancingHttpRouteRule + err = ctx.RegisterPackageResource("ovh:index/iploadbalancingHttpRouteRule:IploadbalancingHttpRouteRule", name, args, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetIploadbalancingHttpRouteRule gets an existing IploadbalancingHttpRouteRule resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetIploadbalancingHttpRouteRule(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *IploadbalancingHttpRouteRuleState, opts ...pulumi.ResourceOption) (*IploadbalancingHttpRouteRule, error) { + var resource IploadbalancingHttpRouteRule + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + err = ctx.ReadPackageResource("ovh:index/iploadbalancingHttpRouteRule:IploadbalancingHttpRouteRule", name, id, state, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering IploadbalancingHttpRouteRule resources. +type iploadbalancingHttpRouteRuleState struct { + DisplayName *string `pulumi:"displayName"` + Field *string `pulumi:"field"` + Match *string `pulumi:"match"` + Negate *bool `pulumi:"negate"` + Pattern *string `pulumi:"pattern"` + RouteId *string `pulumi:"routeId"` + ServiceName *string `pulumi:"serviceName"` + SubField *string `pulumi:"subField"` +} + +type IploadbalancingHttpRouteRuleState struct { + DisplayName pulumi.StringPtrInput + Field pulumi.StringPtrInput + Match pulumi.StringPtrInput + Negate pulumi.BoolPtrInput + Pattern pulumi.StringPtrInput + RouteId pulumi.StringPtrInput + ServiceName pulumi.StringPtrInput + SubField pulumi.StringPtrInput +} + +func (IploadbalancingHttpRouteRuleState) ElementType() reflect.Type { + return reflect.TypeOf((*iploadbalancingHttpRouteRuleState)(nil)).Elem() +} + +type iploadbalancingHttpRouteRuleArgs struct { + DisplayName *string `pulumi:"displayName"` + Field string `pulumi:"field"` + Match string `pulumi:"match"` + Negate *bool `pulumi:"negate"` + Pattern *string `pulumi:"pattern"` + RouteId string `pulumi:"routeId"` + ServiceName string `pulumi:"serviceName"` + SubField *string `pulumi:"subField"` +} + +// The set of arguments for constructing a IploadbalancingHttpRouteRule resource. +type IploadbalancingHttpRouteRuleArgs struct { + DisplayName pulumi.StringPtrInput + Field pulumi.StringInput + Match pulumi.StringInput + Negate pulumi.BoolPtrInput + Pattern pulumi.StringPtrInput + RouteId pulumi.StringInput + ServiceName pulumi.StringInput + SubField pulumi.StringPtrInput +} + +func (IploadbalancingHttpRouteRuleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*iploadbalancingHttpRouteRuleArgs)(nil)).Elem() +} + +type IploadbalancingHttpRouteRuleInput interface { + pulumi.Input + + ToIploadbalancingHttpRouteRuleOutput() IploadbalancingHttpRouteRuleOutput + ToIploadbalancingHttpRouteRuleOutputWithContext(ctx context.Context) IploadbalancingHttpRouteRuleOutput +} + +func (*IploadbalancingHttpRouteRule) ElementType() reflect.Type { + return reflect.TypeOf((**IploadbalancingHttpRouteRule)(nil)).Elem() +} + +func (i *IploadbalancingHttpRouteRule) ToIploadbalancingHttpRouteRuleOutput() IploadbalancingHttpRouteRuleOutput { + return i.ToIploadbalancingHttpRouteRuleOutputWithContext(context.Background()) +} + +func (i *IploadbalancingHttpRouteRule) ToIploadbalancingHttpRouteRuleOutputWithContext(ctx context.Context) IploadbalancingHttpRouteRuleOutput { + return pulumi.ToOutputWithContext(ctx, i).(IploadbalancingHttpRouteRuleOutput) +} + +type IploadbalancingHttpRouteRuleOutput struct{ *pulumi.OutputState } + +func (IploadbalancingHttpRouteRuleOutput) ElementType() reflect.Type { + return reflect.TypeOf((**IploadbalancingHttpRouteRule)(nil)).Elem() +} + +func (o IploadbalancingHttpRouteRuleOutput) ToIploadbalancingHttpRouteRuleOutput() IploadbalancingHttpRouteRuleOutput { + return o +} + +func (o IploadbalancingHttpRouteRuleOutput) ToIploadbalancingHttpRouteRuleOutputWithContext(ctx context.Context) IploadbalancingHttpRouteRuleOutput { + return o +} + +func (o IploadbalancingHttpRouteRuleOutput) DisplayName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *IploadbalancingHttpRouteRule) pulumi.StringPtrOutput { return v.DisplayName }).(pulumi.StringPtrOutput) +} + +func (o IploadbalancingHttpRouteRuleOutput) Field() pulumi.StringOutput { + return o.ApplyT(func(v *IploadbalancingHttpRouteRule) pulumi.StringOutput { return v.Field }).(pulumi.StringOutput) +} + +func (o IploadbalancingHttpRouteRuleOutput) Match() pulumi.StringOutput { + return o.ApplyT(func(v *IploadbalancingHttpRouteRule) pulumi.StringOutput { return v.Match }).(pulumi.StringOutput) +} + +func (o IploadbalancingHttpRouteRuleOutput) Negate() pulumi.BoolOutput { + return o.ApplyT(func(v *IploadbalancingHttpRouteRule) pulumi.BoolOutput { return v.Negate }).(pulumi.BoolOutput) +} + +func (o IploadbalancingHttpRouteRuleOutput) Pattern() pulumi.StringPtrOutput { + return o.ApplyT(func(v *IploadbalancingHttpRouteRule) pulumi.StringPtrOutput { return v.Pattern }).(pulumi.StringPtrOutput) +} + +func (o IploadbalancingHttpRouteRuleOutput) RouteId() pulumi.StringOutput { + return o.ApplyT(func(v *IploadbalancingHttpRouteRule) pulumi.StringOutput { return v.RouteId }).(pulumi.StringOutput) +} + +func (o IploadbalancingHttpRouteRuleOutput) ServiceName() pulumi.StringOutput { + return o.ApplyT(func(v *IploadbalancingHttpRouteRule) pulumi.StringOutput { return v.ServiceName }).(pulumi.StringOutput) +} + +func (o IploadbalancingHttpRouteRuleOutput) SubField() pulumi.StringPtrOutput { + return o.ApplyT(func(v *IploadbalancingHttpRouteRule) pulumi.StringPtrOutput { return v.SubField }).(pulumi.StringPtrOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*IploadbalancingHttpRouteRuleInput)(nil)).Elem(), &IploadbalancingHttpRouteRule{}) + pulumi.RegisterOutputType(IploadbalancingHttpRouteRuleOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/iploadbalancingRefresh.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/iploadbalancingRefresh.go new file mode 100644 index 00000000..ff32d821 --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/iploadbalancingRefresh.go @@ -0,0 +1,138 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type IploadbalancingRefresh struct { + pulumi.CustomResourceState + + Keepers pulumi.StringArrayOutput `pulumi:"keepers"` + ServiceName pulumi.StringOutput `pulumi:"serviceName"` +} + +// NewIploadbalancingRefresh registers a new resource with the given unique name, arguments, and options. +func NewIploadbalancingRefresh(ctx *pulumi.Context, + name string, args *IploadbalancingRefreshArgs, opts ...pulumi.ResourceOption) (*IploadbalancingRefresh, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.Keepers == nil { + return nil, errors.New("invalid value for required argument 'Keepers'") + } + if args.ServiceName == nil { + return nil, errors.New("invalid value for required argument 'ServiceName'") + } + opts = internal.PkgResourceDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var resource IploadbalancingRefresh + err = ctx.RegisterPackageResource("ovh:index/iploadbalancingRefresh:IploadbalancingRefresh", name, args, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetIploadbalancingRefresh gets an existing IploadbalancingRefresh resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetIploadbalancingRefresh(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *IploadbalancingRefreshState, opts ...pulumi.ResourceOption) (*IploadbalancingRefresh, error) { + var resource IploadbalancingRefresh + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + err = ctx.ReadPackageResource("ovh:index/iploadbalancingRefresh:IploadbalancingRefresh", name, id, state, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering IploadbalancingRefresh resources. +type iploadbalancingRefreshState struct { + Keepers []string `pulumi:"keepers"` + ServiceName *string `pulumi:"serviceName"` +} + +type IploadbalancingRefreshState struct { + Keepers pulumi.StringArrayInput + ServiceName pulumi.StringPtrInput +} + +func (IploadbalancingRefreshState) ElementType() reflect.Type { + return reflect.TypeOf((*iploadbalancingRefreshState)(nil)).Elem() +} + +type iploadbalancingRefreshArgs struct { + Keepers []string `pulumi:"keepers"` + ServiceName string `pulumi:"serviceName"` +} + +// The set of arguments for constructing a IploadbalancingRefresh resource. +type IploadbalancingRefreshArgs struct { + Keepers pulumi.StringArrayInput + ServiceName pulumi.StringInput +} + +func (IploadbalancingRefreshArgs) ElementType() reflect.Type { + return reflect.TypeOf((*iploadbalancingRefreshArgs)(nil)).Elem() +} + +type IploadbalancingRefreshInput interface { + pulumi.Input + + ToIploadbalancingRefreshOutput() IploadbalancingRefreshOutput + ToIploadbalancingRefreshOutputWithContext(ctx context.Context) IploadbalancingRefreshOutput +} + +func (*IploadbalancingRefresh) ElementType() reflect.Type { + return reflect.TypeOf((**IploadbalancingRefresh)(nil)).Elem() +} + +func (i *IploadbalancingRefresh) ToIploadbalancingRefreshOutput() IploadbalancingRefreshOutput { + return i.ToIploadbalancingRefreshOutputWithContext(context.Background()) +} + +func (i *IploadbalancingRefresh) ToIploadbalancingRefreshOutputWithContext(ctx context.Context) IploadbalancingRefreshOutput { + return pulumi.ToOutputWithContext(ctx, i).(IploadbalancingRefreshOutput) +} + +type IploadbalancingRefreshOutput struct{ *pulumi.OutputState } + +func (IploadbalancingRefreshOutput) ElementType() reflect.Type { + return reflect.TypeOf((**IploadbalancingRefresh)(nil)).Elem() +} + +func (o IploadbalancingRefreshOutput) ToIploadbalancingRefreshOutput() IploadbalancingRefreshOutput { + return o +} + +func (o IploadbalancingRefreshOutput) ToIploadbalancingRefreshOutputWithContext(ctx context.Context) IploadbalancingRefreshOutput { + return o +} + +func (o IploadbalancingRefreshOutput) Keepers() pulumi.StringArrayOutput { + return o.ApplyT(func(v *IploadbalancingRefresh) pulumi.StringArrayOutput { return v.Keepers }).(pulumi.StringArrayOutput) +} + +func (o IploadbalancingRefreshOutput) ServiceName() pulumi.StringOutput { + return o.ApplyT(func(v *IploadbalancingRefresh) pulumi.StringOutput { return v.ServiceName }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*IploadbalancingRefreshInput)(nil)).Elem(), &IploadbalancingRefresh{}) + pulumi.RegisterOutputType(IploadbalancingRefreshOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/iploadbalancingTcpFarm.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/iploadbalancingTcpFarm.go new file mode 100644 index 00000000..5a5ef857 --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/iploadbalancingTcpFarm.go @@ -0,0 +1,192 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type IploadbalancingTcpFarm struct { + pulumi.CustomResourceState + + Balance pulumi.StringPtrOutput `pulumi:"balance"` + DisplayName pulumi.StringPtrOutput `pulumi:"displayName"` + Port pulumi.Float64PtrOutput `pulumi:"port"` + Probe IploadbalancingTcpFarmProbePtrOutput `pulumi:"probe"` + ServiceName pulumi.StringOutput `pulumi:"serviceName"` + Stickiness pulumi.StringPtrOutput `pulumi:"stickiness"` + VrackNetworkId pulumi.Float64PtrOutput `pulumi:"vrackNetworkId"` + Zone pulumi.StringOutput `pulumi:"zone"` +} + +// NewIploadbalancingTcpFarm registers a new resource with the given unique name, arguments, and options. +func NewIploadbalancingTcpFarm(ctx *pulumi.Context, + name string, args *IploadbalancingTcpFarmArgs, opts ...pulumi.ResourceOption) (*IploadbalancingTcpFarm, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.ServiceName == nil { + return nil, errors.New("invalid value for required argument 'ServiceName'") + } + if args.Zone == nil { + return nil, errors.New("invalid value for required argument 'Zone'") + } + opts = internal.PkgResourceDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var resource IploadbalancingTcpFarm + err = ctx.RegisterPackageResource("ovh:index/iploadbalancingTcpFarm:IploadbalancingTcpFarm", name, args, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetIploadbalancingTcpFarm gets an existing IploadbalancingTcpFarm resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetIploadbalancingTcpFarm(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *IploadbalancingTcpFarmState, opts ...pulumi.ResourceOption) (*IploadbalancingTcpFarm, error) { + var resource IploadbalancingTcpFarm + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + err = ctx.ReadPackageResource("ovh:index/iploadbalancingTcpFarm:IploadbalancingTcpFarm", name, id, state, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering IploadbalancingTcpFarm resources. +type iploadbalancingTcpFarmState struct { + Balance *string `pulumi:"balance"` + DisplayName *string `pulumi:"displayName"` + Port *float64 `pulumi:"port"` + Probe *IploadbalancingTcpFarmProbe `pulumi:"probe"` + ServiceName *string `pulumi:"serviceName"` + Stickiness *string `pulumi:"stickiness"` + VrackNetworkId *float64 `pulumi:"vrackNetworkId"` + Zone *string `pulumi:"zone"` +} + +type IploadbalancingTcpFarmState struct { + Balance pulumi.StringPtrInput + DisplayName pulumi.StringPtrInput + Port pulumi.Float64PtrInput + Probe IploadbalancingTcpFarmProbePtrInput + ServiceName pulumi.StringPtrInput + Stickiness pulumi.StringPtrInput + VrackNetworkId pulumi.Float64PtrInput + Zone pulumi.StringPtrInput +} + +func (IploadbalancingTcpFarmState) ElementType() reflect.Type { + return reflect.TypeOf((*iploadbalancingTcpFarmState)(nil)).Elem() +} + +type iploadbalancingTcpFarmArgs struct { + Balance *string `pulumi:"balance"` + DisplayName *string `pulumi:"displayName"` + Port *float64 `pulumi:"port"` + Probe *IploadbalancingTcpFarmProbe `pulumi:"probe"` + ServiceName string `pulumi:"serviceName"` + Stickiness *string `pulumi:"stickiness"` + VrackNetworkId *float64 `pulumi:"vrackNetworkId"` + Zone string `pulumi:"zone"` +} + +// The set of arguments for constructing a IploadbalancingTcpFarm resource. +type IploadbalancingTcpFarmArgs struct { + Balance pulumi.StringPtrInput + DisplayName pulumi.StringPtrInput + Port pulumi.Float64PtrInput + Probe IploadbalancingTcpFarmProbePtrInput + ServiceName pulumi.StringInput + Stickiness pulumi.StringPtrInput + VrackNetworkId pulumi.Float64PtrInput + Zone pulumi.StringInput +} + +func (IploadbalancingTcpFarmArgs) ElementType() reflect.Type { + return reflect.TypeOf((*iploadbalancingTcpFarmArgs)(nil)).Elem() +} + +type IploadbalancingTcpFarmInput interface { + pulumi.Input + + ToIploadbalancingTcpFarmOutput() IploadbalancingTcpFarmOutput + ToIploadbalancingTcpFarmOutputWithContext(ctx context.Context) IploadbalancingTcpFarmOutput +} + +func (*IploadbalancingTcpFarm) ElementType() reflect.Type { + return reflect.TypeOf((**IploadbalancingTcpFarm)(nil)).Elem() +} + +func (i *IploadbalancingTcpFarm) ToIploadbalancingTcpFarmOutput() IploadbalancingTcpFarmOutput { + return i.ToIploadbalancingTcpFarmOutputWithContext(context.Background()) +} + +func (i *IploadbalancingTcpFarm) ToIploadbalancingTcpFarmOutputWithContext(ctx context.Context) IploadbalancingTcpFarmOutput { + return pulumi.ToOutputWithContext(ctx, i).(IploadbalancingTcpFarmOutput) +} + +type IploadbalancingTcpFarmOutput struct{ *pulumi.OutputState } + +func (IploadbalancingTcpFarmOutput) ElementType() reflect.Type { + return reflect.TypeOf((**IploadbalancingTcpFarm)(nil)).Elem() +} + +func (o IploadbalancingTcpFarmOutput) ToIploadbalancingTcpFarmOutput() IploadbalancingTcpFarmOutput { + return o +} + +func (o IploadbalancingTcpFarmOutput) ToIploadbalancingTcpFarmOutputWithContext(ctx context.Context) IploadbalancingTcpFarmOutput { + return o +} + +func (o IploadbalancingTcpFarmOutput) Balance() pulumi.StringPtrOutput { + return o.ApplyT(func(v *IploadbalancingTcpFarm) pulumi.StringPtrOutput { return v.Balance }).(pulumi.StringPtrOutput) +} + +func (o IploadbalancingTcpFarmOutput) DisplayName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *IploadbalancingTcpFarm) pulumi.StringPtrOutput { return v.DisplayName }).(pulumi.StringPtrOutput) +} + +func (o IploadbalancingTcpFarmOutput) Port() pulumi.Float64PtrOutput { + return o.ApplyT(func(v *IploadbalancingTcpFarm) pulumi.Float64PtrOutput { return v.Port }).(pulumi.Float64PtrOutput) +} + +func (o IploadbalancingTcpFarmOutput) Probe() IploadbalancingTcpFarmProbePtrOutput { + return o.ApplyT(func(v *IploadbalancingTcpFarm) IploadbalancingTcpFarmProbePtrOutput { return v.Probe }).(IploadbalancingTcpFarmProbePtrOutput) +} + +func (o IploadbalancingTcpFarmOutput) ServiceName() pulumi.StringOutput { + return o.ApplyT(func(v *IploadbalancingTcpFarm) pulumi.StringOutput { return v.ServiceName }).(pulumi.StringOutput) +} + +func (o IploadbalancingTcpFarmOutput) Stickiness() pulumi.StringPtrOutput { + return o.ApplyT(func(v *IploadbalancingTcpFarm) pulumi.StringPtrOutput { return v.Stickiness }).(pulumi.StringPtrOutput) +} + +func (o IploadbalancingTcpFarmOutput) VrackNetworkId() pulumi.Float64PtrOutput { + return o.ApplyT(func(v *IploadbalancingTcpFarm) pulumi.Float64PtrOutput { return v.VrackNetworkId }).(pulumi.Float64PtrOutput) +} + +func (o IploadbalancingTcpFarmOutput) Zone() pulumi.StringOutput { + return o.ApplyT(func(v *IploadbalancingTcpFarm) pulumi.StringOutput { return v.Zone }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*IploadbalancingTcpFarmInput)(nil)).Elem(), &IploadbalancingTcpFarm{}) + pulumi.RegisterOutputType(IploadbalancingTcpFarmOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/iploadbalancingTcpFarmServer.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/iploadbalancingTcpFarmServer.go new file mode 100644 index 00000000..21230090 --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/iploadbalancingTcpFarmServer.go @@ -0,0 +1,243 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type IploadbalancingTcpFarmServer struct { + pulumi.CustomResourceState + + Address pulumi.StringOutput `pulumi:"address"` + Backup pulumi.BoolPtrOutput `pulumi:"backup"` + Chain pulumi.StringPtrOutput `pulumi:"chain"` + DisplayName pulumi.StringPtrOutput `pulumi:"displayName"` + FarmId pulumi.Float64Output `pulumi:"farmId"` + OnMarkedDown pulumi.StringPtrOutput `pulumi:"onMarkedDown"` + Port pulumi.Float64PtrOutput `pulumi:"port"` + Probe pulumi.BoolPtrOutput `pulumi:"probe"` + ProxyProtocolVersion pulumi.StringPtrOutput `pulumi:"proxyProtocolVersion"` + ServiceName pulumi.StringOutput `pulumi:"serviceName"` + Ssl pulumi.BoolPtrOutput `pulumi:"ssl"` + Status pulumi.StringOutput `pulumi:"status"` + Weight pulumi.Float64PtrOutput `pulumi:"weight"` +} + +// NewIploadbalancingTcpFarmServer registers a new resource with the given unique name, arguments, and options. +func NewIploadbalancingTcpFarmServer(ctx *pulumi.Context, + name string, args *IploadbalancingTcpFarmServerArgs, opts ...pulumi.ResourceOption) (*IploadbalancingTcpFarmServer, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.Address == nil { + return nil, errors.New("invalid value for required argument 'Address'") + } + if args.FarmId == nil { + return nil, errors.New("invalid value for required argument 'FarmId'") + } + if args.ServiceName == nil { + return nil, errors.New("invalid value for required argument 'ServiceName'") + } + if args.Status == nil { + return nil, errors.New("invalid value for required argument 'Status'") + } + opts = internal.PkgResourceDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var resource IploadbalancingTcpFarmServer + err = ctx.RegisterPackageResource("ovh:index/iploadbalancingTcpFarmServer:IploadbalancingTcpFarmServer", name, args, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetIploadbalancingTcpFarmServer gets an existing IploadbalancingTcpFarmServer resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetIploadbalancingTcpFarmServer(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *IploadbalancingTcpFarmServerState, opts ...pulumi.ResourceOption) (*IploadbalancingTcpFarmServer, error) { + var resource IploadbalancingTcpFarmServer + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + err = ctx.ReadPackageResource("ovh:index/iploadbalancingTcpFarmServer:IploadbalancingTcpFarmServer", name, id, state, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering IploadbalancingTcpFarmServer resources. +type iploadbalancingTcpFarmServerState struct { + Address *string `pulumi:"address"` + Backup *bool `pulumi:"backup"` + Chain *string `pulumi:"chain"` + DisplayName *string `pulumi:"displayName"` + FarmId *float64 `pulumi:"farmId"` + OnMarkedDown *string `pulumi:"onMarkedDown"` + Port *float64 `pulumi:"port"` + Probe *bool `pulumi:"probe"` + ProxyProtocolVersion *string `pulumi:"proxyProtocolVersion"` + ServiceName *string `pulumi:"serviceName"` + Ssl *bool `pulumi:"ssl"` + Status *string `pulumi:"status"` + Weight *float64 `pulumi:"weight"` +} + +type IploadbalancingTcpFarmServerState struct { + Address pulumi.StringPtrInput + Backup pulumi.BoolPtrInput + Chain pulumi.StringPtrInput + DisplayName pulumi.StringPtrInput + FarmId pulumi.Float64PtrInput + OnMarkedDown pulumi.StringPtrInput + Port pulumi.Float64PtrInput + Probe pulumi.BoolPtrInput + ProxyProtocolVersion pulumi.StringPtrInput + ServiceName pulumi.StringPtrInput + Ssl pulumi.BoolPtrInput + Status pulumi.StringPtrInput + Weight pulumi.Float64PtrInput +} + +func (IploadbalancingTcpFarmServerState) ElementType() reflect.Type { + return reflect.TypeOf((*iploadbalancingTcpFarmServerState)(nil)).Elem() +} + +type iploadbalancingTcpFarmServerArgs struct { + Address string `pulumi:"address"` + Backup *bool `pulumi:"backup"` + Chain *string `pulumi:"chain"` + DisplayName *string `pulumi:"displayName"` + FarmId float64 `pulumi:"farmId"` + OnMarkedDown *string `pulumi:"onMarkedDown"` + Port *float64 `pulumi:"port"` + Probe *bool `pulumi:"probe"` + ProxyProtocolVersion *string `pulumi:"proxyProtocolVersion"` + ServiceName string `pulumi:"serviceName"` + Ssl *bool `pulumi:"ssl"` + Status string `pulumi:"status"` + Weight *float64 `pulumi:"weight"` +} + +// The set of arguments for constructing a IploadbalancingTcpFarmServer resource. +type IploadbalancingTcpFarmServerArgs struct { + Address pulumi.StringInput + Backup pulumi.BoolPtrInput + Chain pulumi.StringPtrInput + DisplayName pulumi.StringPtrInput + FarmId pulumi.Float64Input + OnMarkedDown pulumi.StringPtrInput + Port pulumi.Float64PtrInput + Probe pulumi.BoolPtrInput + ProxyProtocolVersion pulumi.StringPtrInput + ServiceName pulumi.StringInput + Ssl pulumi.BoolPtrInput + Status pulumi.StringInput + Weight pulumi.Float64PtrInput +} + +func (IploadbalancingTcpFarmServerArgs) ElementType() reflect.Type { + return reflect.TypeOf((*iploadbalancingTcpFarmServerArgs)(nil)).Elem() +} + +type IploadbalancingTcpFarmServerInput interface { + pulumi.Input + + ToIploadbalancingTcpFarmServerOutput() IploadbalancingTcpFarmServerOutput + ToIploadbalancingTcpFarmServerOutputWithContext(ctx context.Context) IploadbalancingTcpFarmServerOutput +} + +func (*IploadbalancingTcpFarmServer) ElementType() reflect.Type { + return reflect.TypeOf((**IploadbalancingTcpFarmServer)(nil)).Elem() +} + +func (i *IploadbalancingTcpFarmServer) ToIploadbalancingTcpFarmServerOutput() IploadbalancingTcpFarmServerOutput { + return i.ToIploadbalancingTcpFarmServerOutputWithContext(context.Background()) +} + +func (i *IploadbalancingTcpFarmServer) ToIploadbalancingTcpFarmServerOutputWithContext(ctx context.Context) IploadbalancingTcpFarmServerOutput { + return pulumi.ToOutputWithContext(ctx, i).(IploadbalancingTcpFarmServerOutput) +} + +type IploadbalancingTcpFarmServerOutput struct{ *pulumi.OutputState } + +func (IploadbalancingTcpFarmServerOutput) ElementType() reflect.Type { + return reflect.TypeOf((**IploadbalancingTcpFarmServer)(nil)).Elem() +} + +func (o IploadbalancingTcpFarmServerOutput) ToIploadbalancingTcpFarmServerOutput() IploadbalancingTcpFarmServerOutput { + return o +} + +func (o IploadbalancingTcpFarmServerOutput) ToIploadbalancingTcpFarmServerOutputWithContext(ctx context.Context) IploadbalancingTcpFarmServerOutput { + return o +} + +func (o IploadbalancingTcpFarmServerOutput) Address() pulumi.StringOutput { + return o.ApplyT(func(v *IploadbalancingTcpFarmServer) pulumi.StringOutput { return v.Address }).(pulumi.StringOutput) +} + +func (o IploadbalancingTcpFarmServerOutput) Backup() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *IploadbalancingTcpFarmServer) pulumi.BoolPtrOutput { return v.Backup }).(pulumi.BoolPtrOutput) +} + +func (o IploadbalancingTcpFarmServerOutput) Chain() pulumi.StringPtrOutput { + return o.ApplyT(func(v *IploadbalancingTcpFarmServer) pulumi.StringPtrOutput { return v.Chain }).(pulumi.StringPtrOutput) +} + +func (o IploadbalancingTcpFarmServerOutput) DisplayName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *IploadbalancingTcpFarmServer) pulumi.StringPtrOutput { return v.DisplayName }).(pulumi.StringPtrOutput) +} + +func (o IploadbalancingTcpFarmServerOutput) FarmId() pulumi.Float64Output { + return o.ApplyT(func(v *IploadbalancingTcpFarmServer) pulumi.Float64Output { return v.FarmId }).(pulumi.Float64Output) +} + +func (o IploadbalancingTcpFarmServerOutput) OnMarkedDown() pulumi.StringPtrOutput { + return o.ApplyT(func(v *IploadbalancingTcpFarmServer) pulumi.StringPtrOutput { return v.OnMarkedDown }).(pulumi.StringPtrOutput) +} + +func (o IploadbalancingTcpFarmServerOutput) Port() pulumi.Float64PtrOutput { + return o.ApplyT(func(v *IploadbalancingTcpFarmServer) pulumi.Float64PtrOutput { return v.Port }).(pulumi.Float64PtrOutput) +} + +func (o IploadbalancingTcpFarmServerOutput) Probe() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *IploadbalancingTcpFarmServer) pulumi.BoolPtrOutput { return v.Probe }).(pulumi.BoolPtrOutput) +} + +func (o IploadbalancingTcpFarmServerOutput) ProxyProtocolVersion() pulumi.StringPtrOutput { + return o.ApplyT(func(v *IploadbalancingTcpFarmServer) pulumi.StringPtrOutput { return v.ProxyProtocolVersion }).(pulumi.StringPtrOutput) +} + +func (o IploadbalancingTcpFarmServerOutput) ServiceName() pulumi.StringOutput { + return o.ApplyT(func(v *IploadbalancingTcpFarmServer) pulumi.StringOutput { return v.ServiceName }).(pulumi.StringOutput) +} + +func (o IploadbalancingTcpFarmServerOutput) Ssl() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *IploadbalancingTcpFarmServer) pulumi.BoolPtrOutput { return v.Ssl }).(pulumi.BoolPtrOutput) +} + +func (o IploadbalancingTcpFarmServerOutput) Status() pulumi.StringOutput { + return o.ApplyT(func(v *IploadbalancingTcpFarmServer) pulumi.StringOutput { return v.Status }).(pulumi.StringOutput) +} + +func (o IploadbalancingTcpFarmServerOutput) Weight() pulumi.Float64PtrOutput { + return o.ApplyT(func(v *IploadbalancingTcpFarmServer) pulumi.Float64PtrOutput { return v.Weight }).(pulumi.Float64PtrOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*IploadbalancingTcpFarmServerInput)(nil)).Elem(), &IploadbalancingTcpFarmServer{}) + pulumi.RegisterOutputType(IploadbalancingTcpFarmServerOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/iploadbalancingTcpFrontend.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/iploadbalancingTcpFrontend.go new file mode 100644 index 00000000..c6c1f4bc --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/iploadbalancingTcpFrontend.go @@ -0,0 +1,222 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type IploadbalancingTcpFrontend struct { + pulumi.CustomResourceState + + AllowedSources pulumi.StringArrayOutput `pulumi:"allowedSources"` + DedicatedIpfos pulumi.StringArrayOutput `pulumi:"dedicatedIpfos"` + DefaultFarmId pulumi.Float64Output `pulumi:"defaultFarmId"` + DefaultSslId pulumi.Float64Output `pulumi:"defaultSslId"` + DeniedSources pulumi.StringArrayOutput `pulumi:"deniedSources"` + Disabled pulumi.BoolPtrOutput `pulumi:"disabled"` + DisplayName pulumi.StringPtrOutput `pulumi:"displayName"` + Port pulumi.StringOutput `pulumi:"port"` + ServiceName pulumi.StringOutput `pulumi:"serviceName"` + Ssl pulumi.BoolPtrOutput `pulumi:"ssl"` + Zone pulumi.StringOutput `pulumi:"zone"` +} + +// NewIploadbalancingTcpFrontend registers a new resource with the given unique name, arguments, and options. +func NewIploadbalancingTcpFrontend(ctx *pulumi.Context, + name string, args *IploadbalancingTcpFrontendArgs, opts ...pulumi.ResourceOption) (*IploadbalancingTcpFrontend, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.Port == nil { + return nil, errors.New("invalid value for required argument 'Port'") + } + if args.ServiceName == nil { + return nil, errors.New("invalid value for required argument 'ServiceName'") + } + if args.Zone == nil { + return nil, errors.New("invalid value for required argument 'Zone'") + } + opts = internal.PkgResourceDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var resource IploadbalancingTcpFrontend + err = ctx.RegisterPackageResource("ovh:index/iploadbalancingTcpFrontend:IploadbalancingTcpFrontend", name, args, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetIploadbalancingTcpFrontend gets an existing IploadbalancingTcpFrontend resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetIploadbalancingTcpFrontend(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *IploadbalancingTcpFrontendState, opts ...pulumi.ResourceOption) (*IploadbalancingTcpFrontend, error) { + var resource IploadbalancingTcpFrontend + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + err = ctx.ReadPackageResource("ovh:index/iploadbalancingTcpFrontend:IploadbalancingTcpFrontend", name, id, state, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering IploadbalancingTcpFrontend resources. +type iploadbalancingTcpFrontendState struct { + AllowedSources []string `pulumi:"allowedSources"` + DedicatedIpfos []string `pulumi:"dedicatedIpfos"` + DefaultFarmId *float64 `pulumi:"defaultFarmId"` + DefaultSslId *float64 `pulumi:"defaultSslId"` + DeniedSources []string `pulumi:"deniedSources"` + Disabled *bool `pulumi:"disabled"` + DisplayName *string `pulumi:"displayName"` + Port *string `pulumi:"port"` + ServiceName *string `pulumi:"serviceName"` + Ssl *bool `pulumi:"ssl"` + Zone *string `pulumi:"zone"` +} + +type IploadbalancingTcpFrontendState struct { + AllowedSources pulumi.StringArrayInput + DedicatedIpfos pulumi.StringArrayInput + DefaultFarmId pulumi.Float64PtrInput + DefaultSslId pulumi.Float64PtrInput + DeniedSources pulumi.StringArrayInput + Disabled pulumi.BoolPtrInput + DisplayName pulumi.StringPtrInput + Port pulumi.StringPtrInput + ServiceName pulumi.StringPtrInput + Ssl pulumi.BoolPtrInput + Zone pulumi.StringPtrInput +} + +func (IploadbalancingTcpFrontendState) ElementType() reflect.Type { + return reflect.TypeOf((*iploadbalancingTcpFrontendState)(nil)).Elem() +} + +type iploadbalancingTcpFrontendArgs struct { + AllowedSources []string `pulumi:"allowedSources"` + DedicatedIpfos []string `pulumi:"dedicatedIpfos"` + DefaultFarmId *float64 `pulumi:"defaultFarmId"` + DefaultSslId *float64 `pulumi:"defaultSslId"` + DeniedSources []string `pulumi:"deniedSources"` + Disabled *bool `pulumi:"disabled"` + DisplayName *string `pulumi:"displayName"` + Port string `pulumi:"port"` + ServiceName string `pulumi:"serviceName"` + Ssl *bool `pulumi:"ssl"` + Zone string `pulumi:"zone"` +} + +// The set of arguments for constructing a IploadbalancingTcpFrontend resource. +type IploadbalancingTcpFrontendArgs struct { + AllowedSources pulumi.StringArrayInput + DedicatedIpfos pulumi.StringArrayInput + DefaultFarmId pulumi.Float64PtrInput + DefaultSslId pulumi.Float64PtrInput + DeniedSources pulumi.StringArrayInput + Disabled pulumi.BoolPtrInput + DisplayName pulumi.StringPtrInput + Port pulumi.StringInput + ServiceName pulumi.StringInput + Ssl pulumi.BoolPtrInput + Zone pulumi.StringInput +} + +func (IploadbalancingTcpFrontendArgs) ElementType() reflect.Type { + return reflect.TypeOf((*iploadbalancingTcpFrontendArgs)(nil)).Elem() +} + +type IploadbalancingTcpFrontendInput interface { + pulumi.Input + + ToIploadbalancingTcpFrontendOutput() IploadbalancingTcpFrontendOutput + ToIploadbalancingTcpFrontendOutputWithContext(ctx context.Context) IploadbalancingTcpFrontendOutput +} + +func (*IploadbalancingTcpFrontend) ElementType() reflect.Type { + return reflect.TypeOf((**IploadbalancingTcpFrontend)(nil)).Elem() +} + +func (i *IploadbalancingTcpFrontend) ToIploadbalancingTcpFrontendOutput() IploadbalancingTcpFrontendOutput { + return i.ToIploadbalancingTcpFrontendOutputWithContext(context.Background()) +} + +func (i *IploadbalancingTcpFrontend) ToIploadbalancingTcpFrontendOutputWithContext(ctx context.Context) IploadbalancingTcpFrontendOutput { + return pulumi.ToOutputWithContext(ctx, i).(IploadbalancingTcpFrontendOutput) +} + +type IploadbalancingTcpFrontendOutput struct{ *pulumi.OutputState } + +func (IploadbalancingTcpFrontendOutput) ElementType() reflect.Type { + return reflect.TypeOf((**IploadbalancingTcpFrontend)(nil)).Elem() +} + +func (o IploadbalancingTcpFrontendOutput) ToIploadbalancingTcpFrontendOutput() IploadbalancingTcpFrontendOutput { + return o +} + +func (o IploadbalancingTcpFrontendOutput) ToIploadbalancingTcpFrontendOutputWithContext(ctx context.Context) IploadbalancingTcpFrontendOutput { + return o +} + +func (o IploadbalancingTcpFrontendOutput) AllowedSources() pulumi.StringArrayOutput { + return o.ApplyT(func(v *IploadbalancingTcpFrontend) pulumi.StringArrayOutput { return v.AllowedSources }).(pulumi.StringArrayOutput) +} + +func (o IploadbalancingTcpFrontendOutput) DedicatedIpfos() pulumi.StringArrayOutput { + return o.ApplyT(func(v *IploadbalancingTcpFrontend) pulumi.StringArrayOutput { return v.DedicatedIpfos }).(pulumi.StringArrayOutput) +} + +func (o IploadbalancingTcpFrontendOutput) DefaultFarmId() pulumi.Float64Output { + return o.ApplyT(func(v *IploadbalancingTcpFrontend) pulumi.Float64Output { return v.DefaultFarmId }).(pulumi.Float64Output) +} + +func (o IploadbalancingTcpFrontendOutput) DefaultSslId() pulumi.Float64Output { + return o.ApplyT(func(v *IploadbalancingTcpFrontend) pulumi.Float64Output { return v.DefaultSslId }).(pulumi.Float64Output) +} + +func (o IploadbalancingTcpFrontendOutput) DeniedSources() pulumi.StringArrayOutput { + return o.ApplyT(func(v *IploadbalancingTcpFrontend) pulumi.StringArrayOutput { return v.DeniedSources }).(pulumi.StringArrayOutput) +} + +func (o IploadbalancingTcpFrontendOutput) Disabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *IploadbalancingTcpFrontend) pulumi.BoolPtrOutput { return v.Disabled }).(pulumi.BoolPtrOutput) +} + +func (o IploadbalancingTcpFrontendOutput) DisplayName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *IploadbalancingTcpFrontend) pulumi.StringPtrOutput { return v.DisplayName }).(pulumi.StringPtrOutput) +} + +func (o IploadbalancingTcpFrontendOutput) Port() pulumi.StringOutput { + return o.ApplyT(func(v *IploadbalancingTcpFrontend) pulumi.StringOutput { return v.Port }).(pulumi.StringOutput) +} + +func (o IploadbalancingTcpFrontendOutput) ServiceName() pulumi.StringOutput { + return o.ApplyT(func(v *IploadbalancingTcpFrontend) pulumi.StringOutput { return v.ServiceName }).(pulumi.StringOutput) +} + +func (o IploadbalancingTcpFrontendOutput) Ssl() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *IploadbalancingTcpFrontend) pulumi.BoolPtrOutput { return v.Ssl }).(pulumi.BoolPtrOutput) +} + +func (o IploadbalancingTcpFrontendOutput) Zone() pulumi.StringOutput { + return o.ApplyT(func(v *IploadbalancingTcpFrontend) pulumi.StringOutput { return v.Zone }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*IploadbalancingTcpFrontendInput)(nil)).Elem(), &IploadbalancingTcpFrontend{}) + pulumi.RegisterOutputType(IploadbalancingTcpFrontendOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/iploadbalancingTcpRoute.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/iploadbalancingTcpRoute.go new file mode 100644 index 00000000..bac0b9ff --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/iploadbalancingTcpRoute.go @@ -0,0 +1,223 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type IploadbalancingTcpRoute struct { + pulumi.CustomResourceState + + // Action triggered when all rules match + Action IploadbalancingTcpRouteActionOutput `pulumi:"action"` + // Human readable name for your route, this field is for you + DisplayName pulumi.StringPtrOutput `pulumi:"displayName"` + // Route traffic for this frontend + FrontendId pulumi.Float64Output `pulumi:"frontendId"` + // List of rules to match to trigger action + Rules IploadbalancingTcpRouteRuleTypeArrayOutput `pulumi:"rules"` + // The internal name of your IP load balancing + ServiceName pulumi.StringOutput `pulumi:"serviceName"` + // Route status. Routes in "ok" state are ready to operate + Status pulumi.StringOutput `pulumi:"status"` + // Route priority ([0..255]). 0 if null. Highest priority routes are evaluated last. Only the first matching route will + // trigger an action + Weight pulumi.Float64Output `pulumi:"weight"` +} + +// NewIploadbalancingTcpRoute registers a new resource with the given unique name, arguments, and options. +func NewIploadbalancingTcpRoute(ctx *pulumi.Context, + name string, args *IploadbalancingTcpRouteArgs, opts ...pulumi.ResourceOption) (*IploadbalancingTcpRoute, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.Action == nil { + return nil, errors.New("invalid value for required argument 'Action'") + } + if args.ServiceName == nil { + return nil, errors.New("invalid value for required argument 'ServiceName'") + } + opts = internal.PkgResourceDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var resource IploadbalancingTcpRoute + err = ctx.RegisterPackageResource("ovh:index/iploadbalancingTcpRoute:IploadbalancingTcpRoute", name, args, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetIploadbalancingTcpRoute gets an existing IploadbalancingTcpRoute resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetIploadbalancingTcpRoute(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *IploadbalancingTcpRouteState, opts ...pulumi.ResourceOption) (*IploadbalancingTcpRoute, error) { + var resource IploadbalancingTcpRoute + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + err = ctx.ReadPackageResource("ovh:index/iploadbalancingTcpRoute:IploadbalancingTcpRoute", name, id, state, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering IploadbalancingTcpRoute resources. +type iploadbalancingTcpRouteState struct { + // Action triggered when all rules match + Action *IploadbalancingTcpRouteAction `pulumi:"action"` + // Human readable name for your route, this field is for you + DisplayName *string `pulumi:"displayName"` + // Route traffic for this frontend + FrontendId *float64 `pulumi:"frontendId"` + // List of rules to match to trigger action + Rules []IploadbalancingTcpRouteRuleType `pulumi:"rules"` + // The internal name of your IP load balancing + ServiceName *string `pulumi:"serviceName"` + // Route status. Routes in "ok" state are ready to operate + Status *string `pulumi:"status"` + // Route priority ([0..255]). 0 if null. Highest priority routes are evaluated last. Only the first matching route will + // trigger an action + Weight *float64 `pulumi:"weight"` +} + +type IploadbalancingTcpRouteState struct { + // Action triggered when all rules match + Action IploadbalancingTcpRouteActionPtrInput + // Human readable name for your route, this field is for you + DisplayName pulumi.StringPtrInput + // Route traffic for this frontend + FrontendId pulumi.Float64PtrInput + // List of rules to match to trigger action + Rules IploadbalancingTcpRouteRuleTypeArrayInput + // The internal name of your IP load balancing + ServiceName pulumi.StringPtrInput + // Route status. Routes in "ok" state are ready to operate + Status pulumi.StringPtrInput + // Route priority ([0..255]). 0 if null. Highest priority routes are evaluated last. Only the first matching route will + // trigger an action + Weight pulumi.Float64PtrInput +} + +func (IploadbalancingTcpRouteState) ElementType() reflect.Type { + return reflect.TypeOf((*iploadbalancingTcpRouteState)(nil)).Elem() +} + +type iploadbalancingTcpRouteArgs struct { + // Action triggered when all rules match + Action IploadbalancingTcpRouteAction `pulumi:"action"` + // Human readable name for your route, this field is for you + DisplayName *string `pulumi:"displayName"` + // Route traffic for this frontend + FrontendId *float64 `pulumi:"frontendId"` + // The internal name of your IP load balancing + ServiceName string `pulumi:"serviceName"` + // Route priority ([0..255]). 0 if null. Highest priority routes are evaluated last. Only the first matching route will + // trigger an action + Weight *float64 `pulumi:"weight"` +} + +// The set of arguments for constructing a IploadbalancingTcpRoute resource. +type IploadbalancingTcpRouteArgs struct { + // Action triggered when all rules match + Action IploadbalancingTcpRouteActionInput + // Human readable name for your route, this field is for you + DisplayName pulumi.StringPtrInput + // Route traffic for this frontend + FrontendId pulumi.Float64PtrInput + // The internal name of your IP load balancing + ServiceName pulumi.StringInput + // Route priority ([0..255]). 0 if null. Highest priority routes are evaluated last. Only the first matching route will + // trigger an action + Weight pulumi.Float64PtrInput +} + +func (IploadbalancingTcpRouteArgs) ElementType() reflect.Type { + return reflect.TypeOf((*iploadbalancingTcpRouteArgs)(nil)).Elem() +} + +type IploadbalancingTcpRouteInput interface { + pulumi.Input + + ToIploadbalancingTcpRouteOutput() IploadbalancingTcpRouteOutput + ToIploadbalancingTcpRouteOutputWithContext(ctx context.Context) IploadbalancingTcpRouteOutput +} + +func (*IploadbalancingTcpRoute) ElementType() reflect.Type { + return reflect.TypeOf((**IploadbalancingTcpRoute)(nil)).Elem() +} + +func (i *IploadbalancingTcpRoute) ToIploadbalancingTcpRouteOutput() IploadbalancingTcpRouteOutput { + return i.ToIploadbalancingTcpRouteOutputWithContext(context.Background()) +} + +func (i *IploadbalancingTcpRoute) ToIploadbalancingTcpRouteOutputWithContext(ctx context.Context) IploadbalancingTcpRouteOutput { + return pulumi.ToOutputWithContext(ctx, i).(IploadbalancingTcpRouteOutput) +} + +type IploadbalancingTcpRouteOutput struct{ *pulumi.OutputState } + +func (IploadbalancingTcpRouteOutput) ElementType() reflect.Type { + return reflect.TypeOf((**IploadbalancingTcpRoute)(nil)).Elem() +} + +func (o IploadbalancingTcpRouteOutput) ToIploadbalancingTcpRouteOutput() IploadbalancingTcpRouteOutput { + return o +} + +func (o IploadbalancingTcpRouteOutput) ToIploadbalancingTcpRouteOutputWithContext(ctx context.Context) IploadbalancingTcpRouteOutput { + return o +} + +// Action triggered when all rules match +func (o IploadbalancingTcpRouteOutput) Action() IploadbalancingTcpRouteActionOutput { + return o.ApplyT(func(v *IploadbalancingTcpRoute) IploadbalancingTcpRouteActionOutput { return v.Action }).(IploadbalancingTcpRouteActionOutput) +} + +// Human readable name for your route, this field is for you +func (o IploadbalancingTcpRouteOutput) DisplayName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *IploadbalancingTcpRoute) pulumi.StringPtrOutput { return v.DisplayName }).(pulumi.StringPtrOutput) +} + +// Route traffic for this frontend +func (o IploadbalancingTcpRouteOutput) FrontendId() pulumi.Float64Output { + return o.ApplyT(func(v *IploadbalancingTcpRoute) pulumi.Float64Output { return v.FrontendId }).(pulumi.Float64Output) +} + +// List of rules to match to trigger action +func (o IploadbalancingTcpRouteOutput) Rules() IploadbalancingTcpRouteRuleTypeArrayOutput { + return o.ApplyT(func(v *IploadbalancingTcpRoute) IploadbalancingTcpRouteRuleTypeArrayOutput { return v.Rules }).(IploadbalancingTcpRouteRuleTypeArrayOutput) +} + +// The internal name of your IP load balancing +func (o IploadbalancingTcpRouteOutput) ServiceName() pulumi.StringOutput { + return o.ApplyT(func(v *IploadbalancingTcpRoute) pulumi.StringOutput { return v.ServiceName }).(pulumi.StringOutput) +} + +// Route status. Routes in "ok" state are ready to operate +func (o IploadbalancingTcpRouteOutput) Status() pulumi.StringOutput { + return o.ApplyT(func(v *IploadbalancingTcpRoute) pulumi.StringOutput { return v.Status }).(pulumi.StringOutput) +} + +// Route priority ([0..255]). 0 if null. Highest priority routes are evaluated last. Only the first matching route will +// trigger an action +func (o IploadbalancingTcpRouteOutput) Weight() pulumi.Float64Output { + return o.ApplyT(func(v *IploadbalancingTcpRoute) pulumi.Float64Output { return v.Weight }).(pulumi.Float64Output) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*IploadbalancingTcpRouteInput)(nil)).Elem(), &IploadbalancingTcpRoute{}) + pulumi.RegisterOutputType(IploadbalancingTcpRouteOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/iploadbalancingTcpRouteRule.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/iploadbalancingTcpRouteRule.go new file mode 100644 index 00000000..6f2e1b87 --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/iploadbalancingTcpRouteRule.go @@ -0,0 +1,198 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type IploadbalancingTcpRouteRule struct { + pulumi.CustomResourceState + + DisplayName pulumi.StringPtrOutput `pulumi:"displayName"` + Field pulumi.StringOutput `pulumi:"field"` + Match pulumi.StringOutput `pulumi:"match"` + Negate pulumi.BoolOutput `pulumi:"negate"` + Pattern pulumi.StringPtrOutput `pulumi:"pattern"` + RouteId pulumi.StringOutput `pulumi:"routeId"` + ServiceName pulumi.StringOutput `pulumi:"serviceName"` + SubField pulumi.StringPtrOutput `pulumi:"subField"` +} + +// NewIploadbalancingTcpRouteRule registers a new resource with the given unique name, arguments, and options. +func NewIploadbalancingTcpRouteRule(ctx *pulumi.Context, + name string, args *IploadbalancingTcpRouteRuleArgs, opts ...pulumi.ResourceOption) (*IploadbalancingTcpRouteRule, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.Field == nil { + return nil, errors.New("invalid value for required argument 'Field'") + } + if args.Match == nil { + return nil, errors.New("invalid value for required argument 'Match'") + } + if args.RouteId == nil { + return nil, errors.New("invalid value for required argument 'RouteId'") + } + if args.ServiceName == nil { + return nil, errors.New("invalid value for required argument 'ServiceName'") + } + opts = internal.PkgResourceDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var resource IploadbalancingTcpRouteRule + err = ctx.RegisterPackageResource("ovh:index/iploadbalancingTcpRouteRule:IploadbalancingTcpRouteRule", name, args, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetIploadbalancingTcpRouteRule gets an existing IploadbalancingTcpRouteRule resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetIploadbalancingTcpRouteRule(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *IploadbalancingTcpRouteRuleState, opts ...pulumi.ResourceOption) (*IploadbalancingTcpRouteRule, error) { + var resource IploadbalancingTcpRouteRule + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + err = ctx.ReadPackageResource("ovh:index/iploadbalancingTcpRouteRule:IploadbalancingTcpRouteRule", name, id, state, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering IploadbalancingTcpRouteRule resources. +type iploadbalancingTcpRouteRuleState struct { + DisplayName *string `pulumi:"displayName"` + Field *string `pulumi:"field"` + Match *string `pulumi:"match"` + Negate *bool `pulumi:"negate"` + Pattern *string `pulumi:"pattern"` + RouteId *string `pulumi:"routeId"` + ServiceName *string `pulumi:"serviceName"` + SubField *string `pulumi:"subField"` +} + +type IploadbalancingTcpRouteRuleState struct { + DisplayName pulumi.StringPtrInput + Field pulumi.StringPtrInput + Match pulumi.StringPtrInput + Negate pulumi.BoolPtrInput + Pattern pulumi.StringPtrInput + RouteId pulumi.StringPtrInput + ServiceName pulumi.StringPtrInput + SubField pulumi.StringPtrInput +} + +func (IploadbalancingTcpRouteRuleState) ElementType() reflect.Type { + return reflect.TypeOf((*iploadbalancingTcpRouteRuleState)(nil)).Elem() +} + +type iploadbalancingTcpRouteRuleArgs struct { + DisplayName *string `pulumi:"displayName"` + Field string `pulumi:"field"` + Match string `pulumi:"match"` + Negate *bool `pulumi:"negate"` + Pattern *string `pulumi:"pattern"` + RouteId string `pulumi:"routeId"` + ServiceName string `pulumi:"serviceName"` + SubField *string `pulumi:"subField"` +} + +// The set of arguments for constructing a IploadbalancingTcpRouteRule resource. +type IploadbalancingTcpRouteRuleArgs struct { + DisplayName pulumi.StringPtrInput + Field pulumi.StringInput + Match pulumi.StringInput + Negate pulumi.BoolPtrInput + Pattern pulumi.StringPtrInput + RouteId pulumi.StringInput + ServiceName pulumi.StringInput + SubField pulumi.StringPtrInput +} + +func (IploadbalancingTcpRouteRuleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*iploadbalancingTcpRouteRuleArgs)(nil)).Elem() +} + +type IploadbalancingTcpRouteRuleInput interface { + pulumi.Input + + ToIploadbalancingTcpRouteRuleOutput() IploadbalancingTcpRouteRuleOutput + ToIploadbalancingTcpRouteRuleOutputWithContext(ctx context.Context) IploadbalancingTcpRouteRuleOutput +} + +func (*IploadbalancingTcpRouteRule) ElementType() reflect.Type { + return reflect.TypeOf((**IploadbalancingTcpRouteRule)(nil)).Elem() +} + +func (i *IploadbalancingTcpRouteRule) ToIploadbalancingTcpRouteRuleOutput() IploadbalancingTcpRouteRuleOutput { + return i.ToIploadbalancingTcpRouteRuleOutputWithContext(context.Background()) +} + +func (i *IploadbalancingTcpRouteRule) ToIploadbalancingTcpRouteRuleOutputWithContext(ctx context.Context) IploadbalancingTcpRouteRuleOutput { + return pulumi.ToOutputWithContext(ctx, i).(IploadbalancingTcpRouteRuleOutput) +} + +type IploadbalancingTcpRouteRuleOutput struct{ *pulumi.OutputState } + +func (IploadbalancingTcpRouteRuleOutput) ElementType() reflect.Type { + return reflect.TypeOf((**IploadbalancingTcpRouteRule)(nil)).Elem() +} + +func (o IploadbalancingTcpRouteRuleOutput) ToIploadbalancingTcpRouteRuleOutput() IploadbalancingTcpRouteRuleOutput { + return o +} + +func (o IploadbalancingTcpRouteRuleOutput) ToIploadbalancingTcpRouteRuleOutputWithContext(ctx context.Context) IploadbalancingTcpRouteRuleOutput { + return o +} + +func (o IploadbalancingTcpRouteRuleOutput) DisplayName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *IploadbalancingTcpRouteRule) pulumi.StringPtrOutput { return v.DisplayName }).(pulumi.StringPtrOutput) +} + +func (o IploadbalancingTcpRouteRuleOutput) Field() pulumi.StringOutput { + return o.ApplyT(func(v *IploadbalancingTcpRouteRule) pulumi.StringOutput { return v.Field }).(pulumi.StringOutput) +} + +func (o IploadbalancingTcpRouteRuleOutput) Match() pulumi.StringOutput { + return o.ApplyT(func(v *IploadbalancingTcpRouteRule) pulumi.StringOutput { return v.Match }).(pulumi.StringOutput) +} + +func (o IploadbalancingTcpRouteRuleOutput) Negate() pulumi.BoolOutput { + return o.ApplyT(func(v *IploadbalancingTcpRouteRule) pulumi.BoolOutput { return v.Negate }).(pulumi.BoolOutput) +} + +func (o IploadbalancingTcpRouteRuleOutput) Pattern() pulumi.StringPtrOutput { + return o.ApplyT(func(v *IploadbalancingTcpRouteRule) pulumi.StringPtrOutput { return v.Pattern }).(pulumi.StringPtrOutput) +} + +func (o IploadbalancingTcpRouteRuleOutput) RouteId() pulumi.StringOutput { + return o.ApplyT(func(v *IploadbalancingTcpRouteRule) pulumi.StringOutput { return v.RouteId }).(pulumi.StringOutput) +} + +func (o IploadbalancingTcpRouteRuleOutput) ServiceName() pulumi.StringOutput { + return o.ApplyT(func(v *IploadbalancingTcpRouteRule) pulumi.StringOutput { return v.ServiceName }).(pulumi.StringOutput) +} + +func (o IploadbalancingTcpRouteRuleOutput) SubField() pulumi.StringPtrOutput { + return o.ApplyT(func(v *IploadbalancingTcpRouteRule) pulumi.StringPtrOutput { return v.SubField }).(pulumi.StringPtrOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*IploadbalancingTcpRouteRuleInput)(nil)).Elem(), &IploadbalancingTcpRouteRule{}) + pulumi.RegisterOutputType(IploadbalancingTcpRouteRuleOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/iploadbalancingUdpFrontend.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/iploadbalancingUdpFrontend.go new file mode 100644 index 00000000..de458f93 --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/iploadbalancingUdpFrontend.go @@ -0,0 +1,245 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type IploadbalancingUdpFrontend struct { + pulumi.CustomResourceState + + // Only attach frontend on these ip. No restriction if null + DedicatedIpfos pulumi.StringArrayOutput `pulumi:"dedicatedIpfos"` + // Default UDP Farm of your frontend + DefaultFarmId pulumi.Float64Output `pulumi:"defaultFarmId"` + // Disable your frontend. Default: 'false' + Disabled pulumi.BoolOutput `pulumi:"disabled"` + // Human readable name for your frontend, this field is for you + DisplayName pulumi.StringOutput `pulumi:"displayName"` + // Id of your frontend + FrontendId pulumi.Float64Output `pulumi:"frontendId"` + // Port(s) attached to your frontend. Supports single port (numerical value), range (2 dash-delimited increasing ports) and + // comma-separated list of 'single port' and/or 'range'. Each port must be in the [1;49151] range. + Port pulumi.StringOutput `pulumi:"port"` + // The internal name of your IP load balancing + ServiceName pulumi.StringOutput `pulumi:"serviceName"` + // Zone of your frontend. Use "all" for all owned zone. + Zone pulumi.StringOutput `pulumi:"zone"` +} + +// NewIploadbalancingUdpFrontend registers a new resource with the given unique name, arguments, and options. +func NewIploadbalancingUdpFrontend(ctx *pulumi.Context, + name string, args *IploadbalancingUdpFrontendArgs, opts ...pulumi.ResourceOption) (*IploadbalancingUdpFrontend, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.Port == nil { + return nil, errors.New("invalid value for required argument 'Port'") + } + if args.ServiceName == nil { + return nil, errors.New("invalid value for required argument 'ServiceName'") + } + if args.Zone == nil { + return nil, errors.New("invalid value for required argument 'Zone'") + } + opts = internal.PkgResourceDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var resource IploadbalancingUdpFrontend + err = ctx.RegisterPackageResource("ovh:index/iploadbalancingUdpFrontend:IploadbalancingUdpFrontend", name, args, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetIploadbalancingUdpFrontend gets an existing IploadbalancingUdpFrontend resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetIploadbalancingUdpFrontend(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *IploadbalancingUdpFrontendState, opts ...pulumi.ResourceOption) (*IploadbalancingUdpFrontend, error) { + var resource IploadbalancingUdpFrontend + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + err = ctx.ReadPackageResource("ovh:index/iploadbalancingUdpFrontend:IploadbalancingUdpFrontend", name, id, state, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering IploadbalancingUdpFrontend resources. +type iploadbalancingUdpFrontendState struct { + // Only attach frontend on these ip. No restriction if null + DedicatedIpfos []string `pulumi:"dedicatedIpfos"` + // Default UDP Farm of your frontend + DefaultFarmId *float64 `pulumi:"defaultFarmId"` + // Disable your frontend. Default: 'false' + Disabled *bool `pulumi:"disabled"` + // Human readable name for your frontend, this field is for you + DisplayName *string `pulumi:"displayName"` + // Id of your frontend + FrontendId *float64 `pulumi:"frontendId"` + // Port(s) attached to your frontend. Supports single port (numerical value), range (2 dash-delimited increasing ports) and + // comma-separated list of 'single port' and/or 'range'. Each port must be in the [1;49151] range. + Port *string `pulumi:"port"` + // The internal name of your IP load balancing + ServiceName *string `pulumi:"serviceName"` + // Zone of your frontend. Use "all" for all owned zone. + Zone *string `pulumi:"zone"` +} + +type IploadbalancingUdpFrontendState struct { + // Only attach frontend on these ip. No restriction if null + DedicatedIpfos pulumi.StringArrayInput + // Default UDP Farm of your frontend + DefaultFarmId pulumi.Float64PtrInput + // Disable your frontend. Default: 'false' + Disabled pulumi.BoolPtrInput + // Human readable name for your frontend, this field is for you + DisplayName pulumi.StringPtrInput + // Id of your frontend + FrontendId pulumi.Float64PtrInput + // Port(s) attached to your frontend. Supports single port (numerical value), range (2 dash-delimited increasing ports) and + // comma-separated list of 'single port' and/or 'range'. Each port must be in the [1;49151] range. + Port pulumi.StringPtrInput + // The internal name of your IP load balancing + ServiceName pulumi.StringPtrInput + // Zone of your frontend. Use "all" for all owned zone. + Zone pulumi.StringPtrInput +} + +func (IploadbalancingUdpFrontendState) ElementType() reflect.Type { + return reflect.TypeOf((*iploadbalancingUdpFrontendState)(nil)).Elem() +} + +type iploadbalancingUdpFrontendArgs struct { + // Only attach frontend on these ip. No restriction if null + DedicatedIpfos []string `pulumi:"dedicatedIpfos"` + // Default UDP Farm of your frontend + DefaultFarmId *float64 `pulumi:"defaultFarmId"` + // Disable your frontend. Default: 'false' + Disabled *bool `pulumi:"disabled"` + // Human readable name for your frontend, this field is for you + DisplayName *string `pulumi:"displayName"` + // Port(s) attached to your frontend. Supports single port (numerical value), range (2 dash-delimited increasing ports) and + // comma-separated list of 'single port' and/or 'range'. Each port must be in the [1;49151] range. + Port string `pulumi:"port"` + // The internal name of your IP load balancing + ServiceName string `pulumi:"serviceName"` + // Zone of your frontend. Use "all" for all owned zone. + Zone string `pulumi:"zone"` +} + +// The set of arguments for constructing a IploadbalancingUdpFrontend resource. +type IploadbalancingUdpFrontendArgs struct { + // Only attach frontend on these ip. No restriction if null + DedicatedIpfos pulumi.StringArrayInput + // Default UDP Farm of your frontend + DefaultFarmId pulumi.Float64PtrInput + // Disable your frontend. Default: 'false' + Disabled pulumi.BoolPtrInput + // Human readable name for your frontend, this field is for you + DisplayName pulumi.StringPtrInput + // Port(s) attached to your frontend. Supports single port (numerical value), range (2 dash-delimited increasing ports) and + // comma-separated list of 'single port' and/or 'range'. Each port must be in the [1;49151] range. + Port pulumi.StringInput + // The internal name of your IP load balancing + ServiceName pulumi.StringInput + // Zone of your frontend. Use "all" for all owned zone. + Zone pulumi.StringInput +} + +func (IploadbalancingUdpFrontendArgs) ElementType() reflect.Type { + return reflect.TypeOf((*iploadbalancingUdpFrontendArgs)(nil)).Elem() +} + +type IploadbalancingUdpFrontendInput interface { + pulumi.Input + + ToIploadbalancingUdpFrontendOutput() IploadbalancingUdpFrontendOutput + ToIploadbalancingUdpFrontendOutputWithContext(ctx context.Context) IploadbalancingUdpFrontendOutput +} + +func (*IploadbalancingUdpFrontend) ElementType() reflect.Type { + return reflect.TypeOf((**IploadbalancingUdpFrontend)(nil)).Elem() +} + +func (i *IploadbalancingUdpFrontend) ToIploadbalancingUdpFrontendOutput() IploadbalancingUdpFrontendOutput { + return i.ToIploadbalancingUdpFrontendOutputWithContext(context.Background()) +} + +func (i *IploadbalancingUdpFrontend) ToIploadbalancingUdpFrontendOutputWithContext(ctx context.Context) IploadbalancingUdpFrontendOutput { + return pulumi.ToOutputWithContext(ctx, i).(IploadbalancingUdpFrontendOutput) +} + +type IploadbalancingUdpFrontendOutput struct{ *pulumi.OutputState } + +func (IploadbalancingUdpFrontendOutput) ElementType() reflect.Type { + return reflect.TypeOf((**IploadbalancingUdpFrontend)(nil)).Elem() +} + +func (o IploadbalancingUdpFrontendOutput) ToIploadbalancingUdpFrontendOutput() IploadbalancingUdpFrontendOutput { + return o +} + +func (o IploadbalancingUdpFrontendOutput) ToIploadbalancingUdpFrontendOutputWithContext(ctx context.Context) IploadbalancingUdpFrontendOutput { + return o +} + +// Only attach frontend on these ip. No restriction if null +func (o IploadbalancingUdpFrontendOutput) DedicatedIpfos() pulumi.StringArrayOutput { + return o.ApplyT(func(v *IploadbalancingUdpFrontend) pulumi.StringArrayOutput { return v.DedicatedIpfos }).(pulumi.StringArrayOutput) +} + +// Default UDP Farm of your frontend +func (o IploadbalancingUdpFrontendOutput) DefaultFarmId() pulumi.Float64Output { + return o.ApplyT(func(v *IploadbalancingUdpFrontend) pulumi.Float64Output { return v.DefaultFarmId }).(pulumi.Float64Output) +} + +// Disable your frontend. Default: 'false' +func (o IploadbalancingUdpFrontendOutput) Disabled() pulumi.BoolOutput { + return o.ApplyT(func(v *IploadbalancingUdpFrontend) pulumi.BoolOutput { return v.Disabled }).(pulumi.BoolOutput) +} + +// Human readable name for your frontend, this field is for you +func (o IploadbalancingUdpFrontendOutput) DisplayName() pulumi.StringOutput { + return o.ApplyT(func(v *IploadbalancingUdpFrontend) pulumi.StringOutput { return v.DisplayName }).(pulumi.StringOutput) +} + +// Id of your frontend +func (o IploadbalancingUdpFrontendOutput) FrontendId() pulumi.Float64Output { + return o.ApplyT(func(v *IploadbalancingUdpFrontend) pulumi.Float64Output { return v.FrontendId }).(pulumi.Float64Output) +} + +// Port(s) attached to your frontend. Supports single port (numerical value), range (2 dash-delimited increasing ports) and +// comma-separated list of 'single port' and/or 'range'. Each port must be in the [1;49151] range. +func (o IploadbalancingUdpFrontendOutput) Port() pulumi.StringOutput { + return o.ApplyT(func(v *IploadbalancingUdpFrontend) pulumi.StringOutput { return v.Port }).(pulumi.StringOutput) +} + +// The internal name of your IP load balancing +func (o IploadbalancingUdpFrontendOutput) ServiceName() pulumi.StringOutput { + return o.ApplyT(func(v *IploadbalancingUdpFrontend) pulumi.StringOutput { return v.ServiceName }).(pulumi.StringOutput) +} + +// Zone of your frontend. Use "all" for all owned zone. +func (o IploadbalancingUdpFrontendOutput) Zone() pulumi.StringOutput { + return o.ApplyT(func(v *IploadbalancingUdpFrontend) pulumi.StringOutput { return v.Zone }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*IploadbalancingUdpFrontendInput)(nil)).Elem(), &IploadbalancingUdpFrontend{}) + pulumi.RegisterOutputType(IploadbalancingUdpFrontendOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/iploadbalancingVrackNetwork.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/iploadbalancingVrackNetwork.go new file mode 100644 index 00000000..e7969116 --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/iploadbalancingVrackNetwork.go @@ -0,0 +1,236 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type IploadbalancingVrackNetwork struct { + pulumi.CustomResourceState + + // Human readable name for your vrack network + DisplayName pulumi.StringPtrOutput `pulumi:"displayName"` + // This attribute is there for documentation purpose only and isnt passed to the OVH API as it may conflicts with http/tcp + // farms `vrack_network_id` attribute + FarmIds pulumi.Float64ArrayOutput `pulumi:"farmIds"` + // An IP block used as a pool of IPs by this Load Balancer to connect to the servers in this private network. The blck must + // be in the private network and reserved for the Load Balancer + NatIp pulumi.StringOutput `pulumi:"natIp"` + // The internal name of your IPloadbalancer + ServiceName pulumi.StringOutput `pulumi:"serviceName"` + // IP block of the private network in the vRack + Subnet pulumi.StringOutput `pulumi:"subnet"` + // VLAN of the private network in the vRack. 0 if the private network is not in a VLAN + Vlan pulumi.Float64Output `pulumi:"vlan"` + // Internal Load Balancer identifier of the vRack private network + VrackNetworkId pulumi.Float64Output `pulumi:"vrackNetworkId"` +} + +// NewIploadbalancingVrackNetwork registers a new resource with the given unique name, arguments, and options. +func NewIploadbalancingVrackNetwork(ctx *pulumi.Context, + name string, args *IploadbalancingVrackNetworkArgs, opts ...pulumi.ResourceOption) (*IploadbalancingVrackNetwork, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.NatIp == nil { + return nil, errors.New("invalid value for required argument 'NatIp'") + } + if args.ServiceName == nil { + return nil, errors.New("invalid value for required argument 'ServiceName'") + } + if args.Subnet == nil { + return nil, errors.New("invalid value for required argument 'Subnet'") + } + opts = internal.PkgResourceDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var resource IploadbalancingVrackNetwork + err = ctx.RegisterPackageResource("ovh:index/iploadbalancingVrackNetwork:IploadbalancingVrackNetwork", name, args, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetIploadbalancingVrackNetwork gets an existing IploadbalancingVrackNetwork resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetIploadbalancingVrackNetwork(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *IploadbalancingVrackNetworkState, opts ...pulumi.ResourceOption) (*IploadbalancingVrackNetwork, error) { + var resource IploadbalancingVrackNetwork + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + err = ctx.ReadPackageResource("ovh:index/iploadbalancingVrackNetwork:IploadbalancingVrackNetwork", name, id, state, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering IploadbalancingVrackNetwork resources. +type iploadbalancingVrackNetworkState struct { + // Human readable name for your vrack network + DisplayName *string `pulumi:"displayName"` + // This attribute is there for documentation purpose only and isnt passed to the OVH API as it may conflicts with http/tcp + // farms `vrack_network_id` attribute + FarmIds []float64 `pulumi:"farmIds"` + // An IP block used as a pool of IPs by this Load Balancer to connect to the servers in this private network. The blck must + // be in the private network and reserved for the Load Balancer + NatIp *string `pulumi:"natIp"` + // The internal name of your IPloadbalancer + ServiceName *string `pulumi:"serviceName"` + // IP block of the private network in the vRack + Subnet *string `pulumi:"subnet"` + // VLAN of the private network in the vRack. 0 if the private network is not in a VLAN + Vlan *float64 `pulumi:"vlan"` + // Internal Load Balancer identifier of the vRack private network + VrackNetworkId *float64 `pulumi:"vrackNetworkId"` +} + +type IploadbalancingVrackNetworkState struct { + // Human readable name for your vrack network + DisplayName pulumi.StringPtrInput + // This attribute is there for documentation purpose only and isnt passed to the OVH API as it may conflicts with http/tcp + // farms `vrack_network_id` attribute + FarmIds pulumi.Float64ArrayInput + // An IP block used as a pool of IPs by this Load Balancer to connect to the servers in this private network. The blck must + // be in the private network and reserved for the Load Balancer + NatIp pulumi.StringPtrInput + // The internal name of your IPloadbalancer + ServiceName pulumi.StringPtrInput + // IP block of the private network in the vRack + Subnet pulumi.StringPtrInput + // VLAN of the private network in the vRack. 0 if the private network is not in a VLAN + Vlan pulumi.Float64PtrInput + // Internal Load Balancer identifier of the vRack private network + VrackNetworkId pulumi.Float64PtrInput +} + +func (IploadbalancingVrackNetworkState) ElementType() reflect.Type { + return reflect.TypeOf((*iploadbalancingVrackNetworkState)(nil)).Elem() +} + +type iploadbalancingVrackNetworkArgs struct { + // Human readable name for your vrack network + DisplayName *string `pulumi:"displayName"` + // This attribute is there for documentation purpose only and isnt passed to the OVH API as it may conflicts with http/tcp + // farms `vrack_network_id` attribute + FarmIds []float64 `pulumi:"farmIds"` + // An IP block used as a pool of IPs by this Load Balancer to connect to the servers in this private network. The blck must + // be in the private network and reserved for the Load Balancer + NatIp string `pulumi:"natIp"` + // The internal name of your IPloadbalancer + ServiceName string `pulumi:"serviceName"` + // IP block of the private network in the vRack + Subnet string `pulumi:"subnet"` + // VLAN of the private network in the vRack. 0 if the private network is not in a VLAN + Vlan *float64 `pulumi:"vlan"` +} + +// The set of arguments for constructing a IploadbalancingVrackNetwork resource. +type IploadbalancingVrackNetworkArgs struct { + // Human readable name for your vrack network + DisplayName pulumi.StringPtrInput + // This attribute is there for documentation purpose only and isnt passed to the OVH API as it may conflicts with http/tcp + // farms `vrack_network_id` attribute + FarmIds pulumi.Float64ArrayInput + // An IP block used as a pool of IPs by this Load Balancer to connect to the servers in this private network. The blck must + // be in the private network and reserved for the Load Balancer + NatIp pulumi.StringInput + // The internal name of your IPloadbalancer + ServiceName pulumi.StringInput + // IP block of the private network in the vRack + Subnet pulumi.StringInput + // VLAN of the private network in the vRack. 0 if the private network is not in a VLAN + Vlan pulumi.Float64PtrInput +} + +func (IploadbalancingVrackNetworkArgs) ElementType() reflect.Type { + return reflect.TypeOf((*iploadbalancingVrackNetworkArgs)(nil)).Elem() +} + +type IploadbalancingVrackNetworkInput interface { + pulumi.Input + + ToIploadbalancingVrackNetworkOutput() IploadbalancingVrackNetworkOutput + ToIploadbalancingVrackNetworkOutputWithContext(ctx context.Context) IploadbalancingVrackNetworkOutput +} + +func (*IploadbalancingVrackNetwork) ElementType() reflect.Type { + return reflect.TypeOf((**IploadbalancingVrackNetwork)(nil)).Elem() +} + +func (i *IploadbalancingVrackNetwork) ToIploadbalancingVrackNetworkOutput() IploadbalancingVrackNetworkOutput { + return i.ToIploadbalancingVrackNetworkOutputWithContext(context.Background()) +} + +func (i *IploadbalancingVrackNetwork) ToIploadbalancingVrackNetworkOutputWithContext(ctx context.Context) IploadbalancingVrackNetworkOutput { + return pulumi.ToOutputWithContext(ctx, i).(IploadbalancingVrackNetworkOutput) +} + +type IploadbalancingVrackNetworkOutput struct{ *pulumi.OutputState } + +func (IploadbalancingVrackNetworkOutput) ElementType() reflect.Type { + return reflect.TypeOf((**IploadbalancingVrackNetwork)(nil)).Elem() +} + +func (o IploadbalancingVrackNetworkOutput) ToIploadbalancingVrackNetworkOutput() IploadbalancingVrackNetworkOutput { + return o +} + +func (o IploadbalancingVrackNetworkOutput) ToIploadbalancingVrackNetworkOutputWithContext(ctx context.Context) IploadbalancingVrackNetworkOutput { + return o +} + +// Human readable name for your vrack network +func (o IploadbalancingVrackNetworkOutput) DisplayName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *IploadbalancingVrackNetwork) pulumi.StringPtrOutput { return v.DisplayName }).(pulumi.StringPtrOutput) +} + +// This attribute is there for documentation purpose only and isnt passed to the OVH API as it may conflicts with http/tcp +// farms `vrack_network_id` attribute +func (o IploadbalancingVrackNetworkOutput) FarmIds() pulumi.Float64ArrayOutput { + return o.ApplyT(func(v *IploadbalancingVrackNetwork) pulumi.Float64ArrayOutput { return v.FarmIds }).(pulumi.Float64ArrayOutput) +} + +// An IP block used as a pool of IPs by this Load Balancer to connect to the servers in this private network. The blck must +// be in the private network and reserved for the Load Balancer +func (o IploadbalancingVrackNetworkOutput) NatIp() pulumi.StringOutput { + return o.ApplyT(func(v *IploadbalancingVrackNetwork) pulumi.StringOutput { return v.NatIp }).(pulumi.StringOutput) +} + +// The internal name of your IPloadbalancer +func (o IploadbalancingVrackNetworkOutput) ServiceName() pulumi.StringOutput { + return o.ApplyT(func(v *IploadbalancingVrackNetwork) pulumi.StringOutput { return v.ServiceName }).(pulumi.StringOutput) +} + +// IP block of the private network in the vRack +func (o IploadbalancingVrackNetworkOutput) Subnet() pulumi.StringOutput { + return o.ApplyT(func(v *IploadbalancingVrackNetwork) pulumi.StringOutput { return v.Subnet }).(pulumi.StringOutput) +} + +// VLAN of the private network in the vRack. 0 if the private network is not in a VLAN +func (o IploadbalancingVrackNetworkOutput) Vlan() pulumi.Float64Output { + return o.ApplyT(func(v *IploadbalancingVrackNetwork) pulumi.Float64Output { return v.Vlan }).(pulumi.Float64Output) +} + +// Internal Load Balancer identifier of the vRack private network +func (o IploadbalancingVrackNetworkOutput) VrackNetworkId() pulumi.Float64Output { + return o.ApplyT(func(v *IploadbalancingVrackNetwork) pulumi.Float64Output { return v.VrackNetworkId }).(pulumi.Float64Output) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*IploadbalancingVrackNetworkInput)(nil)).Elem(), &IploadbalancingVrackNetwork{}) + pulumi.RegisterOutputType(IploadbalancingVrackNetworkOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/meApiOauth2Client.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/meApiOauth2Client.go new file mode 100644 index 00000000..4bd4ed29 --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/meApiOauth2Client.go @@ -0,0 +1,211 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type MeApiOauth2Client struct { + pulumi.CustomResourceState + + // Callback URLs of the applications using this oauth2 client. Required if using the AUTHORIZATION_CODE flow. + CallbackUrls pulumi.StringArrayOutput `pulumi:"callbackUrls"` + // Client ID for the oauth2 client, generated during the resource creation. + ClientId pulumi.StringOutput `pulumi:"clientId"` + // Secret for the oauth2 client, generated during the oauth2 client creation. + ClientSecret pulumi.StringOutput `pulumi:"clientSecret"` + // A description of your oauth2 client. + Description pulumi.StringOutput `pulumi:"description"` + // OAuth2 flow type implemented for this oauth2 client. Can be either AUTHORIZATION_CODE or CLIENT_CREDENTIALS + Flow pulumi.StringOutput `pulumi:"flow"` + // URN that will allow you to associate this oauth2 client with an access policy + Identity pulumi.StringOutput `pulumi:"identity"` + Name pulumi.StringOutput `pulumi:"name"` +} + +// NewMeApiOauth2Client registers a new resource with the given unique name, arguments, and options. +func NewMeApiOauth2Client(ctx *pulumi.Context, + name string, args *MeApiOauth2ClientArgs, opts ...pulumi.ResourceOption) (*MeApiOauth2Client, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.Description == nil { + return nil, errors.New("invalid value for required argument 'Description'") + } + if args.Flow == nil { + return nil, errors.New("invalid value for required argument 'Flow'") + } + secrets := pulumi.AdditionalSecretOutputs([]string{ + "clientSecret", + }) + opts = append(opts, secrets) + opts = internal.PkgResourceDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var resource MeApiOauth2Client + err = ctx.RegisterPackageResource("ovh:index/meApiOauth2Client:MeApiOauth2Client", name, args, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetMeApiOauth2Client gets an existing MeApiOauth2Client resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetMeApiOauth2Client(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *MeApiOauth2ClientState, opts ...pulumi.ResourceOption) (*MeApiOauth2Client, error) { + var resource MeApiOauth2Client + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + err = ctx.ReadPackageResource("ovh:index/meApiOauth2Client:MeApiOauth2Client", name, id, state, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering MeApiOauth2Client resources. +type meApiOauth2ClientState struct { + // Callback URLs of the applications using this oauth2 client. Required if using the AUTHORIZATION_CODE flow. + CallbackUrls []string `pulumi:"callbackUrls"` + // Client ID for the oauth2 client, generated during the resource creation. + ClientId *string `pulumi:"clientId"` + // Secret for the oauth2 client, generated during the oauth2 client creation. + ClientSecret *string `pulumi:"clientSecret"` + // A description of your oauth2 client. + Description *string `pulumi:"description"` + // OAuth2 flow type implemented for this oauth2 client. Can be either AUTHORIZATION_CODE or CLIENT_CREDENTIALS + Flow *string `pulumi:"flow"` + // URN that will allow you to associate this oauth2 client with an access policy + Identity *string `pulumi:"identity"` + Name *string `pulumi:"name"` +} + +type MeApiOauth2ClientState struct { + // Callback URLs of the applications using this oauth2 client. Required if using the AUTHORIZATION_CODE flow. + CallbackUrls pulumi.StringArrayInput + // Client ID for the oauth2 client, generated during the resource creation. + ClientId pulumi.StringPtrInput + // Secret for the oauth2 client, generated during the oauth2 client creation. + ClientSecret pulumi.StringPtrInput + // A description of your oauth2 client. + Description pulumi.StringPtrInput + // OAuth2 flow type implemented for this oauth2 client. Can be either AUTHORIZATION_CODE or CLIENT_CREDENTIALS + Flow pulumi.StringPtrInput + // URN that will allow you to associate this oauth2 client with an access policy + Identity pulumi.StringPtrInput + Name pulumi.StringPtrInput +} + +func (MeApiOauth2ClientState) ElementType() reflect.Type { + return reflect.TypeOf((*meApiOauth2ClientState)(nil)).Elem() +} + +type meApiOauth2ClientArgs struct { + // Callback URLs of the applications using this oauth2 client. Required if using the AUTHORIZATION_CODE flow. + CallbackUrls []string `pulumi:"callbackUrls"` + // A description of your oauth2 client. + Description string `pulumi:"description"` + // OAuth2 flow type implemented for this oauth2 client. Can be either AUTHORIZATION_CODE or CLIENT_CREDENTIALS + Flow string `pulumi:"flow"` + Name *string `pulumi:"name"` +} + +// The set of arguments for constructing a MeApiOauth2Client resource. +type MeApiOauth2ClientArgs struct { + // Callback URLs of the applications using this oauth2 client. Required if using the AUTHORIZATION_CODE flow. + CallbackUrls pulumi.StringArrayInput + // A description of your oauth2 client. + Description pulumi.StringInput + // OAuth2 flow type implemented for this oauth2 client. Can be either AUTHORIZATION_CODE or CLIENT_CREDENTIALS + Flow pulumi.StringInput + Name pulumi.StringPtrInput +} + +func (MeApiOauth2ClientArgs) ElementType() reflect.Type { + return reflect.TypeOf((*meApiOauth2ClientArgs)(nil)).Elem() +} + +type MeApiOauth2ClientInput interface { + pulumi.Input + + ToMeApiOauth2ClientOutput() MeApiOauth2ClientOutput + ToMeApiOauth2ClientOutputWithContext(ctx context.Context) MeApiOauth2ClientOutput +} + +func (*MeApiOauth2Client) ElementType() reflect.Type { + return reflect.TypeOf((**MeApiOauth2Client)(nil)).Elem() +} + +func (i *MeApiOauth2Client) ToMeApiOauth2ClientOutput() MeApiOauth2ClientOutput { + return i.ToMeApiOauth2ClientOutputWithContext(context.Background()) +} + +func (i *MeApiOauth2Client) ToMeApiOauth2ClientOutputWithContext(ctx context.Context) MeApiOauth2ClientOutput { + return pulumi.ToOutputWithContext(ctx, i).(MeApiOauth2ClientOutput) +} + +type MeApiOauth2ClientOutput struct{ *pulumi.OutputState } + +func (MeApiOauth2ClientOutput) ElementType() reflect.Type { + return reflect.TypeOf((**MeApiOauth2Client)(nil)).Elem() +} + +func (o MeApiOauth2ClientOutput) ToMeApiOauth2ClientOutput() MeApiOauth2ClientOutput { + return o +} + +func (o MeApiOauth2ClientOutput) ToMeApiOauth2ClientOutputWithContext(ctx context.Context) MeApiOauth2ClientOutput { + return o +} + +// Callback URLs of the applications using this oauth2 client. Required if using the AUTHORIZATION_CODE flow. +func (o MeApiOauth2ClientOutput) CallbackUrls() pulumi.StringArrayOutput { + return o.ApplyT(func(v *MeApiOauth2Client) pulumi.StringArrayOutput { return v.CallbackUrls }).(pulumi.StringArrayOutput) +} + +// Client ID for the oauth2 client, generated during the resource creation. +func (o MeApiOauth2ClientOutput) ClientId() pulumi.StringOutput { + return o.ApplyT(func(v *MeApiOauth2Client) pulumi.StringOutput { return v.ClientId }).(pulumi.StringOutput) +} + +// Secret for the oauth2 client, generated during the oauth2 client creation. +func (o MeApiOauth2ClientOutput) ClientSecret() pulumi.StringOutput { + return o.ApplyT(func(v *MeApiOauth2Client) pulumi.StringOutput { return v.ClientSecret }).(pulumi.StringOutput) +} + +// A description of your oauth2 client. +func (o MeApiOauth2ClientOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v *MeApiOauth2Client) pulumi.StringOutput { return v.Description }).(pulumi.StringOutput) +} + +// OAuth2 flow type implemented for this oauth2 client. Can be either AUTHORIZATION_CODE or CLIENT_CREDENTIALS +func (o MeApiOauth2ClientOutput) Flow() pulumi.StringOutput { + return o.ApplyT(func(v *MeApiOauth2Client) pulumi.StringOutput { return v.Flow }).(pulumi.StringOutput) +} + +// URN that will allow you to associate this oauth2 client with an access policy +func (o MeApiOauth2ClientOutput) Identity() pulumi.StringOutput { + return o.ApplyT(func(v *MeApiOauth2Client) pulumi.StringOutput { return v.Identity }).(pulumi.StringOutput) +} + +func (o MeApiOauth2ClientOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *MeApiOauth2Client) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*MeApiOauth2ClientInput)(nil)).Elem(), &MeApiOauth2Client{}) + pulumi.RegisterOutputType(MeApiOauth2ClientOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/meIdentityGroup.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/meIdentityGroup.go new file mode 100644 index 00000000..bc702c19 --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/meIdentityGroup.go @@ -0,0 +1,168 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type MeIdentityGroup struct { + pulumi.CustomResourceState + + Creation pulumi.StringOutput `pulumi:"creation"` + DefaultGroup pulumi.BoolOutput `pulumi:"defaultGroup"` + Description pulumi.StringPtrOutput `pulumi:"description"` + LastUpdate pulumi.StringOutput `pulumi:"lastUpdate"` + Name pulumi.StringOutput `pulumi:"name"` + OvhUrn pulumi.StringOutput `pulumi:"ovhUrn"` + Role pulumi.StringPtrOutput `pulumi:"role"` +} + +// NewMeIdentityGroup registers a new resource with the given unique name, arguments, and options. +func NewMeIdentityGroup(ctx *pulumi.Context, + name string, args *MeIdentityGroupArgs, opts ...pulumi.ResourceOption) (*MeIdentityGroup, error) { + if args == nil { + args = &MeIdentityGroupArgs{} + } + + opts = internal.PkgResourceDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var resource MeIdentityGroup + err = ctx.RegisterPackageResource("ovh:index/meIdentityGroup:MeIdentityGroup", name, args, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetMeIdentityGroup gets an existing MeIdentityGroup resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetMeIdentityGroup(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *MeIdentityGroupState, opts ...pulumi.ResourceOption) (*MeIdentityGroup, error) { + var resource MeIdentityGroup + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + err = ctx.ReadPackageResource("ovh:index/meIdentityGroup:MeIdentityGroup", name, id, state, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering MeIdentityGroup resources. +type meIdentityGroupState struct { + Creation *string `pulumi:"creation"` + DefaultGroup *bool `pulumi:"defaultGroup"` + Description *string `pulumi:"description"` + LastUpdate *string `pulumi:"lastUpdate"` + Name *string `pulumi:"name"` + OvhUrn *string `pulumi:"ovhUrn"` + Role *string `pulumi:"role"` +} + +type MeIdentityGroupState struct { + Creation pulumi.StringPtrInput + DefaultGroup pulumi.BoolPtrInput + Description pulumi.StringPtrInput + LastUpdate pulumi.StringPtrInput + Name pulumi.StringPtrInput + OvhUrn pulumi.StringPtrInput + Role pulumi.StringPtrInput +} + +func (MeIdentityGroupState) ElementType() reflect.Type { + return reflect.TypeOf((*meIdentityGroupState)(nil)).Elem() +} + +type meIdentityGroupArgs struct { + Description *string `pulumi:"description"` + Name *string `pulumi:"name"` + Role *string `pulumi:"role"` +} + +// The set of arguments for constructing a MeIdentityGroup resource. +type MeIdentityGroupArgs struct { + Description pulumi.StringPtrInput + Name pulumi.StringPtrInput + Role pulumi.StringPtrInput +} + +func (MeIdentityGroupArgs) ElementType() reflect.Type { + return reflect.TypeOf((*meIdentityGroupArgs)(nil)).Elem() +} + +type MeIdentityGroupInput interface { + pulumi.Input + + ToMeIdentityGroupOutput() MeIdentityGroupOutput + ToMeIdentityGroupOutputWithContext(ctx context.Context) MeIdentityGroupOutput +} + +func (*MeIdentityGroup) ElementType() reflect.Type { + return reflect.TypeOf((**MeIdentityGroup)(nil)).Elem() +} + +func (i *MeIdentityGroup) ToMeIdentityGroupOutput() MeIdentityGroupOutput { + return i.ToMeIdentityGroupOutputWithContext(context.Background()) +} + +func (i *MeIdentityGroup) ToMeIdentityGroupOutputWithContext(ctx context.Context) MeIdentityGroupOutput { + return pulumi.ToOutputWithContext(ctx, i).(MeIdentityGroupOutput) +} + +type MeIdentityGroupOutput struct{ *pulumi.OutputState } + +func (MeIdentityGroupOutput) ElementType() reflect.Type { + return reflect.TypeOf((**MeIdentityGroup)(nil)).Elem() +} + +func (o MeIdentityGroupOutput) ToMeIdentityGroupOutput() MeIdentityGroupOutput { + return o +} + +func (o MeIdentityGroupOutput) ToMeIdentityGroupOutputWithContext(ctx context.Context) MeIdentityGroupOutput { + return o +} + +func (o MeIdentityGroupOutput) Creation() pulumi.StringOutput { + return o.ApplyT(func(v *MeIdentityGroup) pulumi.StringOutput { return v.Creation }).(pulumi.StringOutput) +} + +func (o MeIdentityGroupOutput) DefaultGroup() pulumi.BoolOutput { + return o.ApplyT(func(v *MeIdentityGroup) pulumi.BoolOutput { return v.DefaultGroup }).(pulumi.BoolOutput) +} + +func (o MeIdentityGroupOutput) Description() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MeIdentityGroup) pulumi.StringPtrOutput { return v.Description }).(pulumi.StringPtrOutput) +} + +func (o MeIdentityGroupOutput) LastUpdate() pulumi.StringOutput { + return o.ApplyT(func(v *MeIdentityGroup) pulumi.StringOutput { return v.LastUpdate }).(pulumi.StringOutput) +} + +func (o MeIdentityGroupOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *MeIdentityGroup) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +func (o MeIdentityGroupOutput) OvhUrn() pulumi.StringOutput { + return o.ApplyT(func(v *MeIdentityGroup) pulumi.StringOutput { return v.OvhUrn }).(pulumi.StringOutput) +} + +func (o MeIdentityGroupOutput) Role() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MeIdentityGroup) pulumi.StringPtrOutput { return v.Role }).(pulumi.StringPtrOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*MeIdentityGroupInput)(nil)).Elem(), &MeIdentityGroup{}) + pulumi.RegisterOutputType(MeIdentityGroupOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/meIdentityUser.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/meIdentityUser.go new file mode 100644 index 00000000..c4c51654 --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/meIdentityUser.go @@ -0,0 +1,256 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type MeIdentityUser struct { + pulumi.CustomResourceState + + // Creation date of this user + Creation pulumi.StringOutput `pulumi:"creation"` + // User description + Description pulumi.StringPtrOutput `pulumi:"description"` + // User's email + Email pulumi.StringOutput `pulumi:"email"` + // User's group + Group pulumi.StringPtrOutput `pulumi:"group"` + // Last update of this user + LastUpdate pulumi.StringOutput `pulumi:"lastUpdate"` + // User's login suffix + Login pulumi.StringOutput `pulumi:"login"` + OvhUrn pulumi.StringOutput `pulumi:"ovhUrn"` + // User's password + Password pulumi.StringOutput `pulumi:"password"` + // When the user changed his password for the last time + PasswordLastUpdate pulumi.StringOutput `pulumi:"passwordLastUpdate"` + // Current user's status + Status pulumi.StringOutput `pulumi:"status"` +} + +// NewMeIdentityUser registers a new resource with the given unique name, arguments, and options. +func NewMeIdentityUser(ctx *pulumi.Context, + name string, args *MeIdentityUserArgs, opts ...pulumi.ResourceOption) (*MeIdentityUser, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.Email == nil { + return nil, errors.New("invalid value for required argument 'Email'") + } + if args.Login == nil { + return nil, errors.New("invalid value for required argument 'Login'") + } + if args.Password == nil { + return nil, errors.New("invalid value for required argument 'Password'") + } + if args.Password != nil { + args.Password = pulumi.ToSecret(args.Password).(pulumi.StringInput) + } + secrets := pulumi.AdditionalSecretOutputs([]string{ + "password", + }) + opts = append(opts, secrets) + opts = internal.PkgResourceDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var resource MeIdentityUser + err = ctx.RegisterPackageResource("ovh:index/meIdentityUser:MeIdentityUser", name, args, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetMeIdentityUser gets an existing MeIdentityUser resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetMeIdentityUser(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *MeIdentityUserState, opts ...pulumi.ResourceOption) (*MeIdentityUser, error) { + var resource MeIdentityUser + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + err = ctx.ReadPackageResource("ovh:index/meIdentityUser:MeIdentityUser", name, id, state, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering MeIdentityUser resources. +type meIdentityUserState struct { + // Creation date of this user + Creation *string `pulumi:"creation"` + // User description + Description *string `pulumi:"description"` + // User's email + Email *string `pulumi:"email"` + // User's group + Group *string `pulumi:"group"` + // Last update of this user + LastUpdate *string `pulumi:"lastUpdate"` + // User's login suffix + Login *string `pulumi:"login"` + OvhUrn *string `pulumi:"ovhUrn"` + // User's password + Password *string `pulumi:"password"` + // When the user changed his password for the last time + PasswordLastUpdate *string `pulumi:"passwordLastUpdate"` + // Current user's status + Status *string `pulumi:"status"` +} + +type MeIdentityUserState struct { + // Creation date of this user + Creation pulumi.StringPtrInput + // User description + Description pulumi.StringPtrInput + // User's email + Email pulumi.StringPtrInput + // User's group + Group pulumi.StringPtrInput + // Last update of this user + LastUpdate pulumi.StringPtrInput + // User's login suffix + Login pulumi.StringPtrInput + OvhUrn pulumi.StringPtrInput + // User's password + Password pulumi.StringPtrInput + // When the user changed his password for the last time + PasswordLastUpdate pulumi.StringPtrInput + // Current user's status + Status pulumi.StringPtrInput +} + +func (MeIdentityUserState) ElementType() reflect.Type { + return reflect.TypeOf((*meIdentityUserState)(nil)).Elem() +} + +type meIdentityUserArgs struct { + // User description + Description *string `pulumi:"description"` + // User's email + Email string `pulumi:"email"` + // User's group + Group *string `pulumi:"group"` + // User's login suffix + Login string `pulumi:"login"` + // User's password + Password string `pulumi:"password"` +} + +// The set of arguments for constructing a MeIdentityUser resource. +type MeIdentityUserArgs struct { + // User description + Description pulumi.StringPtrInput + // User's email + Email pulumi.StringInput + // User's group + Group pulumi.StringPtrInput + // User's login suffix + Login pulumi.StringInput + // User's password + Password pulumi.StringInput +} + +func (MeIdentityUserArgs) ElementType() reflect.Type { + return reflect.TypeOf((*meIdentityUserArgs)(nil)).Elem() +} + +type MeIdentityUserInput interface { + pulumi.Input + + ToMeIdentityUserOutput() MeIdentityUserOutput + ToMeIdentityUserOutputWithContext(ctx context.Context) MeIdentityUserOutput +} + +func (*MeIdentityUser) ElementType() reflect.Type { + return reflect.TypeOf((**MeIdentityUser)(nil)).Elem() +} + +func (i *MeIdentityUser) ToMeIdentityUserOutput() MeIdentityUserOutput { + return i.ToMeIdentityUserOutputWithContext(context.Background()) +} + +func (i *MeIdentityUser) ToMeIdentityUserOutputWithContext(ctx context.Context) MeIdentityUserOutput { + return pulumi.ToOutputWithContext(ctx, i).(MeIdentityUserOutput) +} + +type MeIdentityUserOutput struct{ *pulumi.OutputState } + +func (MeIdentityUserOutput) ElementType() reflect.Type { + return reflect.TypeOf((**MeIdentityUser)(nil)).Elem() +} + +func (o MeIdentityUserOutput) ToMeIdentityUserOutput() MeIdentityUserOutput { + return o +} + +func (o MeIdentityUserOutput) ToMeIdentityUserOutputWithContext(ctx context.Context) MeIdentityUserOutput { + return o +} + +// Creation date of this user +func (o MeIdentityUserOutput) Creation() pulumi.StringOutput { + return o.ApplyT(func(v *MeIdentityUser) pulumi.StringOutput { return v.Creation }).(pulumi.StringOutput) +} + +// User description +func (o MeIdentityUserOutput) Description() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MeIdentityUser) pulumi.StringPtrOutput { return v.Description }).(pulumi.StringPtrOutput) +} + +// User's email +func (o MeIdentityUserOutput) Email() pulumi.StringOutput { + return o.ApplyT(func(v *MeIdentityUser) pulumi.StringOutput { return v.Email }).(pulumi.StringOutput) +} + +// User's group +func (o MeIdentityUserOutput) Group() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MeIdentityUser) pulumi.StringPtrOutput { return v.Group }).(pulumi.StringPtrOutput) +} + +// Last update of this user +func (o MeIdentityUserOutput) LastUpdate() pulumi.StringOutput { + return o.ApplyT(func(v *MeIdentityUser) pulumi.StringOutput { return v.LastUpdate }).(pulumi.StringOutput) +} + +// User's login suffix +func (o MeIdentityUserOutput) Login() pulumi.StringOutput { + return o.ApplyT(func(v *MeIdentityUser) pulumi.StringOutput { return v.Login }).(pulumi.StringOutput) +} + +func (o MeIdentityUserOutput) OvhUrn() pulumi.StringOutput { + return o.ApplyT(func(v *MeIdentityUser) pulumi.StringOutput { return v.OvhUrn }).(pulumi.StringOutput) +} + +// User's password +func (o MeIdentityUserOutput) Password() pulumi.StringOutput { + return o.ApplyT(func(v *MeIdentityUser) pulumi.StringOutput { return v.Password }).(pulumi.StringOutput) +} + +// When the user changed his password for the last time +func (o MeIdentityUserOutput) PasswordLastUpdate() pulumi.StringOutput { + return o.ApplyT(func(v *MeIdentityUser) pulumi.StringOutput { return v.PasswordLastUpdate }).(pulumi.StringOutput) +} + +// Current user's status +func (o MeIdentityUserOutput) Status() pulumi.StringOutput { + return o.ApplyT(func(v *MeIdentityUser) pulumi.StringOutput { return v.Status }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*MeIdentityUserInput)(nil)).Elem(), &MeIdentityUser{}) + pulumi.RegisterOutputType(MeIdentityUserOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/meInstallationTemplate.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/meInstallationTemplate.go new file mode 100644 index 00000000..3ce5372f --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/meInstallationTemplate.go @@ -0,0 +1,321 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type MeInstallationTemplate struct { + pulumi.CustomResourceState + + // OVH template name yours will be based on, choose one among the list given by compatibleTemplates function + BaseTemplateName pulumi.StringOutput `pulumi:"baseTemplateName"` + // This template bit format (32 or 64) + BitFormat pulumi.Float64Output `pulumi:"bitFormat"` + // Category of this template (informative only). (basic, customer, hosting, other, readyToUse, virtualisation) + Category pulumi.StringOutput `pulumi:"category"` + Customization MeInstallationTemplateCustomizationPtrOutput `pulumi:"customization"` + // information about this template + Description pulumi.StringOutput `pulumi:"description"` + // the distribution this template is based on + Distribution pulumi.StringOutput `pulumi:"distribution"` + // after this date, install of this template will not be possible at OVH + EndOfInstall pulumi.StringOutput `pulumi:"endOfInstall"` + // this template family type + Family pulumi.StringOutput `pulumi:"family"` + // Filesystems available + Filesystems pulumi.StringArrayOutput `pulumi:"filesystems"` + // This distribution supports hardware raid configuration through the OVH API + // + // Deprecated: Deprecated + HardRaidConfiguration pulumi.BoolOutput `pulumi:"hardRaidConfiguration"` + Inputs MeInstallationTemplateInputTypeArrayOutput `pulumi:"inputs"` + // Whether this distribution supports Logical Volumes (Linux LVM) + LvmReady pulumi.BoolOutput `pulumi:"lvmReady"` + // Partitioning customization is not available for this OS template + NoPartitioning pulumi.BoolOutput `pulumi:"noPartitioning"` + // Remove default partition schemes at creation + RemoveDefaultPartitionSchemes pulumi.BoolOutput `pulumi:"removeDefaultPartitionSchemes"` + // Partitioning customization is available but limited to mirroring for this OS template + SoftRaidOnlyMirroring pulumi.BoolOutput `pulumi:"softRaidOnlyMirroring"` + // this template subfamily type + Subfamily pulumi.StringOutput `pulumi:"subfamily"` + // This template name + TemplateName pulumi.StringOutput `pulumi:"templateName"` +} + +// NewMeInstallationTemplate registers a new resource with the given unique name, arguments, and options. +func NewMeInstallationTemplate(ctx *pulumi.Context, + name string, args *MeInstallationTemplateArgs, opts ...pulumi.ResourceOption) (*MeInstallationTemplate, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.BaseTemplateName == nil { + return nil, errors.New("invalid value for required argument 'BaseTemplateName'") + } + if args.TemplateName == nil { + return nil, errors.New("invalid value for required argument 'TemplateName'") + } + opts = internal.PkgResourceDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var resource MeInstallationTemplate + err = ctx.RegisterPackageResource("ovh:index/meInstallationTemplate:MeInstallationTemplate", name, args, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetMeInstallationTemplate gets an existing MeInstallationTemplate resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetMeInstallationTemplate(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *MeInstallationTemplateState, opts ...pulumi.ResourceOption) (*MeInstallationTemplate, error) { + var resource MeInstallationTemplate + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + err = ctx.ReadPackageResource("ovh:index/meInstallationTemplate:MeInstallationTemplate", name, id, state, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering MeInstallationTemplate resources. +type meInstallationTemplateState struct { + // OVH template name yours will be based on, choose one among the list given by compatibleTemplates function + BaseTemplateName *string `pulumi:"baseTemplateName"` + // This template bit format (32 or 64) + BitFormat *float64 `pulumi:"bitFormat"` + // Category of this template (informative only). (basic, customer, hosting, other, readyToUse, virtualisation) + Category *string `pulumi:"category"` + Customization *MeInstallationTemplateCustomization `pulumi:"customization"` + // information about this template + Description *string `pulumi:"description"` + // the distribution this template is based on + Distribution *string `pulumi:"distribution"` + // after this date, install of this template will not be possible at OVH + EndOfInstall *string `pulumi:"endOfInstall"` + // this template family type + Family *string `pulumi:"family"` + // Filesystems available + Filesystems []string `pulumi:"filesystems"` + // This distribution supports hardware raid configuration through the OVH API + // + // Deprecated: Deprecated + HardRaidConfiguration *bool `pulumi:"hardRaidConfiguration"` + Inputs []MeInstallationTemplateInputType `pulumi:"inputs"` + // Whether this distribution supports Logical Volumes (Linux LVM) + LvmReady *bool `pulumi:"lvmReady"` + // Partitioning customization is not available for this OS template + NoPartitioning *bool `pulumi:"noPartitioning"` + // Remove default partition schemes at creation + RemoveDefaultPartitionSchemes *bool `pulumi:"removeDefaultPartitionSchemes"` + // Partitioning customization is available but limited to mirroring for this OS template + SoftRaidOnlyMirroring *bool `pulumi:"softRaidOnlyMirroring"` + // this template subfamily type + Subfamily *string `pulumi:"subfamily"` + // This template name + TemplateName *string `pulumi:"templateName"` +} + +type MeInstallationTemplateState struct { + // OVH template name yours will be based on, choose one among the list given by compatibleTemplates function + BaseTemplateName pulumi.StringPtrInput + // This template bit format (32 or 64) + BitFormat pulumi.Float64PtrInput + // Category of this template (informative only). (basic, customer, hosting, other, readyToUse, virtualisation) + Category pulumi.StringPtrInput + Customization MeInstallationTemplateCustomizationPtrInput + // information about this template + Description pulumi.StringPtrInput + // the distribution this template is based on + Distribution pulumi.StringPtrInput + // after this date, install of this template will not be possible at OVH + EndOfInstall pulumi.StringPtrInput + // this template family type + Family pulumi.StringPtrInput + // Filesystems available + Filesystems pulumi.StringArrayInput + // This distribution supports hardware raid configuration through the OVH API + // + // Deprecated: Deprecated + HardRaidConfiguration pulumi.BoolPtrInput + Inputs MeInstallationTemplateInputTypeArrayInput + // Whether this distribution supports Logical Volumes (Linux LVM) + LvmReady pulumi.BoolPtrInput + // Partitioning customization is not available for this OS template + NoPartitioning pulumi.BoolPtrInput + // Remove default partition schemes at creation + RemoveDefaultPartitionSchemes pulumi.BoolPtrInput + // Partitioning customization is available but limited to mirroring for this OS template + SoftRaidOnlyMirroring pulumi.BoolPtrInput + // this template subfamily type + Subfamily pulumi.StringPtrInput + // This template name + TemplateName pulumi.StringPtrInput +} + +func (MeInstallationTemplateState) ElementType() reflect.Type { + return reflect.TypeOf((*meInstallationTemplateState)(nil)).Elem() +} + +type meInstallationTemplateArgs struct { + // OVH template name yours will be based on, choose one among the list given by compatibleTemplates function + BaseTemplateName string `pulumi:"baseTemplateName"` + Customization *MeInstallationTemplateCustomization `pulumi:"customization"` + // Remove default partition schemes at creation + RemoveDefaultPartitionSchemes *bool `pulumi:"removeDefaultPartitionSchemes"` + // This template name + TemplateName string `pulumi:"templateName"` +} + +// The set of arguments for constructing a MeInstallationTemplate resource. +type MeInstallationTemplateArgs struct { + // OVH template name yours will be based on, choose one among the list given by compatibleTemplates function + BaseTemplateName pulumi.StringInput + Customization MeInstallationTemplateCustomizationPtrInput + // Remove default partition schemes at creation + RemoveDefaultPartitionSchemes pulumi.BoolPtrInput + // This template name + TemplateName pulumi.StringInput +} + +func (MeInstallationTemplateArgs) ElementType() reflect.Type { + return reflect.TypeOf((*meInstallationTemplateArgs)(nil)).Elem() +} + +type MeInstallationTemplateInput interface { + pulumi.Input + + ToMeInstallationTemplateOutput() MeInstallationTemplateOutput + ToMeInstallationTemplateOutputWithContext(ctx context.Context) MeInstallationTemplateOutput +} + +func (*MeInstallationTemplate) ElementType() reflect.Type { + return reflect.TypeOf((**MeInstallationTemplate)(nil)).Elem() +} + +func (i *MeInstallationTemplate) ToMeInstallationTemplateOutput() MeInstallationTemplateOutput { + return i.ToMeInstallationTemplateOutputWithContext(context.Background()) +} + +func (i *MeInstallationTemplate) ToMeInstallationTemplateOutputWithContext(ctx context.Context) MeInstallationTemplateOutput { + return pulumi.ToOutputWithContext(ctx, i).(MeInstallationTemplateOutput) +} + +type MeInstallationTemplateOutput struct{ *pulumi.OutputState } + +func (MeInstallationTemplateOutput) ElementType() reflect.Type { + return reflect.TypeOf((**MeInstallationTemplate)(nil)).Elem() +} + +func (o MeInstallationTemplateOutput) ToMeInstallationTemplateOutput() MeInstallationTemplateOutput { + return o +} + +func (o MeInstallationTemplateOutput) ToMeInstallationTemplateOutputWithContext(ctx context.Context) MeInstallationTemplateOutput { + return o +} + +// OVH template name yours will be based on, choose one among the list given by compatibleTemplates function +func (o MeInstallationTemplateOutput) BaseTemplateName() pulumi.StringOutput { + return o.ApplyT(func(v *MeInstallationTemplate) pulumi.StringOutput { return v.BaseTemplateName }).(pulumi.StringOutput) +} + +// This template bit format (32 or 64) +func (o MeInstallationTemplateOutput) BitFormat() pulumi.Float64Output { + return o.ApplyT(func(v *MeInstallationTemplate) pulumi.Float64Output { return v.BitFormat }).(pulumi.Float64Output) +} + +// Category of this template (informative only). (basic, customer, hosting, other, readyToUse, virtualisation) +func (o MeInstallationTemplateOutput) Category() pulumi.StringOutput { + return o.ApplyT(func(v *MeInstallationTemplate) pulumi.StringOutput { return v.Category }).(pulumi.StringOutput) +} + +func (o MeInstallationTemplateOutput) Customization() MeInstallationTemplateCustomizationPtrOutput { + return o.ApplyT(func(v *MeInstallationTemplate) MeInstallationTemplateCustomizationPtrOutput { return v.Customization }).(MeInstallationTemplateCustomizationPtrOutput) +} + +// information about this template +func (o MeInstallationTemplateOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v *MeInstallationTemplate) pulumi.StringOutput { return v.Description }).(pulumi.StringOutput) +} + +// the distribution this template is based on +func (o MeInstallationTemplateOutput) Distribution() pulumi.StringOutput { + return o.ApplyT(func(v *MeInstallationTemplate) pulumi.StringOutput { return v.Distribution }).(pulumi.StringOutput) +} + +// after this date, install of this template will not be possible at OVH +func (o MeInstallationTemplateOutput) EndOfInstall() pulumi.StringOutput { + return o.ApplyT(func(v *MeInstallationTemplate) pulumi.StringOutput { return v.EndOfInstall }).(pulumi.StringOutput) +} + +// this template family type +func (o MeInstallationTemplateOutput) Family() pulumi.StringOutput { + return o.ApplyT(func(v *MeInstallationTemplate) pulumi.StringOutput { return v.Family }).(pulumi.StringOutput) +} + +// Filesystems available +func (o MeInstallationTemplateOutput) Filesystems() pulumi.StringArrayOutput { + return o.ApplyT(func(v *MeInstallationTemplate) pulumi.StringArrayOutput { return v.Filesystems }).(pulumi.StringArrayOutput) +} + +// This distribution supports hardware raid configuration through the OVH API +// +// Deprecated: Deprecated +func (o MeInstallationTemplateOutput) HardRaidConfiguration() pulumi.BoolOutput { + return o.ApplyT(func(v *MeInstallationTemplate) pulumi.BoolOutput { return v.HardRaidConfiguration }).(pulumi.BoolOutput) +} + +func (o MeInstallationTemplateOutput) Inputs() MeInstallationTemplateInputTypeArrayOutput { + return o.ApplyT(func(v *MeInstallationTemplate) MeInstallationTemplateInputTypeArrayOutput { return v.Inputs }).(MeInstallationTemplateInputTypeArrayOutput) +} + +// Whether this distribution supports Logical Volumes (Linux LVM) +func (o MeInstallationTemplateOutput) LvmReady() pulumi.BoolOutput { + return o.ApplyT(func(v *MeInstallationTemplate) pulumi.BoolOutput { return v.LvmReady }).(pulumi.BoolOutput) +} + +// Partitioning customization is not available for this OS template +func (o MeInstallationTemplateOutput) NoPartitioning() pulumi.BoolOutput { + return o.ApplyT(func(v *MeInstallationTemplate) pulumi.BoolOutput { return v.NoPartitioning }).(pulumi.BoolOutput) +} + +// Remove default partition schemes at creation +func (o MeInstallationTemplateOutput) RemoveDefaultPartitionSchemes() pulumi.BoolOutput { + return o.ApplyT(func(v *MeInstallationTemplate) pulumi.BoolOutput { return v.RemoveDefaultPartitionSchemes }).(pulumi.BoolOutput) +} + +// Partitioning customization is available but limited to mirroring for this OS template +func (o MeInstallationTemplateOutput) SoftRaidOnlyMirroring() pulumi.BoolOutput { + return o.ApplyT(func(v *MeInstallationTemplate) pulumi.BoolOutput { return v.SoftRaidOnlyMirroring }).(pulumi.BoolOutput) +} + +// this template subfamily type +func (o MeInstallationTemplateOutput) Subfamily() pulumi.StringOutput { + return o.ApplyT(func(v *MeInstallationTemplate) pulumi.StringOutput { return v.Subfamily }).(pulumi.StringOutput) +} + +// This template name +func (o MeInstallationTemplateOutput) TemplateName() pulumi.StringOutput { + return o.ApplyT(func(v *MeInstallationTemplate) pulumi.StringOutput { return v.TemplateName }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*MeInstallationTemplateInput)(nil)).Elem(), &MeInstallationTemplate{}) + pulumi.RegisterOutputType(MeInstallationTemplateOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/meInstallationTemplatePartitionScheme.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/meInstallationTemplatePartitionScheme.go new file mode 100644 index 00000000..a48091cf --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/meInstallationTemplatePartitionScheme.go @@ -0,0 +1,171 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type MeInstallationTemplatePartitionScheme struct { + pulumi.CustomResourceState + + // name of this partitioning scheme + Name pulumi.StringOutput `pulumi:"name"` + // on a reinstall, if a partitioning scheme is not specified, the one with the higher priority will be used by default, + // among all the compatible partitioning schemes (given the underlying hardware specifications) + Priority pulumi.Float64Output `pulumi:"priority"` + // This template name + TemplateName pulumi.StringOutput `pulumi:"templateName"` +} + +// NewMeInstallationTemplatePartitionScheme registers a new resource with the given unique name, arguments, and options. +func NewMeInstallationTemplatePartitionScheme(ctx *pulumi.Context, + name string, args *MeInstallationTemplatePartitionSchemeArgs, opts ...pulumi.ResourceOption) (*MeInstallationTemplatePartitionScheme, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.Priority == nil { + return nil, errors.New("invalid value for required argument 'Priority'") + } + if args.TemplateName == nil { + return nil, errors.New("invalid value for required argument 'TemplateName'") + } + opts = internal.PkgResourceDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var resource MeInstallationTemplatePartitionScheme + err = ctx.RegisterPackageResource("ovh:index/meInstallationTemplatePartitionScheme:MeInstallationTemplatePartitionScheme", name, args, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetMeInstallationTemplatePartitionScheme gets an existing MeInstallationTemplatePartitionScheme resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetMeInstallationTemplatePartitionScheme(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *MeInstallationTemplatePartitionSchemeState, opts ...pulumi.ResourceOption) (*MeInstallationTemplatePartitionScheme, error) { + var resource MeInstallationTemplatePartitionScheme + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + err = ctx.ReadPackageResource("ovh:index/meInstallationTemplatePartitionScheme:MeInstallationTemplatePartitionScheme", name, id, state, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering MeInstallationTemplatePartitionScheme resources. +type meInstallationTemplatePartitionSchemeState struct { + // name of this partitioning scheme + Name *string `pulumi:"name"` + // on a reinstall, if a partitioning scheme is not specified, the one with the higher priority will be used by default, + // among all the compatible partitioning schemes (given the underlying hardware specifications) + Priority *float64 `pulumi:"priority"` + // This template name + TemplateName *string `pulumi:"templateName"` +} + +type MeInstallationTemplatePartitionSchemeState struct { + // name of this partitioning scheme + Name pulumi.StringPtrInput + // on a reinstall, if a partitioning scheme is not specified, the one with the higher priority will be used by default, + // among all the compatible partitioning schemes (given the underlying hardware specifications) + Priority pulumi.Float64PtrInput + // This template name + TemplateName pulumi.StringPtrInput +} + +func (MeInstallationTemplatePartitionSchemeState) ElementType() reflect.Type { + return reflect.TypeOf((*meInstallationTemplatePartitionSchemeState)(nil)).Elem() +} + +type meInstallationTemplatePartitionSchemeArgs struct { + // name of this partitioning scheme + Name *string `pulumi:"name"` + // on a reinstall, if a partitioning scheme is not specified, the one with the higher priority will be used by default, + // among all the compatible partitioning schemes (given the underlying hardware specifications) + Priority float64 `pulumi:"priority"` + // This template name + TemplateName string `pulumi:"templateName"` +} + +// The set of arguments for constructing a MeInstallationTemplatePartitionScheme resource. +type MeInstallationTemplatePartitionSchemeArgs struct { + // name of this partitioning scheme + Name pulumi.StringPtrInput + // on a reinstall, if a partitioning scheme is not specified, the one with the higher priority will be used by default, + // among all the compatible partitioning schemes (given the underlying hardware specifications) + Priority pulumi.Float64Input + // This template name + TemplateName pulumi.StringInput +} + +func (MeInstallationTemplatePartitionSchemeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*meInstallationTemplatePartitionSchemeArgs)(nil)).Elem() +} + +type MeInstallationTemplatePartitionSchemeInput interface { + pulumi.Input + + ToMeInstallationTemplatePartitionSchemeOutput() MeInstallationTemplatePartitionSchemeOutput + ToMeInstallationTemplatePartitionSchemeOutputWithContext(ctx context.Context) MeInstallationTemplatePartitionSchemeOutput +} + +func (*MeInstallationTemplatePartitionScheme) ElementType() reflect.Type { + return reflect.TypeOf((**MeInstallationTemplatePartitionScheme)(nil)).Elem() +} + +func (i *MeInstallationTemplatePartitionScheme) ToMeInstallationTemplatePartitionSchemeOutput() MeInstallationTemplatePartitionSchemeOutput { + return i.ToMeInstallationTemplatePartitionSchemeOutputWithContext(context.Background()) +} + +func (i *MeInstallationTemplatePartitionScheme) ToMeInstallationTemplatePartitionSchemeOutputWithContext(ctx context.Context) MeInstallationTemplatePartitionSchemeOutput { + return pulumi.ToOutputWithContext(ctx, i).(MeInstallationTemplatePartitionSchemeOutput) +} + +type MeInstallationTemplatePartitionSchemeOutput struct{ *pulumi.OutputState } + +func (MeInstallationTemplatePartitionSchemeOutput) ElementType() reflect.Type { + return reflect.TypeOf((**MeInstallationTemplatePartitionScheme)(nil)).Elem() +} + +func (o MeInstallationTemplatePartitionSchemeOutput) ToMeInstallationTemplatePartitionSchemeOutput() MeInstallationTemplatePartitionSchemeOutput { + return o +} + +func (o MeInstallationTemplatePartitionSchemeOutput) ToMeInstallationTemplatePartitionSchemeOutputWithContext(ctx context.Context) MeInstallationTemplatePartitionSchemeOutput { + return o +} + +// name of this partitioning scheme +func (o MeInstallationTemplatePartitionSchemeOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *MeInstallationTemplatePartitionScheme) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +// on a reinstall, if a partitioning scheme is not specified, the one with the higher priority will be used by default, +// among all the compatible partitioning schemes (given the underlying hardware specifications) +func (o MeInstallationTemplatePartitionSchemeOutput) Priority() pulumi.Float64Output { + return o.ApplyT(func(v *MeInstallationTemplatePartitionScheme) pulumi.Float64Output { return v.Priority }).(pulumi.Float64Output) +} + +// This template name +func (o MeInstallationTemplatePartitionSchemeOutput) TemplateName() pulumi.StringOutput { + return o.ApplyT(func(v *MeInstallationTemplatePartitionScheme) pulumi.StringOutput { return v.TemplateName }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*MeInstallationTemplatePartitionSchemeInput)(nil)).Elem(), &MeInstallationTemplatePartitionScheme{}) + pulumi.RegisterOutputType(MeInstallationTemplatePartitionSchemeOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/meInstallationTemplatePartitionSchemeHardwareRaid.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/meInstallationTemplatePartitionSchemeHardwareRaid.go new file mode 100644 index 00000000..a739dc22 --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/meInstallationTemplatePartitionSchemeHardwareRaid.go @@ -0,0 +1,219 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type MeInstallationTemplatePartitionSchemeHardwareRaid struct { + pulumi.CustomResourceState + + // Disk List. Syntax is cX:dY for disks and [cX:dY,cX:dY] for groups. With X and Y resp. the controller id and the disk id + Disks pulumi.StringArrayOutput `pulumi:"disks"` + // RAID mode (raid0, raid1, raid10, raid5, raid50, raid6, raid60) + Mode pulumi.StringOutput `pulumi:"mode"` + // Hardware RAID name + Name pulumi.StringOutput `pulumi:"name"` + // name of this partitioning scheme + SchemeName pulumi.StringOutput `pulumi:"schemeName"` + // Specifies the creation order of the hardware RAID + Step pulumi.Float64Output `pulumi:"step"` + // Template name + TemplateName pulumi.StringOutput `pulumi:"templateName"` +} + +// NewMeInstallationTemplatePartitionSchemeHardwareRaid registers a new resource with the given unique name, arguments, and options. +func NewMeInstallationTemplatePartitionSchemeHardwareRaid(ctx *pulumi.Context, + name string, args *MeInstallationTemplatePartitionSchemeHardwareRaidArgs, opts ...pulumi.ResourceOption) (*MeInstallationTemplatePartitionSchemeHardwareRaid, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.Disks == nil { + return nil, errors.New("invalid value for required argument 'Disks'") + } + if args.Mode == nil { + return nil, errors.New("invalid value for required argument 'Mode'") + } + if args.SchemeName == nil { + return nil, errors.New("invalid value for required argument 'SchemeName'") + } + if args.Step == nil { + return nil, errors.New("invalid value for required argument 'Step'") + } + if args.TemplateName == nil { + return nil, errors.New("invalid value for required argument 'TemplateName'") + } + opts = internal.PkgResourceDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var resource MeInstallationTemplatePartitionSchemeHardwareRaid + err = ctx.RegisterPackageResource("ovh:index/meInstallationTemplatePartitionSchemeHardwareRaid:MeInstallationTemplatePartitionSchemeHardwareRaid", name, args, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetMeInstallationTemplatePartitionSchemeHardwareRaid gets an existing MeInstallationTemplatePartitionSchemeHardwareRaid resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetMeInstallationTemplatePartitionSchemeHardwareRaid(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *MeInstallationTemplatePartitionSchemeHardwareRaidState, opts ...pulumi.ResourceOption) (*MeInstallationTemplatePartitionSchemeHardwareRaid, error) { + var resource MeInstallationTemplatePartitionSchemeHardwareRaid + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + err = ctx.ReadPackageResource("ovh:index/meInstallationTemplatePartitionSchemeHardwareRaid:MeInstallationTemplatePartitionSchemeHardwareRaid", name, id, state, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering MeInstallationTemplatePartitionSchemeHardwareRaid resources. +type meInstallationTemplatePartitionSchemeHardwareRaidState struct { + // Disk List. Syntax is cX:dY for disks and [cX:dY,cX:dY] for groups. With X and Y resp. the controller id and the disk id + Disks []string `pulumi:"disks"` + // RAID mode (raid0, raid1, raid10, raid5, raid50, raid6, raid60) + Mode *string `pulumi:"mode"` + // Hardware RAID name + Name *string `pulumi:"name"` + // name of this partitioning scheme + SchemeName *string `pulumi:"schemeName"` + // Specifies the creation order of the hardware RAID + Step *float64 `pulumi:"step"` + // Template name + TemplateName *string `pulumi:"templateName"` +} + +type MeInstallationTemplatePartitionSchemeHardwareRaidState struct { + // Disk List. Syntax is cX:dY for disks and [cX:dY,cX:dY] for groups. With X and Y resp. the controller id and the disk id + Disks pulumi.StringArrayInput + // RAID mode (raid0, raid1, raid10, raid5, raid50, raid6, raid60) + Mode pulumi.StringPtrInput + // Hardware RAID name + Name pulumi.StringPtrInput + // name of this partitioning scheme + SchemeName pulumi.StringPtrInput + // Specifies the creation order of the hardware RAID + Step pulumi.Float64PtrInput + // Template name + TemplateName pulumi.StringPtrInput +} + +func (MeInstallationTemplatePartitionSchemeHardwareRaidState) ElementType() reflect.Type { + return reflect.TypeOf((*meInstallationTemplatePartitionSchemeHardwareRaidState)(nil)).Elem() +} + +type meInstallationTemplatePartitionSchemeHardwareRaidArgs struct { + // Disk List. Syntax is cX:dY for disks and [cX:dY,cX:dY] for groups. With X and Y resp. the controller id and the disk id + Disks []string `pulumi:"disks"` + // RAID mode (raid0, raid1, raid10, raid5, raid50, raid6, raid60) + Mode string `pulumi:"mode"` + // Hardware RAID name + Name *string `pulumi:"name"` + // name of this partitioning scheme + SchemeName string `pulumi:"schemeName"` + // Specifies the creation order of the hardware RAID + Step float64 `pulumi:"step"` + // Template name + TemplateName string `pulumi:"templateName"` +} + +// The set of arguments for constructing a MeInstallationTemplatePartitionSchemeHardwareRaid resource. +type MeInstallationTemplatePartitionSchemeHardwareRaidArgs struct { + // Disk List. Syntax is cX:dY for disks and [cX:dY,cX:dY] for groups. With X and Y resp. the controller id and the disk id + Disks pulumi.StringArrayInput + // RAID mode (raid0, raid1, raid10, raid5, raid50, raid6, raid60) + Mode pulumi.StringInput + // Hardware RAID name + Name pulumi.StringPtrInput + // name of this partitioning scheme + SchemeName pulumi.StringInput + // Specifies the creation order of the hardware RAID + Step pulumi.Float64Input + // Template name + TemplateName pulumi.StringInput +} + +func (MeInstallationTemplatePartitionSchemeHardwareRaidArgs) ElementType() reflect.Type { + return reflect.TypeOf((*meInstallationTemplatePartitionSchemeHardwareRaidArgs)(nil)).Elem() +} + +type MeInstallationTemplatePartitionSchemeHardwareRaidInput interface { + pulumi.Input + + ToMeInstallationTemplatePartitionSchemeHardwareRaidOutput() MeInstallationTemplatePartitionSchemeHardwareRaidOutput + ToMeInstallationTemplatePartitionSchemeHardwareRaidOutputWithContext(ctx context.Context) MeInstallationTemplatePartitionSchemeHardwareRaidOutput +} + +func (*MeInstallationTemplatePartitionSchemeHardwareRaid) ElementType() reflect.Type { + return reflect.TypeOf((**MeInstallationTemplatePartitionSchemeHardwareRaid)(nil)).Elem() +} + +func (i *MeInstallationTemplatePartitionSchemeHardwareRaid) ToMeInstallationTemplatePartitionSchemeHardwareRaidOutput() MeInstallationTemplatePartitionSchemeHardwareRaidOutput { + return i.ToMeInstallationTemplatePartitionSchemeHardwareRaidOutputWithContext(context.Background()) +} + +func (i *MeInstallationTemplatePartitionSchemeHardwareRaid) ToMeInstallationTemplatePartitionSchemeHardwareRaidOutputWithContext(ctx context.Context) MeInstallationTemplatePartitionSchemeHardwareRaidOutput { + return pulumi.ToOutputWithContext(ctx, i).(MeInstallationTemplatePartitionSchemeHardwareRaidOutput) +} + +type MeInstallationTemplatePartitionSchemeHardwareRaidOutput struct{ *pulumi.OutputState } + +func (MeInstallationTemplatePartitionSchemeHardwareRaidOutput) ElementType() reflect.Type { + return reflect.TypeOf((**MeInstallationTemplatePartitionSchemeHardwareRaid)(nil)).Elem() +} + +func (o MeInstallationTemplatePartitionSchemeHardwareRaidOutput) ToMeInstallationTemplatePartitionSchemeHardwareRaidOutput() MeInstallationTemplatePartitionSchemeHardwareRaidOutput { + return o +} + +func (o MeInstallationTemplatePartitionSchemeHardwareRaidOutput) ToMeInstallationTemplatePartitionSchemeHardwareRaidOutputWithContext(ctx context.Context) MeInstallationTemplatePartitionSchemeHardwareRaidOutput { + return o +} + +// Disk List. Syntax is cX:dY for disks and [cX:dY,cX:dY] for groups. With X and Y resp. the controller id and the disk id +func (o MeInstallationTemplatePartitionSchemeHardwareRaidOutput) Disks() pulumi.StringArrayOutput { + return o.ApplyT(func(v *MeInstallationTemplatePartitionSchemeHardwareRaid) pulumi.StringArrayOutput { return v.Disks }).(pulumi.StringArrayOutput) +} + +// RAID mode (raid0, raid1, raid10, raid5, raid50, raid6, raid60) +func (o MeInstallationTemplatePartitionSchemeHardwareRaidOutput) Mode() pulumi.StringOutput { + return o.ApplyT(func(v *MeInstallationTemplatePartitionSchemeHardwareRaid) pulumi.StringOutput { return v.Mode }).(pulumi.StringOutput) +} + +// Hardware RAID name +func (o MeInstallationTemplatePartitionSchemeHardwareRaidOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *MeInstallationTemplatePartitionSchemeHardwareRaid) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +// name of this partitioning scheme +func (o MeInstallationTemplatePartitionSchemeHardwareRaidOutput) SchemeName() pulumi.StringOutput { + return o.ApplyT(func(v *MeInstallationTemplatePartitionSchemeHardwareRaid) pulumi.StringOutput { return v.SchemeName }).(pulumi.StringOutput) +} + +// Specifies the creation order of the hardware RAID +func (o MeInstallationTemplatePartitionSchemeHardwareRaidOutput) Step() pulumi.Float64Output { + return o.ApplyT(func(v *MeInstallationTemplatePartitionSchemeHardwareRaid) pulumi.Float64Output { return v.Step }).(pulumi.Float64Output) +} + +// Template name +func (o MeInstallationTemplatePartitionSchemeHardwareRaidOutput) TemplateName() pulumi.StringOutput { + return o.ApplyT(func(v *MeInstallationTemplatePartitionSchemeHardwareRaid) pulumi.StringOutput { return v.TemplateName }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*MeInstallationTemplatePartitionSchemeHardwareRaidInput)(nil)).Elem(), &MeInstallationTemplatePartitionSchemeHardwareRaid{}) + pulumi.RegisterOutputType(MeInstallationTemplatePartitionSchemeHardwareRaidOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/meInstallationTemplatePartitionSchemePartition.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/meInstallationTemplatePartitionSchemePartition.go new file mode 100644 index 00000000..8b96020c --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/meInstallationTemplatePartitionSchemePartition.go @@ -0,0 +1,270 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type MeInstallationTemplatePartitionSchemePartition struct { + pulumi.CustomResourceState + + // Partition filesystem + Filesystem pulumi.StringOutput `pulumi:"filesystem"` + // partition mount point + Mountpoint pulumi.StringOutput `pulumi:"mountpoint"` + // step or order. specifies the creation order of the partition on the disk + Order pulumi.Float64Output `pulumi:"order"` + // raid partition type + Raid pulumi.StringOutput `pulumi:"raid"` + // name of this partitioning scheme + SchemeName pulumi.StringOutput `pulumi:"schemeName"` + // size of partition in MB, 0 => rest of the space + Size pulumi.Float64Output `pulumi:"size"` + // Template name + TemplateName pulumi.StringOutput `pulumi:"templateName"` + // partition type + Type pulumi.StringOutput `pulumi:"type"` + // The volume name needed for proxmox distribution + VolumeName pulumi.StringOutput `pulumi:"volumeName"` +} + +// NewMeInstallationTemplatePartitionSchemePartition registers a new resource with the given unique name, arguments, and options. +func NewMeInstallationTemplatePartitionSchemePartition(ctx *pulumi.Context, + name string, args *MeInstallationTemplatePartitionSchemePartitionArgs, opts ...pulumi.ResourceOption) (*MeInstallationTemplatePartitionSchemePartition, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.Filesystem == nil { + return nil, errors.New("invalid value for required argument 'Filesystem'") + } + if args.Mountpoint == nil { + return nil, errors.New("invalid value for required argument 'Mountpoint'") + } + if args.Order == nil { + return nil, errors.New("invalid value for required argument 'Order'") + } + if args.SchemeName == nil { + return nil, errors.New("invalid value for required argument 'SchemeName'") + } + if args.Size == nil { + return nil, errors.New("invalid value for required argument 'Size'") + } + if args.TemplateName == nil { + return nil, errors.New("invalid value for required argument 'TemplateName'") + } + if args.Type == nil { + return nil, errors.New("invalid value for required argument 'Type'") + } + opts = internal.PkgResourceDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var resource MeInstallationTemplatePartitionSchemePartition + err = ctx.RegisterPackageResource("ovh:index/meInstallationTemplatePartitionSchemePartition:MeInstallationTemplatePartitionSchemePartition", name, args, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetMeInstallationTemplatePartitionSchemePartition gets an existing MeInstallationTemplatePartitionSchemePartition resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetMeInstallationTemplatePartitionSchemePartition(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *MeInstallationTemplatePartitionSchemePartitionState, opts ...pulumi.ResourceOption) (*MeInstallationTemplatePartitionSchemePartition, error) { + var resource MeInstallationTemplatePartitionSchemePartition + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + err = ctx.ReadPackageResource("ovh:index/meInstallationTemplatePartitionSchemePartition:MeInstallationTemplatePartitionSchemePartition", name, id, state, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering MeInstallationTemplatePartitionSchemePartition resources. +type meInstallationTemplatePartitionSchemePartitionState struct { + // Partition filesystem + Filesystem *string `pulumi:"filesystem"` + // partition mount point + Mountpoint *string `pulumi:"mountpoint"` + // step or order. specifies the creation order of the partition on the disk + Order *float64 `pulumi:"order"` + // raid partition type + Raid *string `pulumi:"raid"` + // name of this partitioning scheme + SchemeName *string `pulumi:"schemeName"` + // size of partition in MB, 0 => rest of the space + Size *float64 `pulumi:"size"` + // Template name + TemplateName *string `pulumi:"templateName"` + // partition type + Type *string `pulumi:"type"` + // The volume name needed for proxmox distribution + VolumeName *string `pulumi:"volumeName"` +} + +type MeInstallationTemplatePartitionSchemePartitionState struct { + // Partition filesystem + Filesystem pulumi.StringPtrInput + // partition mount point + Mountpoint pulumi.StringPtrInput + // step or order. specifies the creation order of the partition on the disk + Order pulumi.Float64PtrInput + // raid partition type + Raid pulumi.StringPtrInput + // name of this partitioning scheme + SchemeName pulumi.StringPtrInput + // size of partition in MB, 0 => rest of the space + Size pulumi.Float64PtrInput + // Template name + TemplateName pulumi.StringPtrInput + // partition type + Type pulumi.StringPtrInput + // The volume name needed for proxmox distribution + VolumeName pulumi.StringPtrInput +} + +func (MeInstallationTemplatePartitionSchemePartitionState) ElementType() reflect.Type { + return reflect.TypeOf((*meInstallationTemplatePartitionSchemePartitionState)(nil)).Elem() +} + +type meInstallationTemplatePartitionSchemePartitionArgs struct { + // Partition filesystem + Filesystem string `pulumi:"filesystem"` + // partition mount point + Mountpoint string `pulumi:"mountpoint"` + // step or order. specifies the creation order of the partition on the disk + Order float64 `pulumi:"order"` + // raid partition type + Raid *string `pulumi:"raid"` + // name of this partitioning scheme + SchemeName string `pulumi:"schemeName"` + // size of partition in MB, 0 => rest of the space + Size float64 `pulumi:"size"` + // Template name + TemplateName string `pulumi:"templateName"` + // partition type + Type string `pulumi:"type"` + // The volume name needed for proxmox distribution + VolumeName *string `pulumi:"volumeName"` +} + +// The set of arguments for constructing a MeInstallationTemplatePartitionSchemePartition resource. +type MeInstallationTemplatePartitionSchemePartitionArgs struct { + // Partition filesystem + Filesystem pulumi.StringInput + // partition mount point + Mountpoint pulumi.StringInput + // step or order. specifies the creation order of the partition on the disk + Order pulumi.Float64Input + // raid partition type + Raid pulumi.StringPtrInput + // name of this partitioning scheme + SchemeName pulumi.StringInput + // size of partition in MB, 0 => rest of the space + Size pulumi.Float64Input + // Template name + TemplateName pulumi.StringInput + // partition type + Type pulumi.StringInput + // The volume name needed for proxmox distribution + VolumeName pulumi.StringPtrInput +} + +func (MeInstallationTemplatePartitionSchemePartitionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*meInstallationTemplatePartitionSchemePartitionArgs)(nil)).Elem() +} + +type MeInstallationTemplatePartitionSchemePartitionInput interface { + pulumi.Input + + ToMeInstallationTemplatePartitionSchemePartitionOutput() MeInstallationTemplatePartitionSchemePartitionOutput + ToMeInstallationTemplatePartitionSchemePartitionOutputWithContext(ctx context.Context) MeInstallationTemplatePartitionSchemePartitionOutput +} + +func (*MeInstallationTemplatePartitionSchemePartition) ElementType() reflect.Type { + return reflect.TypeOf((**MeInstallationTemplatePartitionSchemePartition)(nil)).Elem() +} + +func (i *MeInstallationTemplatePartitionSchemePartition) ToMeInstallationTemplatePartitionSchemePartitionOutput() MeInstallationTemplatePartitionSchemePartitionOutput { + return i.ToMeInstallationTemplatePartitionSchemePartitionOutputWithContext(context.Background()) +} + +func (i *MeInstallationTemplatePartitionSchemePartition) ToMeInstallationTemplatePartitionSchemePartitionOutputWithContext(ctx context.Context) MeInstallationTemplatePartitionSchemePartitionOutput { + return pulumi.ToOutputWithContext(ctx, i).(MeInstallationTemplatePartitionSchemePartitionOutput) +} + +type MeInstallationTemplatePartitionSchemePartitionOutput struct{ *pulumi.OutputState } + +func (MeInstallationTemplatePartitionSchemePartitionOutput) ElementType() reflect.Type { + return reflect.TypeOf((**MeInstallationTemplatePartitionSchemePartition)(nil)).Elem() +} + +func (o MeInstallationTemplatePartitionSchemePartitionOutput) ToMeInstallationTemplatePartitionSchemePartitionOutput() MeInstallationTemplatePartitionSchemePartitionOutput { + return o +} + +func (o MeInstallationTemplatePartitionSchemePartitionOutput) ToMeInstallationTemplatePartitionSchemePartitionOutputWithContext(ctx context.Context) MeInstallationTemplatePartitionSchemePartitionOutput { + return o +} + +// Partition filesystem +func (o MeInstallationTemplatePartitionSchemePartitionOutput) Filesystem() pulumi.StringOutput { + return o.ApplyT(func(v *MeInstallationTemplatePartitionSchemePartition) pulumi.StringOutput { return v.Filesystem }).(pulumi.StringOutput) +} + +// partition mount point +func (o MeInstallationTemplatePartitionSchemePartitionOutput) Mountpoint() pulumi.StringOutput { + return o.ApplyT(func(v *MeInstallationTemplatePartitionSchemePartition) pulumi.StringOutput { return v.Mountpoint }).(pulumi.StringOutput) +} + +// step or order. specifies the creation order of the partition on the disk +func (o MeInstallationTemplatePartitionSchemePartitionOutput) Order() pulumi.Float64Output { + return o.ApplyT(func(v *MeInstallationTemplatePartitionSchemePartition) pulumi.Float64Output { return v.Order }).(pulumi.Float64Output) +} + +// raid partition type +func (o MeInstallationTemplatePartitionSchemePartitionOutput) Raid() pulumi.StringOutput { + return o.ApplyT(func(v *MeInstallationTemplatePartitionSchemePartition) pulumi.StringOutput { return v.Raid }).(pulumi.StringOutput) +} + +// name of this partitioning scheme +func (o MeInstallationTemplatePartitionSchemePartitionOutput) SchemeName() pulumi.StringOutput { + return o.ApplyT(func(v *MeInstallationTemplatePartitionSchemePartition) pulumi.StringOutput { return v.SchemeName }).(pulumi.StringOutput) +} + +// size of partition in MB, 0 => rest of the space +func (o MeInstallationTemplatePartitionSchemePartitionOutput) Size() pulumi.Float64Output { + return o.ApplyT(func(v *MeInstallationTemplatePartitionSchemePartition) pulumi.Float64Output { return v.Size }).(pulumi.Float64Output) +} + +// Template name +func (o MeInstallationTemplatePartitionSchemePartitionOutput) TemplateName() pulumi.StringOutput { + return o.ApplyT(func(v *MeInstallationTemplatePartitionSchemePartition) pulumi.StringOutput { return v.TemplateName }).(pulumi.StringOutput) +} + +// partition type +func (o MeInstallationTemplatePartitionSchemePartitionOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v *MeInstallationTemplatePartitionSchemePartition) pulumi.StringOutput { return v.Type }).(pulumi.StringOutput) +} + +// The volume name needed for proxmox distribution +func (o MeInstallationTemplatePartitionSchemePartitionOutput) VolumeName() pulumi.StringOutput { + return o.ApplyT(func(v *MeInstallationTemplatePartitionSchemePartition) pulumi.StringOutput { return v.VolumeName }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*MeInstallationTemplatePartitionSchemePartitionInput)(nil)).Elem(), &MeInstallationTemplatePartitionSchemePartition{}) + pulumi.RegisterOutputType(MeInstallationTemplatePartitionSchemePartitionOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/provider.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/provider.go new file mode 100644 index 00000000..2c71ae52 --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/provider.go @@ -0,0 +1,167 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +// The provider type for the ovh package. By default, resources use package-wide configuration +// settings, however an explicit `Provider` instance may be created and passed during resource +// construction to achieve fine-grained programmatic control over provider settings. See the +// [documentation](https://www.pulumi.com/docs/reference/programming-model/#providers) for more information. +type Provider struct { + pulumi.ProviderResourceState + + // The OVH API Access Token + AccessToken pulumi.StringPtrOutput `pulumi:"accessToken"` + // The OVH API Application Key + ApplicationKey pulumi.StringPtrOutput `pulumi:"applicationKey"` + // The OVH API Application Secret + ApplicationSecret pulumi.StringPtrOutput `pulumi:"applicationSecret"` + // OAuth 2.0 application's ID + ClientId pulumi.StringPtrOutput `pulumi:"clientId"` + // OAuth 2.0 application's secret + ClientSecret pulumi.StringPtrOutput `pulumi:"clientSecret"` + // The OVH API Consumer Key + ConsumerKey pulumi.StringPtrOutput `pulumi:"consumerKey"` + // The OVH API endpoint to target (ex: "ovh-eu") + Endpoint pulumi.StringPtrOutput `pulumi:"endpoint"` +} + +// NewProvider registers a new resource with the given unique name, arguments, and options. +func NewProvider(ctx *pulumi.Context, + name string, args *ProviderArgs, opts ...pulumi.ResourceOption) (*Provider, error) { + if args == nil { + args = &ProviderArgs{} + } + + opts = internal.PkgResourceDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var resource Provider + err = ctx.RegisterPackageResource("pulumi:providers:ovh", name, args, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +type providerArgs struct { + // The OVH API Access Token + AccessToken *string `pulumi:"accessToken"` + // The OVH API Application Key + ApplicationKey *string `pulumi:"applicationKey"` + // The OVH API Application Secret + ApplicationSecret *string `pulumi:"applicationSecret"` + // OAuth 2.0 application's ID + ClientId *string `pulumi:"clientId"` + // OAuth 2.0 application's secret + ClientSecret *string `pulumi:"clientSecret"` + // The OVH API Consumer Key + ConsumerKey *string `pulumi:"consumerKey"` + // The OVH API endpoint to target (ex: "ovh-eu") + Endpoint *string `pulumi:"endpoint"` +} + +// The set of arguments for constructing a Provider resource. +type ProviderArgs struct { + // The OVH API Access Token + AccessToken pulumi.StringPtrInput + // The OVH API Application Key + ApplicationKey pulumi.StringPtrInput + // The OVH API Application Secret + ApplicationSecret pulumi.StringPtrInput + // OAuth 2.0 application's ID + ClientId pulumi.StringPtrInput + // OAuth 2.0 application's secret + ClientSecret pulumi.StringPtrInput + // The OVH API Consumer Key + ConsumerKey pulumi.StringPtrInput + // The OVH API endpoint to target (ex: "ovh-eu") + Endpoint pulumi.StringPtrInput +} + +func (ProviderArgs) ElementType() reflect.Type { + return reflect.TypeOf((*providerArgs)(nil)).Elem() +} + +type ProviderInput interface { + pulumi.Input + + ToProviderOutput() ProviderOutput + ToProviderOutputWithContext(ctx context.Context) ProviderOutput +} + +func (*Provider) ElementType() reflect.Type { + return reflect.TypeOf((**Provider)(nil)).Elem() +} + +func (i *Provider) ToProviderOutput() ProviderOutput { + return i.ToProviderOutputWithContext(context.Background()) +} + +func (i *Provider) ToProviderOutputWithContext(ctx context.Context) ProviderOutput { + return pulumi.ToOutputWithContext(ctx, i).(ProviderOutput) +} + +type ProviderOutput struct{ *pulumi.OutputState } + +func (ProviderOutput) ElementType() reflect.Type { + return reflect.TypeOf((**Provider)(nil)).Elem() +} + +func (o ProviderOutput) ToProviderOutput() ProviderOutput { + return o +} + +func (o ProviderOutput) ToProviderOutputWithContext(ctx context.Context) ProviderOutput { + return o +} + +// The OVH API Access Token +func (o ProviderOutput) AccessToken() pulumi.StringPtrOutput { + return o.ApplyT(func(v *Provider) pulumi.StringPtrOutput { return v.AccessToken }).(pulumi.StringPtrOutput) +} + +// The OVH API Application Key +func (o ProviderOutput) ApplicationKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *Provider) pulumi.StringPtrOutput { return v.ApplicationKey }).(pulumi.StringPtrOutput) +} + +// The OVH API Application Secret +func (o ProviderOutput) ApplicationSecret() pulumi.StringPtrOutput { + return o.ApplyT(func(v *Provider) pulumi.StringPtrOutput { return v.ApplicationSecret }).(pulumi.StringPtrOutput) +} + +// OAuth 2.0 application's ID +func (o ProviderOutput) ClientId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *Provider) pulumi.StringPtrOutput { return v.ClientId }).(pulumi.StringPtrOutput) +} + +// OAuth 2.0 application's secret +func (o ProviderOutput) ClientSecret() pulumi.StringPtrOutput { + return o.ApplyT(func(v *Provider) pulumi.StringPtrOutput { return v.ClientSecret }).(pulumi.StringPtrOutput) +} + +// The OVH API Consumer Key +func (o ProviderOutput) ConsumerKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *Provider) pulumi.StringPtrOutput { return v.ConsumerKey }).(pulumi.StringPtrOutput) +} + +// The OVH API endpoint to target (ex: "ovh-eu") +func (o ProviderOutput) Endpoint() pulumi.StringPtrOutput { + return o.ApplyT(func(v *Provider) pulumi.StringPtrOutput { return v.Endpoint }).(pulumi.StringPtrOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*ProviderInput)(nil)).Elem(), &Provider{}) + pulumi.RegisterOutputType(ProviderOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/pulumi-plugin.json b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/pulumi-plugin.json new file mode 100644 index 00000000..6d405e94 --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/pulumi-plugin.json @@ -0,0 +1,5 @@ +{ + "resource": true, + "name": "terraform-provider", + "version": "0.1.0" +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/pulumiTypes.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/pulumiTypes.go new file mode 100644 index 00000000..6686632b --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/pulumiTypes.go @@ -0,0 +1,27035 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +var _ = internal.GetEnvOrDefault + +type CloudProjectAlertingFormattedMonthlyThreshold struct { + CurrencyCode *string `pulumi:"currencyCode"` + Text *string `pulumi:"text"` + Value *float64 `pulumi:"value"` +} + +// CloudProjectAlertingFormattedMonthlyThresholdInput is an input type that accepts CloudProjectAlertingFormattedMonthlyThresholdArgs and CloudProjectAlertingFormattedMonthlyThresholdOutput values. +// You can construct a concrete instance of `CloudProjectAlertingFormattedMonthlyThresholdInput` via: +// +// CloudProjectAlertingFormattedMonthlyThresholdArgs{...} +type CloudProjectAlertingFormattedMonthlyThresholdInput interface { + pulumi.Input + + ToCloudProjectAlertingFormattedMonthlyThresholdOutput() CloudProjectAlertingFormattedMonthlyThresholdOutput + ToCloudProjectAlertingFormattedMonthlyThresholdOutputWithContext(context.Context) CloudProjectAlertingFormattedMonthlyThresholdOutput +} + +type CloudProjectAlertingFormattedMonthlyThresholdArgs struct { + CurrencyCode pulumi.StringPtrInput `pulumi:"currencyCode"` + Text pulumi.StringPtrInput `pulumi:"text"` + Value pulumi.Float64PtrInput `pulumi:"value"` +} + +func (CloudProjectAlertingFormattedMonthlyThresholdArgs) ElementType() reflect.Type { + return reflect.TypeOf((*CloudProjectAlertingFormattedMonthlyThreshold)(nil)).Elem() +} + +func (i CloudProjectAlertingFormattedMonthlyThresholdArgs) ToCloudProjectAlertingFormattedMonthlyThresholdOutput() CloudProjectAlertingFormattedMonthlyThresholdOutput { + return i.ToCloudProjectAlertingFormattedMonthlyThresholdOutputWithContext(context.Background()) +} + +func (i CloudProjectAlertingFormattedMonthlyThresholdArgs) ToCloudProjectAlertingFormattedMonthlyThresholdOutputWithContext(ctx context.Context) CloudProjectAlertingFormattedMonthlyThresholdOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectAlertingFormattedMonthlyThresholdOutput) +} + +func (i CloudProjectAlertingFormattedMonthlyThresholdArgs) ToCloudProjectAlertingFormattedMonthlyThresholdPtrOutput() CloudProjectAlertingFormattedMonthlyThresholdPtrOutput { + return i.ToCloudProjectAlertingFormattedMonthlyThresholdPtrOutputWithContext(context.Background()) +} + +func (i CloudProjectAlertingFormattedMonthlyThresholdArgs) ToCloudProjectAlertingFormattedMonthlyThresholdPtrOutputWithContext(ctx context.Context) CloudProjectAlertingFormattedMonthlyThresholdPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectAlertingFormattedMonthlyThresholdOutput).ToCloudProjectAlertingFormattedMonthlyThresholdPtrOutputWithContext(ctx) +} + +// CloudProjectAlertingFormattedMonthlyThresholdPtrInput is an input type that accepts CloudProjectAlertingFormattedMonthlyThresholdArgs, CloudProjectAlertingFormattedMonthlyThresholdPtr and CloudProjectAlertingFormattedMonthlyThresholdPtrOutput values. +// You can construct a concrete instance of `CloudProjectAlertingFormattedMonthlyThresholdPtrInput` via: +// +// CloudProjectAlertingFormattedMonthlyThresholdArgs{...} +// +// or: +// +// nil +type CloudProjectAlertingFormattedMonthlyThresholdPtrInput interface { + pulumi.Input + + ToCloudProjectAlertingFormattedMonthlyThresholdPtrOutput() CloudProjectAlertingFormattedMonthlyThresholdPtrOutput + ToCloudProjectAlertingFormattedMonthlyThresholdPtrOutputWithContext(context.Context) CloudProjectAlertingFormattedMonthlyThresholdPtrOutput +} + +type cloudProjectAlertingFormattedMonthlyThresholdPtrType CloudProjectAlertingFormattedMonthlyThresholdArgs + +func CloudProjectAlertingFormattedMonthlyThresholdPtr(v *CloudProjectAlertingFormattedMonthlyThresholdArgs) CloudProjectAlertingFormattedMonthlyThresholdPtrInput { + return (*cloudProjectAlertingFormattedMonthlyThresholdPtrType)(v) +} + +func (*cloudProjectAlertingFormattedMonthlyThresholdPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**CloudProjectAlertingFormattedMonthlyThreshold)(nil)).Elem() +} + +func (i *cloudProjectAlertingFormattedMonthlyThresholdPtrType) ToCloudProjectAlertingFormattedMonthlyThresholdPtrOutput() CloudProjectAlertingFormattedMonthlyThresholdPtrOutput { + return i.ToCloudProjectAlertingFormattedMonthlyThresholdPtrOutputWithContext(context.Background()) +} + +func (i *cloudProjectAlertingFormattedMonthlyThresholdPtrType) ToCloudProjectAlertingFormattedMonthlyThresholdPtrOutputWithContext(ctx context.Context) CloudProjectAlertingFormattedMonthlyThresholdPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectAlertingFormattedMonthlyThresholdPtrOutput) +} + +type CloudProjectAlertingFormattedMonthlyThresholdOutput struct{ *pulumi.OutputState } + +func (CloudProjectAlertingFormattedMonthlyThresholdOutput) ElementType() reflect.Type { + return reflect.TypeOf((*CloudProjectAlertingFormattedMonthlyThreshold)(nil)).Elem() +} + +func (o CloudProjectAlertingFormattedMonthlyThresholdOutput) ToCloudProjectAlertingFormattedMonthlyThresholdOutput() CloudProjectAlertingFormattedMonthlyThresholdOutput { + return o +} + +func (o CloudProjectAlertingFormattedMonthlyThresholdOutput) ToCloudProjectAlertingFormattedMonthlyThresholdOutputWithContext(ctx context.Context) CloudProjectAlertingFormattedMonthlyThresholdOutput { + return o +} + +func (o CloudProjectAlertingFormattedMonthlyThresholdOutput) ToCloudProjectAlertingFormattedMonthlyThresholdPtrOutput() CloudProjectAlertingFormattedMonthlyThresholdPtrOutput { + return o.ToCloudProjectAlertingFormattedMonthlyThresholdPtrOutputWithContext(context.Background()) +} + +func (o CloudProjectAlertingFormattedMonthlyThresholdOutput) ToCloudProjectAlertingFormattedMonthlyThresholdPtrOutputWithContext(ctx context.Context) CloudProjectAlertingFormattedMonthlyThresholdPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v CloudProjectAlertingFormattedMonthlyThreshold) *CloudProjectAlertingFormattedMonthlyThreshold { + return &v + }).(CloudProjectAlertingFormattedMonthlyThresholdPtrOutput) +} + +func (o CloudProjectAlertingFormattedMonthlyThresholdOutput) CurrencyCode() pulumi.StringPtrOutput { + return o.ApplyT(func(v CloudProjectAlertingFormattedMonthlyThreshold) *string { return v.CurrencyCode }).(pulumi.StringPtrOutput) +} + +func (o CloudProjectAlertingFormattedMonthlyThresholdOutput) Text() pulumi.StringPtrOutput { + return o.ApplyT(func(v CloudProjectAlertingFormattedMonthlyThreshold) *string { return v.Text }).(pulumi.StringPtrOutput) +} + +func (o CloudProjectAlertingFormattedMonthlyThresholdOutput) Value() pulumi.Float64PtrOutput { + return o.ApplyT(func(v CloudProjectAlertingFormattedMonthlyThreshold) *float64 { return v.Value }).(pulumi.Float64PtrOutput) +} + +type CloudProjectAlertingFormattedMonthlyThresholdPtrOutput struct{ *pulumi.OutputState } + +func (CloudProjectAlertingFormattedMonthlyThresholdPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**CloudProjectAlertingFormattedMonthlyThreshold)(nil)).Elem() +} + +func (o CloudProjectAlertingFormattedMonthlyThresholdPtrOutput) ToCloudProjectAlertingFormattedMonthlyThresholdPtrOutput() CloudProjectAlertingFormattedMonthlyThresholdPtrOutput { + return o +} + +func (o CloudProjectAlertingFormattedMonthlyThresholdPtrOutput) ToCloudProjectAlertingFormattedMonthlyThresholdPtrOutputWithContext(ctx context.Context) CloudProjectAlertingFormattedMonthlyThresholdPtrOutput { + return o +} + +func (o CloudProjectAlertingFormattedMonthlyThresholdPtrOutput) Elem() CloudProjectAlertingFormattedMonthlyThresholdOutput { + return o.ApplyT(func(v *CloudProjectAlertingFormattedMonthlyThreshold) CloudProjectAlertingFormattedMonthlyThreshold { + if v != nil { + return *v + } + var ret CloudProjectAlertingFormattedMonthlyThreshold + return ret + }).(CloudProjectAlertingFormattedMonthlyThresholdOutput) +} + +func (o CloudProjectAlertingFormattedMonthlyThresholdPtrOutput) CurrencyCode() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudProjectAlertingFormattedMonthlyThreshold) *string { + if v == nil { + return nil + } + return v.CurrencyCode + }).(pulumi.StringPtrOutput) +} + +func (o CloudProjectAlertingFormattedMonthlyThresholdPtrOutput) Text() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudProjectAlertingFormattedMonthlyThreshold) *string { + if v == nil { + return nil + } + return v.Text + }).(pulumi.StringPtrOutput) +} + +func (o CloudProjectAlertingFormattedMonthlyThresholdPtrOutput) Value() pulumi.Float64PtrOutput { + return o.ApplyT(func(v *CloudProjectAlertingFormattedMonthlyThreshold) *float64 { + if v == nil { + return nil + } + return v.Value + }).(pulumi.Float64PtrOutput) +} + +type CloudProjectContainerregistryOidcTimeouts struct { + Create *string `pulumi:"create"` + Default *string `pulumi:"default"` + Delete *string `pulumi:"delete"` + Read *string `pulumi:"read"` + Update *string `pulumi:"update"` +} + +// CloudProjectContainerregistryOidcTimeoutsInput is an input type that accepts CloudProjectContainerregistryOidcTimeoutsArgs and CloudProjectContainerregistryOidcTimeoutsOutput values. +// You can construct a concrete instance of `CloudProjectContainerregistryOidcTimeoutsInput` via: +// +// CloudProjectContainerregistryOidcTimeoutsArgs{...} +type CloudProjectContainerregistryOidcTimeoutsInput interface { + pulumi.Input + + ToCloudProjectContainerregistryOidcTimeoutsOutput() CloudProjectContainerregistryOidcTimeoutsOutput + ToCloudProjectContainerregistryOidcTimeoutsOutputWithContext(context.Context) CloudProjectContainerregistryOidcTimeoutsOutput +} + +type CloudProjectContainerregistryOidcTimeoutsArgs struct { + Create pulumi.StringPtrInput `pulumi:"create"` + Default pulumi.StringPtrInput `pulumi:"default"` + Delete pulumi.StringPtrInput `pulumi:"delete"` + Read pulumi.StringPtrInput `pulumi:"read"` + Update pulumi.StringPtrInput `pulumi:"update"` +} + +func (CloudProjectContainerregistryOidcTimeoutsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*CloudProjectContainerregistryOidcTimeouts)(nil)).Elem() +} + +func (i CloudProjectContainerregistryOidcTimeoutsArgs) ToCloudProjectContainerregistryOidcTimeoutsOutput() CloudProjectContainerregistryOidcTimeoutsOutput { + return i.ToCloudProjectContainerregistryOidcTimeoutsOutputWithContext(context.Background()) +} + +func (i CloudProjectContainerregistryOidcTimeoutsArgs) ToCloudProjectContainerregistryOidcTimeoutsOutputWithContext(ctx context.Context) CloudProjectContainerregistryOidcTimeoutsOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectContainerregistryOidcTimeoutsOutput) +} + +func (i CloudProjectContainerregistryOidcTimeoutsArgs) ToCloudProjectContainerregistryOidcTimeoutsPtrOutput() CloudProjectContainerregistryOidcTimeoutsPtrOutput { + return i.ToCloudProjectContainerregistryOidcTimeoutsPtrOutputWithContext(context.Background()) +} + +func (i CloudProjectContainerregistryOidcTimeoutsArgs) ToCloudProjectContainerregistryOidcTimeoutsPtrOutputWithContext(ctx context.Context) CloudProjectContainerregistryOidcTimeoutsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectContainerregistryOidcTimeoutsOutput).ToCloudProjectContainerregistryOidcTimeoutsPtrOutputWithContext(ctx) +} + +// CloudProjectContainerregistryOidcTimeoutsPtrInput is an input type that accepts CloudProjectContainerregistryOidcTimeoutsArgs, CloudProjectContainerregistryOidcTimeoutsPtr and CloudProjectContainerregistryOidcTimeoutsPtrOutput values. +// You can construct a concrete instance of `CloudProjectContainerregistryOidcTimeoutsPtrInput` via: +// +// CloudProjectContainerregistryOidcTimeoutsArgs{...} +// +// or: +// +// nil +type CloudProjectContainerregistryOidcTimeoutsPtrInput interface { + pulumi.Input + + ToCloudProjectContainerregistryOidcTimeoutsPtrOutput() CloudProjectContainerregistryOidcTimeoutsPtrOutput + ToCloudProjectContainerregistryOidcTimeoutsPtrOutputWithContext(context.Context) CloudProjectContainerregistryOidcTimeoutsPtrOutput +} + +type cloudProjectContainerregistryOidcTimeoutsPtrType CloudProjectContainerregistryOidcTimeoutsArgs + +func CloudProjectContainerregistryOidcTimeoutsPtr(v *CloudProjectContainerregistryOidcTimeoutsArgs) CloudProjectContainerregistryOidcTimeoutsPtrInput { + return (*cloudProjectContainerregistryOidcTimeoutsPtrType)(v) +} + +func (*cloudProjectContainerregistryOidcTimeoutsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**CloudProjectContainerregistryOidcTimeouts)(nil)).Elem() +} + +func (i *cloudProjectContainerregistryOidcTimeoutsPtrType) ToCloudProjectContainerregistryOidcTimeoutsPtrOutput() CloudProjectContainerregistryOidcTimeoutsPtrOutput { + return i.ToCloudProjectContainerregistryOidcTimeoutsPtrOutputWithContext(context.Background()) +} + +func (i *cloudProjectContainerregistryOidcTimeoutsPtrType) ToCloudProjectContainerregistryOidcTimeoutsPtrOutputWithContext(ctx context.Context) CloudProjectContainerregistryOidcTimeoutsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectContainerregistryOidcTimeoutsPtrOutput) +} + +type CloudProjectContainerregistryOidcTimeoutsOutput struct{ *pulumi.OutputState } + +func (CloudProjectContainerregistryOidcTimeoutsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*CloudProjectContainerregistryOidcTimeouts)(nil)).Elem() +} + +func (o CloudProjectContainerregistryOidcTimeoutsOutput) ToCloudProjectContainerregistryOidcTimeoutsOutput() CloudProjectContainerregistryOidcTimeoutsOutput { + return o +} + +func (o CloudProjectContainerregistryOidcTimeoutsOutput) ToCloudProjectContainerregistryOidcTimeoutsOutputWithContext(ctx context.Context) CloudProjectContainerregistryOidcTimeoutsOutput { + return o +} + +func (o CloudProjectContainerregistryOidcTimeoutsOutput) ToCloudProjectContainerregistryOidcTimeoutsPtrOutput() CloudProjectContainerregistryOidcTimeoutsPtrOutput { + return o.ToCloudProjectContainerregistryOidcTimeoutsPtrOutputWithContext(context.Background()) +} + +func (o CloudProjectContainerregistryOidcTimeoutsOutput) ToCloudProjectContainerregistryOidcTimeoutsPtrOutputWithContext(ctx context.Context) CloudProjectContainerregistryOidcTimeoutsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v CloudProjectContainerregistryOidcTimeouts) *CloudProjectContainerregistryOidcTimeouts { + return &v + }).(CloudProjectContainerregistryOidcTimeoutsPtrOutput) +} + +func (o CloudProjectContainerregistryOidcTimeoutsOutput) Create() pulumi.StringPtrOutput { + return o.ApplyT(func(v CloudProjectContainerregistryOidcTimeouts) *string { return v.Create }).(pulumi.StringPtrOutput) +} + +func (o CloudProjectContainerregistryOidcTimeoutsOutput) Default() pulumi.StringPtrOutput { + return o.ApplyT(func(v CloudProjectContainerregistryOidcTimeouts) *string { return v.Default }).(pulumi.StringPtrOutput) +} + +func (o CloudProjectContainerregistryOidcTimeoutsOutput) Delete() pulumi.StringPtrOutput { + return o.ApplyT(func(v CloudProjectContainerregistryOidcTimeouts) *string { return v.Delete }).(pulumi.StringPtrOutput) +} + +func (o CloudProjectContainerregistryOidcTimeoutsOutput) Read() pulumi.StringPtrOutput { + return o.ApplyT(func(v CloudProjectContainerregistryOidcTimeouts) *string { return v.Read }).(pulumi.StringPtrOutput) +} + +func (o CloudProjectContainerregistryOidcTimeoutsOutput) Update() pulumi.StringPtrOutput { + return o.ApplyT(func(v CloudProjectContainerregistryOidcTimeouts) *string { return v.Update }).(pulumi.StringPtrOutput) +} + +type CloudProjectContainerregistryOidcTimeoutsPtrOutput struct{ *pulumi.OutputState } + +func (CloudProjectContainerregistryOidcTimeoutsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**CloudProjectContainerregistryOidcTimeouts)(nil)).Elem() +} + +func (o CloudProjectContainerregistryOidcTimeoutsPtrOutput) ToCloudProjectContainerregistryOidcTimeoutsPtrOutput() CloudProjectContainerregistryOidcTimeoutsPtrOutput { + return o +} + +func (o CloudProjectContainerregistryOidcTimeoutsPtrOutput) ToCloudProjectContainerregistryOidcTimeoutsPtrOutputWithContext(ctx context.Context) CloudProjectContainerregistryOidcTimeoutsPtrOutput { + return o +} + +func (o CloudProjectContainerregistryOidcTimeoutsPtrOutput) Elem() CloudProjectContainerregistryOidcTimeoutsOutput { + return o.ApplyT(func(v *CloudProjectContainerregistryOidcTimeouts) CloudProjectContainerregistryOidcTimeouts { + if v != nil { + return *v + } + var ret CloudProjectContainerregistryOidcTimeouts + return ret + }).(CloudProjectContainerregistryOidcTimeoutsOutput) +} + +func (o CloudProjectContainerregistryOidcTimeoutsPtrOutput) Create() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudProjectContainerregistryOidcTimeouts) *string { + if v == nil { + return nil + } + return v.Create + }).(pulumi.StringPtrOutput) +} + +func (o CloudProjectContainerregistryOidcTimeoutsPtrOutput) Default() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudProjectContainerregistryOidcTimeouts) *string { + if v == nil { + return nil + } + return v.Default + }).(pulumi.StringPtrOutput) +} + +func (o CloudProjectContainerregistryOidcTimeoutsPtrOutput) Delete() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudProjectContainerregistryOidcTimeouts) *string { + if v == nil { + return nil + } + return v.Delete + }).(pulumi.StringPtrOutput) +} + +func (o CloudProjectContainerregistryOidcTimeoutsPtrOutput) Read() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudProjectContainerregistryOidcTimeouts) *string { + if v == nil { + return nil + } + return v.Read + }).(pulumi.StringPtrOutput) +} + +func (o CloudProjectContainerregistryOidcTimeoutsPtrOutput) Update() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudProjectContainerregistryOidcTimeouts) *string { + if v == nil { + return nil + } + return v.Update + }).(pulumi.StringPtrOutput) +} + +type CloudProjectContainerregistryPlan struct { + Code string `pulumi:"code"` + CreatedAt string `pulumi:"createdAt"` + Features []CloudProjectContainerregistryPlanFeature `pulumi:"features"` + Id string `pulumi:"id"` + Name string `pulumi:"name"` + RegistryLimits []CloudProjectContainerregistryPlanRegistryLimit `pulumi:"registryLimits"` + UpdatedAt string `pulumi:"updatedAt"` +} + +// CloudProjectContainerregistryPlanInput is an input type that accepts CloudProjectContainerregistryPlanArgs and CloudProjectContainerregistryPlanOutput values. +// You can construct a concrete instance of `CloudProjectContainerregistryPlanInput` via: +// +// CloudProjectContainerregistryPlanArgs{...} +type CloudProjectContainerregistryPlanInput interface { + pulumi.Input + + ToCloudProjectContainerregistryPlanOutput() CloudProjectContainerregistryPlanOutput + ToCloudProjectContainerregistryPlanOutputWithContext(context.Context) CloudProjectContainerregistryPlanOutput +} + +type CloudProjectContainerregistryPlanArgs struct { + Code pulumi.StringInput `pulumi:"code"` + CreatedAt pulumi.StringInput `pulumi:"createdAt"` + Features CloudProjectContainerregistryPlanFeatureArrayInput `pulumi:"features"` + Id pulumi.StringInput `pulumi:"id"` + Name pulumi.StringInput `pulumi:"name"` + RegistryLimits CloudProjectContainerregistryPlanRegistryLimitArrayInput `pulumi:"registryLimits"` + UpdatedAt pulumi.StringInput `pulumi:"updatedAt"` +} + +func (CloudProjectContainerregistryPlanArgs) ElementType() reflect.Type { + return reflect.TypeOf((*CloudProjectContainerregistryPlan)(nil)).Elem() +} + +func (i CloudProjectContainerregistryPlanArgs) ToCloudProjectContainerregistryPlanOutput() CloudProjectContainerregistryPlanOutput { + return i.ToCloudProjectContainerregistryPlanOutputWithContext(context.Background()) +} + +func (i CloudProjectContainerregistryPlanArgs) ToCloudProjectContainerregistryPlanOutputWithContext(ctx context.Context) CloudProjectContainerregistryPlanOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectContainerregistryPlanOutput) +} + +// CloudProjectContainerregistryPlanArrayInput is an input type that accepts CloudProjectContainerregistryPlanArray and CloudProjectContainerregistryPlanArrayOutput values. +// You can construct a concrete instance of `CloudProjectContainerregistryPlanArrayInput` via: +// +// CloudProjectContainerregistryPlanArray{ CloudProjectContainerregistryPlanArgs{...} } +type CloudProjectContainerregistryPlanArrayInput interface { + pulumi.Input + + ToCloudProjectContainerregistryPlanArrayOutput() CloudProjectContainerregistryPlanArrayOutput + ToCloudProjectContainerregistryPlanArrayOutputWithContext(context.Context) CloudProjectContainerregistryPlanArrayOutput +} + +type CloudProjectContainerregistryPlanArray []CloudProjectContainerregistryPlanInput + +func (CloudProjectContainerregistryPlanArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]CloudProjectContainerregistryPlan)(nil)).Elem() +} + +func (i CloudProjectContainerregistryPlanArray) ToCloudProjectContainerregistryPlanArrayOutput() CloudProjectContainerregistryPlanArrayOutput { + return i.ToCloudProjectContainerregistryPlanArrayOutputWithContext(context.Background()) +} + +func (i CloudProjectContainerregistryPlanArray) ToCloudProjectContainerregistryPlanArrayOutputWithContext(ctx context.Context) CloudProjectContainerregistryPlanArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectContainerregistryPlanArrayOutput) +} + +type CloudProjectContainerregistryPlanOutput struct{ *pulumi.OutputState } + +func (CloudProjectContainerregistryPlanOutput) ElementType() reflect.Type { + return reflect.TypeOf((*CloudProjectContainerregistryPlan)(nil)).Elem() +} + +func (o CloudProjectContainerregistryPlanOutput) ToCloudProjectContainerregistryPlanOutput() CloudProjectContainerregistryPlanOutput { + return o +} + +func (o CloudProjectContainerregistryPlanOutput) ToCloudProjectContainerregistryPlanOutputWithContext(ctx context.Context) CloudProjectContainerregistryPlanOutput { + return o +} + +func (o CloudProjectContainerregistryPlanOutput) Code() pulumi.StringOutput { + return o.ApplyT(func(v CloudProjectContainerregistryPlan) string { return v.Code }).(pulumi.StringOutput) +} + +func (o CloudProjectContainerregistryPlanOutput) CreatedAt() pulumi.StringOutput { + return o.ApplyT(func(v CloudProjectContainerregistryPlan) string { return v.CreatedAt }).(pulumi.StringOutput) +} + +func (o CloudProjectContainerregistryPlanOutput) Features() CloudProjectContainerregistryPlanFeatureArrayOutput { + return o.ApplyT(func(v CloudProjectContainerregistryPlan) []CloudProjectContainerregistryPlanFeature { + return v.Features + }).(CloudProjectContainerregistryPlanFeatureArrayOutput) +} + +func (o CloudProjectContainerregistryPlanOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v CloudProjectContainerregistryPlan) string { return v.Id }).(pulumi.StringOutput) +} + +func (o CloudProjectContainerregistryPlanOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v CloudProjectContainerregistryPlan) string { return v.Name }).(pulumi.StringOutput) +} + +func (o CloudProjectContainerregistryPlanOutput) RegistryLimits() CloudProjectContainerregistryPlanRegistryLimitArrayOutput { + return o.ApplyT(func(v CloudProjectContainerregistryPlan) []CloudProjectContainerregistryPlanRegistryLimit { + return v.RegistryLimits + }).(CloudProjectContainerregistryPlanRegistryLimitArrayOutput) +} + +func (o CloudProjectContainerregistryPlanOutput) UpdatedAt() pulumi.StringOutput { + return o.ApplyT(func(v CloudProjectContainerregistryPlan) string { return v.UpdatedAt }).(pulumi.StringOutput) +} + +type CloudProjectContainerregistryPlanArrayOutput struct{ *pulumi.OutputState } + +func (CloudProjectContainerregistryPlanArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]CloudProjectContainerregistryPlan)(nil)).Elem() +} + +func (o CloudProjectContainerregistryPlanArrayOutput) ToCloudProjectContainerregistryPlanArrayOutput() CloudProjectContainerregistryPlanArrayOutput { + return o +} + +func (o CloudProjectContainerregistryPlanArrayOutput) ToCloudProjectContainerregistryPlanArrayOutputWithContext(ctx context.Context) CloudProjectContainerregistryPlanArrayOutput { + return o +} + +func (o CloudProjectContainerregistryPlanArrayOutput) Index(i pulumi.IntInput) CloudProjectContainerregistryPlanOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) CloudProjectContainerregistryPlan { + return vs[0].([]CloudProjectContainerregistryPlan)[vs[1].(int)] + }).(CloudProjectContainerregistryPlanOutput) +} + +type CloudProjectContainerregistryPlanFeature struct { + Vulnerability bool `pulumi:"vulnerability"` +} + +// CloudProjectContainerregistryPlanFeatureInput is an input type that accepts CloudProjectContainerregistryPlanFeatureArgs and CloudProjectContainerregistryPlanFeatureOutput values. +// You can construct a concrete instance of `CloudProjectContainerregistryPlanFeatureInput` via: +// +// CloudProjectContainerregistryPlanFeatureArgs{...} +type CloudProjectContainerregistryPlanFeatureInput interface { + pulumi.Input + + ToCloudProjectContainerregistryPlanFeatureOutput() CloudProjectContainerregistryPlanFeatureOutput + ToCloudProjectContainerregistryPlanFeatureOutputWithContext(context.Context) CloudProjectContainerregistryPlanFeatureOutput +} + +type CloudProjectContainerregistryPlanFeatureArgs struct { + Vulnerability pulumi.BoolInput `pulumi:"vulnerability"` +} + +func (CloudProjectContainerregistryPlanFeatureArgs) ElementType() reflect.Type { + return reflect.TypeOf((*CloudProjectContainerregistryPlanFeature)(nil)).Elem() +} + +func (i CloudProjectContainerregistryPlanFeatureArgs) ToCloudProjectContainerregistryPlanFeatureOutput() CloudProjectContainerregistryPlanFeatureOutput { + return i.ToCloudProjectContainerregistryPlanFeatureOutputWithContext(context.Background()) +} + +func (i CloudProjectContainerregistryPlanFeatureArgs) ToCloudProjectContainerregistryPlanFeatureOutputWithContext(ctx context.Context) CloudProjectContainerregistryPlanFeatureOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectContainerregistryPlanFeatureOutput) +} + +// CloudProjectContainerregistryPlanFeatureArrayInput is an input type that accepts CloudProjectContainerregistryPlanFeatureArray and CloudProjectContainerregistryPlanFeatureArrayOutput values. +// You can construct a concrete instance of `CloudProjectContainerregistryPlanFeatureArrayInput` via: +// +// CloudProjectContainerregistryPlanFeatureArray{ CloudProjectContainerregistryPlanFeatureArgs{...} } +type CloudProjectContainerregistryPlanFeatureArrayInput interface { + pulumi.Input + + ToCloudProjectContainerregistryPlanFeatureArrayOutput() CloudProjectContainerregistryPlanFeatureArrayOutput + ToCloudProjectContainerregistryPlanFeatureArrayOutputWithContext(context.Context) CloudProjectContainerregistryPlanFeatureArrayOutput +} + +type CloudProjectContainerregistryPlanFeatureArray []CloudProjectContainerregistryPlanFeatureInput + +func (CloudProjectContainerregistryPlanFeatureArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]CloudProjectContainerregistryPlanFeature)(nil)).Elem() +} + +func (i CloudProjectContainerregistryPlanFeatureArray) ToCloudProjectContainerregistryPlanFeatureArrayOutput() CloudProjectContainerregistryPlanFeatureArrayOutput { + return i.ToCloudProjectContainerregistryPlanFeatureArrayOutputWithContext(context.Background()) +} + +func (i CloudProjectContainerregistryPlanFeatureArray) ToCloudProjectContainerregistryPlanFeatureArrayOutputWithContext(ctx context.Context) CloudProjectContainerregistryPlanFeatureArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectContainerregistryPlanFeatureArrayOutput) +} + +type CloudProjectContainerregistryPlanFeatureOutput struct{ *pulumi.OutputState } + +func (CloudProjectContainerregistryPlanFeatureOutput) ElementType() reflect.Type { + return reflect.TypeOf((*CloudProjectContainerregistryPlanFeature)(nil)).Elem() +} + +func (o CloudProjectContainerregistryPlanFeatureOutput) ToCloudProjectContainerregistryPlanFeatureOutput() CloudProjectContainerregistryPlanFeatureOutput { + return o +} + +func (o CloudProjectContainerregistryPlanFeatureOutput) ToCloudProjectContainerregistryPlanFeatureOutputWithContext(ctx context.Context) CloudProjectContainerregistryPlanFeatureOutput { + return o +} + +func (o CloudProjectContainerregistryPlanFeatureOutput) Vulnerability() pulumi.BoolOutput { + return o.ApplyT(func(v CloudProjectContainerregistryPlanFeature) bool { return v.Vulnerability }).(pulumi.BoolOutput) +} + +type CloudProjectContainerregistryPlanFeatureArrayOutput struct{ *pulumi.OutputState } + +func (CloudProjectContainerregistryPlanFeatureArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]CloudProjectContainerregistryPlanFeature)(nil)).Elem() +} + +func (o CloudProjectContainerregistryPlanFeatureArrayOutput) ToCloudProjectContainerregistryPlanFeatureArrayOutput() CloudProjectContainerregistryPlanFeatureArrayOutput { + return o +} + +func (o CloudProjectContainerregistryPlanFeatureArrayOutput) ToCloudProjectContainerregistryPlanFeatureArrayOutputWithContext(ctx context.Context) CloudProjectContainerregistryPlanFeatureArrayOutput { + return o +} + +func (o CloudProjectContainerregistryPlanFeatureArrayOutput) Index(i pulumi.IntInput) CloudProjectContainerregistryPlanFeatureOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) CloudProjectContainerregistryPlanFeature { + return vs[0].([]CloudProjectContainerregistryPlanFeature)[vs[1].(int)] + }).(CloudProjectContainerregistryPlanFeatureOutput) +} + +type CloudProjectContainerregistryPlanRegistryLimit struct { + ImageStorage float64 `pulumi:"imageStorage"` + ParallelRequest float64 `pulumi:"parallelRequest"` +} + +// CloudProjectContainerregistryPlanRegistryLimitInput is an input type that accepts CloudProjectContainerregistryPlanRegistryLimitArgs and CloudProjectContainerregistryPlanRegistryLimitOutput values. +// You can construct a concrete instance of `CloudProjectContainerregistryPlanRegistryLimitInput` via: +// +// CloudProjectContainerregistryPlanRegistryLimitArgs{...} +type CloudProjectContainerregistryPlanRegistryLimitInput interface { + pulumi.Input + + ToCloudProjectContainerregistryPlanRegistryLimitOutput() CloudProjectContainerregistryPlanRegistryLimitOutput + ToCloudProjectContainerregistryPlanRegistryLimitOutputWithContext(context.Context) CloudProjectContainerregistryPlanRegistryLimitOutput +} + +type CloudProjectContainerregistryPlanRegistryLimitArgs struct { + ImageStorage pulumi.Float64Input `pulumi:"imageStorage"` + ParallelRequest pulumi.Float64Input `pulumi:"parallelRequest"` +} + +func (CloudProjectContainerregistryPlanRegistryLimitArgs) ElementType() reflect.Type { + return reflect.TypeOf((*CloudProjectContainerregistryPlanRegistryLimit)(nil)).Elem() +} + +func (i CloudProjectContainerregistryPlanRegistryLimitArgs) ToCloudProjectContainerregistryPlanRegistryLimitOutput() CloudProjectContainerregistryPlanRegistryLimitOutput { + return i.ToCloudProjectContainerregistryPlanRegistryLimitOutputWithContext(context.Background()) +} + +func (i CloudProjectContainerregistryPlanRegistryLimitArgs) ToCloudProjectContainerregistryPlanRegistryLimitOutputWithContext(ctx context.Context) CloudProjectContainerregistryPlanRegistryLimitOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectContainerregistryPlanRegistryLimitOutput) +} + +// CloudProjectContainerregistryPlanRegistryLimitArrayInput is an input type that accepts CloudProjectContainerregistryPlanRegistryLimitArray and CloudProjectContainerregistryPlanRegistryLimitArrayOutput values. +// You can construct a concrete instance of `CloudProjectContainerregistryPlanRegistryLimitArrayInput` via: +// +// CloudProjectContainerregistryPlanRegistryLimitArray{ CloudProjectContainerregistryPlanRegistryLimitArgs{...} } +type CloudProjectContainerregistryPlanRegistryLimitArrayInput interface { + pulumi.Input + + ToCloudProjectContainerregistryPlanRegistryLimitArrayOutput() CloudProjectContainerregistryPlanRegistryLimitArrayOutput + ToCloudProjectContainerregistryPlanRegistryLimitArrayOutputWithContext(context.Context) CloudProjectContainerregistryPlanRegistryLimitArrayOutput +} + +type CloudProjectContainerregistryPlanRegistryLimitArray []CloudProjectContainerregistryPlanRegistryLimitInput + +func (CloudProjectContainerregistryPlanRegistryLimitArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]CloudProjectContainerregistryPlanRegistryLimit)(nil)).Elem() +} + +func (i CloudProjectContainerregistryPlanRegistryLimitArray) ToCloudProjectContainerregistryPlanRegistryLimitArrayOutput() CloudProjectContainerregistryPlanRegistryLimitArrayOutput { + return i.ToCloudProjectContainerregistryPlanRegistryLimitArrayOutputWithContext(context.Background()) +} + +func (i CloudProjectContainerregistryPlanRegistryLimitArray) ToCloudProjectContainerregistryPlanRegistryLimitArrayOutputWithContext(ctx context.Context) CloudProjectContainerregistryPlanRegistryLimitArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectContainerregistryPlanRegistryLimitArrayOutput) +} + +type CloudProjectContainerregistryPlanRegistryLimitOutput struct{ *pulumi.OutputState } + +func (CloudProjectContainerregistryPlanRegistryLimitOutput) ElementType() reflect.Type { + return reflect.TypeOf((*CloudProjectContainerregistryPlanRegistryLimit)(nil)).Elem() +} + +func (o CloudProjectContainerregistryPlanRegistryLimitOutput) ToCloudProjectContainerregistryPlanRegistryLimitOutput() CloudProjectContainerregistryPlanRegistryLimitOutput { + return o +} + +func (o CloudProjectContainerregistryPlanRegistryLimitOutput) ToCloudProjectContainerregistryPlanRegistryLimitOutputWithContext(ctx context.Context) CloudProjectContainerregistryPlanRegistryLimitOutput { + return o +} + +func (o CloudProjectContainerregistryPlanRegistryLimitOutput) ImageStorage() pulumi.Float64Output { + return o.ApplyT(func(v CloudProjectContainerregistryPlanRegistryLimit) float64 { return v.ImageStorage }).(pulumi.Float64Output) +} + +func (o CloudProjectContainerregistryPlanRegistryLimitOutput) ParallelRequest() pulumi.Float64Output { + return o.ApplyT(func(v CloudProjectContainerregistryPlanRegistryLimit) float64 { return v.ParallelRequest }).(pulumi.Float64Output) +} + +type CloudProjectContainerregistryPlanRegistryLimitArrayOutput struct{ *pulumi.OutputState } + +func (CloudProjectContainerregistryPlanRegistryLimitArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]CloudProjectContainerregistryPlanRegistryLimit)(nil)).Elem() +} + +func (o CloudProjectContainerregistryPlanRegistryLimitArrayOutput) ToCloudProjectContainerregistryPlanRegistryLimitArrayOutput() CloudProjectContainerregistryPlanRegistryLimitArrayOutput { + return o +} + +func (o CloudProjectContainerregistryPlanRegistryLimitArrayOutput) ToCloudProjectContainerregistryPlanRegistryLimitArrayOutputWithContext(ctx context.Context) CloudProjectContainerregistryPlanRegistryLimitArrayOutput { + return o +} + +func (o CloudProjectContainerregistryPlanRegistryLimitArrayOutput) Index(i pulumi.IntInput) CloudProjectContainerregistryPlanRegistryLimitOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) CloudProjectContainerregistryPlanRegistryLimit { + return vs[0].([]CloudProjectContainerregistryPlanRegistryLimit)[vs[1].(int)] + }).(CloudProjectContainerregistryPlanRegistryLimitOutput) +} + +type CloudProjectDatabaseDatabaseTimeouts struct { + Create *string `pulumi:"create"` + Delete *string `pulumi:"delete"` +} + +// CloudProjectDatabaseDatabaseTimeoutsInput is an input type that accepts CloudProjectDatabaseDatabaseTimeoutsArgs and CloudProjectDatabaseDatabaseTimeoutsOutput values. +// You can construct a concrete instance of `CloudProjectDatabaseDatabaseTimeoutsInput` via: +// +// CloudProjectDatabaseDatabaseTimeoutsArgs{...} +type CloudProjectDatabaseDatabaseTimeoutsInput interface { + pulumi.Input + + ToCloudProjectDatabaseDatabaseTimeoutsOutput() CloudProjectDatabaseDatabaseTimeoutsOutput + ToCloudProjectDatabaseDatabaseTimeoutsOutputWithContext(context.Context) CloudProjectDatabaseDatabaseTimeoutsOutput +} + +type CloudProjectDatabaseDatabaseTimeoutsArgs struct { + Create pulumi.StringPtrInput `pulumi:"create"` + Delete pulumi.StringPtrInput `pulumi:"delete"` +} + +func (CloudProjectDatabaseDatabaseTimeoutsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*CloudProjectDatabaseDatabaseTimeouts)(nil)).Elem() +} + +func (i CloudProjectDatabaseDatabaseTimeoutsArgs) ToCloudProjectDatabaseDatabaseTimeoutsOutput() CloudProjectDatabaseDatabaseTimeoutsOutput { + return i.ToCloudProjectDatabaseDatabaseTimeoutsOutputWithContext(context.Background()) +} + +func (i CloudProjectDatabaseDatabaseTimeoutsArgs) ToCloudProjectDatabaseDatabaseTimeoutsOutputWithContext(ctx context.Context) CloudProjectDatabaseDatabaseTimeoutsOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectDatabaseDatabaseTimeoutsOutput) +} + +func (i CloudProjectDatabaseDatabaseTimeoutsArgs) ToCloudProjectDatabaseDatabaseTimeoutsPtrOutput() CloudProjectDatabaseDatabaseTimeoutsPtrOutput { + return i.ToCloudProjectDatabaseDatabaseTimeoutsPtrOutputWithContext(context.Background()) +} + +func (i CloudProjectDatabaseDatabaseTimeoutsArgs) ToCloudProjectDatabaseDatabaseTimeoutsPtrOutputWithContext(ctx context.Context) CloudProjectDatabaseDatabaseTimeoutsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectDatabaseDatabaseTimeoutsOutput).ToCloudProjectDatabaseDatabaseTimeoutsPtrOutputWithContext(ctx) +} + +// CloudProjectDatabaseDatabaseTimeoutsPtrInput is an input type that accepts CloudProjectDatabaseDatabaseTimeoutsArgs, CloudProjectDatabaseDatabaseTimeoutsPtr and CloudProjectDatabaseDatabaseTimeoutsPtrOutput values. +// You can construct a concrete instance of `CloudProjectDatabaseDatabaseTimeoutsPtrInput` via: +// +// CloudProjectDatabaseDatabaseTimeoutsArgs{...} +// +// or: +// +// nil +type CloudProjectDatabaseDatabaseTimeoutsPtrInput interface { + pulumi.Input + + ToCloudProjectDatabaseDatabaseTimeoutsPtrOutput() CloudProjectDatabaseDatabaseTimeoutsPtrOutput + ToCloudProjectDatabaseDatabaseTimeoutsPtrOutputWithContext(context.Context) CloudProjectDatabaseDatabaseTimeoutsPtrOutput +} + +type cloudProjectDatabaseDatabaseTimeoutsPtrType CloudProjectDatabaseDatabaseTimeoutsArgs + +func CloudProjectDatabaseDatabaseTimeoutsPtr(v *CloudProjectDatabaseDatabaseTimeoutsArgs) CloudProjectDatabaseDatabaseTimeoutsPtrInput { + return (*cloudProjectDatabaseDatabaseTimeoutsPtrType)(v) +} + +func (*cloudProjectDatabaseDatabaseTimeoutsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**CloudProjectDatabaseDatabaseTimeouts)(nil)).Elem() +} + +func (i *cloudProjectDatabaseDatabaseTimeoutsPtrType) ToCloudProjectDatabaseDatabaseTimeoutsPtrOutput() CloudProjectDatabaseDatabaseTimeoutsPtrOutput { + return i.ToCloudProjectDatabaseDatabaseTimeoutsPtrOutputWithContext(context.Background()) +} + +func (i *cloudProjectDatabaseDatabaseTimeoutsPtrType) ToCloudProjectDatabaseDatabaseTimeoutsPtrOutputWithContext(ctx context.Context) CloudProjectDatabaseDatabaseTimeoutsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectDatabaseDatabaseTimeoutsPtrOutput) +} + +type CloudProjectDatabaseDatabaseTimeoutsOutput struct{ *pulumi.OutputState } + +func (CloudProjectDatabaseDatabaseTimeoutsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*CloudProjectDatabaseDatabaseTimeouts)(nil)).Elem() +} + +func (o CloudProjectDatabaseDatabaseTimeoutsOutput) ToCloudProjectDatabaseDatabaseTimeoutsOutput() CloudProjectDatabaseDatabaseTimeoutsOutput { + return o +} + +func (o CloudProjectDatabaseDatabaseTimeoutsOutput) ToCloudProjectDatabaseDatabaseTimeoutsOutputWithContext(ctx context.Context) CloudProjectDatabaseDatabaseTimeoutsOutput { + return o +} + +func (o CloudProjectDatabaseDatabaseTimeoutsOutput) ToCloudProjectDatabaseDatabaseTimeoutsPtrOutput() CloudProjectDatabaseDatabaseTimeoutsPtrOutput { + return o.ToCloudProjectDatabaseDatabaseTimeoutsPtrOutputWithContext(context.Background()) +} + +func (o CloudProjectDatabaseDatabaseTimeoutsOutput) ToCloudProjectDatabaseDatabaseTimeoutsPtrOutputWithContext(ctx context.Context) CloudProjectDatabaseDatabaseTimeoutsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v CloudProjectDatabaseDatabaseTimeouts) *CloudProjectDatabaseDatabaseTimeouts { + return &v + }).(CloudProjectDatabaseDatabaseTimeoutsPtrOutput) +} + +func (o CloudProjectDatabaseDatabaseTimeoutsOutput) Create() pulumi.StringPtrOutput { + return o.ApplyT(func(v CloudProjectDatabaseDatabaseTimeouts) *string { return v.Create }).(pulumi.StringPtrOutput) +} + +func (o CloudProjectDatabaseDatabaseTimeoutsOutput) Delete() pulumi.StringPtrOutput { + return o.ApplyT(func(v CloudProjectDatabaseDatabaseTimeouts) *string { return v.Delete }).(pulumi.StringPtrOutput) +} + +type CloudProjectDatabaseDatabaseTimeoutsPtrOutput struct{ *pulumi.OutputState } + +func (CloudProjectDatabaseDatabaseTimeoutsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**CloudProjectDatabaseDatabaseTimeouts)(nil)).Elem() +} + +func (o CloudProjectDatabaseDatabaseTimeoutsPtrOutput) ToCloudProjectDatabaseDatabaseTimeoutsPtrOutput() CloudProjectDatabaseDatabaseTimeoutsPtrOutput { + return o +} + +func (o CloudProjectDatabaseDatabaseTimeoutsPtrOutput) ToCloudProjectDatabaseDatabaseTimeoutsPtrOutputWithContext(ctx context.Context) CloudProjectDatabaseDatabaseTimeoutsPtrOutput { + return o +} + +func (o CloudProjectDatabaseDatabaseTimeoutsPtrOutput) Elem() CloudProjectDatabaseDatabaseTimeoutsOutput { + return o.ApplyT(func(v *CloudProjectDatabaseDatabaseTimeouts) CloudProjectDatabaseDatabaseTimeouts { + if v != nil { + return *v + } + var ret CloudProjectDatabaseDatabaseTimeouts + return ret + }).(CloudProjectDatabaseDatabaseTimeoutsOutput) +} + +func (o CloudProjectDatabaseDatabaseTimeoutsPtrOutput) Create() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudProjectDatabaseDatabaseTimeouts) *string { + if v == nil { + return nil + } + return v.Create + }).(pulumi.StringPtrOutput) +} + +func (o CloudProjectDatabaseDatabaseTimeoutsPtrOutput) Delete() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudProjectDatabaseDatabaseTimeouts) *string { + if v == nil { + return nil + } + return v.Delete + }).(pulumi.StringPtrOutput) +} + +type CloudProjectDatabaseEndpoint struct { + Component string `pulumi:"component"` + Domain string `pulumi:"domain"` + Path string `pulumi:"path"` + Port float64 `pulumi:"port"` + Scheme string `pulumi:"scheme"` + Ssl bool `pulumi:"ssl"` + SslMode string `pulumi:"sslMode"` + Uri string `pulumi:"uri"` +} + +// CloudProjectDatabaseEndpointInput is an input type that accepts CloudProjectDatabaseEndpointArgs and CloudProjectDatabaseEndpointOutput values. +// You can construct a concrete instance of `CloudProjectDatabaseEndpointInput` via: +// +// CloudProjectDatabaseEndpointArgs{...} +type CloudProjectDatabaseEndpointInput interface { + pulumi.Input + + ToCloudProjectDatabaseEndpointOutput() CloudProjectDatabaseEndpointOutput + ToCloudProjectDatabaseEndpointOutputWithContext(context.Context) CloudProjectDatabaseEndpointOutput +} + +type CloudProjectDatabaseEndpointArgs struct { + Component pulumi.StringInput `pulumi:"component"` + Domain pulumi.StringInput `pulumi:"domain"` + Path pulumi.StringInput `pulumi:"path"` + Port pulumi.Float64Input `pulumi:"port"` + Scheme pulumi.StringInput `pulumi:"scheme"` + Ssl pulumi.BoolInput `pulumi:"ssl"` + SslMode pulumi.StringInput `pulumi:"sslMode"` + Uri pulumi.StringInput `pulumi:"uri"` +} + +func (CloudProjectDatabaseEndpointArgs) ElementType() reflect.Type { + return reflect.TypeOf((*CloudProjectDatabaseEndpoint)(nil)).Elem() +} + +func (i CloudProjectDatabaseEndpointArgs) ToCloudProjectDatabaseEndpointOutput() CloudProjectDatabaseEndpointOutput { + return i.ToCloudProjectDatabaseEndpointOutputWithContext(context.Background()) +} + +func (i CloudProjectDatabaseEndpointArgs) ToCloudProjectDatabaseEndpointOutputWithContext(ctx context.Context) CloudProjectDatabaseEndpointOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectDatabaseEndpointOutput) +} + +// CloudProjectDatabaseEndpointArrayInput is an input type that accepts CloudProjectDatabaseEndpointArray and CloudProjectDatabaseEndpointArrayOutput values. +// You can construct a concrete instance of `CloudProjectDatabaseEndpointArrayInput` via: +// +// CloudProjectDatabaseEndpointArray{ CloudProjectDatabaseEndpointArgs{...} } +type CloudProjectDatabaseEndpointArrayInput interface { + pulumi.Input + + ToCloudProjectDatabaseEndpointArrayOutput() CloudProjectDatabaseEndpointArrayOutput + ToCloudProjectDatabaseEndpointArrayOutputWithContext(context.Context) CloudProjectDatabaseEndpointArrayOutput +} + +type CloudProjectDatabaseEndpointArray []CloudProjectDatabaseEndpointInput + +func (CloudProjectDatabaseEndpointArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]CloudProjectDatabaseEndpoint)(nil)).Elem() +} + +func (i CloudProjectDatabaseEndpointArray) ToCloudProjectDatabaseEndpointArrayOutput() CloudProjectDatabaseEndpointArrayOutput { + return i.ToCloudProjectDatabaseEndpointArrayOutputWithContext(context.Background()) +} + +func (i CloudProjectDatabaseEndpointArray) ToCloudProjectDatabaseEndpointArrayOutputWithContext(ctx context.Context) CloudProjectDatabaseEndpointArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectDatabaseEndpointArrayOutput) +} + +type CloudProjectDatabaseEndpointOutput struct{ *pulumi.OutputState } + +func (CloudProjectDatabaseEndpointOutput) ElementType() reflect.Type { + return reflect.TypeOf((*CloudProjectDatabaseEndpoint)(nil)).Elem() +} + +func (o CloudProjectDatabaseEndpointOutput) ToCloudProjectDatabaseEndpointOutput() CloudProjectDatabaseEndpointOutput { + return o +} + +func (o CloudProjectDatabaseEndpointOutput) ToCloudProjectDatabaseEndpointOutputWithContext(ctx context.Context) CloudProjectDatabaseEndpointOutput { + return o +} + +func (o CloudProjectDatabaseEndpointOutput) Component() pulumi.StringOutput { + return o.ApplyT(func(v CloudProjectDatabaseEndpoint) string { return v.Component }).(pulumi.StringOutput) +} + +func (o CloudProjectDatabaseEndpointOutput) Domain() pulumi.StringOutput { + return o.ApplyT(func(v CloudProjectDatabaseEndpoint) string { return v.Domain }).(pulumi.StringOutput) +} + +func (o CloudProjectDatabaseEndpointOutput) Path() pulumi.StringOutput { + return o.ApplyT(func(v CloudProjectDatabaseEndpoint) string { return v.Path }).(pulumi.StringOutput) +} + +func (o CloudProjectDatabaseEndpointOutput) Port() pulumi.Float64Output { + return o.ApplyT(func(v CloudProjectDatabaseEndpoint) float64 { return v.Port }).(pulumi.Float64Output) +} + +func (o CloudProjectDatabaseEndpointOutput) Scheme() pulumi.StringOutput { + return o.ApplyT(func(v CloudProjectDatabaseEndpoint) string { return v.Scheme }).(pulumi.StringOutput) +} + +func (o CloudProjectDatabaseEndpointOutput) Ssl() pulumi.BoolOutput { + return o.ApplyT(func(v CloudProjectDatabaseEndpoint) bool { return v.Ssl }).(pulumi.BoolOutput) +} + +func (o CloudProjectDatabaseEndpointOutput) SslMode() pulumi.StringOutput { + return o.ApplyT(func(v CloudProjectDatabaseEndpoint) string { return v.SslMode }).(pulumi.StringOutput) +} + +func (o CloudProjectDatabaseEndpointOutput) Uri() pulumi.StringOutput { + return o.ApplyT(func(v CloudProjectDatabaseEndpoint) string { return v.Uri }).(pulumi.StringOutput) +} + +type CloudProjectDatabaseEndpointArrayOutput struct{ *pulumi.OutputState } + +func (CloudProjectDatabaseEndpointArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]CloudProjectDatabaseEndpoint)(nil)).Elem() +} + +func (o CloudProjectDatabaseEndpointArrayOutput) ToCloudProjectDatabaseEndpointArrayOutput() CloudProjectDatabaseEndpointArrayOutput { + return o +} + +func (o CloudProjectDatabaseEndpointArrayOutput) ToCloudProjectDatabaseEndpointArrayOutputWithContext(ctx context.Context) CloudProjectDatabaseEndpointArrayOutput { + return o +} + +func (o CloudProjectDatabaseEndpointArrayOutput) Index(i pulumi.IntInput) CloudProjectDatabaseEndpointOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) CloudProjectDatabaseEndpoint { + return vs[0].([]CloudProjectDatabaseEndpoint)[vs[1].(int)] + }).(CloudProjectDatabaseEndpointOutput) +} + +type CloudProjectDatabaseIntegrationTimeouts struct { + Create *string `pulumi:"create"` + Delete *string `pulumi:"delete"` +} + +// CloudProjectDatabaseIntegrationTimeoutsInput is an input type that accepts CloudProjectDatabaseIntegrationTimeoutsArgs and CloudProjectDatabaseIntegrationTimeoutsOutput values. +// You can construct a concrete instance of `CloudProjectDatabaseIntegrationTimeoutsInput` via: +// +// CloudProjectDatabaseIntegrationTimeoutsArgs{...} +type CloudProjectDatabaseIntegrationTimeoutsInput interface { + pulumi.Input + + ToCloudProjectDatabaseIntegrationTimeoutsOutput() CloudProjectDatabaseIntegrationTimeoutsOutput + ToCloudProjectDatabaseIntegrationTimeoutsOutputWithContext(context.Context) CloudProjectDatabaseIntegrationTimeoutsOutput +} + +type CloudProjectDatabaseIntegrationTimeoutsArgs struct { + Create pulumi.StringPtrInput `pulumi:"create"` + Delete pulumi.StringPtrInput `pulumi:"delete"` +} + +func (CloudProjectDatabaseIntegrationTimeoutsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*CloudProjectDatabaseIntegrationTimeouts)(nil)).Elem() +} + +func (i CloudProjectDatabaseIntegrationTimeoutsArgs) ToCloudProjectDatabaseIntegrationTimeoutsOutput() CloudProjectDatabaseIntegrationTimeoutsOutput { + return i.ToCloudProjectDatabaseIntegrationTimeoutsOutputWithContext(context.Background()) +} + +func (i CloudProjectDatabaseIntegrationTimeoutsArgs) ToCloudProjectDatabaseIntegrationTimeoutsOutputWithContext(ctx context.Context) CloudProjectDatabaseIntegrationTimeoutsOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectDatabaseIntegrationTimeoutsOutput) +} + +func (i CloudProjectDatabaseIntegrationTimeoutsArgs) ToCloudProjectDatabaseIntegrationTimeoutsPtrOutput() CloudProjectDatabaseIntegrationTimeoutsPtrOutput { + return i.ToCloudProjectDatabaseIntegrationTimeoutsPtrOutputWithContext(context.Background()) +} + +func (i CloudProjectDatabaseIntegrationTimeoutsArgs) ToCloudProjectDatabaseIntegrationTimeoutsPtrOutputWithContext(ctx context.Context) CloudProjectDatabaseIntegrationTimeoutsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectDatabaseIntegrationTimeoutsOutput).ToCloudProjectDatabaseIntegrationTimeoutsPtrOutputWithContext(ctx) +} + +// CloudProjectDatabaseIntegrationTimeoutsPtrInput is an input type that accepts CloudProjectDatabaseIntegrationTimeoutsArgs, CloudProjectDatabaseIntegrationTimeoutsPtr and CloudProjectDatabaseIntegrationTimeoutsPtrOutput values. +// You can construct a concrete instance of `CloudProjectDatabaseIntegrationTimeoutsPtrInput` via: +// +// CloudProjectDatabaseIntegrationTimeoutsArgs{...} +// +// or: +// +// nil +type CloudProjectDatabaseIntegrationTimeoutsPtrInput interface { + pulumi.Input + + ToCloudProjectDatabaseIntegrationTimeoutsPtrOutput() CloudProjectDatabaseIntegrationTimeoutsPtrOutput + ToCloudProjectDatabaseIntegrationTimeoutsPtrOutputWithContext(context.Context) CloudProjectDatabaseIntegrationTimeoutsPtrOutput +} + +type cloudProjectDatabaseIntegrationTimeoutsPtrType CloudProjectDatabaseIntegrationTimeoutsArgs + +func CloudProjectDatabaseIntegrationTimeoutsPtr(v *CloudProjectDatabaseIntegrationTimeoutsArgs) CloudProjectDatabaseIntegrationTimeoutsPtrInput { + return (*cloudProjectDatabaseIntegrationTimeoutsPtrType)(v) +} + +func (*cloudProjectDatabaseIntegrationTimeoutsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**CloudProjectDatabaseIntegrationTimeouts)(nil)).Elem() +} + +func (i *cloudProjectDatabaseIntegrationTimeoutsPtrType) ToCloudProjectDatabaseIntegrationTimeoutsPtrOutput() CloudProjectDatabaseIntegrationTimeoutsPtrOutput { + return i.ToCloudProjectDatabaseIntegrationTimeoutsPtrOutputWithContext(context.Background()) +} + +func (i *cloudProjectDatabaseIntegrationTimeoutsPtrType) ToCloudProjectDatabaseIntegrationTimeoutsPtrOutputWithContext(ctx context.Context) CloudProjectDatabaseIntegrationTimeoutsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectDatabaseIntegrationTimeoutsPtrOutput) +} + +type CloudProjectDatabaseIntegrationTimeoutsOutput struct{ *pulumi.OutputState } + +func (CloudProjectDatabaseIntegrationTimeoutsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*CloudProjectDatabaseIntegrationTimeouts)(nil)).Elem() +} + +func (o CloudProjectDatabaseIntegrationTimeoutsOutput) ToCloudProjectDatabaseIntegrationTimeoutsOutput() CloudProjectDatabaseIntegrationTimeoutsOutput { + return o +} + +func (o CloudProjectDatabaseIntegrationTimeoutsOutput) ToCloudProjectDatabaseIntegrationTimeoutsOutputWithContext(ctx context.Context) CloudProjectDatabaseIntegrationTimeoutsOutput { + return o +} + +func (o CloudProjectDatabaseIntegrationTimeoutsOutput) ToCloudProjectDatabaseIntegrationTimeoutsPtrOutput() CloudProjectDatabaseIntegrationTimeoutsPtrOutput { + return o.ToCloudProjectDatabaseIntegrationTimeoutsPtrOutputWithContext(context.Background()) +} + +func (o CloudProjectDatabaseIntegrationTimeoutsOutput) ToCloudProjectDatabaseIntegrationTimeoutsPtrOutputWithContext(ctx context.Context) CloudProjectDatabaseIntegrationTimeoutsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v CloudProjectDatabaseIntegrationTimeouts) *CloudProjectDatabaseIntegrationTimeouts { + return &v + }).(CloudProjectDatabaseIntegrationTimeoutsPtrOutput) +} + +func (o CloudProjectDatabaseIntegrationTimeoutsOutput) Create() pulumi.StringPtrOutput { + return o.ApplyT(func(v CloudProjectDatabaseIntegrationTimeouts) *string { return v.Create }).(pulumi.StringPtrOutput) +} + +func (o CloudProjectDatabaseIntegrationTimeoutsOutput) Delete() pulumi.StringPtrOutput { + return o.ApplyT(func(v CloudProjectDatabaseIntegrationTimeouts) *string { return v.Delete }).(pulumi.StringPtrOutput) +} + +type CloudProjectDatabaseIntegrationTimeoutsPtrOutput struct{ *pulumi.OutputState } + +func (CloudProjectDatabaseIntegrationTimeoutsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**CloudProjectDatabaseIntegrationTimeouts)(nil)).Elem() +} + +func (o CloudProjectDatabaseIntegrationTimeoutsPtrOutput) ToCloudProjectDatabaseIntegrationTimeoutsPtrOutput() CloudProjectDatabaseIntegrationTimeoutsPtrOutput { + return o +} + +func (o CloudProjectDatabaseIntegrationTimeoutsPtrOutput) ToCloudProjectDatabaseIntegrationTimeoutsPtrOutputWithContext(ctx context.Context) CloudProjectDatabaseIntegrationTimeoutsPtrOutput { + return o +} + +func (o CloudProjectDatabaseIntegrationTimeoutsPtrOutput) Elem() CloudProjectDatabaseIntegrationTimeoutsOutput { + return o.ApplyT(func(v *CloudProjectDatabaseIntegrationTimeouts) CloudProjectDatabaseIntegrationTimeouts { + if v != nil { + return *v + } + var ret CloudProjectDatabaseIntegrationTimeouts + return ret + }).(CloudProjectDatabaseIntegrationTimeoutsOutput) +} + +func (o CloudProjectDatabaseIntegrationTimeoutsPtrOutput) Create() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudProjectDatabaseIntegrationTimeouts) *string { + if v == nil { + return nil + } + return v.Create + }).(pulumi.StringPtrOutput) +} + +func (o CloudProjectDatabaseIntegrationTimeoutsPtrOutput) Delete() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudProjectDatabaseIntegrationTimeouts) *string { + if v == nil { + return nil + } + return v.Delete + }).(pulumi.StringPtrOutput) +} + +type CloudProjectDatabaseIpRestrictionType struct { + // Description of the IP restriction + Description *string `pulumi:"description"` + // Authorized IP + Ip *string `pulumi:"ip"` + // Current status of the IP restriction + Status *string `pulumi:"status"` +} + +// CloudProjectDatabaseIpRestrictionTypeInput is an input type that accepts CloudProjectDatabaseIpRestrictionTypeArgs and CloudProjectDatabaseIpRestrictionTypeOutput values. +// You can construct a concrete instance of `CloudProjectDatabaseIpRestrictionTypeInput` via: +// +// CloudProjectDatabaseIpRestrictionTypeArgs{...} +type CloudProjectDatabaseIpRestrictionTypeInput interface { + pulumi.Input + + ToCloudProjectDatabaseIpRestrictionTypeOutput() CloudProjectDatabaseIpRestrictionTypeOutput + ToCloudProjectDatabaseIpRestrictionTypeOutputWithContext(context.Context) CloudProjectDatabaseIpRestrictionTypeOutput +} + +type CloudProjectDatabaseIpRestrictionTypeArgs struct { + // Description of the IP restriction + Description pulumi.StringPtrInput `pulumi:"description"` + // Authorized IP + Ip pulumi.StringPtrInput `pulumi:"ip"` + // Current status of the IP restriction + Status pulumi.StringPtrInput `pulumi:"status"` +} + +func (CloudProjectDatabaseIpRestrictionTypeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*CloudProjectDatabaseIpRestrictionType)(nil)).Elem() +} + +func (i CloudProjectDatabaseIpRestrictionTypeArgs) ToCloudProjectDatabaseIpRestrictionTypeOutput() CloudProjectDatabaseIpRestrictionTypeOutput { + return i.ToCloudProjectDatabaseIpRestrictionTypeOutputWithContext(context.Background()) +} + +func (i CloudProjectDatabaseIpRestrictionTypeArgs) ToCloudProjectDatabaseIpRestrictionTypeOutputWithContext(ctx context.Context) CloudProjectDatabaseIpRestrictionTypeOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectDatabaseIpRestrictionTypeOutput) +} + +// CloudProjectDatabaseIpRestrictionTypeArrayInput is an input type that accepts CloudProjectDatabaseIpRestrictionTypeArray and CloudProjectDatabaseIpRestrictionTypeArrayOutput values. +// You can construct a concrete instance of `CloudProjectDatabaseIpRestrictionTypeArrayInput` via: +// +// CloudProjectDatabaseIpRestrictionTypeArray{ CloudProjectDatabaseIpRestrictionTypeArgs{...} } +type CloudProjectDatabaseIpRestrictionTypeArrayInput interface { + pulumi.Input + + ToCloudProjectDatabaseIpRestrictionTypeArrayOutput() CloudProjectDatabaseIpRestrictionTypeArrayOutput + ToCloudProjectDatabaseIpRestrictionTypeArrayOutputWithContext(context.Context) CloudProjectDatabaseIpRestrictionTypeArrayOutput +} + +type CloudProjectDatabaseIpRestrictionTypeArray []CloudProjectDatabaseIpRestrictionTypeInput + +func (CloudProjectDatabaseIpRestrictionTypeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]CloudProjectDatabaseIpRestrictionType)(nil)).Elem() +} + +func (i CloudProjectDatabaseIpRestrictionTypeArray) ToCloudProjectDatabaseIpRestrictionTypeArrayOutput() CloudProjectDatabaseIpRestrictionTypeArrayOutput { + return i.ToCloudProjectDatabaseIpRestrictionTypeArrayOutputWithContext(context.Background()) +} + +func (i CloudProjectDatabaseIpRestrictionTypeArray) ToCloudProjectDatabaseIpRestrictionTypeArrayOutputWithContext(ctx context.Context) CloudProjectDatabaseIpRestrictionTypeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectDatabaseIpRestrictionTypeArrayOutput) +} + +type CloudProjectDatabaseIpRestrictionTypeOutput struct{ *pulumi.OutputState } + +func (CloudProjectDatabaseIpRestrictionTypeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*CloudProjectDatabaseIpRestrictionType)(nil)).Elem() +} + +func (o CloudProjectDatabaseIpRestrictionTypeOutput) ToCloudProjectDatabaseIpRestrictionTypeOutput() CloudProjectDatabaseIpRestrictionTypeOutput { + return o +} + +func (o CloudProjectDatabaseIpRestrictionTypeOutput) ToCloudProjectDatabaseIpRestrictionTypeOutputWithContext(ctx context.Context) CloudProjectDatabaseIpRestrictionTypeOutput { + return o +} + +// Description of the IP restriction +func (o CloudProjectDatabaseIpRestrictionTypeOutput) Description() pulumi.StringPtrOutput { + return o.ApplyT(func(v CloudProjectDatabaseIpRestrictionType) *string { return v.Description }).(pulumi.StringPtrOutput) +} + +// Authorized IP +func (o CloudProjectDatabaseIpRestrictionTypeOutput) Ip() pulumi.StringPtrOutput { + return o.ApplyT(func(v CloudProjectDatabaseIpRestrictionType) *string { return v.Ip }).(pulumi.StringPtrOutput) +} + +// Current status of the IP restriction +func (o CloudProjectDatabaseIpRestrictionTypeOutput) Status() pulumi.StringPtrOutput { + return o.ApplyT(func(v CloudProjectDatabaseIpRestrictionType) *string { return v.Status }).(pulumi.StringPtrOutput) +} + +type CloudProjectDatabaseIpRestrictionTypeArrayOutput struct{ *pulumi.OutputState } + +func (CloudProjectDatabaseIpRestrictionTypeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]CloudProjectDatabaseIpRestrictionType)(nil)).Elem() +} + +func (o CloudProjectDatabaseIpRestrictionTypeArrayOutput) ToCloudProjectDatabaseIpRestrictionTypeArrayOutput() CloudProjectDatabaseIpRestrictionTypeArrayOutput { + return o +} + +func (o CloudProjectDatabaseIpRestrictionTypeArrayOutput) ToCloudProjectDatabaseIpRestrictionTypeArrayOutputWithContext(ctx context.Context) CloudProjectDatabaseIpRestrictionTypeArrayOutput { + return o +} + +func (o CloudProjectDatabaseIpRestrictionTypeArrayOutput) Index(i pulumi.IntInput) CloudProjectDatabaseIpRestrictionTypeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) CloudProjectDatabaseIpRestrictionType { + return vs[0].([]CloudProjectDatabaseIpRestrictionType)[vs[1].(int)] + }).(CloudProjectDatabaseIpRestrictionTypeOutput) +} + +type CloudProjectDatabaseIpRestrictionTimeouts struct { + Create *string `pulumi:"create"` + Delete *string `pulumi:"delete"` + Update *string `pulumi:"update"` +} + +// CloudProjectDatabaseIpRestrictionTimeoutsInput is an input type that accepts CloudProjectDatabaseIpRestrictionTimeoutsArgs and CloudProjectDatabaseIpRestrictionTimeoutsOutput values. +// You can construct a concrete instance of `CloudProjectDatabaseIpRestrictionTimeoutsInput` via: +// +// CloudProjectDatabaseIpRestrictionTimeoutsArgs{...} +type CloudProjectDatabaseIpRestrictionTimeoutsInput interface { + pulumi.Input + + ToCloudProjectDatabaseIpRestrictionTimeoutsOutput() CloudProjectDatabaseIpRestrictionTimeoutsOutput + ToCloudProjectDatabaseIpRestrictionTimeoutsOutputWithContext(context.Context) CloudProjectDatabaseIpRestrictionTimeoutsOutput +} + +type CloudProjectDatabaseIpRestrictionTimeoutsArgs struct { + Create pulumi.StringPtrInput `pulumi:"create"` + Delete pulumi.StringPtrInput `pulumi:"delete"` + Update pulumi.StringPtrInput `pulumi:"update"` +} + +func (CloudProjectDatabaseIpRestrictionTimeoutsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*CloudProjectDatabaseIpRestrictionTimeouts)(nil)).Elem() +} + +func (i CloudProjectDatabaseIpRestrictionTimeoutsArgs) ToCloudProjectDatabaseIpRestrictionTimeoutsOutput() CloudProjectDatabaseIpRestrictionTimeoutsOutput { + return i.ToCloudProjectDatabaseIpRestrictionTimeoutsOutputWithContext(context.Background()) +} + +func (i CloudProjectDatabaseIpRestrictionTimeoutsArgs) ToCloudProjectDatabaseIpRestrictionTimeoutsOutputWithContext(ctx context.Context) CloudProjectDatabaseIpRestrictionTimeoutsOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectDatabaseIpRestrictionTimeoutsOutput) +} + +func (i CloudProjectDatabaseIpRestrictionTimeoutsArgs) ToCloudProjectDatabaseIpRestrictionTimeoutsPtrOutput() CloudProjectDatabaseIpRestrictionTimeoutsPtrOutput { + return i.ToCloudProjectDatabaseIpRestrictionTimeoutsPtrOutputWithContext(context.Background()) +} + +func (i CloudProjectDatabaseIpRestrictionTimeoutsArgs) ToCloudProjectDatabaseIpRestrictionTimeoutsPtrOutputWithContext(ctx context.Context) CloudProjectDatabaseIpRestrictionTimeoutsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectDatabaseIpRestrictionTimeoutsOutput).ToCloudProjectDatabaseIpRestrictionTimeoutsPtrOutputWithContext(ctx) +} + +// CloudProjectDatabaseIpRestrictionTimeoutsPtrInput is an input type that accepts CloudProjectDatabaseIpRestrictionTimeoutsArgs, CloudProjectDatabaseIpRestrictionTimeoutsPtr and CloudProjectDatabaseIpRestrictionTimeoutsPtrOutput values. +// You can construct a concrete instance of `CloudProjectDatabaseIpRestrictionTimeoutsPtrInput` via: +// +// CloudProjectDatabaseIpRestrictionTimeoutsArgs{...} +// +// or: +// +// nil +type CloudProjectDatabaseIpRestrictionTimeoutsPtrInput interface { + pulumi.Input + + ToCloudProjectDatabaseIpRestrictionTimeoutsPtrOutput() CloudProjectDatabaseIpRestrictionTimeoutsPtrOutput + ToCloudProjectDatabaseIpRestrictionTimeoutsPtrOutputWithContext(context.Context) CloudProjectDatabaseIpRestrictionTimeoutsPtrOutput +} + +type cloudProjectDatabaseIpRestrictionTimeoutsPtrType CloudProjectDatabaseIpRestrictionTimeoutsArgs + +func CloudProjectDatabaseIpRestrictionTimeoutsPtr(v *CloudProjectDatabaseIpRestrictionTimeoutsArgs) CloudProjectDatabaseIpRestrictionTimeoutsPtrInput { + return (*cloudProjectDatabaseIpRestrictionTimeoutsPtrType)(v) +} + +func (*cloudProjectDatabaseIpRestrictionTimeoutsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**CloudProjectDatabaseIpRestrictionTimeouts)(nil)).Elem() +} + +func (i *cloudProjectDatabaseIpRestrictionTimeoutsPtrType) ToCloudProjectDatabaseIpRestrictionTimeoutsPtrOutput() CloudProjectDatabaseIpRestrictionTimeoutsPtrOutput { + return i.ToCloudProjectDatabaseIpRestrictionTimeoutsPtrOutputWithContext(context.Background()) +} + +func (i *cloudProjectDatabaseIpRestrictionTimeoutsPtrType) ToCloudProjectDatabaseIpRestrictionTimeoutsPtrOutputWithContext(ctx context.Context) CloudProjectDatabaseIpRestrictionTimeoutsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectDatabaseIpRestrictionTimeoutsPtrOutput) +} + +type CloudProjectDatabaseIpRestrictionTimeoutsOutput struct{ *pulumi.OutputState } + +func (CloudProjectDatabaseIpRestrictionTimeoutsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*CloudProjectDatabaseIpRestrictionTimeouts)(nil)).Elem() +} + +func (o CloudProjectDatabaseIpRestrictionTimeoutsOutput) ToCloudProjectDatabaseIpRestrictionTimeoutsOutput() CloudProjectDatabaseIpRestrictionTimeoutsOutput { + return o +} + +func (o CloudProjectDatabaseIpRestrictionTimeoutsOutput) ToCloudProjectDatabaseIpRestrictionTimeoutsOutputWithContext(ctx context.Context) CloudProjectDatabaseIpRestrictionTimeoutsOutput { + return o +} + +func (o CloudProjectDatabaseIpRestrictionTimeoutsOutput) ToCloudProjectDatabaseIpRestrictionTimeoutsPtrOutput() CloudProjectDatabaseIpRestrictionTimeoutsPtrOutput { + return o.ToCloudProjectDatabaseIpRestrictionTimeoutsPtrOutputWithContext(context.Background()) +} + +func (o CloudProjectDatabaseIpRestrictionTimeoutsOutput) ToCloudProjectDatabaseIpRestrictionTimeoutsPtrOutputWithContext(ctx context.Context) CloudProjectDatabaseIpRestrictionTimeoutsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v CloudProjectDatabaseIpRestrictionTimeouts) *CloudProjectDatabaseIpRestrictionTimeouts { + return &v + }).(CloudProjectDatabaseIpRestrictionTimeoutsPtrOutput) +} + +func (o CloudProjectDatabaseIpRestrictionTimeoutsOutput) Create() pulumi.StringPtrOutput { + return o.ApplyT(func(v CloudProjectDatabaseIpRestrictionTimeouts) *string { return v.Create }).(pulumi.StringPtrOutput) +} + +func (o CloudProjectDatabaseIpRestrictionTimeoutsOutput) Delete() pulumi.StringPtrOutput { + return o.ApplyT(func(v CloudProjectDatabaseIpRestrictionTimeouts) *string { return v.Delete }).(pulumi.StringPtrOutput) +} + +func (o CloudProjectDatabaseIpRestrictionTimeoutsOutput) Update() pulumi.StringPtrOutput { + return o.ApplyT(func(v CloudProjectDatabaseIpRestrictionTimeouts) *string { return v.Update }).(pulumi.StringPtrOutput) +} + +type CloudProjectDatabaseIpRestrictionTimeoutsPtrOutput struct{ *pulumi.OutputState } + +func (CloudProjectDatabaseIpRestrictionTimeoutsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**CloudProjectDatabaseIpRestrictionTimeouts)(nil)).Elem() +} + +func (o CloudProjectDatabaseIpRestrictionTimeoutsPtrOutput) ToCloudProjectDatabaseIpRestrictionTimeoutsPtrOutput() CloudProjectDatabaseIpRestrictionTimeoutsPtrOutput { + return o +} + +func (o CloudProjectDatabaseIpRestrictionTimeoutsPtrOutput) ToCloudProjectDatabaseIpRestrictionTimeoutsPtrOutputWithContext(ctx context.Context) CloudProjectDatabaseIpRestrictionTimeoutsPtrOutput { + return o +} + +func (o CloudProjectDatabaseIpRestrictionTimeoutsPtrOutput) Elem() CloudProjectDatabaseIpRestrictionTimeoutsOutput { + return o.ApplyT(func(v *CloudProjectDatabaseIpRestrictionTimeouts) CloudProjectDatabaseIpRestrictionTimeouts { + if v != nil { + return *v + } + var ret CloudProjectDatabaseIpRestrictionTimeouts + return ret + }).(CloudProjectDatabaseIpRestrictionTimeoutsOutput) +} + +func (o CloudProjectDatabaseIpRestrictionTimeoutsPtrOutput) Create() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudProjectDatabaseIpRestrictionTimeouts) *string { + if v == nil { + return nil + } + return v.Create + }).(pulumi.StringPtrOutput) +} + +func (o CloudProjectDatabaseIpRestrictionTimeoutsPtrOutput) Delete() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudProjectDatabaseIpRestrictionTimeouts) *string { + if v == nil { + return nil + } + return v.Delete + }).(pulumi.StringPtrOutput) +} + +func (o CloudProjectDatabaseIpRestrictionTimeoutsPtrOutput) Update() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudProjectDatabaseIpRestrictionTimeouts) *string { + if v == nil { + return nil + } + return v.Update + }).(pulumi.StringPtrOutput) +} + +type CloudProjectDatabaseKafkaAclTimeouts struct { + Create *string `pulumi:"create"` + Delete *string `pulumi:"delete"` +} + +// CloudProjectDatabaseKafkaAclTimeoutsInput is an input type that accepts CloudProjectDatabaseKafkaAclTimeoutsArgs and CloudProjectDatabaseKafkaAclTimeoutsOutput values. +// You can construct a concrete instance of `CloudProjectDatabaseKafkaAclTimeoutsInput` via: +// +// CloudProjectDatabaseKafkaAclTimeoutsArgs{...} +type CloudProjectDatabaseKafkaAclTimeoutsInput interface { + pulumi.Input + + ToCloudProjectDatabaseKafkaAclTimeoutsOutput() CloudProjectDatabaseKafkaAclTimeoutsOutput + ToCloudProjectDatabaseKafkaAclTimeoutsOutputWithContext(context.Context) CloudProjectDatabaseKafkaAclTimeoutsOutput +} + +type CloudProjectDatabaseKafkaAclTimeoutsArgs struct { + Create pulumi.StringPtrInput `pulumi:"create"` + Delete pulumi.StringPtrInput `pulumi:"delete"` +} + +func (CloudProjectDatabaseKafkaAclTimeoutsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*CloudProjectDatabaseKafkaAclTimeouts)(nil)).Elem() +} + +func (i CloudProjectDatabaseKafkaAclTimeoutsArgs) ToCloudProjectDatabaseKafkaAclTimeoutsOutput() CloudProjectDatabaseKafkaAclTimeoutsOutput { + return i.ToCloudProjectDatabaseKafkaAclTimeoutsOutputWithContext(context.Background()) +} + +func (i CloudProjectDatabaseKafkaAclTimeoutsArgs) ToCloudProjectDatabaseKafkaAclTimeoutsOutputWithContext(ctx context.Context) CloudProjectDatabaseKafkaAclTimeoutsOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectDatabaseKafkaAclTimeoutsOutput) +} + +func (i CloudProjectDatabaseKafkaAclTimeoutsArgs) ToCloudProjectDatabaseKafkaAclTimeoutsPtrOutput() CloudProjectDatabaseKafkaAclTimeoutsPtrOutput { + return i.ToCloudProjectDatabaseKafkaAclTimeoutsPtrOutputWithContext(context.Background()) +} + +func (i CloudProjectDatabaseKafkaAclTimeoutsArgs) ToCloudProjectDatabaseKafkaAclTimeoutsPtrOutputWithContext(ctx context.Context) CloudProjectDatabaseKafkaAclTimeoutsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectDatabaseKafkaAclTimeoutsOutput).ToCloudProjectDatabaseKafkaAclTimeoutsPtrOutputWithContext(ctx) +} + +// CloudProjectDatabaseKafkaAclTimeoutsPtrInput is an input type that accepts CloudProjectDatabaseKafkaAclTimeoutsArgs, CloudProjectDatabaseKafkaAclTimeoutsPtr and CloudProjectDatabaseKafkaAclTimeoutsPtrOutput values. +// You can construct a concrete instance of `CloudProjectDatabaseKafkaAclTimeoutsPtrInput` via: +// +// CloudProjectDatabaseKafkaAclTimeoutsArgs{...} +// +// or: +// +// nil +type CloudProjectDatabaseKafkaAclTimeoutsPtrInput interface { + pulumi.Input + + ToCloudProjectDatabaseKafkaAclTimeoutsPtrOutput() CloudProjectDatabaseKafkaAclTimeoutsPtrOutput + ToCloudProjectDatabaseKafkaAclTimeoutsPtrOutputWithContext(context.Context) CloudProjectDatabaseKafkaAclTimeoutsPtrOutput +} + +type cloudProjectDatabaseKafkaAclTimeoutsPtrType CloudProjectDatabaseKafkaAclTimeoutsArgs + +func CloudProjectDatabaseKafkaAclTimeoutsPtr(v *CloudProjectDatabaseKafkaAclTimeoutsArgs) CloudProjectDatabaseKafkaAclTimeoutsPtrInput { + return (*cloudProjectDatabaseKafkaAclTimeoutsPtrType)(v) +} + +func (*cloudProjectDatabaseKafkaAclTimeoutsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**CloudProjectDatabaseKafkaAclTimeouts)(nil)).Elem() +} + +func (i *cloudProjectDatabaseKafkaAclTimeoutsPtrType) ToCloudProjectDatabaseKafkaAclTimeoutsPtrOutput() CloudProjectDatabaseKafkaAclTimeoutsPtrOutput { + return i.ToCloudProjectDatabaseKafkaAclTimeoutsPtrOutputWithContext(context.Background()) +} + +func (i *cloudProjectDatabaseKafkaAclTimeoutsPtrType) ToCloudProjectDatabaseKafkaAclTimeoutsPtrOutputWithContext(ctx context.Context) CloudProjectDatabaseKafkaAclTimeoutsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectDatabaseKafkaAclTimeoutsPtrOutput) +} + +type CloudProjectDatabaseKafkaAclTimeoutsOutput struct{ *pulumi.OutputState } + +func (CloudProjectDatabaseKafkaAclTimeoutsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*CloudProjectDatabaseKafkaAclTimeouts)(nil)).Elem() +} + +func (o CloudProjectDatabaseKafkaAclTimeoutsOutput) ToCloudProjectDatabaseKafkaAclTimeoutsOutput() CloudProjectDatabaseKafkaAclTimeoutsOutput { + return o +} + +func (o CloudProjectDatabaseKafkaAclTimeoutsOutput) ToCloudProjectDatabaseKafkaAclTimeoutsOutputWithContext(ctx context.Context) CloudProjectDatabaseKafkaAclTimeoutsOutput { + return o +} + +func (o CloudProjectDatabaseKafkaAclTimeoutsOutput) ToCloudProjectDatabaseKafkaAclTimeoutsPtrOutput() CloudProjectDatabaseKafkaAclTimeoutsPtrOutput { + return o.ToCloudProjectDatabaseKafkaAclTimeoutsPtrOutputWithContext(context.Background()) +} + +func (o CloudProjectDatabaseKafkaAclTimeoutsOutput) ToCloudProjectDatabaseKafkaAclTimeoutsPtrOutputWithContext(ctx context.Context) CloudProjectDatabaseKafkaAclTimeoutsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v CloudProjectDatabaseKafkaAclTimeouts) *CloudProjectDatabaseKafkaAclTimeouts { + return &v + }).(CloudProjectDatabaseKafkaAclTimeoutsPtrOutput) +} + +func (o CloudProjectDatabaseKafkaAclTimeoutsOutput) Create() pulumi.StringPtrOutput { + return o.ApplyT(func(v CloudProjectDatabaseKafkaAclTimeouts) *string { return v.Create }).(pulumi.StringPtrOutput) +} + +func (o CloudProjectDatabaseKafkaAclTimeoutsOutput) Delete() pulumi.StringPtrOutput { + return o.ApplyT(func(v CloudProjectDatabaseKafkaAclTimeouts) *string { return v.Delete }).(pulumi.StringPtrOutput) +} + +type CloudProjectDatabaseKafkaAclTimeoutsPtrOutput struct{ *pulumi.OutputState } + +func (CloudProjectDatabaseKafkaAclTimeoutsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**CloudProjectDatabaseKafkaAclTimeouts)(nil)).Elem() +} + +func (o CloudProjectDatabaseKafkaAclTimeoutsPtrOutput) ToCloudProjectDatabaseKafkaAclTimeoutsPtrOutput() CloudProjectDatabaseKafkaAclTimeoutsPtrOutput { + return o +} + +func (o CloudProjectDatabaseKafkaAclTimeoutsPtrOutput) ToCloudProjectDatabaseKafkaAclTimeoutsPtrOutputWithContext(ctx context.Context) CloudProjectDatabaseKafkaAclTimeoutsPtrOutput { + return o +} + +func (o CloudProjectDatabaseKafkaAclTimeoutsPtrOutput) Elem() CloudProjectDatabaseKafkaAclTimeoutsOutput { + return o.ApplyT(func(v *CloudProjectDatabaseKafkaAclTimeouts) CloudProjectDatabaseKafkaAclTimeouts { + if v != nil { + return *v + } + var ret CloudProjectDatabaseKafkaAclTimeouts + return ret + }).(CloudProjectDatabaseKafkaAclTimeoutsOutput) +} + +func (o CloudProjectDatabaseKafkaAclTimeoutsPtrOutput) Create() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudProjectDatabaseKafkaAclTimeouts) *string { + if v == nil { + return nil + } + return v.Create + }).(pulumi.StringPtrOutput) +} + +func (o CloudProjectDatabaseKafkaAclTimeoutsPtrOutput) Delete() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudProjectDatabaseKafkaAclTimeouts) *string { + if v == nil { + return nil + } + return v.Delete + }).(pulumi.StringPtrOutput) +} + +type CloudProjectDatabaseKafkaSchemaregistryaclTimeouts struct { + Create *string `pulumi:"create"` + Delete *string `pulumi:"delete"` +} + +// CloudProjectDatabaseKafkaSchemaregistryaclTimeoutsInput is an input type that accepts CloudProjectDatabaseKafkaSchemaregistryaclTimeoutsArgs and CloudProjectDatabaseKafkaSchemaregistryaclTimeoutsOutput values. +// You can construct a concrete instance of `CloudProjectDatabaseKafkaSchemaregistryaclTimeoutsInput` via: +// +// CloudProjectDatabaseKafkaSchemaregistryaclTimeoutsArgs{...} +type CloudProjectDatabaseKafkaSchemaregistryaclTimeoutsInput interface { + pulumi.Input + + ToCloudProjectDatabaseKafkaSchemaregistryaclTimeoutsOutput() CloudProjectDatabaseKafkaSchemaregistryaclTimeoutsOutput + ToCloudProjectDatabaseKafkaSchemaregistryaclTimeoutsOutputWithContext(context.Context) CloudProjectDatabaseKafkaSchemaregistryaclTimeoutsOutput +} + +type CloudProjectDatabaseKafkaSchemaregistryaclTimeoutsArgs struct { + Create pulumi.StringPtrInput `pulumi:"create"` + Delete pulumi.StringPtrInput `pulumi:"delete"` +} + +func (CloudProjectDatabaseKafkaSchemaregistryaclTimeoutsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*CloudProjectDatabaseKafkaSchemaregistryaclTimeouts)(nil)).Elem() +} + +func (i CloudProjectDatabaseKafkaSchemaregistryaclTimeoutsArgs) ToCloudProjectDatabaseKafkaSchemaregistryaclTimeoutsOutput() CloudProjectDatabaseKafkaSchemaregistryaclTimeoutsOutput { + return i.ToCloudProjectDatabaseKafkaSchemaregistryaclTimeoutsOutputWithContext(context.Background()) +} + +func (i CloudProjectDatabaseKafkaSchemaregistryaclTimeoutsArgs) ToCloudProjectDatabaseKafkaSchemaregistryaclTimeoutsOutputWithContext(ctx context.Context) CloudProjectDatabaseKafkaSchemaregistryaclTimeoutsOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectDatabaseKafkaSchemaregistryaclTimeoutsOutput) +} + +func (i CloudProjectDatabaseKafkaSchemaregistryaclTimeoutsArgs) ToCloudProjectDatabaseKafkaSchemaregistryaclTimeoutsPtrOutput() CloudProjectDatabaseKafkaSchemaregistryaclTimeoutsPtrOutput { + return i.ToCloudProjectDatabaseKafkaSchemaregistryaclTimeoutsPtrOutputWithContext(context.Background()) +} + +func (i CloudProjectDatabaseKafkaSchemaregistryaclTimeoutsArgs) ToCloudProjectDatabaseKafkaSchemaregistryaclTimeoutsPtrOutputWithContext(ctx context.Context) CloudProjectDatabaseKafkaSchemaregistryaclTimeoutsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectDatabaseKafkaSchemaregistryaclTimeoutsOutput).ToCloudProjectDatabaseKafkaSchemaregistryaclTimeoutsPtrOutputWithContext(ctx) +} + +// CloudProjectDatabaseKafkaSchemaregistryaclTimeoutsPtrInput is an input type that accepts CloudProjectDatabaseKafkaSchemaregistryaclTimeoutsArgs, CloudProjectDatabaseKafkaSchemaregistryaclTimeoutsPtr and CloudProjectDatabaseKafkaSchemaregistryaclTimeoutsPtrOutput values. +// You can construct a concrete instance of `CloudProjectDatabaseKafkaSchemaregistryaclTimeoutsPtrInput` via: +// +// CloudProjectDatabaseKafkaSchemaregistryaclTimeoutsArgs{...} +// +// or: +// +// nil +type CloudProjectDatabaseKafkaSchemaregistryaclTimeoutsPtrInput interface { + pulumi.Input + + ToCloudProjectDatabaseKafkaSchemaregistryaclTimeoutsPtrOutput() CloudProjectDatabaseKafkaSchemaregistryaclTimeoutsPtrOutput + ToCloudProjectDatabaseKafkaSchemaregistryaclTimeoutsPtrOutputWithContext(context.Context) CloudProjectDatabaseKafkaSchemaregistryaclTimeoutsPtrOutput +} + +type cloudProjectDatabaseKafkaSchemaregistryaclTimeoutsPtrType CloudProjectDatabaseKafkaSchemaregistryaclTimeoutsArgs + +func CloudProjectDatabaseKafkaSchemaregistryaclTimeoutsPtr(v *CloudProjectDatabaseKafkaSchemaregistryaclTimeoutsArgs) CloudProjectDatabaseKafkaSchemaregistryaclTimeoutsPtrInput { + return (*cloudProjectDatabaseKafkaSchemaregistryaclTimeoutsPtrType)(v) +} + +func (*cloudProjectDatabaseKafkaSchemaregistryaclTimeoutsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**CloudProjectDatabaseKafkaSchemaregistryaclTimeouts)(nil)).Elem() +} + +func (i *cloudProjectDatabaseKafkaSchemaregistryaclTimeoutsPtrType) ToCloudProjectDatabaseKafkaSchemaregistryaclTimeoutsPtrOutput() CloudProjectDatabaseKafkaSchemaregistryaclTimeoutsPtrOutput { + return i.ToCloudProjectDatabaseKafkaSchemaregistryaclTimeoutsPtrOutputWithContext(context.Background()) +} + +func (i *cloudProjectDatabaseKafkaSchemaregistryaclTimeoutsPtrType) ToCloudProjectDatabaseKafkaSchemaregistryaclTimeoutsPtrOutputWithContext(ctx context.Context) CloudProjectDatabaseKafkaSchemaregistryaclTimeoutsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectDatabaseKafkaSchemaregistryaclTimeoutsPtrOutput) +} + +type CloudProjectDatabaseKafkaSchemaregistryaclTimeoutsOutput struct{ *pulumi.OutputState } + +func (CloudProjectDatabaseKafkaSchemaregistryaclTimeoutsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*CloudProjectDatabaseKafkaSchemaregistryaclTimeouts)(nil)).Elem() +} + +func (o CloudProjectDatabaseKafkaSchemaregistryaclTimeoutsOutput) ToCloudProjectDatabaseKafkaSchemaregistryaclTimeoutsOutput() CloudProjectDatabaseKafkaSchemaregistryaclTimeoutsOutput { + return o +} + +func (o CloudProjectDatabaseKafkaSchemaregistryaclTimeoutsOutput) ToCloudProjectDatabaseKafkaSchemaregistryaclTimeoutsOutputWithContext(ctx context.Context) CloudProjectDatabaseKafkaSchemaregistryaclTimeoutsOutput { + return o +} + +func (o CloudProjectDatabaseKafkaSchemaregistryaclTimeoutsOutput) ToCloudProjectDatabaseKafkaSchemaregistryaclTimeoutsPtrOutput() CloudProjectDatabaseKafkaSchemaregistryaclTimeoutsPtrOutput { + return o.ToCloudProjectDatabaseKafkaSchemaregistryaclTimeoutsPtrOutputWithContext(context.Background()) +} + +func (o CloudProjectDatabaseKafkaSchemaregistryaclTimeoutsOutput) ToCloudProjectDatabaseKafkaSchemaregistryaclTimeoutsPtrOutputWithContext(ctx context.Context) CloudProjectDatabaseKafkaSchemaregistryaclTimeoutsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v CloudProjectDatabaseKafkaSchemaregistryaclTimeouts) *CloudProjectDatabaseKafkaSchemaregistryaclTimeouts { + return &v + }).(CloudProjectDatabaseKafkaSchemaregistryaclTimeoutsPtrOutput) +} + +func (o CloudProjectDatabaseKafkaSchemaregistryaclTimeoutsOutput) Create() pulumi.StringPtrOutput { + return o.ApplyT(func(v CloudProjectDatabaseKafkaSchemaregistryaclTimeouts) *string { return v.Create }).(pulumi.StringPtrOutput) +} + +func (o CloudProjectDatabaseKafkaSchemaregistryaclTimeoutsOutput) Delete() pulumi.StringPtrOutput { + return o.ApplyT(func(v CloudProjectDatabaseKafkaSchemaregistryaclTimeouts) *string { return v.Delete }).(pulumi.StringPtrOutput) +} + +type CloudProjectDatabaseKafkaSchemaregistryaclTimeoutsPtrOutput struct{ *pulumi.OutputState } + +func (CloudProjectDatabaseKafkaSchemaregistryaclTimeoutsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**CloudProjectDatabaseKafkaSchemaregistryaclTimeouts)(nil)).Elem() +} + +func (o CloudProjectDatabaseKafkaSchemaregistryaclTimeoutsPtrOutput) ToCloudProjectDatabaseKafkaSchemaregistryaclTimeoutsPtrOutput() CloudProjectDatabaseKafkaSchemaregistryaclTimeoutsPtrOutput { + return o +} + +func (o CloudProjectDatabaseKafkaSchemaregistryaclTimeoutsPtrOutput) ToCloudProjectDatabaseKafkaSchemaregistryaclTimeoutsPtrOutputWithContext(ctx context.Context) CloudProjectDatabaseKafkaSchemaregistryaclTimeoutsPtrOutput { + return o +} + +func (o CloudProjectDatabaseKafkaSchemaregistryaclTimeoutsPtrOutput) Elem() CloudProjectDatabaseKafkaSchemaregistryaclTimeoutsOutput { + return o.ApplyT(func(v *CloudProjectDatabaseKafkaSchemaregistryaclTimeouts) CloudProjectDatabaseKafkaSchemaregistryaclTimeouts { + if v != nil { + return *v + } + var ret CloudProjectDatabaseKafkaSchemaregistryaclTimeouts + return ret + }).(CloudProjectDatabaseKafkaSchemaregistryaclTimeoutsOutput) +} + +func (o CloudProjectDatabaseKafkaSchemaregistryaclTimeoutsPtrOutput) Create() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudProjectDatabaseKafkaSchemaregistryaclTimeouts) *string { + if v == nil { + return nil + } + return v.Create + }).(pulumi.StringPtrOutput) +} + +func (o CloudProjectDatabaseKafkaSchemaregistryaclTimeoutsPtrOutput) Delete() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudProjectDatabaseKafkaSchemaregistryaclTimeouts) *string { + if v == nil { + return nil + } + return v.Delete + }).(pulumi.StringPtrOutput) +} + +type CloudProjectDatabaseKafkaTopicTimeouts struct { + Create *string `pulumi:"create"` + Delete *string `pulumi:"delete"` +} + +// CloudProjectDatabaseKafkaTopicTimeoutsInput is an input type that accepts CloudProjectDatabaseKafkaTopicTimeoutsArgs and CloudProjectDatabaseKafkaTopicTimeoutsOutput values. +// You can construct a concrete instance of `CloudProjectDatabaseKafkaTopicTimeoutsInput` via: +// +// CloudProjectDatabaseKafkaTopicTimeoutsArgs{...} +type CloudProjectDatabaseKafkaTopicTimeoutsInput interface { + pulumi.Input + + ToCloudProjectDatabaseKafkaTopicTimeoutsOutput() CloudProjectDatabaseKafkaTopicTimeoutsOutput + ToCloudProjectDatabaseKafkaTopicTimeoutsOutputWithContext(context.Context) CloudProjectDatabaseKafkaTopicTimeoutsOutput +} + +type CloudProjectDatabaseKafkaTopicTimeoutsArgs struct { + Create pulumi.StringPtrInput `pulumi:"create"` + Delete pulumi.StringPtrInput `pulumi:"delete"` +} + +func (CloudProjectDatabaseKafkaTopicTimeoutsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*CloudProjectDatabaseKafkaTopicTimeouts)(nil)).Elem() +} + +func (i CloudProjectDatabaseKafkaTopicTimeoutsArgs) ToCloudProjectDatabaseKafkaTopicTimeoutsOutput() CloudProjectDatabaseKafkaTopicTimeoutsOutput { + return i.ToCloudProjectDatabaseKafkaTopicTimeoutsOutputWithContext(context.Background()) +} + +func (i CloudProjectDatabaseKafkaTopicTimeoutsArgs) ToCloudProjectDatabaseKafkaTopicTimeoutsOutputWithContext(ctx context.Context) CloudProjectDatabaseKafkaTopicTimeoutsOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectDatabaseKafkaTopicTimeoutsOutput) +} + +func (i CloudProjectDatabaseKafkaTopicTimeoutsArgs) ToCloudProjectDatabaseKafkaTopicTimeoutsPtrOutput() CloudProjectDatabaseKafkaTopicTimeoutsPtrOutput { + return i.ToCloudProjectDatabaseKafkaTopicTimeoutsPtrOutputWithContext(context.Background()) +} + +func (i CloudProjectDatabaseKafkaTopicTimeoutsArgs) ToCloudProjectDatabaseKafkaTopicTimeoutsPtrOutputWithContext(ctx context.Context) CloudProjectDatabaseKafkaTopicTimeoutsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectDatabaseKafkaTopicTimeoutsOutput).ToCloudProjectDatabaseKafkaTopicTimeoutsPtrOutputWithContext(ctx) +} + +// CloudProjectDatabaseKafkaTopicTimeoutsPtrInput is an input type that accepts CloudProjectDatabaseKafkaTopicTimeoutsArgs, CloudProjectDatabaseKafkaTopicTimeoutsPtr and CloudProjectDatabaseKafkaTopicTimeoutsPtrOutput values. +// You can construct a concrete instance of `CloudProjectDatabaseKafkaTopicTimeoutsPtrInput` via: +// +// CloudProjectDatabaseKafkaTopicTimeoutsArgs{...} +// +// or: +// +// nil +type CloudProjectDatabaseKafkaTopicTimeoutsPtrInput interface { + pulumi.Input + + ToCloudProjectDatabaseKafkaTopicTimeoutsPtrOutput() CloudProjectDatabaseKafkaTopicTimeoutsPtrOutput + ToCloudProjectDatabaseKafkaTopicTimeoutsPtrOutputWithContext(context.Context) CloudProjectDatabaseKafkaTopicTimeoutsPtrOutput +} + +type cloudProjectDatabaseKafkaTopicTimeoutsPtrType CloudProjectDatabaseKafkaTopicTimeoutsArgs + +func CloudProjectDatabaseKafkaTopicTimeoutsPtr(v *CloudProjectDatabaseKafkaTopicTimeoutsArgs) CloudProjectDatabaseKafkaTopicTimeoutsPtrInput { + return (*cloudProjectDatabaseKafkaTopicTimeoutsPtrType)(v) +} + +func (*cloudProjectDatabaseKafkaTopicTimeoutsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**CloudProjectDatabaseKafkaTopicTimeouts)(nil)).Elem() +} + +func (i *cloudProjectDatabaseKafkaTopicTimeoutsPtrType) ToCloudProjectDatabaseKafkaTopicTimeoutsPtrOutput() CloudProjectDatabaseKafkaTopicTimeoutsPtrOutput { + return i.ToCloudProjectDatabaseKafkaTopicTimeoutsPtrOutputWithContext(context.Background()) +} + +func (i *cloudProjectDatabaseKafkaTopicTimeoutsPtrType) ToCloudProjectDatabaseKafkaTopicTimeoutsPtrOutputWithContext(ctx context.Context) CloudProjectDatabaseKafkaTopicTimeoutsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectDatabaseKafkaTopicTimeoutsPtrOutput) +} + +type CloudProjectDatabaseKafkaTopicTimeoutsOutput struct{ *pulumi.OutputState } + +func (CloudProjectDatabaseKafkaTopicTimeoutsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*CloudProjectDatabaseKafkaTopicTimeouts)(nil)).Elem() +} + +func (o CloudProjectDatabaseKafkaTopicTimeoutsOutput) ToCloudProjectDatabaseKafkaTopicTimeoutsOutput() CloudProjectDatabaseKafkaTopicTimeoutsOutput { + return o +} + +func (o CloudProjectDatabaseKafkaTopicTimeoutsOutput) ToCloudProjectDatabaseKafkaTopicTimeoutsOutputWithContext(ctx context.Context) CloudProjectDatabaseKafkaTopicTimeoutsOutput { + return o +} + +func (o CloudProjectDatabaseKafkaTopicTimeoutsOutput) ToCloudProjectDatabaseKafkaTopicTimeoutsPtrOutput() CloudProjectDatabaseKafkaTopicTimeoutsPtrOutput { + return o.ToCloudProjectDatabaseKafkaTopicTimeoutsPtrOutputWithContext(context.Background()) +} + +func (o CloudProjectDatabaseKafkaTopicTimeoutsOutput) ToCloudProjectDatabaseKafkaTopicTimeoutsPtrOutputWithContext(ctx context.Context) CloudProjectDatabaseKafkaTopicTimeoutsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v CloudProjectDatabaseKafkaTopicTimeouts) *CloudProjectDatabaseKafkaTopicTimeouts { + return &v + }).(CloudProjectDatabaseKafkaTopicTimeoutsPtrOutput) +} + +func (o CloudProjectDatabaseKafkaTopicTimeoutsOutput) Create() pulumi.StringPtrOutput { + return o.ApplyT(func(v CloudProjectDatabaseKafkaTopicTimeouts) *string { return v.Create }).(pulumi.StringPtrOutput) +} + +func (o CloudProjectDatabaseKafkaTopicTimeoutsOutput) Delete() pulumi.StringPtrOutput { + return o.ApplyT(func(v CloudProjectDatabaseKafkaTopicTimeouts) *string { return v.Delete }).(pulumi.StringPtrOutput) +} + +type CloudProjectDatabaseKafkaTopicTimeoutsPtrOutput struct{ *pulumi.OutputState } + +func (CloudProjectDatabaseKafkaTopicTimeoutsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**CloudProjectDatabaseKafkaTopicTimeouts)(nil)).Elem() +} + +func (o CloudProjectDatabaseKafkaTopicTimeoutsPtrOutput) ToCloudProjectDatabaseKafkaTopicTimeoutsPtrOutput() CloudProjectDatabaseKafkaTopicTimeoutsPtrOutput { + return o +} + +func (o CloudProjectDatabaseKafkaTopicTimeoutsPtrOutput) ToCloudProjectDatabaseKafkaTopicTimeoutsPtrOutputWithContext(ctx context.Context) CloudProjectDatabaseKafkaTopicTimeoutsPtrOutput { + return o +} + +func (o CloudProjectDatabaseKafkaTopicTimeoutsPtrOutput) Elem() CloudProjectDatabaseKafkaTopicTimeoutsOutput { + return o.ApplyT(func(v *CloudProjectDatabaseKafkaTopicTimeouts) CloudProjectDatabaseKafkaTopicTimeouts { + if v != nil { + return *v + } + var ret CloudProjectDatabaseKafkaTopicTimeouts + return ret + }).(CloudProjectDatabaseKafkaTopicTimeoutsOutput) +} + +func (o CloudProjectDatabaseKafkaTopicTimeoutsPtrOutput) Create() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudProjectDatabaseKafkaTopicTimeouts) *string { + if v == nil { + return nil + } + return v.Create + }).(pulumi.StringPtrOutput) +} + +func (o CloudProjectDatabaseKafkaTopicTimeoutsPtrOutput) Delete() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudProjectDatabaseKafkaTopicTimeouts) *string { + if v == nil { + return nil + } + return v.Delete + }).(pulumi.StringPtrOutput) +} + +type CloudProjectDatabaseLogSubscriptionTimeouts struct { + Create *string `pulumi:"create"` + Delete *string `pulumi:"delete"` + Update *string `pulumi:"update"` +} + +// CloudProjectDatabaseLogSubscriptionTimeoutsInput is an input type that accepts CloudProjectDatabaseLogSubscriptionTimeoutsArgs and CloudProjectDatabaseLogSubscriptionTimeoutsOutput values. +// You can construct a concrete instance of `CloudProjectDatabaseLogSubscriptionTimeoutsInput` via: +// +// CloudProjectDatabaseLogSubscriptionTimeoutsArgs{...} +type CloudProjectDatabaseLogSubscriptionTimeoutsInput interface { + pulumi.Input + + ToCloudProjectDatabaseLogSubscriptionTimeoutsOutput() CloudProjectDatabaseLogSubscriptionTimeoutsOutput + ToCloudProjectDatabaseLogSubscriptionTimeoutsOutputWithContext(context.Context) CloudProjectDatabaseLogSubscriptionTimeoutsOutput +} + +type CloudProjectDatabaseLogSubscriptionTimeoutsArgs struct { + Create pulumi.StringPtrInput `pulumi:"create"` + Delete pulumi.StringPtrInput `pulumi:"delete"` + Update pulumi.StringPtrInput `pulumi:"update"` +} + +func (CloudProjectDatabaseLogSubscriptionTimeoutsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*CloudProjectDatabaseLogSubscriptionTimeouts)(nil)).Elem() +} + +func (i CloudProjectDatabaseLogSubscriptionTimeoutsArgs) ToCloudProjectDatabaseLogSubscriptionTimeoutsOutput() CloudProjectDatabaseLogSubscriptionTimeoutsOutput { + return i.ToCloudProjectDatabaseLogSubscriptionTimeoutsOutputWithContext(context.Background()) +} + +func (i CloudProjectDatabaseLogSubscriptionTimeoutsArgs) ToCloudProjectDatabaseLogSubscriptionTimeoutsOutputWithContext(ctx context.Context) CloudProjectDatabaseLogSubscriptionTimeoutsOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectDatabaseLogSubscriptionTimeoutsOutput) +} + +func (i CloudProjectDatabaseLogSubscriptionTimeoutsArgs) ToCloudProjectDatabaseLogSubscriptionTimeoutsPtrOutput() CloudProjectDatabaseLogSubscriptionTimeoutsPtrOutput { + return i.ToCloudProjectDatabaseLogSubscriptionTimeoutsPtrOutputWithContext(context.Background()) +} + +func (i CloudProjectDatabaseLogSubscriptionTimeoutsArgs) ToCloudProjectDatabaseLogSubscriptionTimeoutsPtrOutputWithContext(ctx context.Context) CloudProjectDatabaseLogSubscriptionTimeoutsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectDatabaseLogSubscriptionTimeoutsOutput).ToCloudProjectDatabaseLogSubscriptionTimeoutsPtrOutputWithContext(ctx) +} + +// CloudProjectDatabaseLogSubscriptionTimeoutsPtrInput is an input type that accepts CloudProjectDatabaseLogSubscriptionTimeoutsArgs, CloudProjectDatabaseLogSubscriptionTimeoutsPtr and CloudProjectDatabaseLogSubscriptionTimeoutsPtrOutput values. +// You can construct a concrete instance of `CloudProjectDatabaseLogSubscriptionTimeoutsPtrInput` via: +// +// CloudProjectDatabaseLogSubscriptionTimeoutsArgs{...} +// +// or: +// +// nil +type CloudProjectDatabaseLogSubscriptionTimeoutsPtrInput interface { + pulumi.Input + + ToCloudProjectDatabaseLogSubscriptionTimeoutsPtrOutput() CloudProjectDatabaseLogSubscriptionTimeoutsPtrOutput + ToCloudProjectDatabaseLogSubscriptionTimeoutsPtrOutputWithContext(context.Context) CloudProjectDatabaseLogSubscriptionTimeoutsPtrOutput +} + +type cloudProjectDatabaseLogSubscriptionTimeoutsPtrType CloudProjectDatabaseLogSubscriptionTimeoutsArgs + +func CloudProjectDatabaseLogSubscriptionTimeoutsPtr(v *CloudProjectDatabaseLogSubscriptionTimeoutsArgs) CloudProjectDatabaseLogSubscriptionTimeoutsPtrInput { + return (*cloudProjectDatabaseLogSubscriptionTimeoutsPtrType)(v) +} + +func (*cloudProjectDatabaseLogSubscriptionTimeoutsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**CloudProjectDatabaseLogSubscriptionTimeouts)(nil)).Elem() +} + +func (i *cloudProjectDatabaseLogSubscriptionTimeoutsPtrType) ToCloudProjectDatabaseLogSubscriptionTimeoutsPtrOutput() CloudProjectDatabaseLogSubscriptionTimeoutsPtrOutput { + return i.ToCloudProjectDatabaseLogSubscriptionTimeoutsPtrOutputWithContext(context.Background()) +} + +func (i *cloudProjectDatabaseLogSubscriptionTimeoutsPtrType) ToCloudProjectDatabaseLogSubscriptionTimeoutsPtrOutputWithContext(ctx context.Context) CloudProjectDatabaseLogSubscriptionTimeoutsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectDatabaseLogSubscriptionTimeoutsPtrOutput) +} + +type CloudProjectDatabaseLogSubscriptionTimeoutsOutput struct{ *pulumi.OutputState } + +func (CloudProjectDatabaseLogSubscriptionTimeoutsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*CloudProjectDatabaseLogSubscriptionTimeouts)(nil)).Elem() +} + +func (o CloudProjectDatabaseLogSubscriptionTimeoutsOutput) ToCloudProjectDatabaseLogSubscriptionTimeoutsOutput() CloudProjectDatabaseLogSubscriptionTimeoutsOutput { + return o +} + +func (o CloudProjectDatabaseLogSubscriptionTimeoutsOutput) ToCloudProjectDatabaseLogSubscriptionTimeoutsOutputWithContext(ctx context.Context) CloudProjectDatabaseLogSubscriptionTimeoutsOutput { + return o +} + +func (o CloudProjectDatabaseLogSubscriptionTimeoutsOutput) ToCloudProjectDatabaseLogSubscriptionTimeoutsPtrOutput() CloudProjectDatabaseLogSubscriptionTimeoutsPtrOutput { + return o.ToCloudProjectDatabaseLogSubscriptionTimeoutsPtrOutputWithContext(context.Background()) +} + +func (o CloudProjectDatabaseLogSubscriptionTimeoutsOutput) ToCloudProjectDatabaseLogSubscriptionTimeoutsPtrOutputWithContext(ctx context.Context) CloudProjectDatabaseLogSubscriptionTimeoutsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v CloudProjectDatabaseLogSubscriptionTimeouts) *CloudProjectDatabaseLogSubscriptionTimeouts { + return &v + }).(CloudProjectDatabaseLogSubscriptionTimeoutsPtrOutput) +} + +func (o CloudProjectDatabaseLogSubscriptionTimeoutsOutput) Create() pulumi.StringPtrOutput { + return o.ApplyT(func(v CloudProjectDatabaseLogSubscriptionTimeouts) *string { return v.Create }).(pulumi.StringPtrOutput) +} + +func (o CloudProjectDatabaseLogSubscriptionTimeoutsOutput) Delete() pulumi.StringPtrOutput { + return o.ApplyT(func(v CloudProjectDatabaseLogSubscriptionTimeouts) *string { return v.Delete }).(pulumi.StringPtrOutput) +} + +func (o CloudProjectDatabaseLogSubscriptionTimeoutsOutput) Update() pulumi.StringPtrOutput { + return o.ApplyT(func(v CloudProjectDatabaseLogSubscriptionTimeouts) *string { return v.Update }).(pulumi.StringPtrOutput) +} + +type CloudProjectDatabaseLogSubscriptionTimeoutsPtrOutput struct{ *pulumi.OutputState } + +func (CloudProjectDatabaseLogSubscriptionTimeoutsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**CloudProjectDatabaseLogSubscriptionTimeouts)(nil)).Elem() +} + +func (o CloudProjectDatabaseLogSubscriptionTimeoutsPtrOutput) ToCloudProjectDatabaseLogSubscriptionTimeoutsPtrOutput() CloudProjectDatabaseLogSubscriptionTimeoutsPtrOutput { + return o +} + +func (o CloudProjectDatabaseLogSubscriptionTimeoutsPtrOutput) ToCloudProjectDatabaseLogSubscriptionTimeoutsPtrOutputWithContext(ctx context.Context) CloudProjectDatabaseLogSubscriptionTimeoutsPtrOutput { + return o +} + +func (o CloudProjectDatabaseLogSubscriptionTimeoutsPtrOutput) Elem() CloudProjectDatabaseLogSubscriptionTimeoutsOutput { + return o.ApplyT(func(v *CloudProjectDatabaseLogSubscriptionTimeouts) CloudProjectDatabaseLogSubscriptionTimeouts { + if v != nil { + return *v + } + var ret CloudProjectDatabaseLogSubscriptionTimeouts + return ret + }).(CloudProjectDatabaseLogSubscriptionTimeoutsOutput) +} + +func (o CloudProjectDatabaseLogSubscriptionTimeoutsPtrOutput) Create() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudProjectDatabaseLogSubscriptionTimeouts) *string { + if v == nil { + return nil + } + return v.Create + }).(pulumi.StringPtrOutput) +} + +func (o CloudProjectDatabaseLogSubscriptionTimeoutsPtrOutput) Delete() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudProjectDatabaseLogSubscriptionTimeouts) *string { + if v == nil { + return nil + } + return v.Delete + }).(pulumi.StringPtrOutput) +} + +func (o CloudProjectDatabaseLogSubscriptionTimeoutsPtrOutput) Update() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudProjectDatabaseLogSubscriptionTimeouts) *string { + if v == nil { + return nil + } + return v.Update + }).(pulumi.StringPtrOutput) +} + +type CloudProjectDatabaseM3dbNamespaceTimeouts struct { + Create *string `pulumi:"create"` + Delete *string `pulumi:"delete"` + Update *string `pulumi:"update"` +} + +// CloudProjectDatabaseM3dbNamespaceTimeoutsInput is an input type that accepts CloudProjectDatabaseM3dbNamespaceTimeoutsArgs and CloudProjectDatabaseM3dbNamespaceTimeoutsOutput values. +// You can construct a concrete instance of `CloudProjectDatabaseM3dbNamespaceTimeoutsInput` via: +// +// CloudProjectDatabaseM3dbNamespaceTimeoutsArgs{...} +type CloudProjectDatabaseM3dbNamespaceTimeoutsInput interface { + pulumi.Input + + ToCloudProjectDatabaseM3dbNamespaceTimeoutsOutput() CloudProjectDatabaseM3dbNamespaceTimeoutsOutput + ToCloudProjectDatabaseM3dbNamespaceTimeoutsOutputWithContext(context.Context) CloudProjectDatabaseM3dbNamespaceTimeoutsOutput +} + +type CloudProjectDatabaseM3dbNamespaceTimeoutsArgs struct { + Create pulumi.StringPtrInput `pulumi:"create"` + Delete pulumi.StringPtrInput `pulumi:"delete"` + Update pulumi.StringPtrInput `pulumi:"update"` +} + +func (CloudProjectDatabaseM3dbNamespaceTimeoutsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*CloudProjectDatabaseM3dbNamespaceTimeouts)(nil)).Elem() +} + +func (i CloudProjectDatabaseM3dbNamespaceTimeoutsArgs) ToCloudProjectDatabaseM3dbNamespaceTimeoutsOutput() CloudProjectDatabaseM3dbNamespaceTimeoutsOutput { + return i.ToCloudProjectDatabaseM3dbNamespaceTimeoutsOutputWithContext(context.Background()) +} + +func (i CloudProjectDatabaseM3dbNamespaceTimeoutsArgs) ToCloudProjectDatabaseM3dbNamespaceTimeoutsOutputWithContext(ctx context.Context) CloudProjectDatabaseM3dbNamespaceTimeoutsOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectDatabaseM3dbNamespaceTimeoutsOutput) +} + +func (i CloudProjectDatabaseM3dbNamespaceTimeoutsArgs) ToCloudProjectDatabaseM3dbNamespaceTimeoutsPtrOutput() CloudProjectDatabaseM3dbNamespaceTimeoutsPtrOutput { + return i.ToCloudProjectDatabaseM3dbNamespaceTimeoutsPtrOutputWithContext(context.Background()) +} + +func (i CloudProjectDatabaseM3dbNamespaceTimeoutsArgs) ToCloudProjectDatabaseM3dbNamespaceTimeoutsPtrOutputWithContext(ctx context.Context) CloudProjectDatabaseM3dbNamespaceTimeoutsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectDatabaseM3dbNamespaceTimeoutsOutput).ToCloudProjectDatabaseM3dbNamespaceTimeoutsPtrOutputWithContext(ctx) +} + +// CloudProjectDatabaseM3dbNamespaceTimeoutsPtrInput is an input type that accepts CloudProjectDatabaseM3dbNamespaceTimeoutsArgs, CloudProjectDatabaseM3dbNamespaceTimeoutsPtr and CloudProjectDatabaseM3dbNamespaceTimeoutsPtrOutput values. +// You can construct a concrete instance of `CloudProjectDatabaseM3dbNamespaceTimeoutsPtrInput` via: +// +// CloudProjectDatabaseM3dbNamespaceTimeoutsArgs{...} +// +// or: +// +// nil +type CloudProjectDatabaseM3dbNamespaceTimeoutsPtrInput interface { + pulumi.Input + + ToCloudProjectDatabaseM3dbNamespaceTimeoutsPtrOutput() CloudProjectDatabaseM3dbNamespaceTimeoutsPtrOutput + ToCloudProjectDatabaseM3dbNamespaceTimeoutsPtrOutputWithContext(context.Context) CloudProjectDatabaseM3dbNamespaceTimeoutsPtrOutput +} + +type cloudProjectDatabaseM3dbNamespaceTimeoutsPtrType CloudProjectDatabaseM3dbNamespaceTimeoutsArgs + +func CloudProjectDatabaseM3dbNamespaceTimeoutsPtr(v *CloudProjectDatabaseM3dbNamespaceTimeoutsArgs) CloudProjectDatabaseM3dbNamespaceTimeoutsPtrInput { + return (*cloudProjectDatabaseM3dbNamespaceTimeoutsPtrType)(v) +} + +func (*cloudProjectDatabaseM3dbNamespaceTimeoutsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**CloudProjectDatabaseM3dbNamespaceTimeouts)(nil)).Elem() +} + +func (i *cloudProjectDatabaseM3dbNamespaceTimeoutsPtrType) ToCloudProjectDatabaseM3dbNamespaceTimeoutsPtrOutput() CloudProjectDatabaseM3dbNamespaceTimeoutsPtrOutput { + return i.ToCloudProjectDatabaseM3dbNamespaceTimeoutsPtrOutputWithContext(context.Background()) +} + +func (i *cloudProjectDatabaseM3dbNamespaceTimeoutsPtrType) ToCloudProjectDatabaseM3dbNamespaceTimeoutsPtrOutputWithContext(ctx context.Context) CloudProjectDatabaseM3dbNamespaceTimeoutsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectDatabaseM3dbNamespaceTimeoutsPtrOutput) +} + +type CloudProjectDatabaseM3dbNamespaceTimeoutsOutput struct{ *pulumi.OutputState } + +func (CloudProjectDatabaseM3dbNamespaceTimeoutsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*CloudProjectDatabaseM3dbNamespaceTimeouts)(nil)).Elem() +} + +func (o CloudProjectDatabaseM3dbNamespaceTimeoutsOutput) ToCloudProjectDatabaseM3dbNamespaceTimeoutsOutput() CloudProjectDatabaseM3dbNamespaceTimeoutsOutput { + return o +} + +func (o CloudProjectDatabaseM3dbNamespaceTimeoutsOutput) ToCloudProjectDatabaseM3dbNamespaceTimeoutsOutputWithContext(ctx context.Context) CloudProjectDatabaseM3dbNamespaceTimeoutsOutput { + return o +} + +func (o CloudProjectDatabaseM3dbNamespaceTimeoutsOutput) ToCloudProjectDatabaseM3dbNamespaceTimeoutsPtrOutput() CloudProjectDatabaseM3dbNamespaceTimeoutsPtrOutput { + return o.ToCloudProjectDatabaseM3dbNamespaceTimeoutsPtrOutputWithContext(context.Background()) +} + +func (o CloudProjectDatabaseM3dbNamespaceTimeoutsOutput) ToCloudProjectDatabaseM3dbNamespaceTimeoutsPtrOutputWithContext(ctx context.Context) CloudProjectDatabaseM3dbNamespaceTimeoutsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v CloudProjectDatabaseM3dbNamespaceTimeouts) *CloudProjectDatabaseM3dbNamespaceTimeouts { + return &v + }).(CloudProjectDatabaseM3dbNamespaceTimeoutsPtrOutput) +} + +func (o CloudProjectDatabaseM3dbNamespaceTimeoutsOutput) Create() pulumi.StringPtrOutput { + return o.ApplyT(func(v CloudProjectDatabaseM3dbNamespaceTimeouts) *string { return v.Create }).(pulumi.StringPtrOutput) +} + +func (o CloudProjectDatabaseM3dbNamespaceTimeoutsOutput) Delete() pulumi.StringPtrOutput { + return o.ApplyT(func(v CloudProjectDatabaseM3dbNamespaceTimeouts) *string { return v.Delete }).(pulumi.StringPtrOutput) +} + +func (o CloudProjectDatabaseM3dbNamespaceTimeoutsOutput) Update() pulumi.StringPtrOutput { + return o.ApplyT(func(v CloudProjectDatabaseM3dbNamespaceTimeouts) *string { return v.Update }).(pulumi.StringPtrOutput) +} + +type CloudProjectDatabaseM3dbNamespaceTimeoutsPtrOutput struct{ *pulumi.OutputState } + +func (CloudProjectDatabaseM3dbNamespaceTimeoutsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**CloudProjectDatabaseM3dbNamespaceTimeouts)(nil)).Elem() +} + +func (o CloudProjectDatabaseM3dbNamespaceTimeoutsPtrOutput) ToCloudProjectDatabaseM3dbNamespaceTimeoutsPtrOutput() CloudProjectDatabaseM3dbNamespaceTimeoutsPtrOutput { + return o +} + +func (o CloudProjectDatabaseM3dbNamespaceTimeoutsPtrOutput) ToCloudProjectDatabaseM3dbNamespaceTimeoutsPtrOutputWithContext(ctx context.Context) CloudProjectDatabaseM3dbNamespaceTimeoutsPtrOutput { + return o +} + +func (o CloudProjectDatabaseM3dbNamespaceTimeoutsPtrOutput) Elem() CloudProjectDatabaseM3dbNamespaceTimeoutsOutput { + return o.ApplyT(func(v *CloudProjectDatabaseM3dbNamespaceTimeouts) CloudProjectDatabaseM3dbNamespaceTimeouts { + if v != nil { + return *v + } + var ret CloudProjectDatabaseM3dbNamespaceTimeouts + return ret + }).(CloudProjectDatabaseM3dbNamespaceTimeoutsOutput) +} + +func (o CloudProjectDatabaseM3dbNamespaceTimeoutsPtrOutput) Create() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudProjectDatabaseM3dbNamespaceTimeouts) *string { + if v == nil { + return nil + } + return v.Create + }).(pulumi.StringPtrOutput) +} + +func (o CloudProjectDatabaseM3dbNamespaceTimeoutsPtrOutput) Delete() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudProjectDatabaseM3dbNamespaceTimeouts) *string { + if v == nil { + return nil + } + return v.Delete + }).(pulumi.StringPtrOutput) +} + +func (o CloudProjectDatabaseM3dbNamespaceTimeoutsPtrOutput) Update() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudProjectDatabaseM3dbNamespaceTimeouts) *string { + if v == nil { + return nil + } + return v.Update + }).(pulumi.StringPtrOutput) +} + +type CloudProjectDatabaseM3dbUserTimeouts struct { + Create *string `pulumi:"create"` + Delete *string `pulumi:"delete"` + Update *string `pulumi:"update"` +} + +// CloudProjectDatabaseM3dbUserTimeoutsInput is an input type that accepts CloudProjectDatabaseM3dbUserTimeoutsArgs and CloudProjectDatabaseM3dbUserTimeoutsOutput values. +// You can construct a concrete instance of `CloudProjectDatabaseM3dbUserTimeoutsInput` via: +// +// CloudProjectDatabaseM3dbUserTimeoutsArgs{...} +type CloudProjectDatabaseM3dbUserTimeoutsInput interface { + pulumi.Input + + ToCloudProjectDatabaseM3dbUserTimeoutsOutput() CloudProjectDatabaseM3dbUserTimeoutsOutput + ToCloudProjectDatabaseM3dbUserTimeoutsOutputWithContext(context.Context) CloudProjectDatabaseM3dbUserTimeoutsOutput +} + +type CloudProjectDatabaseM3dbUserTimeoutsArgs struct { + Create pulumi.StringPtrInput `pulumi:"create"` + Delete pulumi.StringPtrInput `pulumi:"delete"` + Update pulumi.StringPtrInput `pulumi:"update"` +} + +func (CloudProjectDatabaseM3dbUserTimeoutsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*CloudProjectDatabaseM3dbUserTimeouts)(nil)).Elem() +} + +func (i CloudProjectDatabaseM3dbUserTimeoutsArgs) ToCloudProjectDatabaseM3dbUserTimeoutsOutput() CloudProjectDatabaseM3dbUserTimeoutsOutput { + return i.ToCloudProjectDatabaseM3dbUserTimeoutsOutputWithContext(context.Background()) +} + +func (i CloudProjectDatabaseM3dbUserTimeoutsArgs) ToCloudProjectDatabaseM3dbUserTimeoutsOutputWithContext(ctx context.Context) CloudProjectDatabaseM3dbUserTimeoutsOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectDatabaseM3dbUserTimeoutsOutput) +} + +func (i CloudProjectDatabaseM3dbUserTimeoutsArgs) ToCloudProjectDatabaseM3dbUserTimeoutsPtrOutput() CloudProjectDatabaseM3dbUserTimeoutsPtrOutput { + return i.ToCloudProjectDatabaseM3dbUserTimeoutsPtrOutputWithContext(context.Background()) +} + +func (i CloudProjectDatabaseM3dbUserTimeoutsArgs) ToCloudProjectDatabaseM3dbUserTimeoutsPtrOutputWithContext(ctx context.Context) CloudProjectDatabaseM3dbUserTimeoutsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectDatabaseM3dbUserTimeoutsOutput).ToCloudProjectDatabaseM3dbUserTimeoutsPtrOutputWithContext(ctx) +} + +// CloudProjectDatabaseM3dbUserTimeoutsPtrInput is an input type that accepts CloudProjectDatabaseM3dbUserTimeoutsArgs, CloudProjectDatabaseM3dbUserTimeoutsPtr and CloudProjectDatabaseM3dbUserTimeoutsPtrOutput values. +// You can construct a concrete instance of `CloudProjectDatabaseM3dbUserTimeoutsPtrInput` via: +// +// CloudProjectDatabaseM3dbUserTimeoutsArgs{...} +// +// or: +// +// nil +type CloudProjectDatabaseM3dbUserTimeoutsPtrInput interface { + pulumi.Input + + ToCloudProjectDatabaseM3dbUserTimeoutsPtrOutput() CloudProjectDatabaseM3dbUserTimeoutsPtrOutput + ToCloudProjectDatabaseM3dbUserTimeoutsPtrOutputWithContext(context.Context) CloudProjectDatabaseM3dbUserTimeoutsPtrOutput +} + +type cloudProjectDatabaseM3dbUserTimeoutsPtrType CloudProjectDatabaseM3dbUserTimeoutsArgs + +func CloudProjectDatabaseM3dbUserTimeoutsPtr(v *CloudProjectDatabaseM3dbUserTimeoutsArgs) CloudProjectDatabaseM3dbUserTimeoutsPtrInput { + return (*cloudProjectDatabaseM3dbUserTimeoutsPtrType)(v) +} + +func (*cloudProjectDatabaseM3dbUserTimeoutsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**CloudProjectDatabaseM3dbUserTimeouts)(nil)).Elem() +} + +func (i *cloudProjectDatabaseM3dbUserTimeoutsPtrType) ToCloudProjectDatabaseM3dbUserTimeoutsPtrOutput() CloudProjectDatabaseM3dbUserTimeoutsPtrOutput { + return i.ToCloudProjectDatabaseM3dbUserTimeoutsPtrOutputWithContext(context.Background()) +} + +func (i *cloudProjectDatabaseM3dbUserTimeoutsPtrType) ToCloudProjectDatabaseM3dbUserTimeoutsPtrOutputWithContext(ctx context.Context) CloudProjectDatabaseM3dbUserTimeoutsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectDatabaseM3dbUserTimeoutsPtrOutput) +} + +type CloudProjectDatabaseM3dbUserTimeoutsOutput struct{ *pulumi.OutputState } + +func (CloudProjectDatabaseM3dbUserTimeoutsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*CloudProjectDatabaseM3dbUserTimeouts)(nil)).Elem() +} + +func (o CloudProjectDatabaseM3dbUserTimeoutsOutput) ToCloudProjectDatabaseM3dbUserTimeoutsOutput() CloudProjectDatabaseM3dbUserTimeoutsOutput { + return o +} + +func (o CloudProjectDatabaseM3dbUserTimeoutsOutput) ToCloudProjectDatabaseM3dbUserTimeoutsOutputWithContext(ctx context.Context) CloudProjectDatabaseM3dbUserTimeoutsOutput { + return o +} + +func (o CloudProjectDatabaseM3dbUserTimeoutsOutput) ToCloudProjectDatabaseM3dbUserTimeoutsPtrOutput() CloudProjectDatabaseM3dbUserTimeoutsPtrOutput { + return o.ToCloudProjectDatabaseM3dbUserTimeoutsPtrOutputWithContext(context.Background()) +} + +func (o CloudProjectDatabaseM3dbUserTimeoutsOutput) ToCloudProjectDatabaseM3dbUserTimeoutsPtrOutputWithContext(ctx context.Context) CloudProjectDatabaseM3dbUserTimeoutsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v CloudProjectDatabaseM3dbUserTimeouts) *CloudProjectDatabaseM3dbUserTimeouts { + return &v + }).(CloudProjectDatabaseM3dbUserTimeoutsPtrOutput) +} + +func (o CloudProjectDatabaseM3dbUserTimeoutsOutput) Create() pulumi.StringPtrOutput { + return o.ApplyT(func(v CloudProjectDatabaseM3dbUserTimeouts) *string { return v.Create }).(pulumi.StringPtrOutput) +} + +func (o CloudProjectDatabaseM3dbUserTimeoutsOutput) Delete() pulumi.StringPtrOutput { + return o.ApplyT(func(v CloudProjectDatabaseM3dbUserTimeouts) *string { return v.Delete }).(pulumi.StringPtrOutput) +} + +func (o CloudProjectDatabaseM3dbUserTimeoutsOutput) Update() pulumi.StringPtrOutput { + return o.ApplyT(func(v CloudProjectDatabaseM3dbUserTimeouts) *string { return v.Update }).(pulumi.StringPtrOutput) +} + +type CloudProjectDatabaseM3dbUserTimeoutsPtrOutput struct{ *pulumi.OutputState } + +func (CloudProjectDatabaseM3dbUserTimeoutsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**CloudProjectDatabaseM3dbUserTimeouts)(nil)).Elem() +} + +func (o CloudProjectDatabaseM3dbUserTimeoutsPtrOutput) ToCloudProjectDatabaseM3dbUserTimeoutsPtrOutput() CloudProjectDatabaseM3dbUserTimeoutsPtrOutput { + return o +} + +func (o CloudProjectDatabaseM3dbUserTimeoutsPtrOutput) ToCloudProjectDatabaseM3dbUserTimeoutsPtrOutputWithContext(ctx context.Context) CloudProjectDatabaseM3dbUserTimeoutsPtrOutput { + return o +} + +func (o CloudProjectDatabaseM3dbUserTimeoutsPtrOutput) Elem() CloudProjectDatabaseM3dbUserTimeoutsOutput { + return o.ApplyT(func(v *CloudProjectDatabaseM3dbUserTimeouts) CloudProjectDatabaseM3dbUserTimeouts { + if v != nil { + return *v + } + var ret CloudProjectDatabaseM3dbUserTimeouts + return ret + }).(CloudProjectDatabaseM3dbUserTimeoutsOutput) +} + +func (o CloudProjectDatabaseM3dbUserTimeoutsPtrOutput) Create() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudProjectDatabaseM3dbUserTimeouts) *string { + if v == nil { + return nil + } + return v.Create + }).(pulumi.StringPtrOutput) +} + +func (o CloudProjectDatabaseM3dbUserTimeoutsPtrOutput) Delete() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudProjectDatabaseM3dbUserTimeouts) *string { + if v == nil { + return nil + } + return v.Delete + }).(pulumi.StringPtrOutput) +} + +func (o CloudProjectDatabaseM3dbUserTimeoutsPtrOutput) Update() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudProjectDatabaseM3dbUserTimeouts) *string { + if v == nil { + return nil + } + return v.Update + }).(pulumi.StringPtrOutput) +} + +type CloudProjectDatabaseMongodbUserTimeouts struct { + Create *string `pulumi:"create"` + Delete *string `pulumi:"delete"` + Update *string `pulumi:"update"` +} + +// CloudProjectDatabaseMongodbUserTimeoutsInput is an input type that accepts CloudProjectDatabaseMongodbUserTimeoutsArgs and CloudProjectDatabaseMongodbUserTimeoutsOutput values. +// You can construct a concrete instance of `CloudProjectDatabaseMongodbUserTimeoutsInput` via: +// +// CloudProjectDatabaseMongodbUserTimeoutsArgs{...} +type CloudProjectDatabaseMongodbUserTimeoutsInput interface { + pulumi.Input + + ToCloudProjectDatabaseMongodbUserTimeoutsOutput() CloudProjectDatabaseMongodbUserTimeoutsOutput + ToCloudProjectDatabaseMongodbUserTimeoutsOutputWithContext(context.Context) CloudProjectDatabaseMongodbUserTimeoutsOutput +} + +type CloudProjectDatabaseMongodbUserTimeoutsArgs struct { + Create pulumi.StringPtrInput `pulumi:"create"` + Delete pulumi.StringPtrInput `pulumi:"delete"` + Update pulumi.StringPtrInput `pulumi:"update"` +} + +func (CloudProjectDatabaseMongodbUserTimeoutsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*CloudProjectDatabaseMongodbUserTimeouts)(nil)).Elem() +} + +func (i CloudProjectDatabaseMongodbUserTimeoutsArgs) ToCloudProjectDatabaseMongodbUserTimeoutsOutput() CloudProjectDatabaseMongodbUserTimeoutsOutput { + return i.ToCloudProjectDatabaseMongodbUserTimeoutsOutputWithContext(context.Background()) +} + +func (i CloudProjectDatabaseMongodbUserTimeoutsArgs) ToCloudProjectDatabaseMongodbUserTimeoutsOutputWithContext(ctx context.Context) CloudProjectDatabaseMongodbUserTimeoutsOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectDatabaseMongodbUserTimeoutsOutput) +} + +func (i CloudProjectDatabaseMongodbUserTimeoutsArgs) ToCloudProjectDatabaseMongodbUserTimeoutsPtrOutput() CloudProjectDatabaseMongodbUserTimeoutsPtrOutput { + return i.ToCloudProjectDatabaseMongodbUserTimeoutsPtrOutputWithContext(context.Background()) +} + +func (i CloudProjectDatabaseMongodbUserTimeoutsArgs) ToCloudProjectDatabaseMongodbUserTimeoutsPtrOutputWithContext(ctx context.Context) CloudProjectDatabaseMongodbUserTimeoutsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectDatabaseMongodbUserTimeoutsOutput).ToCloudProjectDatabaseMongodbUserTimeoutsPtrOutputWithContext(ctx) +} + +// CloudProjectDatabaseMongodbUserTimeoutsPtrInput is an input type that accepts CloudProjectDatabaseMongodbUserTimeoutsArgs, CloudProjectDatabaseMongodbUserTimeoutsPtr and CloudProjectDatabaseMongodbUserTimeoutsPtrOutput values. +// You can construct a concrete instance of `CloudProjectDatabaseMongodbUserTimeoutsPtrInput` via: +// +// CloudProjectDatabaseMongodbUserTimeoutsArgs{...} +// +// or: +// +// nil +type CloudProjectDatabaseMongodbUserTimeoutsPtrInput interface { + pulumi.Input + + ToCloudProjectDatabaseMongodbUserTimeoutsPtrOutput() CloudProjectDatabaseMongodbUserTimeoutsPtrOutput + ToCloudProjectDatabaseMongodbUserTimeoutsPtrOutputWithContext(context.Context) CloudProjectDatabaseMongodbUserTimeoutsPtrOutput +} + +type cloudProjectDatabaseMongodbUserTimeoutsPtrType CloudProjectDatabaseMongodbUserTimeoutsArgs + +func CloudProjectDatabaseMongodbUserTimeoutsPtr(v *CloudProjectDatabaseMongodbUserTimeoutsArgs) CloudProjectDatabaseMongodbUserTimeoutsPtrInput { + return (*cloudProjectDatabaseMongodbUserTimeoutsPtrType)(v) +} + +func (*cloudProjectDatabaseMongodbUserTimeoutsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**CloudProjectDatabaseMongodbUserTimeouts)(nil)).Elem() +} + +func (i *cloudProjectDatabaseMongodbUserTimeoutsPtrType) ToCloudProjectDatabaseMongodbUserTimeoutsPtrOutput() CloudProjectDatabaseMongodbUserTimeoutsPtrOutput { + return i.ToCloudProjectDatabaseMongodbUserTimeoutsPtrOutputWithContext(context.Background()) +} + +func (i *cloudProjectDatabaseMongodbUserTimeoutsPtrType) ToCloudProjectDatabaseMongodbUserTimeoutsPtrOutputWithContext(ctx context.Context) CloudProjectDatabaseMongodbUserTimeoutsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectDatabaseMongodbUserTimeoutsPtrOutput) +} + +type CloudProjectDatabaseMongodbUserTimeoutsOutput struct{ *pulumi.OutputState } + +func (CloudProjectDatabaseMongodbUserTimeoutsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*CloudProjectDatabaseMongodbUserTimeouts)(nil)).Elem() +} + +func (o CloudProjectDatabaseMongodbUserTimeoutsOutput) ToCloudProjectDatabaseMongodbUserTimeoutsOutput() CloudProjectDatabaseMongodbUserTimeoutsOutput { + return o +} + +func (o CloudProjectDatabaseMongodbUserTimeoutsOutput) ToCloudProjectDatabaseMongodbUserTimeoutsOutputWithContext(ctx context.Context) CloudProjectDatabaseMongodbUserTimeoutsOutput { + return o +} + +func (o CloudProjectDatabaseMongodbUserTimeoutsOutput) ToCloudProjectDatabaseMongodbUserTimeoutsPtrOutput() CloudProjectDatabaseMongodbUserTimeoutsPtrOutput { + return o.ToCloudProjectDatabaseMongodbUserTimeoutsPtrOutputWithContext(context.Background()) +} + +func (o CloudProjectDatabaseMongodbUserTimeoutsOutput) ToCloudProjectDatabaseMongodbUserTimeoutsPtrOutputWithContext(ctx context.Context) CloudProjectDatabaseMongodbUserTimeoutsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v CloudProjectDatabaseMongodbUserTimeouts) *CloudProjectDatabaseMongodbUserTimeouts { + return &v + }).(CloudProjectDatabaseMongodbUserTimeoutsPtrOutput) +} + +func (o CloudProjectDatabaseMongodbUserTimeoutsOutput) Create() pulumi.StringPtrOutput { + return o.ApplyT(func(v CloudProjectDatabaseMongodbUserTimeouts) *string { return v.Create }).(pulumi.StringPtrOutput) +} + +func (o CloudProjectDatabaseMongodbUserTimeoutsOutput) Delete() pulumi.StringPtrOutput { + return o.ApplyT(func(v CloudProjectDatabaseMongodbUserTimeouts) *string { return v.Delete }).(pulumi.StringPtrOutput) +} + +func (o CloudProjectDatabaseMongodbUserTimeoutsOutput) Update() pulumi.StringPtrOutput { + return o.ApplyT(func(v CloudProjectDatabaseMongodbUserTimeouts) *string { return v.Update }).(pulumi.StringPtrOutput) +} + +type CloudProjectDatabaseMongodbUserTimeoutsPtrOutput struct{ *pulumi.OutputState } + +func (CloudProjectDatabaseMongodbUserTimeoutsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**CloudProjectDatabaseMongodbUserTimeouts)(nil)).Elem() +} + +func (o CloudProjectDatabaseMongodbUserTimeoutsPtrOutput) ToCloudProjectDatabaseMongodbUserTimeoutsPtrOutput() CloudProjectDatabaseMongodbUserTimeoutsPtrOutput { + return o +} + +func (o CloudProjectDatabaseMongodbUserTimeoutsPtrOutput) ToCloudProjectDatabaseMongodbUserTimeoutsPtrOutputWithContext(ctx context.Context) CloudProjectDatabaseMongodbUserTimeoutsPtrOutput { + return o +} + +func (o CloudProjectDatabaseMongodbUserTimeoutsPtrOutput) Elem() CloudProjectDatabaseMongodbUserTimeoutsOutput { + return o.ApplyT(func(v *CloudProjectDatabaseMongodbUserTimeouts) CloudProjectDatabaseMongodbUserTimeouts { + if v != nil { + return *v + } + var ret CloudProjectDatabaseMongodbUserTimeouts + return ret + }).(CloudProjectDatabaseMongodbUserTimeoutsOutput) +} + +func (o CloudProjectDatabaseMongodbUserTimeoutsPtrOutput) Create() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudProjectDatabaseMongodbUserTimeouts) *string { + if v == nil { + return nil + } + return v.Create + }).(pulumi.StringPtrOutput) +} + +func (o CloudProjectDatabaseMongodbUserTimeoutsPtrOutput) Delete() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudProjectDatabaseMongodbUserTimeouts) *string { + if v == nil { + return nil + } + return v.Delete + }).(pulumi.StringPtrOutput) +} + +func (o CloudProjectDatabaseMongodbUserTimeoutsPtrOutput) Update() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudProjectDatabaseMongodbUserTimeouts) *string { + if v == nil { + return nil + } + return v.Update + }).(pulumi.StringPtrOutput) +} + +type CloudProjectDatabaseNode struct { + // Private network ID in which the node is. It's the regional openstackId of the private network. + NetworkId *string `pulumi:"networkId"` + // Region of the node + Region string `pulumi:"region"` + // Private subnet ID in which the node is + SubnetId *string `pulumi:"subnetId"` +} + +// CloudProjectDatabaseNodeInput is an input type that accepts CloudProjectDatabaseNodeArgs and CloudProjectDatabaseNodeOutput values. +// You can construct a concrete instance of `CloudProjectDatabaseNodeInput` via: +// +// CloudProjectDatabaseNodeArgs{...} +type CloudProjectDatabaseNodeInput interface { + pulumi.Input + + ToCloudProjectDatabaseNodeOutput() CloudProjectDatabaseNodeOutput + ToCloudProjectDatabaseNodeOutputWithContext(context.Context) CloudProjectDatabaseNodeOutput +} + +type CloudProjectDatabaseNodeArgs struct { + // Private network ID in which the node is. It's the regional openstackId of the private network. + NetworkId pulumi.StringPtrInput `pulumi:"networkId"` + // Region of the node + Region pulumi.StringInput `pulumi:"region"` + // Private subnet ID in which the node is + SubnetId pulumi.StringPtrInput `pulumi:"subnetId"` +} + +func (CloudProjectDatabaseNodeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*CloudProjectDatabaseNode)(nil)).Elem() +} + +func (i CloudProjectDatabaseNodeArgs) ToCloudProjectDatabaseNodeOutput() CloudProjectDatabaseNodeOutput { + return i.ToCloudProjectDatabaseNodeOutputWithContext(context.Background()) +} + +func (i CloudProjectDatabaseNodeArgs) ToCloudProjectDatabaseNodeOutputWithContext(ctx context.Context) CloudProjectDatabaseNodeOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectDatabaseNodeOutput) +} + +// CloudProjectDatabaseNodeArrayInput is an input type that accepts CloudProjectDatabaseNodeArray and CloudProjectDatabaseNodeArrayOutput values. +// You can construct a concrete instance of `CloudProjectDatabaseNodeArrayInput` via: +// +// CloudProjectDatabaseNodeArray{ CloudProjectDatabaseNodeArgs{...} } +type CloudProjectDatabaseNodeArrayInput interface { + pulumi.Input + + ToCloudProjectDatabaseNodeArrayOutput() CloudProjectDatabaseNodeArrayOutput + ToCloudProjectDatabaseNodeArrayOutputWithContext(context.Context) CloudProjectDatabaseNodeArrayOutput +} + +type CloudProjectDatabaseNodeArray []CloudProjectDatabaseNodeInput + +func (CloudProjectDatabaseNodeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]CloudProjectDatabaseNode)(nil)).Elem() +} + +func (i CloudProjectDatabaseNodeArray) ToCloudProjectDatabaseNodeArrayOutput() CloudProjectDatabaseNodeArrayOutput { + return i.ToCloudProjectDatabaseNodeArrayOutputWithContext(context.Background()) +} + +func (i CloudProjectDatabaseNodeArray) ToCloudProjectDatabaseNodeArrayOutputWithContext(ctx context.Context) CloudProjectDatabaseNodeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectDatabaseNodeArrayOutput) +} + +type CloudProjectDatabaseNodeOutput struct{ *pulumi.OutputState } + +func (CloudProjectDatabaseNodeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*CloudProjectDatabaseNode)(nil)).Elem() +} + +func (o CloudProjectDatabaseNodeOutput) ToCloudProjectDatabaseNodeOutput() CloudProjectDatabaseNodeOutput { + return o +} + +func (o CloudProjectDatabaseNodeOutput) ToCloudProjectDatabaseNodeOutputWithContext(ctx context.Context) CloudProjectDatabaseNodeOutput { + return o +} + +// Private network ID in which the node is. It's the regional openstackId of the private network. +func (o CloudProjectDatabaseNodeOutput) NetworkId() pulumi.StringPtrOutput { + return o.ApplyT(func(v CloudProjectDatabaseNode) *string { return v.NetworkId }).(pulumi.StringPtrOutput) +} + +// Region of the node +func (o CloudProjectDatabaseNodeOutput) Region() pulumi.StringOutput { + return o.ApplyT(func(v CloudProjectDatabaseNode) string { return v.Region }).(pulumi.StringOutput) +} + +// Private subnet ID in which the node is +func (o CloudProjectDatabaseNodeOutput) SubnetId() pulumi.StringPtrOutput { + return o.ApplyT(func(v CloudProjectDatabaseNode) *string { return v.SubnetId }).(pulumi.StringPtrOutput) +} + +type CloudProjectDatabaseNodeArrayOutput struct{ *pulumi.OutputState } + +func (CloudProjectDatabaseNodeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]CloudProjectDatabaseNode)(nil)).Elem() +} + +func (o CloudProjectDatabaseNodeArrayOutput) ToCloudProjectDatabaseNodeArrayOutput() CloudProjectDatabaseNodeArrayOutput { + return o +} + +func (o CloudProjectDatabaseNodeArrayOutput) ToCloudProjectDatabaseNodeArrayOutputWithContext(ctx context.Context) CloudProjectDatabaseNodeArrayOutput { + return o +} + +func (o CloudProjectDatabaseNodeArrayOutput) Index(i pulumi.IntInput) CloudProjectDatabaseNodeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) CloudProjectDatabaseNode { + return vs[0].([]CloudProjectDatabaseNode)[vs[1].(int)] + }).(CloudProjectDatabaseNodeOutput) +} + +type CloudProjectDatabaseOpensearchPatternTimeouts struct { + Create *string `pulumi:"create"` + Delete *string `pulumi:"delete"` +} + +// CloudProjectDatabaseOpensearchPatternTimeoutsInput is an input type that accepts CloudProjectDatabaseOpensearchPatternTimeoutsArgs and CloudProjectDatabaseOpensearchPatternTimeoutsOutput values. +// You can construct a concrete instance of `CloudProjectDatabaseOpensearchPatternTimeoutsInput` via: +// +// CloudProjectDatabaseOpensearchPatternTimeoutsArgs{...} +type CloudProjectDatabaseOpensearchPatternTimeoutsInput interface { + pulumi.Input + + ToCloudProjectDatabaseOpensearchPatternTimeoutsOutput() CloudProjectDatabaseOpensearchPatternTimeoutsOutput + ToCloudProjectDatabaseOpensearchPatternTimeoutsOutputWithContext(context.Context) CloudProjectDatabaseOpensearchPatternTimeoutsOutput +} + +type CloudProjectDatabaseOpensearchPatternTimeoutsArgs struct { + Create pulumi.StringPtrInput `pulumi:"create"` + Delete pulumi.StringPtrInput `pulumi:"delete"` +} + +func (CloudProjectDatabaseOpensearchPatternTimeoutsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*CloudProjectDatabaseOpensearchPatternTimeouts)(nil)).Elem() +} + +func (i CloudProjectDatabaseOpensearchPatternTimeoutsArgs) ToCloudProjectDatabaseOpensearchPatternTimeoutsOutput() CloudProjectDatabaseOpensearchPatternTimeoutsOutput { + return i.ToCloudProjectDatabaseOpensearchPatternTimeoutsOutputWithContext(context.Background()) +} + +func (i CloudProjectDatabaseOpensearchPatternTimeoutsArgs) ToCloudProjectDatabaseOpensearchPatternTimeoutsOutputWithContext(ctx context.Context) CloudProjectDatabaseOpensearchPatternTimeoutsOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectDatabaseOpensearchPatternTimeoutsOutput) +} + +func (i CloudProjectDatabaseOpensearchPatternTimeoutsArgs) ToCloudProjectDatabaseOpensearchPatternTimeoutsPtrOutput() CloudProjectDatabaseOpensearchPatternTimeoutsPtrOutput { + return i.ToCloudProjectDatabaseOpensearchPatternTimeoutsPtrOutputWithContext(context.Background()) +} + +func (i CloudProjectDatabaseOpensearchPatternTimeoutsArgs) ToCloudProjectDatabaseOpensearchPatternTimeoutsPtrOutputWithContext(ctx context.Context) CloudProjectDatabaseOpensearchPatternTimeoutsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectDatabaseOpensearchPatternTimeoutsOutput).ToCloudProjectDatabaseOpensearchPatternTimeoutsPtrOutputWithContext(ctx) +} + +// CloudProjectDatabaseOpensearchPatternTimeoutsPtrInput is an input type that accepts CloudProjectDatabaseOpensearchPatternTimeoutsArgs, CloudProjectDatabaseOpensearchPatternTimeoutsPtr and CloudProjectDatabaseOpensearchPatternTimeoutsPtrOutput values. +// You can construct a concrete instance of `CloudProjectDatabaseOpensearchPatternTimeoutsPtrInput` via: +// +// CloudProjectDatabaseOpensearchPatternTimeoutsArgs{...} +// +// or: +// +// nil +type CloudProjectDatabaseOpensearchPatternTimeoutsPtrInput interface { + pulumi.Input + + ToCloudProjectDatabaseOpensearchPatternTimeoutsPtrOutput() CloudProjectDatabaseOpensearchPatternTimeoutsPtrOutput + ToCloudProjectDatabaseOpensearchPatternTimeoutsPtrOutputWithContext(context.Context) CloudProjectDatabaseOpensearchPatternTimeoutsPtrOutput +} + +type cloudProjectDatabaseOpensearchPatternTimeoutsPtrType CloudProjectDatabaseOpensearchPatternTimeoutsArgs + +func CloudProjectDatabaseOpensearchPatternTimeoutsPtr(v *CloudProjectDatabaseOpensearchPatternTimeoutsArgs) CloudProjectDatabaseOpensearchPatternTimeoutsPtrInput { + return (*cloudProjectDatabaseOpensearchPatternTimeoutsPtrType)(v) +} + +func (*cloudProjectDatabaseOpensearchPatternTimeoutsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**CloudProjectDatabaseOpensearchPatternTimeouts)(nil)).Elem() +} + +func (i *cloudProjectDatabaseOpensearchPatternTimeoutsPtrType) ToCloudProjectDatabaseOpensearchPatternTimeoutsPtrOutput() CloudProjectDatabaseOpensearchPatternTimeoutsPtrOutput { + return i.ToCloudProjectDatabaseOpensearchPatternTimeoutsPtrOutputWithContext(context.Background()) +} + +func (i *cloudProjectDatabaseOpensearchPatternTimeoutsPtrType) ToCloudProjectDatabaseOpensearchPatternTimeoutsPtrOutputWithContext(ctx context.Context) CloudProjectDatabaseOpensearchPatternTimeoutsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectDatabaseOpensearchPatternTimeoutsPtrOutput) +} + +type CloudProjectDatabaseOpensearchPatternTimeoutsOutput struct{ *pulumi.OutputState } + +func (CloudProjectDatabaseOpensearchPatternTimeoutsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*CloudProjectDatabaseOpensearchPatternTimeouts)(nil)).Elem() +} + +func (o CloudProjectDatabaseOpensearchPatternTimeoutsOutput) ToCloudProjectDatabaseOpensearchPatternTimeoutsOutput() CloudProjectDatabaseOpensearchPatternTimeoutsOutput { + return o +} + +func (o CloudProjectDatabaseOpensearchPatternTimeoutsOutput) ToCloudProjectDatabaseOpensearchPatternTimeoutsOutputWithContext(ctx context.Context) CloudProjectDatabaseOpensearchPatternTimeoutsOutput { + return o +} + +func (o CloudProjectDatabaseOpensearchPatternTimeoutsOutput) ToCloudProjectDatabaseOpensearchPatternTimeoutsPtrOutput() CloudProjectDatabaseOpensearchPatternTimeoutsPtrOutput { + return o.ToCloudProjectDatabaseOpensearchPatternTimeoutsPtrOutputWithContext(context.Background()) +} + +func (o CloudProjectDatabaseOpensearchPatternTimeoutsOutput) ToCloudProjectDatabaseOpensearchPatternTimeoutsPtrOutputWithContext(ctx context.Context) CloudProjectDatabaseOpensearchPatternTimeoutsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v CloudProjectDatabaseOpensearchPatternTimeouts) *CloudProjectDatabaseOpensearchPatternTimeouts { + return &v + }).(CloudProjectDatabaseOpensearchPatternTimeoutsPtrOutput) +} + +func (o CloudProjectDatabaseOpensearchPatternTimeoutsOutput) Create() pulumi.StringPtrOutput { + return o.ApplyT(func(v CloudProjectDatabaseOpensearchPatternTimeouts) *string { return v.Create }).(pulumi.StringPtrOutput) +} + +func (o CloudProjectDatabaseOpensearchPatternTimeoutsOutput) Delete() pulumi.StringPtrOutput { + return o.ApplyT(func(v CloudProjectDatabaseOpensearchPatternTimeouts) *string { return v.Delete }).(pulumi.StringPtrOutput) +} + +type CloudProjectDatabaseOpensearchPatternTimeoutsPtrOutput struct{ *pulumi.OutputState } + +func (CloudProjectDatabaseOpensearchPatternTimeoutsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**CloudProjectDatabaseOpensearchPatternTimeouts)(nil)).Elem() +} + +func (o CloudProjectDatabaseOpensearchPatternTimeoutsPtrOutput) ToCloudProjectDatabaseOpensearchPatternTimeoutsPtrOutput() CloudProjectDatabaseOpensearchPatternTimeoutsPtrOutput { + return o +} + +func (o CloudProjectDatabaseOpensearchPatternTimeoutsPtrOutput) ToCloudProjectDatabaseOpensearchPatternTimeoutsPtrOutputWithContext(ctx context.Context) CloudProjectDatabaseOpensearchPatternTimeoutsPtrOutput { + return o +} + +func (o CloudProjectDatabaseOpensearchPatternTimeoutsPtrOutput) Elem() CloudProjectDatabaseOpensearchPatternTimeoutsOutput { + return o.ApplyT(func(v *CloudProjectDatabaseOpensearchPatternTimeouts) CloudProjectDatabaseOpensearchPatternTimeouts { + if v != nil { + return *v + } + var ret CloudProjectDatabaseOpensearchPatternTimeouts + return ret + }).(CloudProjectDatabaseOpensearchPatternTimeoutsOutput) +} + +func (o CloudProjectDatabaseOpensearchPatternTimeoutsPtrOutput) Create() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudProjectDatabaseOpensearchPatternTimeouts) *string { + if v == nil { + return nil + } + return v.Create + }).(pulumi.StringPtrOutput) +} + +func (o CloudProjectDatabaseOpensearchPatternTimeoutsPtrOutput) Delete() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudProjectDatabaseOpensearchPatternTimeouts) *string { + if v == nil { + return nil + } + return v.Delete + }).(pulumi.StringPtrOutput) +} + +type CloudProjectDatabaseOpensearchUserAcl struct { + // Pattern of the ACL + Pattern string `pulumi:"pattern"` + // Permission of the ACL + Permission string `pulumi:"permission"` +} + +// CloudProjectDatabaseOpensearchUserAclInput is an input type that accepts CloudProjectDatabaseOpensearchUserAclArgs and CloudProjectDatabaseOpensearchUserAclOutput values. +// You can construct a concrete instance of `CloudProjectDatabaseOpensearchUserAclInput` via: +// +// CloudProjectDatabaseOpensearchUserAclArgs{...} +type CloudProjectDatabaseOpensearchUserAclInput interface { + pulumi.Input + + ToCloudProjectDatabaseOpensearchUserAclOutput() CloudProjectDatabaseOpensearchUserAclOutput + ToCloudProjectDatabaseOpensearchUserAclOutputWithContext(context.Context) CloudProjectDatabaseOpensearchUserAclOutput +} + +type CloudProjectDatabaseOpensearchUserAclArgs struct { + // Pattern of the ACL + Pattern pulumi.StringInput `pulumi:"pattern"` + // Permission of the ACL + Permission pulumi.StringInput `pulumi:"permission"` +} + +func (CloudProjectDatabaseOpensearchUserAclArgs) ElementType() reflect.Type { + return reflect.TypeOf((*CloudProjectDatabaseOpensearchUserAcl)(nil)).Elem() +} + +func (i CloudProjectDatabaseOpensearchUserAclArgs) ToCloudProjectDatabaseOpensearchUserAclOutput() CloudProjectDatabaseOpensearchUserAclOutput { + return i.ToCloudProjectDatabaseOpensearchUserAclOutputWithContext(context.Background()) +} + +func (i CloudProjectDatabaseOpensearchUserAclArgs) ToCloudProjectDatabaseOpensearchUserAclOutputWithContext(ctx context.Context) CloudProjectDatabaseOpensearchUserAclOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectDatabaseOpensearchUserAclOutput) +} + +// CloudProjectDatabaseOpensearchUserAclArrayInput is an input type that accepts CloudProjectDatabaseOpensearchUserAclArray and CloudProjectDatabaseOpensearchUserAclArrayOutput values. +// You can construct a concrete instance of `CloudProjectDatabaseOpensearchUserAclArrayInput` via: +// +// CloudProjectDatabaseOpensearchUserAclArray{ CloudProjectDatabaseOpensearchUserAclArgs{...} } +type CloudProjectDatabaseOpensearchUserAclArrayInput interface { + pulumi.Input + + ToCloudProjectDatabaseOpensearchUserAclArrayOutput() CloudProjectDatabaseOpensearchUserAclArrayOutput + ToCloudProjectDatabaseOpensearchUserAclArrayOutputWithContext(context.Context) CloudProjectDatabaseOpensearchUserAclArrayOutput +} + +type CloudProjectDatabaseOpensearchUserAclArray []CloudProjectDatabaseOpensearchUserAclInput + +func (CloudProjectDatabaseOpensearchUserAclArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]CloudProjectDatabaseOpensearchUserAcl)(nil)).Elem() +} + +func (i CloudProjectDatabaseOpensearchUserAclArray) ToCloudProjectDatabaseOpensearchUserAclArrayOutput() CloudProjectDatabaseOpensearchUserAclArrayOutput { + return i.ToCloudProjectDatabaseOpensearchUserAclArrayOutputWithContext(context.Background()) +} + +func (i CloudProjectDatabaseOpensearchUserAclArray) ToCloudProjectDatabaseOpensearchUserAclArrayOutputWithContext(ctx context.Context) CloudProjectDatabaseOpensearchUserAclArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectDatabaseOpensearchUserAclArrayOutput) +} + +type CloudProjectDatabaseOpensearchUserAclOutput struct{ *pulumi.OutputState } + +func (CloudProjectDatabaseOpensearchUserAclOutput) ElementType() reflect.Type { + return reflect.TypeOf((*CloudProjectDatabaseOpensearchUserAcl)(nil)).Elem() +} + +func (o CloudProjectDatabaseOpensearchUserAclOutput) ToCloudProjectDatabaseOpensearchUserAclOutput() CloudProjectDatabaseOpensearchUserAclOutput { + return o +} + +func (o CloudProjectDatabaseOpensearchUserAclOutput) ToCloudProjectDatabaseOpensearchUserAclOutputWithContext(ctx context.Context) CloudProjectDatabaseOpensearchUserAclOutput { + return o +} + +// Pattern of the ACL +func (o CloudProjectDatabaseOpensearchUserAclOutput) Pattern() pulumi.StringOutput { + return o.ApplyT(func(v CloudProjectDatabaseOpensearchUserAcl) string { return v.Pattern }).(pulumi.StringOutput) +} + +// Permission of the ACL +func (o CloudProjectDatabaseOpensearchUserAclOutput) Permission() pulumi.StringOutput { + return o.ApplyT(func(v CloudProjectDatabaseOpensearchUserAcl) string { return v.Permission }).(pulumi.StringOutput) +} + +type CloudProjectDatabaseOpensearchUserAclArrayOutput struct{ *pulumi.OutputState } + +func (CloudProjectDatabaseOpensearchUserAclArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]CloudProjectDatabaseOpensearchUserAcl)(nil)).Elem() +} + +func (o CloudProjectDatabaseOpensearchUserAclArrayOutput) ToCloudProjectDatabaseOpensearchUserAclArrayOutput() CloudProjectDatabaseOpensearchUserAclArrayOutput { + return o +} + +func (o CloudProjectDatabaseOpensearchUserAclArrayOutput) ToCloudProjectDatabaseOpensearchUserAclArrayOutputWithContext(ctx context.Context) CloudProjectDatabaseOpensearchUserAclArrayOutput { + return o +} + +func (o CloudProjectDatabaseOpensearchUserAclArrayOutput) Index(i pulumi.IntInput) CloudProjectDatabaseOpensearchUserAclOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) CloudProjectDatabaseOpensearchUserAcl { + return vs[0].([]CloudProjectDatabaseOpensearchUserAcl)[vs[1].(int)] + }).(CloudProjectDatabaseOpensearchUserAclOutput) +} + +type CloudProjectDatabaseOpensearchUserTimeouts struct { + Create *string `pulumi:"create"` + Delete *string `pulumi:"delete"` + Update *string `pulumi:"update"` +} + +// CloudProjectDatabaseOpensearchUserTimeoutsInput is an input type that accepts CloudProjectDatabaseOpensearchUserTimeoutsArgs and CloudProjectDatabaseOpensearchUserTimeoutsOutput values. +// You can construct a concrete instance of `CloudProjectDatabaseOpensearchUserTimeoutsInput` via: +// +// CloudProjectDatabaseOpensearchUserTimeoutsArgs{...} +type CloudProjectDatabaseOpensearchUserTimeoutsInput interface { + pulumi.Input + + ToCloudProjectDatabaseOpensearchUserTimeoutsOutput() CloudProjectDatabaseOpensearchUserTimeoutsOutput + ToCloudProjectDatabaseOpensearchUserTimeoutsOutputWithContext(context.Context) CloudProjectDatabaseOpensearchUserTimeoutsOutput +} + +type CloudProjectDatabaseOpensearchUserTimeoutsArgs struct { + Create pulumi.StringPtrInput `pulumi:"create"` + Delete pulumi.StringPtrInput `pulumi:"delete"` + Update pulumi.StringPtrInput `pulumi:"update"` +} + +func (CloudProjectDatabaseOpensearchUserTimeoutsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*CloudProjectDatabaseOpensearchUserTimeouts)(nil)).Elem() +} + +func (i CloudProjectDatabaseOpensearchUserTimeoutsArgs) ToCloudProjectDatabaseOpensearchUserTimeoutsOutput() CloudProjectDatabaseOpensearchUserTimeoutsOutput { + return i.ToCloudProjectDatabaseOpensearchUserTimeoutsOutputWithContext(context.Background()) +} + +func (i CloudProjectDatabaseOpensearchUserTimeoutsArgs) ToCloudProjectDatabaseOpensearchUserTimeoutsOutputWithContext(ctx context.Context) CloudProjectDatabaseOpensearchUserTimeoutsOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectDatabaseOpensearchUserTimeoutsOutput) +} + +func (i CloudProjectDatabaseOpensearchUserTimeoutsArgs) ToCloudProjectDatabaseOpensearchUserTimeoutsPtrOutput() CloudProjectDatabaseOpensearchUserTimeoutsPtrOutput { + return i.ToCloudProjectDatabaseOpensearchUserTimeoutsPtrOutputWithContext(context.Background()) +} + +func (i CloudProjectDatabaseOpensearchUserTimeoutsArgs) ToCloudProjectDatabaseOpensearchUserTimeoutsPtrOutputWithContext(ctx context.Context) CloudProjectDatabaseOpensearchUserTimeoutsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectDatabaseOpensearchUserTimeoutsOutput).ToCloudProjectDatabaseOpensearchUserTimeoutsPtrOutputWithContext(ctx) +} + +// CloudProjectDatabaseOpensearchUserTimeoutsPtrInput is an input type that accepts CloudProjectDatabaseOpensearchUserTimeoutsArgs, CloudProjectDatabaseOpensearchUserTimeoutsPtr and CloudProjectDatabaseOpensearchUserTimeoutsPtrOutput values. +// You can construct a concrete instance of `CloudProjectDatabaseOpensearchUserTimeoutsPtrInput` via: +// +// CloudProjectDatabaseOpensearchUserTimeoutsArgs{...} +// +// or: +// +// nil +type CloudProjectDatabaseOpensearchUserTimeoutsPtrInput interface { + pulumi.Input + + ToCloudProjectDatabaseOpensearchUserTimeoutsPtrOutput() CloudProjectDatabaseOpensearchUserTimeoutsPtrOutput + ToCloudProjectDatabaseOpensearchUserTimeoutsPtrOutputWithContext(context.Context) CloudProjectDatabaseOpensearchUserTimeoutsPtrOutput +} + +type cloudProjectDatabaseOpensearchUserTimeoutsPtrType CloudProjectDatabaseOpensearchUserTimeoutsArgs + +func CloudProjectDatabaseOpensearchUserTimeoutsPtr(v *CloudProjectDatabaseOpensearchUserTimeoutsArgs) CloudProjectDatabaseOpensearchUserTimeoutsPtrInput { + return (*cloudProjectDatabaseOpensearchUserTimeoutsPtrType)(v) +} + +func (*cloudProjectDatabaseOpensearchUserTimeoutsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**CloudProjectDatabaseOpensearchUserTimeouts)(nil)).Elem() +} + +func (i *cloudProjectDatabaseOpensearchUserTimeoutsPtrType) ToCloudProjectDatabaseOpensearchUserTimeoutsPtrOutput() CloudProjectDatabaseOpensearchUserTimeoutsPtrOutput { + return i.ToCloudProjectDatabaseOpensearchUserTimeoutsPtrOutputWithContext(context.Background()) +} + +func (i *cloudProjectDatabaseOpensearchUserTimeoutsPtrType) ToCloudProjectDatabaseOpensearchUserTimeoutsPtrOutputWithContext(ctx context.Context) CloudProjectDatabaseOpensearchUserTimeoutsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectDatabaseOpensearchUserTimeoutsPtrOutput) +} + +type CloudProjectDatabaseOpensearchUserTimeoutsOutput struct{ *pulumi.OutputState } + +func (CloudProjectDatabaseOpensearchUserTimeoutsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*CloudProjectDatabaseOpensearchUserTimeouts)(nil)).Elem() +} + +func (o CloudProjectDatabaseOpensearchUserTimeoutsOutput) ToCloudProjectDatabaseOpensearchUserTimeoutsOutput() CloudProjectDatabaseOpensearchUserTimeoutsOutput { + return o +} + +func (o CloudProjectDatabaseOpensearchUserTimeoutsOutput) ToCloudProjectDatabaseOpensearchUserTimeoutsOutputWithContext(ctx context.Context) CloudProjectDatabaseOpensearchUserTimeoutsOutput { + return o +} + +func (o CloudProjectDatabaseOpensearchUserTimeoutsOutput) ToCloudProjectDatabaseOpensearchUserTimeoutsPtrOutput() CloudProjectDatabaseOpensearchUserTimeoutsPtrOutput { + return o.ToCloudProjectDatabaseOpensearchUserTimeoutsPtrOutputWithContext(context.Background()) +} + +func (o CloudProjectDatabaseOpensearchUserTimeoutsOutput) ToCloudProjectDatabaseOpensearchUserTimeoutsPtrOutputWithContext(ctx context.Context) CloudProjectDatabaseOpensearchUserTimeoutsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v CloudProjectDatabaseOpensearchUserTimeouts) *CloudProjectDatabaseOpensearchUserTimeouts { + return &v + }).(CloudProjectDatabaseOpensearchUserTimeoutsPtrOutput) +} + +func (o CloudProjectDatabaseOpensearchUserTimeoutsOutput) Create() pulumi.StringPtrOutput { + return o.ApplyT(func(v CloudProjectDatabaseOpensearchUserTimeouts) *string { return v.Create }).(pulumi.StringPtrOutput) +} + +func (o CloudProjectDatabaseOpensearchUserTimeoutsOutput) Delete() pulumi.StringPtrOutput { + return o.ApplyT(func(v CloudProjectDatabaseOpensearchUserTimeouts) *string { return v.Delete }).(pulumi.StringPtrOutput) +} + +func (o CloudProjectDatabaseOpensearchUserTimeoutsOutput) Update() pulumi.StringPtrOutput { + return o.ApplyT(func(v CloudProjectDatabaseOpensearchUserTimeouts) *string { return v.Update }).(pulumi.StringPtrOutput) +} + +type CloudProjectDatabaseOpensearchUserTimeoutsPtrOutput struct{ *pulumi.OutputState } + +func (CloudProjectDatabaseOpensearchUserTimeoutsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**CloudProjectDatabaseOpensearchUserTimeouts)(nil)).Elem() +} + +func (o CloudProjectDatabaseOpensearchUserTimeoutsPtrOutput) ToCloudProjectDatabaseOpensearchUserTimeoutsPtrOutput() CloudProjectDatabaseOpensearchUserTimeoutsPtrOutput { + return o +} + +func (o CloudProjectDatabaseOpensearchUserTimeoutsPtrOutput) ToCloudProjectDatabaseOpensearchUserTimeoutsPtrOutputWithContext(ctx context.Context) CloudProjectDatabaseOpensearchUserTimeoutsPtrOutput { + return o +} + +func (o CloudProjectDatabaseOpensearchUserTimeoutsPtrOutput) Elem() CloudProjectDatabaseOpensearchUserTimeoutsOutput { + return o.ApplyT(func(v *CloudProjectDatabaseOpensearchUserTimeouts) CloudProjectDatabaseOpensearchUserTimeouts { + if v != nil { + return *v + } + var ret CloudProjectDatabaseOpensearchUserTimeouts + return ret + }).(CloudProjectDatabaseOpensearchUserTimeoutsOutput) +} + +func (o CloudProjectDatabaseOpensearchUserTimeoutsPtrOutput) Create() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudProjectDatabaseOpensearchUserTimeouts) *string { + if v == nil { + return nil + } + return v.Create + }).(pulumi.StringPtrOutput) +} + +func (o CloudProjectDatabaseOpensearchUserTimeoutsPtrOutput) Delete() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudProjectDatabaseOpensearchUserTimeouts) *string { + if v == nil { + return nil + } + return v.Delete + }).(pulumi.StringPtrOutput) +} + +func (o CloudProjectDatabaseOpensearchUserTimeoutsPtrOutput) Update() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudProjectDatabaseOpensearchUserTimeouts) *string { + if v == nil { + return nil + } + return v.Update + }).(pulumi.StringPtrOutput) +} + +type CloudProjectDatabasePostgresqlConnectionPoolTimeouts struct { + Create *string `pulumi:"create"` + Delete *string `pulumi:"delete"` + Update *string `pulumi:"update"` +} + +// CloudProjectDatabasePostgresqlConnectionPoolTimeoutsInput is an input type that accepts CloudProjectDatabasePostgresqlConnectionPoolTimeoutsArgs and CloudProjectDatabasePostgresqlConnectionPoolTimeoutsOutput values. +// You can construct a concrete instance of `CloudProjectDatabasePostgresqlConnectionPoolTimeoutsInput` via: +// +// CloudProjectDatabasePostgresqlConnectionPoolTimeoutsArgs{...} +type CloudProjectDatabasePostgresqlConnectionPoolTimeoutsInput interface { + pulumi.Input + + ToCloudProjectDatabasePostgresqlConnectionPoolTimeoutsOutput() CloudProjectDatabasePostgresqlConnectionPoolTimeoutsOutput + ToCloudProjectDatabasePostgresqlConnectionPoolTimeoutsOutputWithContext(context.Context) CloudProjectDatabasePostgresqlConnectionPoolTimeoutsOutput +} + +type CloudProjectDatabasePostgresqlConnectionPoolTimeoutsArgs struct { + Create pulumi.StringPtrInput `pulumi:"create"` + Delete pulumi.StringPtrInput `pulumi:"delete"` + Update pulumi.StringPtrInput `pulumi:"update"` +} + +func (CloudProjectDatabasePostgresqlConnectionPoolTimeoutsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*CloudProjectDatabasePostgresqlConnectionPoolTimeouts)(nil)).Elem() +} + +func (i CloudProjectDatabasePostgresqlConnectionPoolTimeoutsArgs) ToCloudProjectDatabasePostgresqlConnectionPoolTimeoutsOutput() CloudProjectDatabasePostgresqlConnectionPoolTimeoutsOutput { + return i.ToCloudProjectDatabasePostgresqlConnectionPoolTimeoutsOutputWithContext(context.Background()) +} + +func (i CloudProjectDatabasePostgresqlConnectionPoolTimeoutsArgs) ToCloudProjectDatabasePostgresqlConnectionPoolTimeoutsOutputWithContext(ctx context.Context) CloudProjectDatabasePostgresqlConnectionPoolTimeoutsOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectDatabasePostgresqlConnectionPoolTimeoutsOutput) +} + +func (i CloudProjectDatabasePostgresqlConnectionPoolTimeoutsArgs) ToCloudProjectDatabasePostgresqlConnectionPoolTimeoutsPtrOutput() CloudProjectDatabasePostgresqlConnectionPoolTimeoutsPtrOutput { + return i.ToCloudProjectDatabasePostgresqlConnectionPoolTimeoutsPtrOutputWithContext(context.Background()) +} + +func (i CloudProjectDatabasePostgresqlConnectionPoolTimeoutsArgs) ToCloudProjectDatabasePostgresqlConnectionPoolTimeoutsPtrOutputWithContext(ctx context.Context) CloudProjectDatabasePostgresqlConnectionPoolTimeoutsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectDatabasePostgresqlConnectionPoolTimeoutsOutput).ToCloudProjectDatabasePostgresqlConnectionPoolTimeoutsPtrOutputWithContext(ctx) +} + +// CloudProjectDatabasePostgresqlConnectionPoolTimeoutsPtrInput is an input type that accepts CloudProjectDatabasePostgresqlConnectionPoolTimeoutsArgs, CloudProjectDatabasePostgresqlConnectionPoolTimeoutsPtr and CloudProjectDatabasePostgresqlConnectionPoolTimeoutsPtrOutput values. +// You can construct a concrete instance of `CloudProjectDatabasePostgresqlConnectionPoolTimeoutsPtrInput` via: +// +// CloudProjectDatabasePostgresqlConnectionPoolTimeoutsArgs{...} +// +// or: +// +// nil +type CloudProjectDatabasePostgresqlConnectionPoolTimeoutsPtrInput interface { + pulumi.Input + + ToCloudProjectDatabasePostgresqlConnectionPoolTimeoutsPtrOutput() CloudProjectDatabasePostgresqlConnectionPoolTimeoutsPtrOutput + ToCloudProjectDatabasePostgresqlConnectionPoolTimeoutsPtrOutputWithContext(context.Context) CloudProjectDatabasePostgresqlConnectionPoolTimeoutsPtrOutput +} + +type cloudProjectDatabasePostgresqlConnectionPoolTimeoutsPtrType CloudProjectDatabasePostgresqlConnectionPoolTimeoutsArgs + +func CloudProjectDatabasePostgresqlConnectionPoolTimeoutsPtr(v *CloudProjectDatabasePostgresqlConnectionPoolTimeoutsArgs) CloudProjectDatabasePostgresqlConnectionPoolTimeoutsPtrInput { + return (*cloudProjectDatabasePostgresqlConnectionPoolTimeoutsPtrType)(v) +} + +func (*cloudProjectDatabasePostgresqlConnectionPoolTimeoutsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**CloudProjectDatabasePostgresqlConnectionPoolTimeouts)(nil)).Elem() +} + +func (i *cloudProjectDatabasePostgresqlConnectionPoolTimeoutsPtrType) ToCloudProjectDatabasePostgresqlConnectionPoolTimeoutsPtrOutput() CloudProjectDatabasePostgresqlConnectionPoolTimeoutsPtrOutput { + return i.ToCloudProjectDatabasePostgresqlConnectionPoolTimeoutsPtrOutputWithContext(context.Background()) +} + +func (i *cloudProjectDatabasePostgresqlConnectionPoolTimeoutsPtrType) ToCloudProjectDatabasePostgresqlConnectionPoolTimeoutsPtrOutputWithContext(ctx context.Context) CloudProjectDatabasePostgresqlConnectionPoolTimeoutsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectDatabasePostgresqlConnectionPoolTimeoutsPtrOutput) +} + +type CloudProjectDatabasePostgresqlConnectionPoolTimeoutsOutput struct{ *pulumi.OutputState } + +func (CloudProjectDatabasePostgresqlConnectionPoolTimeoutsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*CloudProjectDatabasePostgresqlConnectionPoolTimeouts)(nil)).Elem() +} + +func (o CloudProjectDatabasePostgresqlConnectionPoolTimeoutsOutput) ToCloudProjectDatabasePostgresqlConnectionPoolTimeoutsOutput() CloudProjectDatabasePostgresqlConnectionPoolTimeoutsOutput { + return o +} + +func (o CloudProjectDatabasePostgresqlConnectionPoolTimeoutsOutput) ToCloudProjectDatabasePostgresqlConnectionPoolTimeoutsOutputWithContext(ctx context.Context) CloudProjectDatabasePostgresqlConnectionPoolTimeoutsOutput { + return o +} + +func (o CloudProjectDatabasePostgresqlConnectionPoolTimeoutsOutput) ToCloudProjectDatabasePostgresqlConnectionPoolTimeoutsPtrOutput() CloudProjectDatabasePostgresqlConnectionPoolTimeoutsPtrOutput { + return o.ToCloudProjectDatabasePostgresqlConnectionPoolTimeoutsPtrOutputWithContext(context.Background()) +} + +func (o CloudProjectDatabasePostgresqlConnectionPoolTimeoutsOutput) ToCloudProjectDatabasePostgresqlConnectionPoolTimeoutsPtrOutputWithContext(ctx context.Context) CloudProjectDatabasePostgresqlConnectionPoolTimeoutsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v CloudProjectDatabasePostgresqlConnectionPoolTimeouts) *CloudProjectDatabasePostgresqlConnectionPoolTimeouts { + return &v + }).(CloudProjectDatabasePostgresqlConnectionPoolTimeoutsPtrOutput) +} + +func (o CloudProjectDatabasePostgresqlConnectionPoolTimeoutsOutput) Create() pulumi.StringPtrOutput { + return o.ApplyT(func(v CloudProjectDatabasePostgresqlConnectionPoolTimeouts) *string { return v.Create }).(pulumi.StringPtrOutput) +} + +func (o CloudProjectDatabasePostgresqlConnectionPoolTimeoutsOutput) Delete() pulumi.StringPtrOutput { + return o.ApplyT(func(v CloudProjectDatabasePostgresqlConnectionPoolTimeouts) *string { return v.Delete }).(pulumi.StringPtrOutput) +} + +func (o CloudProjectDatabasePostgresqlConnectionPoolTimeoutsOutput) Update() pulumi.StringPtrOutput { + return o.ApplyT(func(v CloudProjectDatabasePostgresqlConnectionPoolTimeouts) *string { return v.Update }).(pulumi.StringPtrOutput) +} + +type CloudProjectDatabasePostgresqlConnectionPoolTimeoutsPtrOutput struct{ *pulumi.OutputState } + +func (CloudProjectDatabasePostgresqlConnectionPoolTimeoutsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**CloudProjectDatabasePostgresqlConnectionPoolTimeouts)(nil)).Elem() +} + +func (o CloudProjectDatabasePostgresqlConnectionPoolTimeoutsPtrOutput) ToCloudProjectDatabasePostgresqlConnectionPoolTimeoutsPtrOutput() CloudProjectDatabasePostgresqlConnectionPoolTimeoutsPtrOutput { + return o +} + +func (o CloudProjectDatabasePostgresqlConnectionPoolTimeoutsPtrOutput) ToCloudProjectDatabasePostgresqlConnectionPoolTimeoutsPtrOutputWithContext(ctx context.Context) CloudProjectDatabasePostgresqlConnectionPoolTimeoutsPtrOutput { + return o +} + +func (o CloudProjectDatabasePostgresqlConnectionPoolTimeoutsPtrOutput) Elem() CloudProjectDatabasePostgresqlConnectionPoolTimeoutsOutput { + return o.ApplyT(func(v *CloudProjectDatabasePostgresqlConnectionPoolTimeouts) CloudProjectDatabasePostgresqlConnectionPoolTimeouts { + if v != nil { + return *v + } + var ret CloudProjectDatabasePostgresqlConnectionPoolTimeouts + return ret + }).(CloudProjectDatabasePostgresqlConnectionPoolTimeoutsOutput) +} + +func (o CloudProjectDatabasePostgresqlConnectionPoolTimeoutsPtrOutput) Create() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudProjectDatabasePostgresqlConnectionPoolTimeouts) *string { + if v == nil { + return nil + } + return v.Create + }).(pulumi.StringPtrOutput) +} + +func (o CloudProjectDatabasePostgresqlConnectionPoolTimeoutsPtrOutput) Delete() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudProjectDatabasePostgresqlConnectionPoolTimeouts) *string { + if v == nil { + return nil + } + return v.Delete + }).(pulumi.StringPtrOutput) +} + +func (o CloudProjectDatabasePostgresqlConnectionPoolTimeoutsPtrOutput) Update() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudProjectDatabasePostgresqlConnectionPoolTimeouts) *string { + if v == nil { + return nil + } + return v.Update + }).(pulumi.StringPtrOutput) +} + +type CloudProjectDatabasePostgresqlUserTimeouts struct { + Create *string `pulumi:"create"` + Delete *string `pulumi:"delete"` + Update *string `pulumi:"update"` +} + +// CloudProjectDatabasePostgresqlUserTimeoutsInput is an input type that accepts CloudProjectDatabasePostgresqlUserTimeoutsArgs and CloudProjectDatabasePostgresqlUserTimeoutsOutput values. +// You can construct a concrete instance of `CloudProjectDatabasePostgresqlUserTimeoutsInput` via: +// +// CloudProjectDatabasePostgresqlUserTimeoutsArgs{...} +type CloudProjectDatabasePostgresqlUserTimeoutsInput interface { + pulumi.Input + + ToCloudProjectDatabasePostgresqlUserTimeoutsOutput() CloudProjectDatabasePostgresqlUserTimeoutsOutput + ToCloudProjectDatabasePostgresqlUserTimeoutsOutputWithContext(context.Context) CloudProjectDatabasePostgresqlUserTimeoutsOutput +} + +type CloudProjectDatabasePostgresqlUserTimeoutsArgs struct { + Create pulumi.StringPtrInput `pulumi:"create"` + Delete pulumi.StringPtrInput `pulumi:"delete"` + Update pulumi.StringPtrInput `pulumi:"update"` +} + +func (CloudProjectDatabasePostgresqlUserTimeoutsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*CloudProjectDatabasePostgresqlUserTimeouts)(nil)).Elem() +} + +func (i CloudProjectDatabasePostgresqlUserTimeoutsArgs) ToCloudProjectDatabasePostgresqlUserTimeoutsOutput() CloudProjectDatabasePostgresqlUserTimeoutsOutput { + return i.ToCloudProjectDatabasePostgresqlUserTimeoutsOutputWithContext(context.Background()) +} + +func (i CloudProjectDatabasePostgresqlUserTimeoutsArgs) ToCloudProjectDatabasePostgresqlUserTimeoutsOutputWithContext(ctx context.Context) CloudProjectDatabasePostgresqlUserTimeoutsOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectDatabasePostgresqlUserTimeoutsOutput) +} + +func (i CloudProjectDatabasePostgresqlUserTimeoutsArgs) ToCloudProjectDatabasePostgresqlUserTimeoutsPtrOutput() CloudProjectDatabasePostgresqlUserTimeoutsPtrOutput { + return i.ToCloudProjectDatabasePostgresqlUserTimeoutsPtrOutputWithContext(context.Background()) +} + +func (i CloudProjectDatabasePostgresqlUserTimeoutsArgs) ToCloudProjectDatabasePostgresqlUserTimeoutsPtrOutputWithContext(ctx context.Context) CloudProjectDatabasePostgresqlUserTimeoutsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectDatabasePostgresqlUserTimeoutsOutput).ToCloudProjectDatabasePostgresqlUserTimeoutsPtrOutputWithContext(ctx) +} + +// CloudProjectDatabasePostgresqlUserTimeoutsPtrInput is an input type that accepts CloudProjectDatabasePostgresqlUserTimeoutsArgs, CloudProjectDatabasePostgresqlUserTimeoutsPtr and CloudProjectDatabasePostgresqlUserTimeoutsPtrOutput values. +// You can construct a concrete instance of `CloudProjectDatabasePostgresqlUserTimeoutsPtrInput` via: +// +// CloudProjectDatabasePostgresqlUserTimeoutsArgs{...} +// +// or: +// +// nil +type CloudProjectDatabasePostgresqlUserTimeoutsPtrInput interface { + pulumi.Input + + ToCloudProjectDatabasePostgresqlUserTimeoutsPtrOutput() CloudProjectDatabasePostgresqlUserTimeoutsPtrOutput + ToCloudProjectDatabasePostgresqlUserTimeoutsPtrOutputWithContext(context.Context) CloudProjectDatabasePostgresqlUserTimeoutsPtrOutput +} + +type cloudProjectDatabasePostgresqlUserTimeoutsPtrType CloudProjectDatabasePostgresqlUserTimeoutsArgs + +func CloudProjectDatabasePostgresqlUserTimeoutsPtr(v *CloudProjectDatabasePostgresqlUserTimeoutsArgs) CloudProjectDatabasePostgresqlUserTimeoutsPtrInput { + return (*cloudProjectDatabasePostgresqlUserTimeoutsPtrType)(v) +} + +func (*cloudProjectDatabasePostgresqlUserTimeoutsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**CloudProjectDatabasePostgresqlUserTimeouts)(nil)).Elem() +} + +func (i *cloudProjectDatabasePostgresqlUserTimeoutsPtrType) ToCloudProjectDatabasePostgresqlUserTimeoutsPtrOutput() CloudProjectDatabasePostgresqlUserTimeoutsPtrOutput { + return i.ToCloudProjectDatabasePostgresqlUserTimeoutsPtrOutputWithContext(context.Background()) +} + +func (i *cloudProjectDatabasePostgresqlUserTimeoutsPtrType) ToCloudProjectDatabasePostgresqlUserTimeoutsPtrOutputWithContext(ctx context.Context) CloudProjectDatabasePostgresqlUserTimeoutsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectDatabasePostgresqlUserTimeoutsPtrOutput) +} + +type CloudProjectDatabasePostgresqlUserTimeoutsOutput struct{ *pulumi.OutputState } + +func (CloudProjectDatabasePostgresqlUserTimeoutsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*CloudProjectDatabasePostgresqlUserTimeouts)(nil)).Elem() +} + +func (o CloudProjectDatabasePostgresqlUserTimeoutsOutput) ToCloudProjectDatabasePostgresqlUserTimeoutsOutput() CloudProjectDatabasePostgresqlUserTimeoutsOutput { + return o +} + +func (o CloudProjectDatabasePostgresqlUserTimeoutsOutput) ToCloudProjectDatabasePostgresqlUserTimeoutsOutputWithContext(ctx context.Context) CloudProjectDatabasePostgresqlUserTimeoutsOutput { + return o +} + +func (o CloudProjectDatabasePostgresqlUserTimeoutsOutput) ToCloudProjectDatabasePostgresqlUserTimeoutsPtrOutput() CloudProjectDatabasePostgresqlUserTimeoutsPtrOutput { + return o.ToCloudProjectDatabasePostgresqlUserTimeoutsPtrOutputWithContext(context.Background()) +} + +func (o CloudProjectDatabasePostgresqlUserTimeoutsOutput) ToCloudProjectDatabasePostgresqlUserTimeoutsPtrOutputWithContext(ctx context.Context) CloudProjectDatabasePostgresqlUserTimeoutsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v CloudProjectDatabasePostgresqlUserTimeouts) *CloudProjectDatabasePostgresqlUserTimeouts { + return &v + }).(CloudProjectDatabasePostgresqlUserTimeoutsPtrOutput) +} + +func (o CloudProjectDatabasePostgresqlUserTimeoutsOutput) Create() pulumi.StringPtrOutput { + return o.ApplyT(func(v CloudProjectDatabasePostgresqlUserTimeouts) *string { return v.Create }).(pulumi.StringPtrOutput) +} + +func (o CloudProjectDatabasePostgresqlUserTimeoutsOutput) Delete() pulumi.StringPtrOutput { + return o.ApplyT(func(v CloudProjectDatabasePostgresqlUserTimeouts) *string { return v.Delete }).(pulumi.StringPtrOutput) +} + +func (o CloudProjectDatabasePostgresqlUserTimeoutsOutput) Update() pulumi.StringPtrOutput { + return o.ApplyT(func(v CloudProjectDatabasePostgresqlUserTimeouts) *string { return v.Update }).(pulumi.StringPtrOutput) +} + +type CloudProjectDatabasePostgresqlUserTimeoutsPtrOutput struct{ *pulumi.OutputState } + +func (CloudProjectDatabasePostgresqlUserTimeoutsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**CloudProjectDatabasePostgresqlUserTimeouts)(nil)).Elem() +} + +func (o CloudProjectDatabasePostgresqlUserTimeoutsPtrOutput) ToCloudProjectDatabasePostgresqlUserTimeoutsPtrOutput() CloudProjectDatabasePostgresqlUserTimeoutsPtrOutput { + return o +} + +func (o CloudProjectDatabasePostgresqlUserTimeoutsPtrOutput) ToCloudProjectDatabasePostgresqlUserTimeoutsPtrOutputWithContext(ctx context.Context) CloudProjectDatabasePostgresqlUserTimeoutsPtrOutput { + return o +} + +func (o CloudProjectDatabasePostgresqlUserTimeoutsPtrOutput) Elem() CloudProjectDatabasePostgresqlUserTimeoutsOutput { + return o.ApplyT(func(v *CloudProjectDatabasePostgresqlUserTimeouts) CloudProjectDatabasePostgresqlUserTimeouts { + if v != nil { + return *v + } + var ret CloudProjectDatabasePostgresqlUserTimeouts + return ret + }).(CloudProjectDatabasePostgresqlUserTimeoutsOutput) +} + +func (o CloudProjectDatabasePostgresqlUserTimeoutsPtrOutput) Create() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudProjectDatabasePostgresqlUserTimeouts) *string { + if v == nil { + return nil + } + return v.Create + }).(pulumi.StringPtrOutput) +} + +func (o CloudProjectDatabasePostgresqlUserTimeoutsPtrOutput) Delete() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudProjectDatabasePostgresqlUserTimeouts) *string { + if v == nil { + return nil + } + return v.Delete + }).(pulumi.StringPtrOutput) +} + +func (o CloudProjectDatabasePostgresqlUserTimeoutsPtrOutput) Update() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudProjectDatabasePostgresqlUserTimeouts) *string { + if v == nil { + return nil + } + return v.Update + }).(pulumi.StringPtrOutput) +} + +type CloudProjectDatabaseRedisUserTimeouts struct { + Create *string `pulumi:"create"` + Delete *string `pulumi:"delete"` + Update *string `pulumi:"update"` +} + +// CloudProjectDatabaseRedisUserTimeoutsInput is an input type that accepts CloudProjectDatabaseRedisUserTimeoutsArgs and CloudProjectDatabaseRedisUserTimeoutsOutput values. +// You can construct a concrete instance of `CloudProjectDatabaseRedisUserTimeoutsInput` via: +// +// CloudProjectDatabaseRedisUserTimeoutsArgs{...} +type CloudProjectDatabaseRedisUserTimeoutsInput interface { + pulumi.Input + + ToCloudProjectDatabaseRedisUserTimeoutsOutput() CloudProjectDatabaseRedisUserTimeoutsOutput + ToCloudProjectDatabaseRedisUserTimeoutsOutputWithContext(context.Context) CloudProjectDatabaseRedisUserTimeoutsOutput +} + +type CloudProjectDatabaseRedisUserTimeoutsArgs struct { + Create pulumi.StringPtrInput `pulumi:"create"` + Delete pulumi.StringPtrInput `pulumi:"delete"` + Update pulumi.StringPtrInput `pulumi:"update"` +} + +func (CloudProjectDatabaseRedisUserTimeoutsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*CloudProjectDatabaseRedisUserTimeouts)(nil)).Elem() +} + +func (i CloudProjectDatabaseRedisUserTimeoutsArgs) ToCloudProjectDatabaseRedisUserTimeoutsOutput() CloudProjectDatabaseRedisUserTimeoutsOutput { + return i.ToCloudProjectDatabaseRedisUserTimeoutsOutputWithContext(context.Background()) +} + +func (i CloudProjectDatabaseRedisUserTimeoutsArgs) ToCloudProjectDatabaseRedisUserTimeoutsOutputWithContext(ctx context.Context) CloudProjectDatabaseRedisUserTimeoutsOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectDatabaseRedisUserTimeoutsOutput) +} + +func (i CloudProjectDatabaseRedisUserTimeoutsArgs) ToCloudProjectDatabaseRedisUserTimeoutsPtrOutput() CloudProjectDatabaseRedisUserTimeoutsPtrOutput { + return i.ToCloudProjectDatabaseRedisUserTimeoutsPtrOutputWithContext(context.Background()) +} + +func (i CloudProjectDatabaseRedisUserTimeoutsArgs) ToCloudProjectDatabaseRedisUserTimeoutsPtrOutputWithContext(ctx context.Context) CloudProjectDatabaseRedisUserTimeoutsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectDatabaseRedisUserTimeoutsOutput).ToCloudProjectDatabaseRedisUserTimeoutsPtrOutputWithContext(ctx) +} + +// CloudProjectDatabaseRedisUserTimeoutsPtrInput is an input type that accepts CloudProjectDatabaseRedisUserTimeoutsArgs, CloudProjectDatabaseRedisUserTimeoutsPtr and CloudProjectDatabaseRedisUserTimeoutsPtrOutput values. +// You can construct a concrete instance of `CloudProjectDatabaseRedisUserTimeoutsPtrInput` via: +// +// CloudProjectDatabaseRedisUserTimeoutsArgs{...} +// +// or: +// +// nil +type CloudProjectDatabaseRedisUserTimeoutsPtrInput interface { + pulumi.Input + + ToCloudProjectDatabaseRedisUserTimeoutsPtrOutput() CloudProjectDatabaseRedisUserTimeoutsPtrOutput + ToCloudProjectDatabaseRedisUserTimeoutsPtrOutputWithContext(context.Context) CloudProjectDatabaseRedisUserTimeoutsPtrOutput +} + +type cloudProjectDatabaseRedisUserTimeoutsPtrType CloudProjectDatabaseRedisUserTimeoutsArgs + +func CloudProjectDatabaseRedisUserTimeoutsPtr(v *CloudProjectDatabaseRedisUserTimeoutsArgs) CloudProjectDatabaseRedisUserTimeoutsPtrInput { + return (*cloudProjectDatabaseRedisUserTimeoutsPtrType)(v) +} + +func (*cloudProjectDatabaseRedisUserTimeoutsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**CloudProjectDatabaseRedisUserTimeouts)(nil)).Elem() +} + +func (i *cloudProjectDatabaseRedisUserTimeoutsPtrType) ToCloudProjectDatabaseRedisUserTimeoutsPtrOutput() CloudProjectDatabaseRedisUserTimeoutsPtrOutput { + return i.ToCloudProjectDatabaseRedisUserTimeoutsPtrOutputWithContext(context.Background()) +} + +func (i *cloudProjectDatabaseRedisUserTimeoutsPtrType) ToCloudProjectDatabaseRedisUserTimeoutsPtrOutputWithContext(ctx context.Context) CloudProjectDatabaseRedisUserTimeoutsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectDatabaseRedisUserTimeoutsPtrOutput) +} + +type CloudProjectDatabaseRedisUserTimeoutsOutput struct{ *pulumi.OutputState } + +func (CloudProjectDatabaseRedisUserTimeoutsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*CloudProjectDatabaseRedisUserTimeouts)(nil)).Elem() +} + +func (o CloudProjectDatabaseRedisUserTimeoutsOutput) ToCloudProjectDatabaseRedisUserTimeoutsOutput() CloudProjectDatabaseRedisUserTimeoutsOutput { + return o +} + +func (o CloudProjectDatabaseRedisUserTimeoutsOutput) ToCloudProjectDatabaseRedisUserTimeoutsOutputWithContext(ctx context.Context) CloudProjectDatabaseRedisUserTimeoutsOutput { + return o +} + +func (o CloudProjectDatabaseRedisUserTimeoutsOutput) ToCloudProjectDatabaseRedisUserTimeoutsPtrOutput() CloudProjectDatabaseRedisUserTimeoutsPtrOutput { + return o.ToCloudProjectDatabaseRedisUserTimeoutsPtrOutputWithContext(context.Background()) +} + +func (o CloudProjectDatabaseRedisUserTimeoutsOutput) ToCloudProjectDatabaseRedisUserTimeoutsPtrOutputWithContext(ctx context.Context) CloudProjectDatabaseRedisUserTimeoutsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v CloudProjectDatabaseRedisUserTimeouts) *CloudProjectDatabaseRedisUserTimeouts { + return &v + }).(CloudProjectDatabaseRedisUserTimeoutsPtrOutput) +} + +func (o CloudProjectDatabaseRedisUserTimeoutsOutput) Create() pulumi.StringPtrOutput { + return o.ApplyT(func(v CloudProjectDatabaseRedisUserTimeouts) *string { return v.Create }).(pulumi.StringPtrOutput) +} + +func (o CloudProjectDatabaseRedisUserTimeoutsOutput) Delete() pulumi.StringPtrOutput { + return o.ApplyT(func(v CloudProjectDatabaseRedisUserTimeouts) *string { return v.Delete }).(pulumi.StringPtrOutput) +} + +func (o CloudProjectDatabaseRedisUserTimeoutsOutput) Update() pulumi.StringPtrOutput { + return o.ApplyT(func(v CloudProjectDatabaseRedisUserTimeouts) *string { return v.Update }).(pulumi.StringPtrOutput) +} + +type CloudProjectDatabaseRedisUserTimeoutsPtrOutput struct{ *pulumi.OutputState } + +func (CloudProjectDatabaseRedisUserTimeoutsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**CloudProjectDatabaseRedisUserTimeouts)(nil)).Elem() +} + +func (o CloudProjectDatabaseRedisUserTimeoutsPtrOutput) ToCloudProjectDatabaseRedisUserTimeoutsPtrOutput() CloudProjectDatabaseRedisUserTimeoutsPtrOutput { + return o +} + +func (o CloudProjectDatabaseRedisUserTimeoutsPtrOutput) ToCloudProjectDatabaseRedisUserTimeoutsPtrOutputWithContext(ctx context.Context) CloudProjectDatabaseRedisUserTimeoutsPtrOutput { + return o +} + +func (o CloudProjectDatabaseRedisUserTimeoutsPtrOutput) Elem() CloudProjectDatabaseRedisUserTimeoutsOutput { + return o.ApplyT(func(v *CloudProjectDatabaseRedisUserTimeouts) CloudProjectDatabaseRedisUserTimeouts { + if v != nil { + return *v + } + var ret CloudProjectDatabaseRedisUserTimeouts + return ret + }).(CloudProjectDatabaseRedisUserTimeoutsOutput) +} + +func (o CloudProjectDatabaseRedisUserTimeoutsPtrOutput) Create() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudProjectDatabaseRedisUserTimeouts) *string { + if v == nil { + return nil + } + return v.Create + }).(pulumi.StringPtrOutput) +} + +func (o CloudProjectDatabaseRedisUserTimeoutsPtrOutput) Delete() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudProjectDatabaseRedisUserTimeouts) *string { + if v == nil { + return nil + } + return v.Delete + }).(pulumi.StringPtrOutput) +} + +func (o CloudProjectDatabaseRedisUserTimeoutsPtrOutput) Update() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudProjectDatabaseRedisUserTimeouts) *string { + if v == nil { + return nil + } + return v.Update + }).(pulumi.StringPtrOutput) +} + +type CloudProjectDatabaseTimeouts struct { + Create *string `pulumi:"create"` + Delete *string `pulumi:"delete"` + Update *string `pulumi:"update"` +} + +// CloudProjectDatabaseTimeoutsInput is an input type that accepts CloudProjectDatabaseTimeoutsArgs and CloudProjectDatabaseTimeoutsOutput values. +// You can construct a concrete instance of `CloudProjectDatabaseTimeoutsInput` via: +// +// CloudProjectDatabaseTimeoutsArgs{...} +type CloudProjectDatabaseTimeoutsInput interface { + pulumi.Input + + ToCloudProjectDatabaseTimeoutsOutput() CloudProjectDatabaseTimeoutsOutput + ToCloudProjectDatabaseTimeoutsOutputWithContext(context.Context) CloudProjectDatabaseTimeoutsOutput +} + +type CloudProjectDatabaseTimeoutsArgs struct { + Create pulumi.StringPtrInput `pulumi:"create"` + Delete pulumi.StringPtrInput `pulumi:"delete"` + Update pulumi.StringPtrInput `pulumi:"update"` +} + +func (CloudProjectDatabaseTimeoutsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*CloudProjectDatabaseTimeouts)(nil)).Elem() +} + +func (i CloudProjectDatabaseTimeoutsArgs) ToCloudProjectDatabaseTimeoutsOutput() CloudProjectDatabaseTimeoutsOutput { + return i.ToCloudProjectDatabaseTimeoutsOutputWithContext(context.Background()) +} + +func (i CloudProjectDatabaseTimeoutsArgs) ToCloudProjectDatabaseTimeoutsOutputWithContext(ctx context.Context) CloudProjectDatabaseTimeoutsOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectDatabaseTimeoutsOutput) +} + +func (i CloudProjectDatabaseTimeoutsArgs) ToCloudProjectDatabaseTimeoutsPtrOutput() CloudProjectDatabaseTimeoutsPtrOutput { + return i.ToCloudProjectDatabaseTimeoutsPtrOutputWithContext(context.Background()) +} + +func (i CloudProjectDatabaseTimeoutsArgs) ToCloudProjectDatabaseTimeoutsPtrOutputWithContext(ctx context.Context) CloudProjectDatabaseTimeoutsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectDatabaseTimeoutsOutput).ToCloudProjectDatabaseTimeoutsPtrOutputWithContext(ctx) +} + +// CloudProjectDatabaseTimeoutsPtrInput is an input type that accepts CloudProjectDatabaseTimeoutsArgs, CloudProjectDatabaseTimeoutsPtr and CloudProjectDatabaseTimeoutsPtrOutput values. +// You can construct a concrete instance of `CloudProjectDatabaseTimeoutsPtrInput` via: +// +// CloudProjectDatabaseTimeoutsArgs{...} +// +// or: +// +// nil +type CloudProjectDatabaseTimeoutsPtrInput interface { + pulumi.Input + + ToCloudProjectDatabaseTimeoutsPtrOutput() CloudProjectDatabaseTimeoutsPtrOutput + ToCloudProjectDatabaseTimeoutsPtrOutputWithContext(context.Context) CloudProjectDatabaseTimeoutsPtrOutput +} + +type cloudProjectDatabaseTimeoutsPtrType CloudProjectDatabaseTimeoutsArgs + +func CloudProjectDatabaseTimeoutsPtr(v *CloudProjectDatabaseTimeoutsArgs) CloudProjectDatabaseTimeoutsPtrInput { + return (*cloudProjectDatabaseTimeoutsPtrType)(v) +} + +func (*cloudProjectDatabaseTimeoutsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**CloudProjectDatabaseTimeouts)(nil)).Elem() +} + +func (i *cloudProjectDatabaseTimeoutsPtrType) ToCloudProjectDatabaseTimeoutsPtrOutput() CloudProjectDatabaseTimeoutsPtrOutput { + return i.ToCloudProjectDatabaseTimeoutsPtrOutputWithContext(context.Background()) +} + +func (i *cloudProjectDatabaseTimeoutsPtrType) ToCloudProjectDatabaseTimeoutsPtrOutputWithContext(ctx context.Context) CloudProjectDatabaseTimeoutsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectDatabaseTimeoutsPtrOutput) +} + +type CloudProjectDatabaseTimeoutsOutput struct{ *pulumi.OutputState } + +func (CloudProjectDatabaseTimeoutsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*CloudProjectDatabaseTimeouts)(nil)).Elem() +} + +func (o CloudProjectDatabaseTimeoutsOutput) ToCloudProjectDatabaseTimeoutsOutput() CloudProjectDatabaseTimeoutsOutput { + return o +} + +func (o CloudProjectDatabaseTimeoutsOutput) ToCloudProjectDatabaseTimeoutsOutputWithContext(ctx context.Context) CloudProjectDatabaseTimeoutsOutput { + return o +} + +func (o CloudProjectDatabaseTimeoutsOutput) ToCloudProjectDatabaseTimeoutsPtrOutput() CloudProjectDatabaseTimeoutsPtrOutput { + return o.ToCloudProjectDatabaseTimeoutsPtrOutputWithContext(context.Background()) +} + +func (o CloudProjectDatabaseTimeoutsOutput) ToCloudProjectDatabaseTimeoutsPtrOutputWithContext(ctx context.Context) CloudProjectDatabaseTimeoutsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v CloudProjectDatabaseTimeouts) *CloudProjectDatabaseTimeouts { + return &v + }).(CloudProjectDatabaseTimeoutsPtrOutput) +} + +func (o CloudProjectDatabaseTimeoutsOutput) Create() pulumi.StringPtrOutput { + return o.ApplyT(func(v CloudProjectDatabaseTimeouts) *string { return v.Create }).(pulumi.StringPtrOutput) +} + +func (o CloudProjectDatabaseTimeoutsOutput) Delete() pulumi.StringPtrOutput { + return o.ApplyT(func(v CloudProjectDatabaseTimeouts) *string { return v.Delete }).(pulumi.StringPtrOutput) +} + +func (o CloudProjectDatabaseTimeoutsOutput) Update() pulumi.StringPtrOutput { + return o.ApplyT(func(v CloudProjectDatabaseTimeouts) *string { return v.Update }).(pulumi.StringPtrOutput) +} + +type CloudProjectDatabaseTimeoutsPtrOutput struct{ *pulumi.OutputState } + +func (CloudProjectDatabaseTimeoutsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**CloudProjectDatabaseTimeouts)(nil)).Elem() +} + +func (o CloudProjectDatabaseTimeoutsPtrOutput) ToCloudProjectDatabaseTimeoutsPtrOutput() CloudProjectDatabaseTimeoutsPtrOutput { + return o +} + +func (o CloudProjectDatabaseTimeoutsPtrOutput) ToCloudProjectDatabaseTimeoutsPtrOutputWithContext(ctx context.Context) CloudProjectDatabaseTimeoutsPtrOutput { + return o +} + +func (o CloudProjectDatabaseTimeoutsPtrOutput) Elem() CloudProjectDatabaseTimeoutsOutput { + return o.ApplyT(func(v *CloudProjectDatabaseTimeouts) CloudProjectDatabaseTimeouts { + if v != nil { + return *v + } + var ret CloudProjectDatabaseTimeouts + return ret + }).(CloudProjectDatabaseTimeoutsOutput) +} + +func (o CloudProjectDatabaseTimeoutsPtrOutput) Create() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudProjectDatabaseTimeouts) *string { + if v == nil { + return nil + } + return v.Create + }).(pulumi.StringPtrOutput) +} + +func (o CloudProjectDatabaseTimeoutsPtrOutput) Delete() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudProjectDatabaseTimeouts) *string { + if v == nil { + return nil + } + return v.Delete + }).(pulumi.StringPtrOutput) +} + +func (o CloudProjectDatabaseTimeoutsPtrOutput) Update() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudProjectDatabaseTimeouts) *string { + if v == nil { + return nil + } + return v.Update + }).(pulumi.StringPtrOutput) +} + +type CloudProjectDatabaseUserTimeouts struct { + Create *string `pulumi:"create"` + Delete *string `pulumi:"delete"` + Update *string `pulumi:"update"` +} + +// CloudProjectDatabaseUserTimeoutsInput is an input type that accepts CloudProjectDatabaseUserTimeoutsArgs and CloudProjectDatabaseUserTimeoutsOutput values. +// You can construct a concrete instance of `CloudProjectDatabaseUserTimeoutsInput` via: +// +// CloudProjectDatabaseUserTimeoutsArgs{...} +type CloudProjectDatabaseUserTimeoutsInput interface { + pulumi.Input + + ToCloudProjectDatabaseUserTimeoutsOutput() CloudProjectDatabaseUserTimeoutsOutput + ToCloudProjectDatabaseUserTimeoutsOutputWithContext(context.Context) CloudProjectDatabaseUserTimeoutsOutput +} + +type CloudProjectDatabaseUserTimeoutsArgs struct { + Create pulumi.StringPtrInput `pulumi:"create"` + Delete pulumi.StringPtrInput `pulumi:"delete"` + Update pulumi.StringPtrInput `pulumi:"update"` +} + +func (CloudProjectDatabaseUserTimeoutsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*CloudProjectDatabaseUserTimeouts)(nil)).Elem() +} + +func (i CloudProjectDatabaseUserTimeoutsArgs) ToCloudProjectDatabaseUserTimeoutsOutput() CloudProjectDatabaseUserTimeoutsOutput { + return i.ToCloudProjectDatabaseUserTimeoutsOutputWithContext(context.Background()) +} + +func (i CloudProjectDatabaseUserTimeoutsArgs) ToCloudProjectDatabaseUserTimeoutsOutputWithContext(ctx context.Context) CloudProjectDatabaseUserTimeoutsOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectDatabaseUserTimeoutsOutput) +} + +func (i CloudProjectDatabaseUserTimeoutsArgs) ToCloudProjectDatabaseUserTimeoutsPtrOutput() CloudProjectDatabaseUserTimeoutsPtrOutput { + return i.ToCloudProjectDatabaseUserTimeoutsPtrOutputWithContext(context.Background()) +} + +func (i CloudProjectDatabaseUserTimeoutsArgs) ToCloudProjectDatabaseUserTimeoutsPtrOutputWithContext(ctx context.Context) CloudProjectDatabaseUserTimeoutsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectDatabaseUserTimeoutsOutput).ToCloudProjectDatabaseUserTimeoutsPtrOutputWithContext(ctx) +} + +// CloudProjectDatabaseUserTimeoutsPtrInput is an input type that accepts CloudProjectDatabaseUserTimeoutsArgs, CloudProjectDatabaseUserTimeoutsPtr and CloudProjectDatabaseUserTimeoutsPtrOutput values. +// You can construct a concrete instance of `CloudProjectDatabaseUserTimeoutsPtrInput` via: +// +// CloudProjectDatabaseUserTimeoutsArgs{...} +// +// or: +// +// nil +type CloudProjectDatabaseUserTimeoutsPtrInput interface { + pulumi.Input + + ToCloudProjectDatabaseUserTimeoutsPtrOutput() CloudProjectDatabaseUserTimeoutsPtrOutput + ToCloudProjectDatabaseUserTimeoutsPtrOutputWithContext(context.Context) CloudProjectDatabaseUserTimeoutsPtrOutput +} + +type cloudProjectDatabaseUserTimeoutsPtrType CloudProjectDatabaseUserTimeoutsArgs + +func CloudProjectDatabaseUserTimeoutsPtr(v *CloudProjectDatabaseUserTimeoutsArgs) CloudProjectDatabaseUserTimeoutsPtrInput { + return (*cloudProjectDatabaseUserTimeoutsPtrType)(v) +} + +func (*cloudProjectDatabaseUserTimeoutsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**CloudProjectDatabaseUserTimeouts)(nil)).Elem() +} + +func (i *cloudProjectDatabaseUserTimeoutsPtrType) ToCloudProjectDatabaseUserTimeoutsPtrOutput() CloudProjectDatabaseUserTimeoutsPtrOutput { + return i.ToCloudProjectDatabaseUserTimeoutsPtrOutputWithContext(context.Background()) +} + +func (i *cloudProjectDatabaseUserTimeoutsPtrType) ToCloudProjectDatabaseUserTimeoutsPtrOutputWithContext(ctx context.Context) CloudProjectDatabaseUserTimeoutsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectDatabaseUserTimeoutsPtrOutput) +} + +type CloudProjectDatabaseUserTimeoutsOutput struct{ *pulumi.OutputState } + +func (CloudProjectDatabaseUserTimeoutsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*CloudProjectDatabaseUserTimeouts)(nil)).Elem() +} + +func (o CloudProjectDatabaseUserTimeoutsOutput) ToCloudProjectDatabaseUserTimeoutsOutput() CloudProjectDatabaseUserTimeoutsOutput { + return o +} + +func (o CloudProjectDatabaseUserTimeoutsOutput) ToCloudProjectDatabaseUserTimeoutsOutputWithContext(ctx context.Context) CloudProjectDatabaseUserTimeoutsOutput { + return o +} + +func (o CloudProjectDatabaseUserTimeoutsOutput) ToCloudProjectDatabaseUserTimeoutsPtrOutput() CloudProjectDatabaseUserTimeoutsPtrOutput { + return o.ToCloudProjectDatabaseUserTimeoutsPtrOutputWithContext(context.Background()) +} + +func (o CloudProjectDatabaseUserTimeoutsOutput) ToCloudProjectDatabaseUserTimeoutsPtrOutputWithContext(ctx context.Context) CloudProjectDatabaseUserTimeoutsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v CloudProjectDatabaseUserTimeouts) *CloudProjectDatabaseUserTimeouts { + return &v + }).(CloudProjectDatabaseUserTimeoutsPtrOutput) +} + +func (o CloudProjectDatabaseUserTimeoutsOutput) Create() pulumi.StringPtrOutput { + return o.ApplyT(func(v CloudProjectDatabaseUserTimeouts) *string { return v.Create }).(pulumi.StringPtrOutput) +} + +func (o CloudProjectDatabaseUserTimeoutsOutput) Delete() pulumi.StringPtrOutput { + return o.ApplyT(func(v CloudProjectDatabaseUserTimeouts) *string { return v.Delete }).(pulumi.StringPtrOutput) +} + +func (o CloudProjectDatabaseUserTimeoutsOutput) Update() pulumi.StringPtrOutput { + return o.ApplyT(func(v CloudProjectDatabaseUserTimeouts) *string { return v.Update }).(pulumi.StringPtrOutput) +} + +type CloudProjectDatabaseUserTimeoutsPtrOutput struct{ *pulumi.OutputState } + +func (CloudProjectDatabaseUserTimeoutsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**CloudProjectDatabaseUserTimeouts)(nil)).Elem() +} + +func (o CloudProjectDatabaseUserTimeoutsPtrOutput) ToCloudProjectDatabaseUserTimeoutsPtrOutput() CloudProjectDatabaseUserTimeoutsPtrOutput { + return o +} + +func (o CloudProjectDatabaseUserTimeoutsPtrOutput) ToCloudProjectDatabaseUserTimeoutsPtrOutputWithContext(ctx context.Context) CloudProjectDatabaseUserTimeoutsPtrOutput { + return o +} + +func (o CloudProjectDatabaseUserTimeoutsPtrOutput) Elem() CloudProjectDatabaseUserTimeoutsOutput { + return o.ApplyT(func(v *CloudProjectDatabaseUserTimeouts) CloudProjectDatabaseUserTimeouts { + if v != nil { + return *v + } + var ret CloudProjectDatabaseUserTimeouts + return ret + }).(CloudProjectDatabaseUserTimeoutsOutput) +} + +func (o CloudProjectDatabaseUserTimeoutsPtrOutput) Create() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudProjectDatabaseUserTimeouts) *string { + if v == nil { + return nil + } + return v.Create + }).(pulumi.StringPtrOutput) +} + +func (o CloudProjectDatabaseUserTimeoutsPtrOutput) Delete() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudProjectDatabaseUserTimeouts) *string { + if v == nil { + return nil + } + return v.Delete + }).(pulumi.StringPtrOutput) +} + +func (o CloudProjectDatabaseUserTimeoutsPtrOutput) Update() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudProjectDatabaseUserTimeouts) *string { + if v == nil { + return nil + } + return v.Update + }).(pulumi.StringPtrOutput) +} + +type CloudProjectGatewayExternalInformation struct { + Ips []CloudProjectGatewayExternalInformationIp `pulumi:"ips"` + NetworkId string `pulumi:"networkId"` +} + +// CloudProjectGatewayExternalInformationInput is an input type that accepts CloudProjectGatewayExternalInformationArgs and CloudProjectGatewayExternalInformationOutput values. +// You can construct a concrete instance of `CloudProjectGatewayExternalInformationInput` via: +// +// CloudProjectGatewayExternalInformationArgs{...} +type CloudProjectGatewayExternalInformationInput interface { + pulumi.Input + + ToCloudProjectGatewayExternalInformationOutput() CloudProjectGatewayExternalInformationOutput + ToCloudProjectGatewayExternalInformationOutputWithContext(context.Context) CloudProjectGatewayExternalInformationOutput +} + +type CloudProjectGatewayExternalInformationArgs struct { + Ips CloudProjectGatewayExternalInformationIpArrayInput `pulumi:"ips"` + NetworkId pulumi.StringInput `pulumi:"networkId"` +} + +func (CloudProjectGatewayExternalInformationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*CloudProjectGatewayExternalInformation)(nil)).Elem() +} + +func (i CloudProjectGatewayExternalInformationArgs) ToCloudProjectGatewayExternalInformationOutput() CloudProjectGatewayExternalInformationOutput { + return i.ToCloudProjectGatewayExternalInformationOutputWithContext(context.Background()) +} + +func (i CloudProjectGatewayExternalInformationArgs) ToCloudProjectGatewayExternalInformationOutputWithContext(ctx context.Context) CloudProjectGatewayExternalInformationOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectGatewayExternalInformationOutput) +} + +// CloudProjectGatewayExternalInformationArrayInput is an input type that accepts CloudProjectGatewayExternalInformationArray and CloudProjectGatewayExternalInformationArrayOutput values. +// You can construct a concrete instance of `CloudProjectGatewayExternalInformationArrayInput` via: +// +// CloudProjectGatewayExternalInformationArray{ CloudProjectGatewayExternalInformationArgs{...} } +type CloudProjectGatewayExternalInformationArrayInput interface { + pulumi.Input + + ToCloudProjectGatewayExternalInformationArrayOutput() CloudProjectGatewayExternalInformationArrayOutput + ToCloudProjectGatewayExternalInformationArrayOutputWithContext(context.Context) CloudProjectGatewayExternalInformationArrayOutput +} + +type CloudProjectGatewayExternalInformationArray []CloudProjectGatewayExternalInformationInput + +func (CloudProjectGatewayExternalInformationArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]CloudProjectGatewayExternalInformation)(nil)).Elem() +} + +func (i CloudProjectGatewayExternalInformationArray) ToCloudProjectGatewayExternalInformationArrayOutput() CloudProjectGatewayExternalInformationArrayOutput { + return i.ToCloudProjectGatewayExternalInformationArrayOutputWithContext(context.Background()) +} + +func (i CloudProjectGatewayExternalInformationArray) ToCloudProjectGatewayExternalInformationArrayOutputWithContext(ctx context.Context) CloudProjectGatewayExternalInformationArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectGatewayExternalInformationArrayOutput) +} + +type CloudProjectGatewayExternalInformationOutput struct{ *pulumi.OutputState } + +func (CloudProjectGatewayExternalInformationOutput) ElementType() reflect.Type { + return reflect.TypeOf((*CloudProjectGatewayExternalInformation)(nil)).Elem() +} + +func (o CloudProjectGatewayExternalInformationOutput) ToCloudProjectGatewayExternalInformationOutput() CloudProjectGatewayExternalInformationOutput { + return o +} + +func (o CloudProjectGatewayExternalInformationOutput) ToCloudProjectGatewayExternalInformationOutputWithContext(ctx context.Context) CloudProjectGatewayExternalInformationOutput { + return o +} + +func (o CloudProjectGatewayExternalInformationOutput) Ips() CloudProjectGatewayExternalInformationIpArrayOutput { + return o.ApplyT(func(v CloudProjectGatewayExternalInformation) []CloudProjectGatewayExternalInformationIp { + return v.Ips + }).(CloudProjectGatewayExternalInformationIpArrayOutput) +} + +func (o CloudProjectGatewayExternalInformationOutput) NetworkId() pulumi.StringOutput { + return o.ApplyT(func(v CloudProjectGatewayExternalInformation) string { return v.NetworkId }).(pulumi.StringOutput) +} + +type CloudProjectGatewayExternalInformationArrayOutput struct{ *pulumi.OutputState } + +func (CloudProjectGatewayExternalInformationArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]CloudProjectGatewayExternalInformation)(nil)).Elem() +} + +func (o CloudProjectGatewayExternalInformationArrayOutput) ToCloudProjectGatewayExternalInformationArrayOutput() CloudProjectGatewayExternalInformationArrayOutput { + return o +} + +func (o CloudProjectGatewayExternalInformationArrayOutput) ToCloudProjectGatewayExternalInformationArrayOutputWithContext(ctx context.Context) CloudProjectGatewayExternalInformationArrayOutput { + return o +} + +func (o CloudProjectGatewayExternalInformationArrayOutput) Index(i pulumi.IntInput) CloudProjectGatewayExternalInformationOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) CloudProjectGatewayExternalInformation { + return vs[0].([]CloudProjectGatewayExternalInformation)[vs[1].(int)] + }).(CloudProjectGatewayExternalInformationOutput) +} + +type CloudProjectGatewayExternalInformationIp struct { + Ip string `pulumi:"ip"` + SubnetId string `pulumi:"subnetId"` +} + +// CloudProjectGatewayExternalInformationIpInput is an input type that accepts CloudProjectGatewayExternalInformationIpArgs and CloudProjectGatewayExternalInformationIpOutput values. +// You can construct a concrete instance of `CloudProjectGatewayExternalInformationIpInput` via: +// +// CloudProjectGatewayExternalInformationIpArgs{...} +type CloudProjectGatewayExternalInformationIpInput interface { + pulumi.Input + + ToCloudProjectGatewayExternalInformationIpOutput() CloudProjectGatewayExternalInformationIpOutput + ToCloudProjectGatewayExternalInformationIpOutputWithContext(context.Context) CloudProjectGatewayExternalInformationIpOutput +} + +type CloudProjectGatewayExternalInformationIpArgs struct { + Ip pulumi.StringInput `pulumi:"ip"` + SubnetId pulumi.StringInput `pulumi:"subnetId"` +} + +func (CloudProjectGatewayExternalInformationIpArgs) ElementType() reflect.Type { + return reflect.TypeOf((*CloudProjectGatewayExternalInformationIp)(nil)).Elem() +} + +func (i CloudProjectGatewayExternalInformationIpArgs) ToCloudProjectGatewayExternalInformationIpOutput() CloudProjectGatewayExternalInformationIpOutput { + return i.ToCloudProjectGatewayExternalInformationIpOutputWithContext(context.Background()) +} + +func (i CloudProjectGatewayExternalInformationIpArgs) ToCloudProjectGatewayExternalInformationIpOutputWithContext(ctx context.Context) CloudProjectGatewayExternalInformationIpOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectGatewayExternalInformationIpOutput) +} + +// CloudProjectGatewayExternalInformationIpArrayInput is an input type that accepts CloudProjectGatewayExternalInformationIpArray and CloudProjectGatewayExternalInformationIpArrayOutput values. +// You can construct a concrete instance of `CloudProjectGatewayExternalInformationIpArrayInput` via: +// +// CloudProjectGatewayExternalInformationIpArray{ CloudProjectGatewayExternalInformationIpArgs{...} } +type CloudProjectGatewayExternalInformationIpArrayInput interface { + pulumi.Input + + ToCloudProjectGatewayExternalInformationIpArrayOutput() CloudProjectGatewayExternalInformationIpArrayOutput + ToCloudProjectGatewayExternalInformationIpArrayOutputWithContext(context.Context) CloudProjectGatewayExternalInformationIpArrayOutput +} + +type CloudProjectGatewayExternalInformationIpArray []CloudProjectGatewayExternalInformationIpInput + +func (CloudProjectGatewayExternalInformationIpArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]CloudProjectGatewayExternalInformationIp)(nil)).Elem() +} + +func (i CloudProjectGatewayExternalInformationIpArray) ToCloudProjectGatewayExternalInformationIpArrayOutput() CloudProjectGatewayExternalInformationIpArrayOutput { + return i.ToCloudProjectGatewayExternalInformationIpArrayOutputWithContext(context.Background()) +} + +func (i CloudProjectGatewayExternalInformationIpArray) ToCloudProjectGatewayExternalInformationIpArrayOutputWithContext(ctx context.Context) CloudProjectGatewayExternalInformationIpArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectGatewayExternalInformationIpArrayOutput) +} + +type CloudProjectGatewayExternalInformationIpOutput struct{ *pulumi.OutputState } + +func (CloudProjectGatewayExternalInformationIpOutput) ElementType() reflect.Type { + return reflect.TypeOf((*CloudProjectGatewayExternalInformationIp)(nil)).Elem() +} + +func (o CloudProjectGatewayExternalInformationIpOutput) ToCloudProjectGatewayExternalInformationIpOutput() CloudProjectGatewayExternalInformationIpOutput { + return o +} + +func (o CloudProjectGatewayExternalInformationIpOutput) ToCloudProjectGatewayExternalInformationIpOutputWithContext(ctx context.Context) CloudProjectGatewayExternalInformationIpOutput { + return o +} + +func (o CloudProjectGatewayExternalInformationIpOutput) Ip() pulumi.StringOutput { + return o.ApplyT(func(v CloudProjectGatewayExternalInformationIp) string { return v.Ip }).(pulumi.StringOutput) +} + +func (o CloudProjectGatewayExternalInformationIpOutput) SubnetId() pulumi.StringOutput { + return o.ApplyT(func(v CloudProjectGatewayExternalInformationIp) string { return v.SubnetId }).(pulumi.StringOutput) +} + +type CloudProjectGatewayExternalInformationIpArrayOutput struct{ *pulumi.OutputState } + +func (CloudProjectGatewayExternalInformationIpArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]CloudProjectGatewayExternalInformationIp)(nil)).Elem() +} + +func (o CloudProjectGatewayExternalInformationIpArrayOutput) ToCloudProjectGatewayExternalInformationIpArrayOutput() CloudProjectGatewayExternalInformationIpArrayOutput { + return o +} + +func (o CloudProjectGatewayExternalInformationIpArrayOutput) ToCloudProjectGatewayExternalInformationIpArrayOutputWithContext(ctx context.Context) CloudProjectGatewayExternalInformationIpArrayOutput { + return o +} + +func (o CloudProjectGatewayExternalInformationIpArrayOutput) Index(i pulumi.IntInput) CloudProjectGatewayExternalInformationIpOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) CloudProjectGatewayExternalInformationIp { + return vs[0].([]CloudProjectGatewayExternalInformationIp)[vs[1].(int)] + }).(CloudProjectGatewayExternalInformationIpOutput) +} + +type CloudProjectGatewayInterfaceType struct { + Id string `pulumi:"id"` + Ip string `pulumi:"ip"` + NetworkId string `pulumi:"networkId"` + SubnetId string `pulumi:"subnetId"` +} + +// CloudProjectGatewayInterfaceTypeInput is an input type that accepts CloudProjectGatewayInterfaceTypeArgs and CloudProjectGatewayInterfaceTypeOutput values. +// You can construct a concrete instance of `CloudProjectGatewayInterfaceTypeInput` via: +// +// CloudProjectGatewayInterfaceTypeArgs{...} +type CloudProjectGatewayInterfaceTypeInput interface { + pulumi.Input + + ToCloudProjectGatewayInterfaceTypeOutput() CloudProjectGatewayInterfaceTypeOutput + ToCloudProjectGatewayInterfaceTypeOutputWithContext(context.Context) CloudProjectGatewayInterfaceTypeOutput +} + +type CloudProjectGatewayInterfaceTypeArgs struct { + Id pulumi.StringInput `pulumi:"id"` + Ip pulumi.StringInput `pulumi:"ip"` + NetworkId pulumi.StringInput `pulumi:"networkId"` + SubnetId pulumi.StringInput `pulumi:"subnetId"` +} + +func (CloudProjectGatewayInterfaceTypeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*CloudProjectGatewayInterfaceType)(nil)).Elem() +} + +func (i CloudProjectGatewayInterfaceTypeArgs) ToCloudProjectGatewayInterfaceTypeOutput() CloudProjectGatewayInterfaceTypeOutput { + return i.ToCloudProjectGatewayInterfaceTypeOutputWithContext(context.Background()) +} + +func (i CloudProjectGatewayInterfaceTypeArgs) ToCloudProjectGatewayInterfaceTypeOutputWithContext(ctx context.Context) CloudProjectGatewayInterfaceTypeOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectGatewayInterfaceTypeOutput) +} + +// CloudProjectGatewayInterfaceTypeArrayInput is an input type that accepts CloudProjectGatewayInterfaceTypeArray and CloudProjectGatewayInterfaceTypeArrayOutput values. +// You can construct a concrete instance of `CloudProjectGatewayInterfaceTypeArrayInput` via: +// +// CloudProjectGatewayInterfaceTypeArray{ CloudProjectGatewayInterfaceTypeArgs{...} } +type CloudProjectGatewayInterfaceTypeArrayInput interface { + pulumi.Input + + ToCloudProjectGatewayInterfaceTypeArrayOutput() CloudProjectGatewayInterfaceTypeArrayOutput + ToCloudProjectGatewayInterfaceTypeArrayOutputWithContext(context.Context) CloudProjectGatewayInterfaceTypeArrayOutput +} + +type CloudProjectGatewayInterfaceTypeArray []CloudProjectGatewayInterfaceTypeInput + +func (CloudProjectGatewayInterfaceTypeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]CloudProjectGatewayInterfaceType)(nil)).Elem() +} + +func (i CloudProjectGatewayInterfaceTypeArray) ToCloudProjectGatewayInterfaceTypeArrayOutput() CloudProjectGatewayInterfaceTypeArrayOutput { + return i.ToCloudProjectGatewayInterfaceTypeArrayOutputWithContext(context.Background()) +} + +func (i CloudProjectGatewayInterfaceTypeArray) ToCloudProjectGatewayInterfaceTypeArrayOutputWithContext(ctx context.Context) CloudProjectGatewayInterfaceTypeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectGatewayInterfaceTypeArrayOutput) +} + +type CloudProjectGatewayInterfaceTypeOutput struct{ *pulumi.OutputState } + +func (CloudProjectGatewayInterfaceTypeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*CloudProjectGatewayInterfaceType)(nil)).Elem() +} + +func (o CloudProjectGatewayInterfaceTypeOutput) ToCloudProjectGatewayInterfaceTypeOutput() CloudProjectGatewayInterfaceTypeOutput { + return o +} + +func (o CloudProjectGatewayInterfaceTypeOutput) ToCloudProjectGatewayInterfaceTypeOutputWithContext(ctx context.Context) CloudProjectGatewayInterfaceTypeOutput { + return o +} + +func (o CloudProjectGatewayInterfaceTypeOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v CloudProjectGatewayInterfaceType) string { return v.Id }).(pulumi.StringOutput) +} + +func (o CloudProjectGatewayInterfaceTypeOutput) Ip() pulumi.StringOutput { + return o.ApplyT(func(v CloudProjectGatewayInterfaceType) string { return v.Ip }).(pulumi.StringOutput) +} + +func (o CloudProjectGatewayInterfaceTypeOutput) NetworkId() pulumi.StringOutput { + return o.ApplyT(func(v CloudProjectGatewayInterfaceType) string { return v.NetworkId }).(pulumi.StringOutput) +} + +func (o CloudProjectGatewayInterfaceTypeOutput) SubnetId() pulumi.StringOutput { + return o.ApplyT(func(v CloudProjectGatewayInterfaceType) string { return v.SubnetId }).(pulumi.StringOutput) +} + +type CloudProjectGatewayInterfaceTypeArrayOutput struct{ *pulumi.OutputState } + +func (CloudProjectGatewayInterfaceTypeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]CloudProjectGatewayInterfaceType)(nil)).Elem() +} + +func (o CloudProjectGatewayInterfaceTypeArrayOutput) ToCloudProjectGatewayInterfaceTypeArrayOutput() CloudProjectGatewayInterfaceTypeArrayOutput { + return o +} + +func (o CloudProjectGatewayInterfaceTypeArrayOutput) ToCloudProjectGatewayInterfaceTypeArrayOutputWithContext(ctx context.Context) CloudProjectGatewayInterfaceTypeArrayOutput { + return o +} + +func (o CloudProjectGatewayInterfaceTypeArrayOutput) Index(i pulumi.IntInput) CloudProjectGatewayInterfaceTypeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) CloudProjectGatewayInterfaceType { + return vs[0].([]CloudProjectGatewayInterfaceType)[vs[1].(int)] + }).(CloudProjectGatewayInterfaceTypeOutput) +} + +type CloudProjectKubeCustomization struct { + // Deprecated: Deprecated + Apiservers []CloudProjectKubeCustomizationApiserver `pulumi:"apiservers"` +} + +// CloudProjectKubeCustomizationInput is an input type that accepts CloudProjectKubeCustomizationArgs and CloudProjectKubeCustomizationOutput values. +// You can construct a concrete instance of `CloudProjectKubeCustomizationInput` via: +// +// CloudProjectKubeCustomizationArgs{...} +type CloudProjectKubeCustomizationInput interface { + pulumi.Input + + ToCloudProjectKubeCustomizationOutput() CloudProjectKubeCustomizationOutput + ToCloudProjectKubeCustomizationOutputWithContext(context.Context) CloudProjectKubeCustomizationOutput +} + +type CloudProjectKubeCustomizationArgs struct { + // Deprecated: Deprecated + Apiservers CloudProjectKubeCustomizationApiserverArrayInput `pulumi:"apiservers"` +} + +func (CloudProjectKubeCustomizationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*CloudProjectKubeCustomization)(nil)).Elem() +} + +func (i CloudProjectKubeCustomizationArgs) ToCloudProjectKubeCustomizationOutput() CloudProjectKubeCustomizationOutput { + return i.ToCloudProjectKubeCustomizationOutputWithContext(context.Background()) +} + +func (i CloudProjectKubeCustomizationArgs) ToCloudProjectKubeCustomizationOutputWithContext(ctx context.Context) CloudProjectKubeCustomizationOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectKubeCustomizationOutput) +} + +// CloudProjectKubeCustomizationArrayInput is an input type that accepts CloudProjectKubeCustomizationArray and CloudProjectKubeCustomizationArrayOutput values. +// You can construct a concrete instance of `CloudProjectKubeCustomizationArrayInput` via: +// +// CloudProjectKubeCustomizationArray{ CloudProjectKubeCustomizationArgs{...} } +type CloudProjectKubeCustomizationArrayInput interface { + pulumi.Input + + ToCloudProjectKubeCustomizationArrayOutput() CloudProjectKubeCustomizationArrayOutput + ToCloudProjectKubeCustomizationArrayOutputWithContext(context.Context) CloudProjectKubeCustomizationArrayOutput +} + +type CloudProjectKubeCustomizationArray []CloudProjectKubeCustomizationInput + +func (CloudProjectKubeCustomizationArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]CloudProjectKubeCustomization)(nil)).Elem() +} + +func (i CloudProjectKubeCustomizationArray) ToCloudProjectKubeCustomizationArrayOutput() CloudProjectKubeCustomizationArrayOutput { + return i.ToCloudProjectKubeCustomizationArrayOutputWithContext(context.Background()) +} + +func (i CloudProjectKubeCustomizationArray) ToCloudProjectKubeCustomizationArrayOutputWithContext(ctx context.Context) CloudProjectKubeCustomizationArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectKubeCustomizationArrayOutput) +} + +type CloudProjectKubeCustomizationOutput struct{ *pulumi.OutputState } + +func (CloudProjectKubeCustomizationOutput) ElementType() reflect.Type { + return reflect.TypeOf((*CloudProjectKubeCustomization)(nil)).Elem() +} + +func (o CloudProjectKubeCustomizationOutput) ToCloudProjectKubeCustomizationOutput() CloudProjectKubeCustomizationOutput { + return o +} + +func (o CloudProjectKubeCustomizationOutput) ToCloudProjectKubeCustomizationOutputWithContext(ctx context.Context) CloudProjectKubeCustomizationOutput { + return o +} + +// Deprecated: Deprecated +func (o CloudProjectKubeCustomizationOutput) Apiservers() CloudProjectKubeCustomizationApiserverArrayOutput { + return o.ApplyT(func(v CloudProjectKubeCustomization) []CloudProjectKubeCustomizationApiserver { return v.Apiservers }).(CloudProjectKubeCustomizationApiserverArrayOutput) +} + +type CloudProjectKubeCustomizationArrayOutput struct{ *pulumi.OutputState } + +func (CloudProjectKubeCustomizationArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]CloudProjectKubeCustomization)(nil)).Elem() +} + +func (o CloudProjectKubeCustomizationArrayOutput) ToCloudProjectKubeCustomizationArrayOutput() CloudProjectKubeCustomizationArrayOutput { + return o +} + +func (o CloudProjectKubeCustomizationArrayOutput) ToCloudProjectKubeCustomizationArrayOutputWithContext(ctx context.Context) CloudProjectKubeCustomizationArrayOutput { + return o +} + +func (o CloudProjectKubeCustomizationArrayOutput) Index(i pulumi.IntInput) CloudProjectKubeCustomizationOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) CloudProjectKubeCustomization { + return vs[0].([]CloudProjectKubeCustomization)[vs[1].(int)] + }).(CloudProjectKubeCustomizationOutput) +} + +type CloudProjectKubeCustomizationApiserver struct { + Admissionplugins []CloudProjectKubeCustomizationApiserverAdmissionplugin `pulumi:"admissionplugins"` +} + +// CloudProjectKubeCustomizationApiserverInput is an input type that accepts CloudProjectKubeCustomizationApiserverArgs and CloudProjectKubeCustomizationApiserverOutput values. +// You can construct a concrete instance of `CloudProjectKubeCustomizationApiserverInput` via: +// +// CloudProjectKubeCustomizationApiserverArgs{...} +type CloudProjectKubeCustomizationApiserverInput interface { + pulumi.Input + + ToCloudProjectKubeCustomizationApiserverOutput() CloudProjectKubeCustomizationApiserverOutput + ToCloudProjectKubeCustomizationApiserverOutputWithContext(context.Context) CloudProjectKubeCustomizationApiserverOutput +} + +type CloudProjectKubeCustomizationApiserverArgs struct { + Admissionplugins CloudProjectKubeCustomizationApiserverAdmissionpluginArrayInput `pulumi:"admissionplugins"` +} + +func (CloudProjectKubeCustomizationApiserverArgs) ElementType() reflect.Type { + return reflect.TypeOf((*CloudProjectKubeCustomizationApiserver)(nil)).Elem() +} + +func (i CloudProjectKubeCustomizationApiserverArgs) ToCloudProjectKubeCustomizationApiserverOutput() CloudProjectKubeCustomizationApiserverOutput { + return i.ToCloudProjectKubeCustomizationApiserverOutputWithContext(context.Background()) +} + +func (i CloudProjectKubeCustomizationApiserverArgs) ToCloudProjectKubeCustomizationApiserverOutputWithContext(ctx context.Context) CloudProjectKubeCustomizationApiserverOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectKubeCustomizationApiserverOutput) +} + +// CloudProjectKubeCustomizationApiserverArrayInput is an input type that accepts CloudProjectKubeCustomizationApiserverArray and CloudProjectKubeCustomizationApiserverArrayOutput values. +// You can construct a concrete instance of `CloudProjectKubeCustomizationApiserverArrayInput` via: +// +// CloudProjectKubeCustomizationApiserverArray{ CloudProjectKubeCustomizationApiserverArgs{...} } +type CloudProjectKubeCustomizationApiserverArrayInput interface { + pulumi.Input + + ToCloudProjectKubeCustomizationApiserverArrayOutput() CloudProjectKubeCustomizationApiserverArrayOutput + ToCloudProjectKubeCustomizationApiserverArrayOutputWithContext(context.Context) CloudProjectKubeCustomizationApiserverArrayOutput +} + +type CloudProjectKubeCustomizationApiserverArray []CloudProjectKubeCustomizationApiserverInput + +func (CloudProjectKubeCustomizationApiserverArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]CloudProjectKubeCustomizationApiserver)(nil)).Elem() +} + +func (i CloudProjectKubeCustomizationApiserverArray) ToCloudProjectKubeCustomizationApiserverArrayOutput() CloudProjectKubeCustomizationApiserverArrayOutput { + return i.ToCloudProjectKubeCustomizationApiserverArrayOutputWithContext(context.Background()) +} + +func (i CloudProjectKubeCustomizationApiserverArray) ToCloudProjectKubeCustomizationApiserverArrayOutputWithContext(ctx context.Context) CloudProjectKubeCustomizationApiserverArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectKubeCustomizationApiserverArrayOutput) +} + +type CloudProjectKubeCustomizationApiserverOutput struct{ *pulumi.OutputState } + +func (CloudProjectKubeCustomizationApiserverOutput) ElementType() reflect.Type { + return reflect.TypeOf((*CloudProjectKubeCustomizationApiserver)(nil)).Elem() +} + +func (o CloudProjectKubeCustomizationApiserverOutput) ToCloudProjectKubeCustomizationApiserverOutput() CloudProjectKubeCustomizationApiserverOutput { + return o +} + +func (o CloudProjectKubeCustomizationApiserverOutput) ToCloudProjectKubeCustomizationApiserverOutputWithContext(ctx context.Context) CloudProjectKubeCustomizationApiserverOutput { + return o +} + +func (o CloudProjectKubeCustomizationApiserverOutput) Admissionplugins() CloudProjectKubeCustomizationApiserverAdmissionpluginArrayOutput { + return o.ApplyT(func(v CloudProjectKubeCustomizationApiserver) []CloudProjectKubeCustomizationApiserverAdmissionplugin { + return v.Admissionplugins + }).(CloudProjectKubeCustomizationApiserverAdmissionpluginArrayOutput) +} + +type CloudProjectKubeCustomizationApiserverArrayOutput struct{ *pulumi.OutputState } + +func (CloudProjectKubeCustomizationApiserverArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]CloudProjectKubeCustomizationApiserver)(nil)).Elem() +} + +func (o CloudProjectKubeCustomizationApiserverArrayOutput) ToCloudProjectKubeCustomizationApiserverArrayOutput() CloudProjectKubeCustomizationApiserverArrayOutput { + return o +} + +func (o CloudProjectKubeCustomizationApiserverArrayOutput) ToCloudProjectKubeCustomizationApiserverArrayOutputWithContext(ctx context.Context) CloudProjectKubeCustomizationApiserverArrayOutput { + return o +} + +func (o CloudProjectKubeCustomizationApiserverArrayOutput) Index(i pulumi.IntInput) CloudProjectKubeCustomizationApiserverOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) CloudProjectKubeCustomizationApiserver { + return vs[0].([]CloudProjectKubeCustomizationApiserver)[vs[1].(int)] + }).(CloudProjectKubeCustomizationApiserverOutput) +} + +type CloudProjectKubeCustomizationApiserverAdmissionplugin struct { + Disableds []string `pulumi:"disableds"` + Enableds []string `pulumi:"enableds"` +} + +// CloudProjectKubeCustomizationApiserverAdmissionpluginInput is an input type that accepts CloudProjectKubeCustomizationApiserverAdmissionpluginArgs and CloudProjectKubeCustomizationApiserverAdmissionpluginOutput values. +// You can construct a concrete instance of `CloudProjectKubeCustomizationApiserverAdmissionpluginInput` via: +// +// CloudProjectKubeCustomizationApiserverAdmissionpluginArgs{...} +type CloudProjectKubeCustomizationApiserverAdmissionpluginInput interface { + pulumi.Input + + ToCloudProjectKubeCustomizationApiserverAdmissionpluginOutput() CloudProjectKubeCustomizationApiserverAdmissionpluginOutput + ToCloudProjectKubeCustomizationApiserverAdmissionpluginOutputWithContext(context.Context) CloudProjectKubeCustomizationApiserverAdmissionpluginOutput +} + +type CloudProjectKubeCustomizationApiserverAdmissionpluginArgs struct { + Disableds pulumi.StringArrayInput `pulumi:"disableds"` + Enableds pulumi.StringArrayInput `pulumi:"enableds"` +} + +func (CloudProjectKubeCustomizationApiserverAdmissionpluginArgs) ElementType() reflect.Type { + return reflect.TypeOf((*CloudProjectKubeCustomizationApiserverAdmissionplugin)(nil)).Elem() +} + +func (i CloudProjectKubeCustomizationApiserverAdmissionpluginArgs) ToCloudProjectKubeCustomizationApiserverAdmissionpluginOutput() CloudProjectKubeCustomizationApiserverAdmissionpluginOutput { + return i.ToCloudProjectKubeCustomizationApiserverAdmissionpluginOutputWithContext(context.Background()) +} + +func (i CloudProjectKubeCustomizationApiserverAdmissionpluginArgs) ToCloudProjectKubeCustomizationApiserverAdmissionpluginOutputWithContext(ctx context.Context) CloudProjectKubeCustomizationApiserverAdmissionpluginOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectKubeCustomizationApiserverAdmissionpluginOutput) +} + +// CloudProjectKubeCustomizationApiserverAdmissionpluginArrayInput is an input type that accepts CloudProjectKubeCustomizationApiserverAdmissionpluginArray and CloudProjectKubeCustomizationApiserverAdmissionpluginArrayOutput values. +// You can construct a concrete instance of `CloudProjectKubeCustomizationApiserverAdmissionpluginArrayInput` via: +// +// CloudProjectKubeCustomizationApiserverAdmissionpluginArray{ CloudProjectKubeCustomizationApiserverAdmissionpluginArgs{...} } +type CloudProjectKubeCustomizationApiserverAdmissionpluginArrayInput interface { + pulumi.Input + + ToCloudProjectKubeCustomizationApiserverAdmissionpluginArrayOutput() CloudProjectKubeCustomizationApiserverAdmissionpluginArrayOutput + ToCloudProjectKubeCustomizationApiserverAdmissionpluginArrayOutputWithContext(context.Context) CloudProjectKubeCustomizationApiserverAdmissionpluginArrayOutput +} + +type CloudProjectKubeCustomizationApiserverAdmissionpluginArray []CloudProjectKubeCustomizationApiserverAdmissionpluginInput + +func (CloudProjectKubeCustomizationApiserverAdmissionpluginArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]CloudProjectKubeCustomizationApiserverAdmissionplugin)(nil)).Elem() +} + +func (i CloudProjectKubeCustomizationApiserverAdmissionpluginArray) ToCloudProjectKubeCustomizationApiserverAdmissionpluginArrayOutput() CloudProjectKubeCustomizationApiserverAdmissionpluginArrayOutput { + return i.ToCloudProjectKubeCustomizationApiserverAdmissionpluginArrayOutputWithContext(context.Background()) +} + +func (i CloudProjectKubeCustomizationApiserverAdmissionpluginArray) ToCloudProjectKubeCustomizationApiserverAdmissionpluginArrayOutputWithContext(ctx context.Context) CloudProjectKubeCustomizationApiserverAdmissionpluginArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectKubeCustomizationApiserverAdmissionpluginArrayOutput) +} + +type CloudProjectKubeCustomizationApiserverAdmissionpluginOutput struct{ *pulumi.OutputState } + +func (CloudProjectKubeCustomizationApiserverAdmissionpluginOutput) ElementType() reflect.Type { + return reflect.TypeOf((*CloudProjectKubeCustomizationApiserverAdmissionplugin)(nil)).Elem() +} + +func (o CloudProjectKubeCustomizationApiserverAdmissionpluginOutput) ToCloudProjectKubeCustomizationApiserverAdmissionpluginOutput() CloudProjectKubeCustomizationApiserverAdmissionpluginOutput { + return o +} + +func (o CloudProjectKubeCustomizationApiserverAdmissionpluginOutput) ToCloudProjectKubeCustomizationApiserverAdmissionpluginOutputWithContext(ctx context.Context) CloudProjectKubeCustomizationApiserverAdmissionpluginOutput { + return o +} + +func (o CloudProjectKubeCustomizationApiserverAdmissionpluginOutput) Disableds() pulumi.StringArrayOutput { + return o.ApplyT(func(v CloudProjectKubeCustomizationApiserverAdmissionplugin) []string { return v.Disableds }).(pulumi.StringArrayOutput) +} + +func (o CloudProjectKubeCustomizationApiserverAdmissionpluginOutput) Enableds() pulumi.StringArrayOutput { + return o.ApplyT(func(v CloudProjectKubeCustomizationApiserverAdmissionplugin) []string { return v.Enableds }).(pulumi.StringArrayOutput) +} + +type CloudProjectKubeCustomizationApiserverAdmissionpluginArrayOutput struct{ *pulumi.OutputState } + +func (CloudProjectKubeCustomizationApiserverAdmissionpluginArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]CloudProjectKubeCustomizationApiserverAdmissionplugin)(nil)).Elem() +} + +func (o CloudProjectKubeCustomizationApiserverAdmissionpluginArrayOutput) ToCloudProjectKubeCustomizationApiserverAdmissionpluginArrayOutput() CloudProjectKubeCustomizationApiserverAdmissionpluginArrayOutput { + return o +} + +func (o CloudProjectKubeCustomizationApiserverAdmissionpluginArrayOutput) ToCloudProjectKubeCustomizationApiserverAdmissionpluginArrayOutputWithContext(ctx context.Context) CloudProjectKubeCustomizationApiserverAdmissionpluginArrayOutput { + return o +} + +func (o CloudProjectKubeCustomizationApiserverAdmissionpluginArrayOutput) Index(i pulumi.IntInput) CloudProjectKubeCustomizationApiserverAdmissionpluginOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) CloudProjectKubeCustomizationApiserverAdmissionplugin { + return vs[0].([]CloudProjectKubeCustomizationApiserverAdmissionplugin)[vs[1].(int)] + }).(CloudProjectKubeCustomizationApiserverAdmissionpluginOutput) +} + +type CloudProjectKubeCustomizationKubeProxy struct { + Iptables *CloudProjectKubeCustomizationKubeProxyIptables `pulumi:"iptables"` + Ipvs *CloudProjectKubeCustomizationKubeProxyIpvs `pulumi:"ipvs"` +} + +// CloudProjectKubeCustomizationKubeProxyInput is an input type that accepts CloudProjectKubeCustomizationKubeProxyArgs and CloudProjectKubeCustomizationKubeProxyOutput values. +// You can construct a concrete instance of `CloudProjectKubeCustomizationKubeProxyInput` via: +// +// CloudProjectKubeCustomizationKubeProxyArgs{...} +type CloudProjectKubeCustomizationKubeProxyInput interface { + pulumi.Input + + ToCloudProjectKubeCustomizationKubeProxyOutput() CloudProjectKubeCustomizationKubeProxyOutput + ToCloudProjectKubeCustomizationKubeProxyOutputWithContext(context.Context) CloudProjectKubeCustomizationKubeProxyOutput +} + +type CloudProjectKubeCustomizationKubeProxyArgs struct { + Iptables CloudProjectKubeCustomizationKubeProxyIptablesPtrInput `pulumi:"iptables"` + Ipvs CloudProjectKubeCustomizationKubeProxyIpvsPtrInput `pulumi:"ipvs"` +} + +func (CloudProjectKubeCustomizationKubeProxyArgs) ElementType() reflect.Type { + return reflect.TypeOf((*CloudProjectKubeCustomizationKubeProxy)(nil)).Elem() +} + +func (i CloudProjectKubeCustomizationKubeProxyArgs) ToCloudProjectKubeCustomizationKubeProxyOutput() CloudProjectKubeCustomizationKubeProxyOutput { + return i.ToCloudProjectKubeCustomizationKubeProxyOutputWithContext(context.Background()) +} + +func (i CloudProjectKubeCustomizationKubeProxyArgs) ToCloudProjectKubeCustomizationKubeProxyOutputWithContext(ctx context.Context) CloudProjectKubeCustomizationKubeProxyOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectKubeCustomizationKubeProxyOutput) +} + +func (i CloudProjectKubeCustomizationKubeProxyArgs) ToCloudProjectKubeCustomizationKubeProxyPtrOutput() CloudProjectKubeCustomizationKubeProxyPtrOutput { + return i.ToCloudProjectKubeCustomizationKubeProxyPtrOutputWithContext(context.Background()) +} + +func (i CloudProjectKubeCustomizationKubeProxyArgs) ToCloudProjectKubeCustomizationKubeProxyPtrOutputWithContext(ctx context.Context) CloudProjectKubeCustomizationKubeProxyPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectKubeCustomizationKubeProxyOutput).ToCloudProjectKubeCustomizationKubeProxyPtrOutputWithContext(ctx) +} + +// CloudProjectKubeCustomizationKubeProxyPtrInput is an input type that accepts CloudProjectKubeCustomizationKubeProxyArgs, CloudProjectKubeCustomizationKubeProxyPtr and CloudProjectKubeCustomizationKubeProxyPtrOutput values. +// You can construct a concrete instance of `CloudProjectKubeCustomizationKubeProxyPtrInput` via: +// +// CloudProjectKubeCustomizationKubeProxyArgs{...} +// +// or: +// +// nil +type CloudProjectKubeCustomizationKubeProxyPtrInput interface { + pulumi.Input + + ToCloudProjectKubeCustomizationKubeProxyPtrOutput() CloudProjectKubeCustomizationKubeProxyPtrOutput + ToCloudProjectKubeCustomizationKubeProxyPtrOutputWithContext(context.Context) CloudProjectKubeCustomizationKubeProxyPtrOutput +} + +type cloudProjectKubeCustomizationKubeProxyPtrType CloudProjectKubeCustomizationKubeProxyArgs + +func CloudProjectKubeCustomizationKubeProxyPtr(v *CloudProjectKubeCustomizationKubeProxyArgs) CloudProjectKubeCustomizationKubeProxyPtrInput { + return (*cloudProjectKubeCustomizationKubeProxyPtrType)(v) +} + +func (*cloudProjectKubeCustomizationKubeProxyPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**CloudProjectKubeCustomizationKubeProxy)(nil)).Elem() +} + +func (i *cloudProjectKubeCustomizationKubeProxyPtrType) ToCloudProjectKubeCustomizationKubeProxyPtrOutput() CloudProjectKubeCustomizationKubeProxyPtrOutput { + return i.ToCloudProjectKubeCustomizationKubeProxyPtrOutputWithContext(context.Background()) +} + +func (i *cloudProjectKubeCustomizationKubeProxyPtrType) ToCloudProjectKubeCustomizationKubeProxyPtrOutputWithContext(ctx context.Context) CloudProjectKubeCustomizationKubeProxyPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectKubeCustomizationKubeProxyPtrOutput) +} + +type CloudProjectKubeCustomizationKubeProxyOutput struct{ *pulumi.OutputState } + +func (CloudProjectKubeCustomizationKubeProxyOutput) ElementType() reflect.Type { + return reflect.TypeOf((*CloudProjectKubeCustomizationKubeProxy)(nil)).Elem() +} + +func (o CloudProjectKubeCustomizationKubeProxyOutput) ToCloudProjectKubeCustomizationKubeProxyOutput() CloudProjectKubeCustomizationKubeProxyOutput { + return o +} + +func (o CloudProjectKubeCustomizationKubeProxyOutput) ToCloudProjectKubeCustomizationKubeProxyOutputWithContext(ctx context.Context) CloudProjectKubeCustomizationKubeProxyOutput { + return o +} + +func (o CloudProjectKubeCustomizationKubeProxyOutput) ToCloudProjectKubeCustomizationKubeProxyPtrOutput() CloudProjectKubeCustomizationKubeProxyPtrOutput { + return o.ToCloudProjectKubeCustomizationKubeProxyPtrOutputWithContext(context.Background()) +} + +func (o CloudProjectKubeCustomizationKubeProxyOutput) ToCloudProjectKubeCustomizationKubeProxyPtrOutputWithContext(ctx context.Context) CloudProjectKubeCustomizationKubeProxyPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v CloudProjectKubeCustomizationKubeProxy) *CloudProjectKubeCustomizationKubeProxy { + return &v + }).(CloudProjectKubeCustomizationKubeProxyPtrOutput) +} + +func (o CloudProjectKubeCustomizationKubeProxyOutput) Iptables() CloudProjectKubeCustomizationKubeProxyIptablesPtrOutput { + return o.ApplyT(func(v CloudProjectKubeCustomizationKubeProxy) *CloudProjectKubeCustomizationKubeProxyIptables { + return v.Iptables + }).(CloudProjectKubeCustomizationKubeProxyIptablesPtrOutput) +} + +func (o CloudProjectKubeCustomizationKubeProxyOutput) Ipvs() CloudProjectKubeCustomizationKubeProxyIpvsPtrOutput { + return o.ApplyT(func(v CloudProjectKubeCustomizationKubeProxy) *CloudProjectKubeCustomizationKubeProxyIpvs { + return v.Ipvs + }).(CloudProjectKubeCustomizationKubeProxyIpvsPtrOutput) +} + +type CloudProjectKubeCustomizationKubeProxyPtrOutput struct{ *pulumi.OutputState } + +func (CloudProjectKubeCustomizationKubeProxyPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**CloudProjectKubeCustomizationKubeProxy)(nil)).Elem() +} + +func (o CloudProjectKubeCustomizationKubeProxyPtrOutput) ToCloudProjectKubeCustomizationKubeProxyPtrOutput() CloudProjectKubeCustomizationKubeProxyPtrOutput { + return o +} + +func (o CloudProjectKubeCustomizationKubeProxyPtrOutput) ToCloudProjectKubeCustomizationKubeProxyPtrOutputWithContext(ctx context.Context) CloudProjectKubeCustomizationKubeProxyPtrOutput { + return o +} + +func (o CloudProjectKubeCustomizationKubeProxyPtrOutput) Elem() CloudProjectKubeCustomizationKubeProxyOutput { + return o.ApplyT(func(v *CloudProjectKubeCustomizationKubeProxy) CloudProjectKubeCustomizationKubeProxy { + if v != nil { + return *v + } + var ret CloudProjectKubeCustomizationKubeProxy + return ret + }).(CloudProjectKubeCustomizationKubeProxyOutput) +} + +func (o CloudProjectKubeCustomizationKubeProxyPtrOutput) Iptables() CloudProjectKubeCustomizationKubeProxyIptablesPtrOutput { + return o.ApplyT(func(v *CloudProjectKubeCustomizationKubeProxy) *CloudProjectKubeCustomizationKubeProxyIptables { + if v == nil { + return nil + } + return v.Iptables + }).(CloudProjectKubeCustomizationKubeProxyIptablesPtrOutput) +} + +func (o CloudProjectKubeCustomizationKubeProxyPtrOutput) Ipvs() CloudProjectKubeCustomizationKubeProxyIpvsPtrOutput { + return o.ApplyT(func(v *CloudProjectKubeCustomizationKubeProxy) *CloudProjectKubeCustomizationKubeProxyIpvs { + if v == nil { + return nil + } + return v.Ipvs + }).(CloudProjectKubeCustomizationKubeProxyIpvsPtrOutput) +} + +type CloudProjectKubeCustomizationKubeProxyIptables struct { + MinSyncPeriod *string `pulumi:"minSyncPeriod"` + SyncPeriod *string `pulumi:"syncPeriod"` +} + +// CloudProjectKubeCustomizationKubeProxyIptablesInput is an input type that accepts CloudProjectKubeCustomizationKubeProxyIptablesArgs and CloudProjectKubeCustomizationKubeProxyIptablesOutput values. +// You can construct a concrete instance of `CloudProjectKubeCustomizationKubeProxyIptablesInput` via: +// +// CloudProjectKubeCustomizationKubeProxyIptablesArgs{...} +type CloudProjectKubeCustomizationKubeProxyIptablesInput interface { + pulumi.Input + + ToCloudProjectKubeCustomizationKubeProxyIptablesOutput() CloudProjectKubeCustomizationKubeProxyIptablesOutput + ToCloudProjectKubeCustomizationKubeProxyIptablesOutputWithContext(context.Context) CloudProjectKubeCustomizationKubeProxyIptablesOutput +} + +type CloudProjectKubeCustomizationKubeProxyIptablesArgs struct { + MinSyncPeriod pulumi.StringPtrInput `pulumi:"minSyncPeriod"` + SyncPeriod pulumi.StringPtrInput `pulumi:"syncPeriod"` +} + +func (CloudProjectKubeCustomizationKubeProxyIptablesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*CloudProjectKubeCustomizationKubeProxyIptables)(nil)).Elem() +} + +func (i CloudProjectKubeCustomizationKubeProxyIptablesArgs) ToCloudProjectKubeCustomizationKubeProxyIptablesOutput() CloudProjectKubeCustomizationKubeProxyIptablesOutput { + return i.ToCloudProjectKubeCustomizationKubeProxyIptablesOutputWithContext(context.Background()) +} + +func (i CloudProjectKubeCustomizationKubeProxyIptablesArgs) ToCloudProjectKubeCustomizationKubeProxyIptablesOutputWithContext(ctx context.Context) CloudProjectKubeCustomizationKubeProxyIptablesOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectKubeCustomizationKubeProxyIptablesOutput) +} + +func (i CloudProjectKubeCustomizationKubeProxyIptablesArgs) ToCloudProjectKubeCustomizationKubeProxyIptablesPtrOutput() CloudProjectKubeCustomizationKubeProxyIptablesPtrOutput { + return i.ToCloudProjectKubeCustomizationKubeProxyIptablesPtrOutputWithContext(context.Background()) +} + +func (i CloudProjectKubeCustomizationKubeProxyIptablesArgs) ToCloudProjectKubeCustomizationKubeProxyIptablesPtrOutputWithContext(ctx context.Context) CloudProjectKubeCustomizationKubeProxyIptablesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectKubeCustomizationKubeProxyIptablesOutput).ToCloudProjectKubeCustomizationKubeProxyIptablesPtrOutputWithContext(ctx) +} + +// CloudProjectKubeCustomizationKubeProxyIptablesPtrInput is an input type that accepts CloudProjectKubeCustomizationKubeProxyIptablesArgs, CloudProjectKubeCustomizationKubeProxyIptablesPtr and CloudProjectKubeCustomizationKubeProxyIptablesPtrOutput values. +// You can construct a concrete instance of `CloudProjectKubeCustomizationKubeProxyIptablesPtrInput` via: +// +// CloudProjectKubeCustomizationKubeProxyIptablesArgs{...} +// +// or: +// +// nil +type CloudProjectKubeCustomizationKubeProxyIptablesPtrInput interface { + pulumi.Input + + ToCloudProjectKubeCustomizationKubeProxyIptablesPtrOutput() CloudProjectKubeCustomizationKubeProxyIptablesPtrOutput + ToCloudProjectKubeCustomizationKubeProxyIptablesPtrOutputWithContext(context.Context) CloudProjectKubeCustomizationKubeProxyIptablesPtrOutput +} + +type cloudProjectKubeCustomizationKubeProxyIptablesPtrType CloudProjectKubeCustomizationKubeProxyIptablesArgs + +func CloudProjectKubeCustomizationKubeProxyIptablesPtr(v *CloudProjectKubeCustomizationKubeProxyIptablesArgs) CloudProjectKubeCustomizationKubeProxyIptablesPtrInput { + return (*cloudProjectKubeCustomizationKubeProxyIptablesPtrType)(v) +} + +func (*cloudProjectKubeCustomizationKubeProxyIptablesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**CloudProjectKubeCustomizationKubeProxyIptables)(nil)).Elem() +} + +func (i *cloudProjectKubeCustomizationKubeProxyIptablesPtrType) ToCloudProjectKubeCustomizationKubeProxyIptablesPtrOutput() CloudProjectKubeCustomizationKubeProxyIptablesPtrOutput { + return i.ToCloudProjectKubeCustomizationKubeProxyIptablesPtrOutputWithContext(context.Background()) +} + +func (i *cloudProjectKubeCustomizationKubeProxyIptablesPtrType) ToCloudProjectKubeCustomizationKubeProxyIptablesPtrOutputWithContext(ctx context.Context) CloudProjectKubeCustomizationKubeProxyIptablesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectKubeCustomizationKubeProxyIptablesPtrOutput) +} + +type CloudProjectKubeCustomizationKubeProxyIptablesOutput struct{ *pulumi.OutputState } + +func (CloudProjectKubeCustomizationKubeProxyIptablesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*CloudProjectKubeCustomizationKubeProxyIptables)(nil)).Elem() +} + +func (o CloudProjectKubeCustomizationKubeProxyIptablesOutput) ToCloudProjectKubeCustomizationKubeProxyIptablesOutput() CloudProjectKubeCustomizationKubeProxyIptablesOutput { + return o +} + +func (o CloudProjectKubeCustomizationKubeProxyIptablesOutput) ToCloudProjectKubeCustomizationKubeProxyIptablesOutputWithContext(ctx context.Context) CloudProjectKubeCustomizationKubeProxyIptablesOutput { + return o +} + +func (o CloudProjectKubeCustomizationKubeProxyIptablesOutput) ToCloudProjectKubeCustomizationKubeProxyIptablesPtrOutput() CloudProjectKubeCustomizationKubeProxyIptablesPtrOutput { + return o.ToCloudProjectKubeCustomizationKubeProxyIptablesPtrOutputWithContext(context.Background()) +} + +func (o CloudProjectKubeCustomizationKubeProxyIptablesOutput) ToCloudProjectKubeCustomizationKubeProxyIptablesPtrOutputWithContext(ctx context.Context) CloudProjectKubeCustomizationKubeProxyIptablesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v CloudProjectKubeCustomizationKubeProxyIptables) *CloudProjectKubeCustomizationKubeProxyIptables { + return &v + }).(CloudProjectKubeCustomizationKubeProxyIptablesPtrOutput) +} + +func (o CloudProjectKubeCustomizationKubeProxyIptablesOutput) MinSyncPeriod() pulumi.StringPtrOutput { + return o.ApplyT(func(v CloudProjectKubeCustomizationKubeProxyIptables) *string { return v.MinSyncPeriod }).(pulumi.StringPtrOutput) +} + +func (o CloudProjectKubeCustomizationKubeProxyIptablesOutput) SyncPeriod() pulumi.StringPtrOutput { + return o.ApplyT(func(v CloudProjectKubeCustomizationKubeProxyIptables) *string { return v.SyncPeriod }).(pulumi.StringPtrOutput) +} + +type CloudProjectKubeCustomizationKubeProxyIptablesPtrOutput struct{ *pulumi.OutputState } + +func (CloudProjectKubeCustomizationKubeProxyIptablesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**CloudProjectKubeCustomizationKubeProxyIptables)(nil)).Elem() +} + +func (o CloudProjectKubeCustomizationKubeProxyIptablesPtrOutput) ToCloudProjectKubeCustomizationKubeProxyIptablesPtrOutput() CloudProjectKubeCustomizationKubeProxyIptablesPtrOutput { + return o +} + +func (o CloudProjectKubeCustomizationKubeProxyIptablesPtrOutput) ToCloudProjectKubeCustomizationKubeProxyIptablesPtrOutputWithContext(ctx context.Context) CloudProjectKubeCustomizationKubeProxyIptablesPtrOutput { + return o +} + +func (o CloudProjectKubeCustomizationKubeProxyIptablesPtrOutput) Elem() CloudProjectKubeCustomizationKubeProxyIptablesOutput { + return o.ApplyT(func(v *CloudProjectKubeCustomizationKubeProxyIptables) CloudProjectKubeCustomizationKubeProxyIptables { + if v != nil { + return *v + } + var ret CloudProjectKubeCustomizationKubeProxyIptables + return ret + }).(CloudProjectKubeCustomizationKubeProxyIptablesOutput) +} + +func (o CloudProjectKubeCustomizationKubeProxyIptablesPtrOutput) MinSyncPeriod() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudProjectKubeCustomizationKubeProxyIptables) *string { + if v == nil { + return nil + } + return v.MinSyncPeriod + }).(pulumi.StringPtrOutput) +} + +func (o CloudProjectKubeCustomizationKubeProxyIptablesPtrOutput) SyncPeriod() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudProjectKubeCustomizationKubeProxyIptables) *string { + if v == nil { + return nil + } + return v.SyncPeriod + }).(pulumi.StringPtrOutput) +} + +type CloudProjectKubeCustomizationKubeProxyIpvs struct { + MinSyncPeriod *string `pulumi:"minSyncPeriod"` + Scheduler *string `pulumi:"scheduler"` + SyncPeriod *string `pulumi:"syncPeriod"` + TcpFinTimeout *string `pulumi:"tcpFinTimeout"` + TcpTimeout *string `pulumi:"tcpTimeout"` + UdpTimeout *string `pulumi:"udpTimeout"` +} + +// CloudProjectKubeCustomizationKubeProxyIpvsInput is an input type that accepts CloudProjectKubeCustomizationKubeProxyIpvsArgs and CloudProjectKubeCustomizationKubeProxyIpvsOutput values. +// You can construct a concrete instance of `CloudProjectKubeCustomizationKubeProxyIpvsInput` via: +// +// CloudProjectKubeCustomizationKubeProxyIpvsArgs{...} +type CloudProjectKubeCustomizationKubeProxyIpvsInput interface { + pulumi.Input + + ToCloudProjectKubeCustomizationKubeProxyIpvsOutput() CloudProjectKubeCustomizationKubeProxyIpvsOutput + ToCloudProjectKubeCustomizationKubeProxyIpvsOutputWithContext(context.Context) CloudProjectKubeCustomizationKubeProxyIpvsOutput +} + +type CloudProjectKubeCustomizationKubeProxyIpvsArgs struct { + MinSyncPeriod pulumi.StringPtrInput `pulumi:"minSyncPeriod"` + Scheduler pulumi.StringPtrInput `pulumi:"scheduler"` + SyncPeriod pulumi.StringPtrInput `pulumi:"syncPeriod"` + TcpFinTimeout pulumi.StringPtrInput `pulumi:"tcpFinTimeout"` + TcpTimeout pulumi.StringPtrInput `pulumi:"tcpTimeout"` + UdpTimeout pulumi.StringPtrInput `pulumi:"udpTimeout"` +} + +func (CloudProjectKubeCustomizationKubeProxyIpvsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*CloudProjectKubeCustomizationKubeProxyIpvs)(nil)).Elem() +} + +func (i CloudProjectKubeCustomizationKubeProxyIpvsArgs) ToCloudProjectKubeCustomizationKubeProxyIpvsOutput() CloudProjectKubeCustomizationKubeProxyIpvsOutput { + return i.ToCloudProjectKubeCustomizationKubeProxyIpvsOutputWithContext(context.Background()) +} + +func (i CloudProjectKubeCustomizationKubeProxyIpvsArgs) ToCloudProjectKubeCustomizationKubeProxyIpvsOutputWithContext(ctx context.Context) CloudProjectKubeCustomizationKubeProxyIpvsOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectKubeCustomizationKubeProxyIpvsOutput) +} + +func (i CloudProjectKubeCustomizationKubeProxyIpvsArgs) ToCloudProjectKubeCustomizationKubeProxyIpvsPtrOutput() CloudProjectKubeCustomizationKubeProxyIpvsPtrOutput { + return i.ToCloudProjectKubeCustomizationKubeProxyIpvsPtrOutputWithContext(context.Background()) +} + +func (i CloudProjectKubeCustomizationKubeProxyIpvsArgs) ToCloudProjectKubeCustomizationKubeProxyIpvsPtrOutputWithContext(ctx context.Context) CloudProjectKubeCustomizationKubeProxyIpvsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectKubeCustomizationKubeProxyIpvsOutput).ToCloudProjectKubeCustomizationKubeProxyIpvsPtrOutputWithContext(ctx) +} + +// CloudProjectKubeCustomizationKubeProxyIpvsPtrInput is an input type that accepts CloudProjectKubeCustomizationKubeProxyIpvsArgs, CloudProjectKubeCustomizationKubeProxyIpvsPtr and CloudProjectKubeCustomizationKubeProxyIpvsPtrOutput values. +// You can construct a concrete instance of `CloudProjectKubeCustomizationKubeProxyIpvsPtrInput` via: +// +// CloudProjectKubeCustomizationKubeProxyIpvsArgs{...} +// +// or: +// +// nil +type CloudProjectKubeCustomizationKubeProxyIpvsPtrInput interface { + pulumi.Input + + ToCloudProjectKubeCustomizationKubeProxyIpvsPtrOutput() CloudProjectKubeCustomizationKubeProxyIpvsPtrOutput + ToCloudProjectKubeCustomizationKubeProxyIpvsPtrOutputWithContext(context.Context) CloudProjectKubeCustomizationKubeProxyIpvsPtrOutput +} + +type cloudProjectKubeCustomizationKubeProxyIpvsPtrType CloudProjectKubeCustomizationKubeProxyIpvsArgs + +func CloudProjectKubeCustomizationKubeProxyIpvsPtr(v *CloudProjectKubeCustomizationKubeProxyIpvsArgs) CloudProjectKubeCustomizationKubeProxyIpvsPtrInput { + return (*cloudProjectKubeCustomizationKubeProxyIpvsPtrType)(v) +} + +func (*cloudProjectKubeCustomizationKubeProxyIpvsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**CloudProjectKubeCustomizationKubeProxyIpvs)(nil)).Elem() +} + +func (i *cloudProjectKubeCustomizationKubeProxyIpvsPtrType) ToCloudProjectKubeCustomizationKubeProxyIpvsPtrOutput() CloudProjectKubeCustomizationKubeProxyIpvsPtrOutput { + return i.ToCloudProjectKubeCustomizationKubeProxyIpvsPtrOutputWithContext(context.Background()) +} + +func (i *cloudProjectKubeCustomizationKubeProxyIpvsPtrType) ToCloudProjectKubeCustomizationKubeProxyIpvsPtrOutputWithContext(ctx context.Context) CloudProjectKubeCustomizationKubeProxyIpvsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectKubeCustomizationKubeProxyIpvsPtrOutput) +} + +type CloudProjectKubeCustomizationKubeProxyIpvsOutput struct{ *pulumi.OutputState } + +func (CloudProjectKubeCustomizationKubeProxyIpvsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*CloudProjectKubeCustomizationKubeProxyIpvs)(nil)).Elem() +} + +func (o CloudProjectKubeCustomizationKubeProxyIpvsOutput) ToCloudProjectKubeCustomizationKubeProxyIpvsOutput() CloudProjectKubeCustomizationKubeProxyIpvsOutput { + return o +} + +func (o CloudProjectKubeCustomizationKubeProxyIpvsOutput) ToCloudProjectKubeCustomizationKubeProxyIpvsOutputWithContext(ctx context.Context) CloudProjectKubeCustomizationKubeProxyIpvsOutput { + return o +} + +func (o CloudProjectKubeCustomizationKubeProxyIpvsOutput) ToCloudProjectKubeCustomizationKubeProxyIpvsPtrOutput() CloudProjectKubeCustomizationKubeProxyIpvsPtrOutput { + return o.ToCloudProjectKubeCustomizationKubeProxyIpvsPtrOutputWithContext(context.Background()) +} + +func (o CloudProjectKubeCustomizationKubeProxyIpvsOutput) ToCloudProjectKubeCustomizationKubeProxyIpvsPtrOutputWithContext(ctx context.Context) CloudProjectKubeCustomizationKubeProxyIpvsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v CloudProjectKubeCustomizationKubeProxyIpvs) *CloudProjectKubeCustomizationKubeProxyIpvs { + return &v + }).(CloudProjectKubeCustomizationKubeProxyIpvsPtrOutput) +} + +func (o CloudProjectKubeCustomizationKubeProxyIpvsOutput) MinSyncPeriod() pulumi.StringPtrOutput { + return o.ApplyT(func(v CloudProjectKubeCustomizationKubeProxyIpvs) *string { return v.MinSyncPeriod }).(pulumi.StringPtrOutput) +} + +func (o CloudProjectKubeCustomizationKubeProxyIpvsOutput) Scheduler() pulumi.StringPtrOutput { + return o.ApplyT(func(v CloudProjectKubeCustomizationKubeProxyIpvs) *string { return v.Scheduler }).(pulumi.StringPtrOutput) +} + +func (o CloudProjectKubeCustomizationKubeProxyIpvsOutput) SyncPeriod() pulumi.StringPtrOutput { + return o.ApplyT(func(v CloudProjectKubeCustomizationKubeProxyIpvs) *string { return v.SyncPeriod }).(pulumi.StringPtrOutput) +} + +func (o CloudProjectKubeCustomizationKubeProxyIpvsOutput) TcpFinTimeout() pulumi.StringPtrOutput { + return o.ApplyT(func(v CloudProjectKubeCustomizationKubeProxyIpvs) *string { return v.TcpFinTimeout }).(pulumi.StringPtrOutput) +} + +func (o CloudProjectKubeCustomizationKubeProxyIpvsOutput) TcpTimeout() pulumi.StringPtrOutput { + return o.ApplyT(func(v CloudProjectKubeCustomizationKubeProxyIpvs) *string { return v.TcpTimeout }).(pulumi.StringPtrOutput) +} + +func (o CloudProjectKubeCustomizationKubeProxyIpvsOutput) UdpTimeout() pulumi.StringPtrOutput { + return o.ApplyT(func(v CloudProjectKubeCustomizationKubeProxyIpvs) *string { return v.UdpTimeout }).(pulumi.StringPtrOutput) +} + +type CloudProjectKubeCustomizationKubeProxyIpvsPtrOutput struct{ *pulumi.OutputState } + +func (CloudProjectKubeCustomizationKubeProxyIpvsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**CloudProjectKubeCustomizationKubeProxyIpvs)(nil)).Elem() +} + +func (o CloudProjectKubeCustomizationKubeProxyIpvsPtrOutput) ToCloudProjectKubeCustomizationKubeProxyIpvsPtrOutput() CloudProjectKubeCustomizationKubeProxyIpvsPtrOutput { + return o +} + +func (o CloudProjectKubeCustomizationKubeProxyIpvsPtrOutput) ToCloudProjectKubeCustomizationKubeProxyIpvsPtrOutputWithContext(ctx context.Context) CloudProjectKubeCustomizationKubeProxyIpvsPtrOutput { + return o +} + +func (o CloudProjectKubeCustomizationKubeProxyIpvsPtrOutput) Elem() CloudProjectKubeCustomizationKubeProxyIpvsOutput { + return o.ApplyT(func(v *CloudProjectKubeCustomizationKubeProxyIpvs) CloudProjectKubeCustomizationKubeProxyIpvs { + if v != nil { + return *v + } + var ret CloudProjectKubeCustomizationKubeProxyIpvs + return ret + }).(CloudProjectKubeCustomizationKubeProxyIpvsOutput) +} + +func (o CloudProjectKubeCustomizationKubeProxyIpvsPtrOutput) MinSyncPeriod() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudProjectKubeCustomizationKubeProxyIpvs) *string { + if v == nil { + return nil + } + return v.MinSyncPeriod + }).(pulumi.StringPtrOutput) +} + +func (o CloudProjectKubeCustomizationKubeProxyIpvsPtrOutput) Scheduler() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudProjectKubeCustomizationKubeProxyIpvs) *string { + if v == nil { + return nil + } + return v.Scheduler + }).(pulumi.StringPtrOutput) +} + +func (o CloudProjectKubeCustomizationKubeProxyIpvsPtrOutput) SyncPeriod() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudProjectKubeCustomizationKubeProxyIpvs) *string { + if v == nil { + return nil + } + return v.SyncPeriod + }).(pulumi.StringPtrOutput) +} + +func (o CloudProjectKubeCustomizationKubeProxyIpvsPtrOutput) TcpFinTimeout() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudProjectKubeCustomizationKubeProxyIpvs) *string { + if v == nil { + return nil + } + return v.TcpFinTimeout + }).(pulumi.StringPtrOutput) +} + +func (o CloudProjectKubeCustomizationKubeProxyIpvsPtrOutput) TcpTimeout() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudProjectKubeCustomizationKubeProxyIpvs) *string { + if v == nil { + return nil + } + return v.TcpTimeout + }).(pulumi.StringPtrOutput) +} + +func (o CloudProjectKubeCustomizationKubeProxyIpvsPtrOutput) UdpTimeout() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudProjectKubeCustomizationKubeProxyIpvs) *string { + if v == nil { + return nil + } + return v.UdpTimeout + }).(pulumi.StringPtrOutput) +} + +type CloudProjectKubeIprestrictionsTimeouts struct { + Create *string `pulumi:"create"` + Default *string `pulumi:"default"` + Delete *string `pulumi:"delete"` + Read *string `pulumi:"read"` + Update *string `pulumi:"update"` +} + +// CloudProjectKubeIprestrictionsTimeoutsInput is an input type that accepts CloudProjectKubeIprestrictionsTimeoutsArgs and CloudProjectKubeIprestrictionsTimeoutsOutput values. +// You can construct a concrete instance of `CloudProjectKubeIprestrictionsTimeoutsInput` via: +// +// CloudProjectKubeIprestrictionsTimeoutsArgs{...} +type CloudProjectKubeIprestrictionsTimeoutsInput interface { + pulumi.Input + + ToCloudProjectKubeIprestrictionsTimeoutsOutput() CloudProjectKubeIprestrictionsTimeoutsOutput + ToCloudProjectKubeIprestrictionsTimeoutsOutputWithContext(context.Context) CloudProjectKubeIprestrictionsTimeoutsOutput +} + +type CloudProjectKubeIprestrictionsTimeoutsArgs struct { + Create pulumi.StringPtrInput `pulumi:"create"` + Default pulumi.StringPtrInput `pulumi:"default"` + Delete pulumi.StringPtrInput `pulumi:"delete"` + Read pulumi.StringPtrInput `pulumi:"read"` + Update pulumi.StringPtrInput `pulumi:"update"` +} + +func (CloudProjectKubeIprestrictionsTimeoutsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*CloudProjectKubeIprestrictionsTimeouts)(nil)).Elem() +} + +func (i CloudProjectKubeIprestrictionsTimeoutsArgs) ToCloudProjectKubeIprestrictionsTimeoutsOutput() CloudProjectKubeIprestrictionsTimeoutsOutput { + return i.ToCloudProjectKubeIprestrictionsTimeoutsOutputWithContext(context.Background()) +} + +func (i CloudProjectKubeIprestrictionsTimeoutsArgs) ToCloudProjectKubeIprestrictionsTimeoutsOutputWithContext(ctx context.Context) CloudProjectKubeIprestrictionsTimeoutsOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectKubeIprestrictionsTimeoutsOutput) +} + +func (i CloudProjectKubeIprestrictionsTimeoutsArgs) ToCloudProjectKubeIprestrictionsTimeoutsPtrOutput() CloudProjectKubeIprestrictionsTimeoutsPtrOutput { + return i.ToCloudProjectKubeIprestrictionsTimeoutsPtrOutputWithContext(context.Background()) +} + +func (i CloudProjectKubeIprestrictionsTimeoutsArgs) ToCloudProjectKubeIprestrictionsTimeoutsPtrOutputWithContext(ctx context.Context) CloudProjectKubeIprestrictionsTimeoutsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectKubeIprestrictionsTimeoutsOutput).ToCloudProjectKubeIprestrictionsTimeoutsPtrOutputWithContext(ctx) +} + +// CloudProjectKubeIprestrictionsTimeoutsPtrInput is an input type that accepts CloudProjectKubeIprestrictionsTimeoutsArgs, CloudProjectKubeIprestrictionsTimeoutsPtr and CloudProjectKubeIprestrictionsTimeoutsPtrOutput values. +// You can construct a concrete instance of `CloudProjectKubeIprestrictionsTimeoutsPtrInput` via: +// +// CloudProjectKubeIprestrictionsTimeoutsArgs{...} +// +// or: +// +// nil +type CloudProjectKubeIprestrictionsTimeoutsPtrInput interface { + pulumi.Input + + ToCloudProjectKubeIprestrictionsTimeoutsPtrOutput() CloudProjectKubeIprestrictionsTimeoutsPtrOutput + ToCloudProjectKubeIprestrictionsTimeoutsPtrOutputWithContext(context.Context) CloudProjectKubeIprestrictionsTimeoutsPtrOutput +} + +type cloudProjectKubeIprestrictionsTimeoutsPtrType CloudProjectKubeIprestrictionsTimeoutsArgs + +func CloudProjectKubeIprestrictionsTimeoutsPtr(v *CloudProjectKubeIprestrictionsTimeoutsArgs) CloudProjectKubeIprestrictionsTimeoutsPtrInput { + return (*cloudProjectKubeIprestrictionsTimeoutsPtrType)(v) +} + +func (*cloudProjectKubeIprestrictionsTimeoutsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**CloudProjectKubeIprestrictionsTimeouts)(nil)).Elem() +} + +func (i *cloudProjectKubeIprestrictionsTimeoutsPtrType) ToCloudProjectKubeIprestrictionsTimeoutsPtrOutput() CloudProjectKubeIprestrictionsTimeoutsPtrOutput { + return i.ToCloudProjectKubeIprestrictionsTimeoutsPtrOutputWithContext(context.Background()) +} + +func (i *cloudProjectKubeIprestrictionsTimeoutsPtrType) ToCloudProjectKubeIprestrictionsTimeoutsPtrOutputWithContext(ctx context.Context) CloudProjectKubeIprestrictionsTimeoutsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectKubeIprestrictionsTimeoutsPtrOutput) +} + +type CloudProjectKubeIprestrictionsTimeoutsOutput struct{ *pulumi.OutputState } + +func (CloudProjectKubeIprestrictionsTimeoutsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*CloudProjectKubeIprestrictionsTimeouts)(nil)).Elem() +} + +func (o CloudProjectKubeIprestrictionsTimeoutsOutput) ToCloudProjectKubeIprestrictionsTimeoutsOutput() CloudProjectKubeIprestrictionsTimeoutsOutput { + return o +} + +func (o CloudProjectKubeIprestrictionsTimeoutsOutput) ToCloudProjectKubeIprestrictionsTimeoutsOutputWithContext(ctx context.Context) CloudProjectKubeIprestrictionsTimeoutsOutput { + return o +} + +func (o CloudProjectKubeIprestrictionsTimeoutsOutput) ToCloudProjectKubeIprestrictionsTimeoutsPtrOutput() CloudProjectKubeIprestrictionsTimeoutsPtrOutput { + return o.ToCloudProjectKubeIprestrictionsTimeoutsPtrOutputWithContext(context.Background()) +} + +func (o CloudProjectKubeIprestrictionsTimeoutsOutput) ToCloudProjectKubeIprestrictionsTimeoutsPtrOutputWithContext(ctx context.Context) CloudProjectKubeIprestrictionsTimeoutsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v CloudProjectKubeIprestrictionsTimeouts) *CloudProjectKubeIprestrictionsTimeouts { + return &v + }).(CloudProjectKubeIprestrictionsTimeoutsPtrOutput) +} + +func (o CloudProjectKubeIprestrictionsTimeoutsOutput) Create() pulumi.StringPtrOutput { + return o.ApplyT(func(v CloudProjectKubeIprestrictionsTimeouts) *string { return v.Create }).(pulumi.StringPtrOutput) +} + +func (o CloudProjectKubeIprestrictionsTimeoutsOutput) Default() pulumi.StringPtrOutput { + return o.ApplyT(func(v CloudProjectKubeIprestrictionsTimeouts) *string { return v.Default }).(pulumi.StringPtrOutput) +} + +func (o CloudProjectKubeIprestrictionsTimeoutsOutput) Delete() pulumi.StringPtrOutput { + return o.ApplyT(func(v CloudProjectKubeIprestrictionsTimeouts) *string { return v.Delete }).(pulumi.StringPtrOutput) +} + +func (o CloudProjectKubeIprestrictionsTimeoutsOutput) Read() pulumi.StringPtrOutput { + return o.ApplyT(func(v CloudProjectKubeIprestrictionsTimeouts) *string { return v.Read }).(pulumi.StringPtrOutput) +} + +func (o CloudProjectKubeIprestrictionsTimeoutsOutput) Update() pulumi.StringPtrOutput { + return o.ApplyT(func(v CloudProjectKubeIprestrictionsTimeouts) *string { return v.Update }).(pulumi.StringPtrOutput) +} + +type CloudProjectKubeIprestrictionsTimeoutsPtrOutput struct{ *pulumi.OutputState } + +func (CloudProjectKubeIprestrictionsTimeoutsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**CloudProjectKubeIprestrictionsTimeouts)(nil)).Elem() +} + +func (o CloudProjectKubeIprestrictionsTimeoutsPtrOutput) ToCloudProjectKubeIprestrictionsTimeoutsPtrOutput() CloudProjectKubeIprestrictionsTimeoutsPtrOutput { + return o +} + +func (o CloudProjectKubeIprestrictionsTimeoutsPtrOutput) ToCloudProjectKubeIprestrictionsTimeoutsPtrOutputWithContext(ctx context.Context) CloudProjectKubeIprestrictionsTimeoutsPtrOutput { + return o +} + +func (o CloudProjectKubeIprestrictionsTimeoutsPtrOutput) Elem() CloudProjectKubeIprestrictionsTimeoutsOutput { + return o.ApplyT(func(v *CloudProjectKubeIprestrictionsTimeouts) CloudProjectKubeIprestrictionsTimeouts { + if v != nil { + return *v + } + var ret CloudProjectKubeIprestrictionsTimeouts + return ret + }).(CloudProjectKubeIprestrictionsTimeoutsOutput) +} + +func (o CloudProjectKubeIprestrictionsTimeoutsPtrOutput) Create() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudProjectKubeIprestrictionsTimeouts) *string { + if v == nil { + return nil + } + return v.Create + }).(pulumi.StringPtrOutput) +} + +func (o CloudProjectKubeIprestrictionsTimeoutsPtrOutput) Default() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudProjectKubeIprestrictionsTimeouts) *string { + if v == nil { + return nil + } + return v.Default + }).(pulumi.StringPtrOutput) +} + +func (o CloudProjectKubeIprestrictionsTimeoutsPtrOutput) Delete() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudProjectKubeIprestrictionsTimeouts) *string { + if v == nil { + return nil + } + return v.Delete + }).(pulumi.StringPtrOutput) +} + +func (o CloudProjectKubeIprestrictionsTimeoutsPtrOutput) Read() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudProjectKubeIprestrictionsTimeouts) *string { + if v == nil { + return nil + } + return v.Read + }).(pulumi.StringPtrOutput) +} + +func (o CloudProjectKubeIprestrictionsTimeoutsPtrOutput) Update() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudProjectKubeIprestrictionsTimeouts) *string { + if v == nil { + return nil + } + return v.Update + }).(pulumi.StringPtrOutput) +} + +type CloudProjectKubeKubeconfigAttribute struct { + ClientCertificate string `pulumi:"clientCertificate"` + ClientKey string `pulumi:"clientKey"` + ClusterCaCertificate string `pulumi:"clusterCaCertificate"` + Host string `pulumi:"host"` +} + +// CloudProjectKubeKubeconfigAttributeInput is an input type that accepts CloudProjectKubeKubeconfigAttributeArgs and CloudProjectKubeKubeconfigAttributeOutput values. +// You can construct a concrete instance of `CloudProjectKubeKubeconfigAttributeInput` via: +// +// CloudProjectKubeKubeconfigAttributeArgs{...} +type CloudProjectKubeKubeconfigAttributeInput interface { + pulumi.Input + + ToCloudProjectKubeKubeconfigAttributeOutput() CloudProjectKubeKubeconfigAttributeOutput + ToCloudProjectKubeKubeconfigAttributeOutputWithContext(context.Context) CloudProjectKubeKubeconfigAttributeOutput +} + +type CloudProjectKubeKubeconfigAttributeArgs struct { + ClientCertificate pulumi.StringInput `pulumi:"clientCertificate"` + ClientKey pulumi.StringInput `pulumi:"clientKey"` + ClusterCaCertificate pulumi.StringInput `pulumi:"clusterCaCertificate"` + Host pulumi.StringInput `pulumi:"host"` +} + +func (CloudProjectKubeKubeconfigAttributeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*CloudProjectKubeKubeconfigAttribute)(nil)).Elem() +} + +func (i CloudProjectKubeKubeconfigAttributeArgs) ToCloudProjectKubeKubeconfigAttributeOutput() CloudProjectKubeKubeconfigAttributeOutput { + return i.ToCloudProjectKubeKubeconfigAttributeOutputWithContext(context.Background()) +} + +func (i CloudProjectKubeKubeconfigAttributeArgs) ToCloudProjectKubeKubeconfigAttributeOutputWithContext(ctx context.Context) CloudProjectKubeKubeconfigAttributeOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectKubeKubeconfigAttributeOutput) +} + +// CloudProjectKubeKubeconfigAttributeArrayInput is an input type that accepts CloudProjectKubeKubeconfigAttributeArray and CloudProjectKubeKubeconfigAttributeArrayOutput values. +// You can construct a concrete instance of `CloudProjectKubeKubeconfigAttributeArrayInput` via: +// +// CloudProjectKubeKubeconfigAttributeArray{ CloudProjectKubeKubeconfigAttributeArgs{...} } +type CloudProjectKubeKubeconfigAttributeArrayInput interface { + pulumi.Input + + ToCloudProjectKubeKubeconfigAttributeArrayOutput() CloudProjectKubeKubeconfigAttributeArrayOutput + ToCloudProjectKubeKubeconfigAttributeArrayOutputWithContext(context.Context) CloudProjectKubeKubeconfigAttributeArrayOutput +} + +type CloudProjectKubeKubeconfigAttributeArray []CloudProjectKubeKubeconfigAttributeInput + +func (CloudProjectKubeKubeconfigAttributeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]CloudProjectKubeKubeconfigAttribute)(nil)).Elem() +} + +func (i CloudProjectKubeKubeconfigAttributeArray) ToCloudProjectKubeKubeconfigAttributeArrayOutput() CloudProjectKubeKubeconfigAttributeArrayOutput { + return i.ToCloudProjectKubeKubeconfigAttributeArrayOutputWithContext(context.Background()) +} + +func (i CloudProjectKubeKubeconfigAttributeArray) ToCloudProjectKubeKubeconfigAttributeArrayOutputWithContext(ctx context.Context) CloudProjectKubeKubeconfigAttributeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectKubeKubeconfigAttributeArrayOutput) +} + +type CloudProjectKubeKubeconfigAttributeOutput struct{ *pulumi.OutputState } + +func (CloudProjectKubeKubeconfigAttributeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*CloudProjectKubeKubeconfigAttribute)(nil)).Elem() +} + +func (o CloudProjectKubeKubeconfigAttributeOutput) ToCloudProjectKubeKubeconfigAttributeOutput() CloudProjectKubeKubeconfigAttributeOutput { + return o +} + +func (o CloudProjectKubeKubeconfigAttributeOutput) ToCloudProjectKubeKubeconfigAttributeOutputWithContext(ctx context.Context) CloudProjectKubeKubeconfigAttributeOutput { + return o +} + +func (o CloudProjectKubeKubeconfigAttributeOutput) ClientCertificate() pulumi.StringOutput { + return o.ApplyT(func(v CloudProjectKubeKubeconfigAttribute) string { return v.ClientCertificate }).(pulumi.StringOutput) +} + +func (o CloudProjectKubeKubeconfigAttributeOutput) ClientKey() pulumi.StringOutput { + return o.ApplyT(func(v CloudProjectKubeKubeconfigAttribute) string { return v.ClientKey }).(pulumi.StringOutput) +} + +func (o CloudProjectKubeKubeconfigAttributeOutput) ClusterCaCertificate() pulumi.StringOutput { + return o.ApplyT(func(v CloudProjectKubeKubeconfigAttribute) string { return v.ClusterCaCertificate }).(pulumi.StringOutput) +} + +func (o CloudProjectKubeKubeconfigAttributeOutput) Host() pulumi.StringOutput { + return o.ApplyT(func(v CloudProjectKubeKubeconfigAttribute) string { return v.Host }).(pulumi.StringOutput) +} + +type CloudProjectKubeKubeconfigAttributeArrayOutput struct{ *pulumi.OutputState } + +func (CloudProjectKubeKubeconfigAttributeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]CloudProjectKubeKubeconfigAttribute)(nil)).Elem() +} + +func (o CloudProjectKubeKubeconfigAttributeArrayOutput) ToCloudProjectKubeKubeconfigAttributeArrayOutput() CloudProjectKubeKubeconfigAttributeArrayOutput { + return o +} + +func (o CloudProjectKubeKubeconfigAttributeArrayOutput) ToCloudProjectKubeKubeconfigAttributeArrayOutputWithContext(ctx context.Context) CloudProjectKubeKubeconfigAttributeArrayOutput { + return o +} + +func (o CloudProjectKubeKubeconfigAttributeArrayOutput) Index(i pulumi.IntInput) CloudProjectKubeKubeconfigAttributeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) CloudProjectKubeKubeconfigAttribute { + return vs[0].([]CloudProjectKubeKubeconfigAttribute)[vs[1].(int)] + }).(CloudProjectKubeKubeconfigAttributeOutput) +} + +type CloudProjectKubeNodepoolTemplate struct { + // metadata + Metadata CloudProjectKubeNodepoolTemplateMetadata `pulumi:"metadata"` + // spec + Spec CloudProjectKubeNodepoolTemplateSpec `pulumi:"spec"` +} + +// CloudProjectKubeNodepoolTemplateInput is an input type that accepts CloudProjectKubeNodepoolTemplateArgs and CloudProjectKubeNodepoolTemplateOutput values. +// You can construct a concrete instance of `CloudProjectKubeNodepoolTemplateInput` via: +// +// CloudProjectKubeNodepoolTemplateArgs{...} +type CloudProjectKubeNodepoolTemplateInput interface { + pulumi.Input + + ToCloudProjectKubeNodepoolTemplateOutput() CloudProjectKubeNodepoolTemplateOutput + ToCloudProjectKubeNodepoolTemplateOutputWithContext(context.Context) CloudProjectKubeNodepoolTemplateOutput +} + +type CloudProjectKubeNodepoolTemplateArgs struct { + // metadata + Metadata CloudProjectKubeNodepoolTemplateMetadataInput `pulumi:"metadata"` + // spec + Spec CloudProjectKubeNodepoolTemplateSpecInput `pulumi:"spec"` +} + +func (CloudProjectKubeNodepoolTemplateArgs) ElementType() reflect.Type { + return reflect.TypeOf((*CloudProjectKubeNodepoolTemplate)(nil)).Elem() +} + +func (i CloudProjectKubeNodepoolTemplateArgs) ToCloudProjectKubeNodepoolTemplateOutput() CloudProjectKubeNodepoolTemplateOutput { + return i.ToCloudProjectKubeNodepoolTemplateOutputWithContext(context.Background()) +} + +func (i CloudProjectKubeNodepoolTemplateArgs) ToCloudProjectKubeNodepoolTemplateOutputWithContext(ctx context.Context) CloudProjectKubeNodepoolTemplateOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectKubeNodepoolTemplateOutput) +} + +func (i CloudProjectKubeNodepoolTemplateArgs) ToCloudProjectKubeNodepoolTemplatePtrOutput() CloudProjectKubeNodepoolTemplatePtrOutput { + return i.ToCloudProjectKubeNodepoolTemplatePtrOutputWithContext(context.Background()) +} + +func (i CloudProjectKubeNodepoolTemplateArgs) ToCloudProjectKubeNodepoolTemplatePtrOutputWithContext(ctx context.Context) CloudProjectKubeNodepoolTemplatePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectKubeNodepoolTemplateOutput).ToCloudProjectKubeNodepoolTemplatePtrOutputWithContext(ctx) +} + +// CloudProjectKubeNodepoolTemplatePtrInput is an input type that accepts CloudProjectKubeNodepoolTemplateArgs, CloudProjectKubeNodepoolTemplatePtr and CloudProjectKubeNodepoolTemplatePtrOutput values. +// You can construct a concrete instance of `CloudProjectKubeNodepoolTemplatePtrInput` via: +// +// CloudProjectKubeNodepoolTemplateArgs{...} +// +// or: +// +// nil +type CloudProjectKubeNodepoolTemplatePtrInput interface { + pulumi.Input + + ToCloudProjectKubeNodepoolTemplatePtrOutput() CloudProjectKubeNodepoolTemplatePtrOutput + ToCloudProjectKubeNodepoolTemplatePtrOutputWithContext(context.Context) CloudProjectKubeNodepoolTemplatePtrOutput +} + +type cloudProjectKubeNodepoolTemplatePtrType CloudProjectKubeNodepoolTemplateArgs + +func CloudProjectKubeNodepoolTemplatePtr(v *CloudProjectKubeNodepoolTemplateArgs) CloudProjectKubeNodepoolTemplatePtrInput { + return (*cloudProjectKubeNodepoolTemplatePtrType)(v) +} + +func (*cloudProjectKubeNodepoolTemplatePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**CloudProjectKubeNodepoolTemplate)(nil)).Elem() +} + +func (i *cloudProjectKubeNodepoolTemplatePtrType) ToCloudProjectKubeNodepoolTemplatePtrOutput() CloudProjectKubeNodepoolTemplatePtrOutput { + return i.ToCloudProjectKubeNodepoolTemplatePtrOutputWithContext(context.Background()) +} + +func (i *cloudProjectKubeNodepoolTemplatePtrType) ToCloudProjectKubeNodepoolTemplatePtrOutputWithContext(ctx context.Context) CloudProjectKubeNodepoolTemplatePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectKubeNodepoolTemplatePtrOutput) +} + +type CloudProjectKubeNodepoolTemplateOutput struct{ *pulumi.OutputState } + +func (CloudProjectKubeNodepoolTemplateOutput) ElementType() reflect.Type { + return reflect.TypeOf((*CloudProjectKubeNodepoolTemplate)(nil)).Elem() +} + +func (o CloudProjectKubeNodepoolTemplateOutput) ToCloudProjectKubeNodepoolTemplateOutput() CloudProjectKubeNodepoolTemplateOutput { + return o +} + +func (o CloudProjectKubeNodepoolTemplateOutput) ToCloudProjectKubeNodepoolTemplateOutputWithContext(ctx context.Context) CloudProjectKubeNodepoolTemplateOutput { + return o +} + +func (o CloudProjectKubeNodepoolTemplateOutput) ToCloudProjectKubeNodepoolTemplatePtrOutput() CloudProjectKubeNodepoolTemplatePtrOutput { + return o.ToCloudProjectKubeNodepoolTemplatePtrOutputWithContext(context.Background()) +} + +func (o CloudProjectKubeNodepoolTemplateOutput) ToCloudProjectKubeNodepoolTemplatePtrOutputWithContext(ctx context.Context) CloudProjectKubeNodepoolTemplatePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v CloudProjectKubeNodepoolTemplate) *CloudProjectKubeNodepoolTemplate { + return &v + }).(CloudProjectKubeNodepoolTemplatePtrOutput) +} + +// metadata +func (o CloudProjectKubeNodepoolTemplateOutput) Metadata() CloudProjectKubeNodepoolTemplateMetadataOutput { + return o.ApplyT(func(v CloudProjectKubeNodepoolTemplate) CloudProjectKubeNodepoolTemplateMetadata { return v.Metadata }).(CloudProjectKubeNodepoolTemplateMetadataOutput) +} + +// spec +func (o CloudProjectKubeNodepoolTemplateOutput) Spec() CloudProjectKubeNodepoolTemplateSpecOutput { + return o.ApplyT(func(v CloudProjectKubeNodepoolTemplate) CloudProjectKubeNodepoolTemplateSpec { return v.Spec }).(CloudProjectKubeNodepoolTemplateSpecOutput) +} + +type CloudProjectKubeNodepoolTemplatePtrOutput struct{ *pulumi.OutputState } + +func (CloudProjectKubeNodepoolTemplatePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**CloudProjectKubeNodepoolTemplate)(nil)).Elem() +} + +func (o CloudProjectKubeNodepoolTemplatePtrOutput) ToCloudProjectKubeNodepoolTemplatePtrOutput() CloudProjectKubeNodepoolTemplatePtrOutput { + return o +} + +func (o CloudProjectKubeNodepoolTemplatePtrOutput) ToCloudProjectKubeNodepoolTemplatePtrOutputWithContext(ctx context.Context) CloudProjectKubeNodepoolTemplatePtrOutput { + return o +} + +func (o CloudProjectKubeNodepoolTemplatePtrOutput) Elem() CloudProjectKubeNodepoolTemplateOutput { + return o.ApplyT(func(v *CloudProjectKubeNodepoolTemplate) CloudProjectKubeNodepoolTemplate { + if v != nil { + return *v + } + var ret CloudProjectKubeNodepoolTemplate + return ret + }).(CloudProjectKubeNodepoolTemplateOutput) +} + +// metadata +func (o CloudProjectKubeNodepoolTemplatePtrOutput) Metadata() CloudProjectKubeNodepoolTemplateMetadataPtrOutput { + return o.ApplyT(func(v *CloudProjectKubeNodepoolTemplate) *CloudProjectKubeNodepoolTemplateMetadata { + if v == nil { + return nil + } + return &v.Metadata + }).(CloudProjectKubeNodepoolTemplateMetadataPtrOutput) +} + +// spec +func (o CloudProjectKubeNodepoolTemplatePtrOutput) Spec() CloudProjectKubeNodepoolTemplateSpecPtrOutput { + return o.ApplyT(func(v *CloudProjectKubeNodepoolTemplate) *CloudProjectKubeNodepoolTemplateSpec { + if v == nil { + return nil + } + return &v.Spec + }).(CloudProjectKubeNodepoolTemplateSpecPtrOutput) +} + +type CloudProjectKubeNodepoolTemplateMetadata struct { + // annotations + Annotations map[string]string `pulumi:"annotations"` + // finalizers + Finalizers []string `pulumi:"finalizers"` + // labels + Labels map[string]string `pulumi:"labels"` +} + +// CloudProjectKubeNodepoolTemplateMetadataInput is an input type that accepts CloudProjectKubeNodepoolTemplateMetadataArgs and CloudProjectKubeNodepoolTemplateMetadataOutput values. +// You can construct a concrete instance of `CloudProjectKubeNodepoolTemplateMetadataInput` via: +// +// CloudProjectKubeNodepoolTemplateMetadataArgs{...} +type CloudProjectKubeNodepoolTemplateMetadataInput interface { + pulumi.Input + + ToCloudProjectKubeNodepoolTemplateMetadataOutput() CloudProjectKubeNodepoolTemplateMetadataOutput + ToCloudProjectKubeNodepoolTemplateMetadataOutputWithContext(context.Context) CloudProjectKubeNodepoolTemplateMetadataOutput +} + +type CloudProjectKubeNodepoolTemplateMetadataArgs struct { + // annotations + Annotations pulumi.StringMapInput `pulumi:"annotations"` + // finalizers + Finalizers pulumi.StringArrayInput `pulumi:"finalizers"` + // labels + Labels pulumi.StringMapInput `pulumi:"labels"` +} + +func (CloudProjectKubeNodepoolTemplateMetadataArgs) ElementType() reflect.Type { + return reflect.TypeOf((*CloudProjectKubeNodepoolTemplateMetadata)(nil)).Elem() +} + +func (i CloudProjectKubeNodepoolTemplateMetadataArgs) ToCloudProjectKubeNodepoolTemplateMetadataOutput() CloudProjectKubeNodepoolTemplateMetadataOutput { + return i.ToCloudProjectKubeNodepoolTemplateMetadataOutputWithContext(context.Background()) +} + +func (i CloudProjectKubeNodepoolTemplateMetadataArgs) ToCloudProjectKubeNodepoolTemplateMetadataOutputWithContext(ctx context.Context) CloudProjectKubeNodepoolTemplateMetadataOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectKubeNodepoolTemplateMetadataOutput) +} + +func (i CloudProjectKubeNodepoolTemplateMetadataArgs) ToCloudProjectKubeNodepoolTemplateMetadataPtrOutput() CloudProjectKubeNodepoolTemplateMetadataPtrOutput { + return i.ToCloudProjectKubeNodepoolTemplateMetadataPtrOutputWithContext(context.Background()) +} + +func (i CloudProjectKubeNodepoolTemplateMetadataArgs) ToCloudProjectKubeNodepoolTemplateMetadataPtrOutputWithContext(ctx context.Context) CloudProjectKubeNodepoolTemplateMetadataPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectKubeNodepoolTemplateMetadataOutput).ToCloudProjectKubeNodepoolTemplateMetadataPtrOutputWithContext(ctx) +} + +// CloudProjectKubeNodepoolTemplateMetadataPtrInput is an input type that accepts CloudProjectKubeNodepoolTemplateMetadataArgs, CloudProjectKubeNodepoolTemplateMetadataPtr and CloudProjectKubeNodepoolTemplateMetadataPtrOutput values. +// You can construct a concrete instance of `CloudProjectKubeNodepoolTemplateMetadataPtrInput` via: +// +// CloudProjectKubeNodepoolTemplateMetadataArgs{...} +// +// or: +// +// nil +type CloudProjectKubeNodepoolTemplateMetadataPtrInput interface { + pulumi.Input + + ToCloudProjectKubeNodepoolTemplateMetadataPtrOutput() CloudProjectKubeNodepoolTemplateMetadataPtrOutput + ToCloudProjectKubeNodepoolTemplateMetadataPtrOutputWithContext(context.Context) CloudProjectKubeNodepoolTemplateMetadataPtrOutput +} + +type cloudProjectKubeNodepoolTemplateMetadataPtrType CloudProjectKubeNodepoolTemplateMetadataArgs + +func CloudProjectKubeNodepoolTemplateMetadataPtr(v *CloudProjectKubeNodepoolTemplateMetadataArgs) CloudProjectKubeNodepoolTemplateMetadataPtrInput { + return (*cloudProjectKubeNodepoolTemplateMetadataPtrType)(v) +} + +func (*cloudProjectKubeNodepoolTemplateMetadataPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**CloudProjectKubeNodepoolTemplateMetadata)(nil)).Elem() +} + +func (i *cloudProjectKubeNodepoolTemplateMetadataPtrType) ToCloudProjectKubeNodepoolTemplateMetadataPtrOutput() CloudProjectKubeNodepoolTemplateMetadataPtrOutput { + return i.ToCloudProjectKubeNodepoolTemplateMetadataPtrOutputWithContext(context.Background()) +} + +func (i *cloudProjectKubeNodepoolTemplateMetadataPtrType) ToCloudProjectKubeNodepoolTemplateMetadataPtrOutputWithContext(ctx context.Context) CloudProjectKubeNodepoolTemplateMetadataPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectKubeNodepoolTemplateMetadataPtrOutput) +} + +type CloudProjectKubeNodepoolTemplateMetadataOutput struct{ *pulumi.OutputState } + +func (CloudProjectKubeNodepoolTemplateMetadataOutput) ElementType() reflect.Type { + return reflect.TypeOf((*CloudProjectKubeNodepoolTemplateMetadata)(nil)).Elem() +} + +func (o CloudProjectKubeNodepoolTemplateMetadataOutput) ToCloudProjectKubeNodepoolTemplateMetadataOutput() CloudProjectKubeNodepoolTemplateMetadataOutput { + return o +} + +func (o CloudProjectKubeNodepoolTemplateMetadataOutput) ToCloudProjectKubeNodepoolTemplateMetadataOutputWithContext(ctx context.Context) CloudProjectKubeNodepoolTemplateMetadataOutput { + return o +} + +func (o CloudProjectKubeNodepoolTemplateMetadataOutput) ToCloudProjectKubeNodepoolTemplateMetadataPtrOutput() CloudProjectKubeNodepoolTemplateMetadataPtrOutput { + return o.ToCloudProjectKubeNodepoolTemplateMetadataPtrOutputWithContext(context.Background()) +} + +func (o CloudProjectKubeNodepoolTemplateMetadataOutput) ToCloudProjectKubeNodepoolTemplateMetadataPtrOutputWithContext(ctx context.Context) CloudProjectKubeNodepoolTemplateMetadataPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v CloudProjectKubeNodepoolTemplateMetadata) *CloudProjectKubeNodepoolTemplateMetadata { + return &v + }).(CloudProjectKubeNodepoolTemplateMetadataPtrOutput) +} + +// annotations +func (o CloudProjectKubeNodepoolTemplateMetadataOutput) Annotations() pulumi.StringMapOutput { + return o.ApplyT(func(v CloudProjectKubeNodepoolTemplateMetadata) map[string]string { return v.Annotations }).(pulumi.StringMapOutput) +} + +// finalizers +func (o CloudProjectKubeNodepoolTemplateMetadataOutput) Finalizers() pulumi.StringArrayOutput { + return o.ApplyT(func(v CloudProjectKubeNodepoolTemplateMetadata) []string { return v.Finalizers }).(pulumi.StringArrayOutput) +} + +// labels +func (o CloudProjectKubeNodepoolTemplateMetadataOutput) Labels() pulumi.StringMapOutput { + return o.ApplyT(func(v CloudProjectKubeNodepoolTemplateMetadata) map[string]string { return v.Labels }).(pulumi.StringMapOutput) +} + +type CloudProjectKubeNodepoolTemplateMetadataPtrOutput struct{ *pulumi.OutputState } + +func (CloudProjectKubeNodepoolTemplateMetadataPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**CloudProjectKubeNodepoolTemplateMetadata)(nil)).Elem() +} + +func (o CloudProjectKubeNodepoolTemplateMetadataPtrOutput) ToCloudProjectKubeNodepoolTemplateMetadataPtrOutput() CloudProjectKubeNodepoolTemplateMetadataPtrOutput { + return o +} + +func (o CloudProjectKubeNodepoolTemplateMetadataPtrOutput) ToCloudProjectKubeNodepoolTemplateMetadataPtrOutputWithContext(ctx context.Context) CloudProjectKubeNodepoolTemplateMetadataPtrOutput { + return o +} + +func (o CloudProjectKubeNodepoolTemplateMetadataPtrOutput) Elem() CloudProjectKubeNodepoolTemplateMetadataOutput { + return o.ApplyT(func(v *CloudProjectKubeNodepoolTemplateMetadata) CloudProjectKubeNodepoolTemplateMetadata { + if v != nil { + return *v + } + var ret CloudProjectKubeNodepoolTemplateMetadata + return ret + }).(CloudProjectKubeNodepoolTemplateMetadataOutput) +} + +// annotations +func (o CloudProjectKubeNodepoolTemplateMetadataPtrOutput) Annotations() pulumi.StringMapOutput { + return o.ApplyT(func(v *CloudProjectKubeNodepoolTemplateMetadata) map[string]string { + if v == nil { + return nil + } + return v.Annotations + }).(pulumi.StringMapOutput) +} + +// finalizers +func (o CloudProjectKubeNodepoolTemplateMetadataPtrOutput) Finalizers() pulumi.StringArrayOutput { + return o.ApplyT(func(v *CloudProjectKubeNodepoolTemplateMetadata) []string { + if v == nil { + return nil + } + return v.Finalizers + }).(pulumi.StringArrayOutput) +} + +// labels +func (o CloudProjectKubeNodepoolTemplateMetadataPtrOutput) Labels() pulumi.StringMapOutput { + return o.ApplyT(func(v *CloudProjectKubeNodepoolTemplateMetadata) map[string]string { + if v == nil { + return nil + } + return v.Labels + }).(pulumi.StringMapOutput) +} + +type CloudProjectKubeNodepoolTemplateSpec struct { + // taints + Taints []map[string]string `pulumi:"taints"` + // unschedulable + Unschedulable bool `pulumi:"unschedulable"` +} + +// CloudProjectKubeNodepoolTemplateSpecInput is an input type that accepts CloudProjectKubeNodepoolTemplateSpecArgs and CloudProjectKubeNodepoolTemplateSpecOutput values. +// You can construct a concrete instance of `CloudProjectKubeNodepoolTemplateSpecInput` via: +// +// CloudProjectKubeNodepoolTemplateSpecArgs{...} +type CloudProjectKubeNodepoolTemplateSpecInput interface { + pulumi.Input + + ToCloudProjectKubeNodepoolTemplateSpecOutput() CloudProjectKubeNodepoolTemplateSpecOutput + ToCloudProjectKubeNodepoolTemplateSpecOutputWithContext(context.Context) CloudProjectKubeNodepoolTemplateSpecOutput +} + +type CloudProjectKubeNodepoolTemplateSpecArgs struct { + // taints + Taints pulumi.StringMapArrayInput `pulumi:"taints"` + // unschedulable + Unschedulable pulumi.BoolInput `pulumi:"unschedulable"` +} + +func (CloudProjectKubeNodepoolTemplateSpecArgs) ElementType() reflect.Type { + return reflect.TypeOf((*CloudProjectKubeNodepoolTemplateSpec)(nil)).Elem() +} + +func (i CloudProjectKubeNodepoolTemplateSpecArgs) ToCloudProjectKubeNodepoolTemplateSpecOutput() CloudProjectKubeNodepoolTemplateSpecOutput { + return i.ToCloudProjectKubeNodepoolTemplateSpecOutputWithContext(context.Background()) +} + +func (i CloudProjectKubeNodepoolTemplateSpecArgs) ToCloudProjectKubeNodepoolTemplateSpecOutputWithContext(ctx context.Context) CloudProjectKubeNodepoolTemplateSpecOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectKubeNodepoolTemplateSpecOutput) +} + +func (i CloudProjectKubeNodepoolTemplateSpecArgs) ToCloudProjectKubeNodepoolTemplateSpecPtrOutput() CloudProjectKubeNodepoolTemplateSpecPtrOutput { + return i.ToCloudProjectKubeNodepoolTemplateSpecPtrOutputWithContext(context.Background()) +} + +func (i CloudProjectKubeNodepoolTemplateSpecArgs) ToCloudProjectKubeNodepoolTemplateSpecPtrOutputWithContext(ctx context.Context) CloudProjectKubeNodepoolTemplateSpecPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectKubeNodepoolTemplateSpecOutput).ToCloudProjectKubeNodepoolTemplateSpecPtrOutputWithContext(ctx) +} + +// CloudProjectKubeNodepoolTemplateSpecPtrInput is an input type that accepts CloudProjectKubeNodepoolTemplateSpecArgs, CloudProjectKubeNodepoolTemplateSpecPtr and CloudProjectKubeNodepoolTemplateSpecPtrOutput values. +// You can construct a concrete instance of `CloudProjectKubeNodepoolTemplateSpecPtrInput` via: +// +// CloudProjectKubeNodepoolTemplateSpecArgs{...} +// +// or: +// +// nil +type CloudProjectKubeNodepoolTemplateSpecPtrInput interface { + pulumi.Input + + ToCloudProjectKubeNodepoolTemplateSpecPtrOutput() CloudProjectKubeNodepoolTemplateSpecPtrOutput + ToCloudProjectKubeNodepoolTemplateSpecPtrOutputWithContext(context.Context) CloudProjectKubeNodepoolTemplateSpecPtrOutput +} + +type cloudProjectKubeNodepoolTemplateSpecPtrType CloudProjectKubeNodepoolTemplateSpecArgs + +func CloudProjectKubeNodepoolTemplateSpecPtr(v *CloudProjectKubeNodepoolTemplateSpecArgs) CloudProjectKubeNodepoolTemplateSpecPtrInput { + return (*cloudProjectKubeNodepoolTemplateSpecPtrType)(v) +} + +func (*cloudProjectKubeNodepoolTemplateSpecPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**CloudProjectKubeNodepoolTemplateSpec)(nil)).Elem() +} + +func (i *cloudProjectKubeNodepoolTemplateSpecPtrType) ToCloudProjectKubeNodepoolTemplateSpecPtrOutput() CloudProjectKubeNodepoolTemplateSpecPtrOutput { + return i.ToCloudProjectKubeNodepoolTemplateSpecPtrOutputWithContext(context.Background()) +} + +func (i *cloudProjectKubeNodepoolTemplateSpecPtrType) ToCloudProjectKubeNodepoolTemplateSpecPtrOutputWithContext(ctx context.Context) CloudProjectKubeNodepoolTemplateSpecPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectKubeNodepoolTemplateSpecPtrOutput) +} + +type CloudProjectKubeNodepoolTemplateSpecOutput struct{ *pulumi.OutputState } + +func (CloudProjectKubeNodepoolTemplateSpecOutput) ElementType() reflect.Type { + return reflect.TypeOf((*CloudProjectKubeNodepoolTemplateSpec)(nil)).Elem() +} + +func (o CloudProjectKubeNodepoolTemplateSpecOutput) ToCloudProjectKubeNodepoolTemplateSpecOutput() CloudProjectKubeNodepoolTemplateSpecOutput { + return o +} + +func (o CloudProjectKubeNodepoolTemplateSpecOutput) ToCloudProjectKubeNodepoolTemplateSpecOutputWithContext(ctx context.Context) CloudProjectKubeNodepoolTemplateSpecOutput { + return o +} + +func (o CloudProjectKubeNodepoolTemplateSpecOutput) ToCloudProjectKubeNodepoolTemplateSpecPtrOutput() CloudProjectKubeNodepoolTemplateSpecPtrOutput { + return o.ToCloudProjectKubeNodepoolTemplateSpecPtrOutputWithContext(context.Background()) +} + +func (o CloudProjectKubeNodepoolTemplateSpecOutput) ToCloudProjectKubeNodepoolTemplateSpecPtrOutputWithContext(ctx context.Context) CloudProjectKubeNodepoolTemplateSpecPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v CloudProjectKubeNodepoolTemplateSpec) *CloudProjectKubeNodepoolTemplateSpec { + return &v + }).(CloudProjectKubeNodepoolTemplateSpecPtrOutput) +} + +// taints +func (o CloudProjectKubeNodepoolTemplateSpecOutput) Taints() pulumi.StringMapArrayOutput { + return o.ApplyT(func(v CloudProjectKubeNodepoolTemplateSpec) []map[string]string { return v.Taints }).(pulumi.StringMapArrayOutput) +} + +// unschedulable +func (o CloudProjectKubeNodepoolTemplateSpecOutput) Unschedulable() pulumi.BoolOutput { + return o.ApplyT(func(v CloudProjectKubeNodepoolTemplateSpec) bool { return v.Unschedulable }).(pulumi.BoolOutput) +} + +type CloudProjectKubeNodepoolTemplateSpecPtrOutput struct{ *pulumi.OutputState } + +func (CloudProjectKubeNodepoolTemplateSpecPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**CloudProjectKubeNodepoolTemplateSpec)(nil)).Elem() +} + +func (o CloudProjectKubeNodepoolTemplateSpecPtrOutput) ToCloudProjectKubeNodepoolTemplateSpecPtrOutput() CloudProjectKubeNodepoolTemplateSpecPtrOutput { + return o +} + +func (o CloudProjectKubeNodepoolTemplateSpecPtrOutput) ToCloudProjectKubeNodepoolTemplateSpecPtrOutputWithContext(ctx context.Context) CloudProjectKubeNodepoolTemplateSpecPtrOutput { + return o +} + +func (o CloudProjectKubeNodepoolTemplateSpecPtrOutput) Elem() CloudProjectKubeNodepoolTemplateSpecOutput { + return o.ApplyT(func(v *CloudProjectKubeNodepoolTemplateSpec) CloudProjectKubeNodepoolTemplateSpec { + if v != nil { + return *v + } + var ret CloudProjectKubeNodepoolTemplateSpec + return ret + }).(CloudProjectKubeNodepoolTemplateSpecOutput) +} + +// taints +func (o CloudProjectKubeNodepoolTemplateSpecPtrOutput) Taints() pulumi.StringMapArrayOutput { + return o.ApplyT(func(v *CloudProjectKubeNodepoolTemplateSpec) []map[string]string { + if v == nil { + return nil + } + return v.Taints + }).(pulumi.StringMapArrayOutput) +} + +// unschedulable +func (o CloudProjectKubeNodepoolTemplateSpecPtrOutput) Unschedulable() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *CloudProjectKubeNodepoolTemplateSpec) *bool { + if v == nil { + return nil + } + return &v.Unschedulable + }).(pulumi.BoolPtrOutput) +} + +type CloudProjectKubeNodepoolTimeouts struct { + Create *string `pulumi:"create"` + Default *string `pulumi:"default"` + Delete *string `pulumi:"delete"` + Read *string `pulumi:"read"` + Update *string `pulumi:"update"` +} + +// CloudProjectKubeNodepoolTimeoutsInput is an input type that accepts CloudProjectKubeNodepoolTimeoutsArgs and CloudProjectKubeNodepoolTimeoutsOutput values. +// You can construct a concrete instance of `CloudProjectKubeNodepoolTimeoutsInput` via: +// +// CloudProjectKubeNodepoolTimeoutsArgs{...} +type CloudProjectKubeNodepoolTimeoutsInput interface { + pulumi.Input + + ToCloudProjectKubeNodepoolTimeoutsOutput() CloudProjectKubeNodepoolTimeoutsOutput + ToCloudProjectKubeNodepoolTimeoutsOutputWithContext(context.Context) CloudProjectKubeNodepoolTimeoutsOutput +} + +type CloudProjectKubeNodepoolTimeoutsArgs struct { + Create pulumi.StringPtrInput `pulumi:"create"` + Default pulumi.StringPtrInput `pulumi:"default"` + Delete pulumi.StringPtrInput `pulumi:"delete"` + Read pulumi.StringPtrInput `pulumi:"read"` + Update pulumi.StringPtrInput `pulumi:"update"` +} + +func (CloudProjectKubeNodepoolTimeoutsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*CloudProjectKubeNodepoolTimeouts)(nil)).Elem() +} + +func (i CloudProjectKubeNodepoolTimeoutsArgs) ToCloudProjectKubeNodepoolTimeoutsOutput() CloudProjectKubeNodepoolTimeoutsOutput { + return i.ToCloudProjectKubeNodepoolTimeoutsOutputWithContext(context.Background()) +} + +func (i CloudProjectKubeNodepoolTimeoutsArgs) ToCloudProjectKubeNodepoolTimeoutsOutputWithContext(ctx context.Context) CloudProjectKubeNodepoolTimeoutsOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectKubeNodepoolTimeoutsOutput) +} + +func (i CloudProjectKubeNodepoolTimeoutsArgs) ToCloudProjectKubeNodepoolTimeoutsPtrOutput() CloudProjectKubeNodepoolTimeoutsPtrOutput { + return i.ToCloudProjectKubeNodepoolTimeoutsPtrOutputWithContext(context.Background()) +} + +func (i CloudProjectKubeNodepoolTimeoutsArgs) ToCloudProjectKubeNodepoolTimeoutsPtrOutputWithContext(ctx context.Context) CloudProjectKubeNodepoolTimeoutsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectKubeNodepoolTimeoutsOutput).ToCloudProjectKubeNodepoolTimeoutsPtrOutputWithContext(ctx) +} + +// CloudProjectKubeNodepoolTimeoutsPtrInput is an input type that accepts CloudProjectKubeNodepoolTimeoutsArgs, CloudProjectKubeNodepoolTimeoutsPtr and CloudProjectKubeNodepoolTimeoutsPtrOutput values. +// You can construct a concrete instance of `CloudProjectKubeNodepoolTimeoutsPtrInput` via: +// +// CloudProjectKubeNodepoolTimeoutsArgs{...} +// +// or: +// +// nil +type CloudProjectKubeNodepoolTimeoutsPtrInput interface { + pulumi.Input + + ToCloudProjectKubeNodepoolTimeoutsPtrOutput() CloudProjectKubeNodepoolTimeoutsPtrOutput + ToCloudProjectKubeNodepoolTimeoutsPtrOutputWithContext(context.Context) CloudProjectKubeNodepoolTimeoutsPtrOutput +} + +type cloudProjectKubeNodepoolTimeoutsPtrType CloudProjectKubeNodepoolTimeoutsArgs + +func CloudProjectKubeNodepoolTimeoutsPtr(v *CloudProjectKubeNodepoolTimeoutsArgs) CloudProjectKubeNodepoolTimeoutsPtrInput { + return (*cloudProjectKubeNodepoolTimeoutsPtrType)(v) +} + +func (*cloudProjectKubeNodepoolTimeoutsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**CloudProjectKubeNodepoolTimeouts)(nil)).Elem() +} + +func (i *cloudProjectKubeNodepoolTimeoutsPtrType) ToCloudProjectKubeNodepoolTimeoutsPtrOutput() CloudProjectKubeNodepoolTimeoutsPtrOutput { + return i.ToCloudProjectKubeNodepoolTimeoutsPtrOutputWithContext(context.Background()) +} + +func (i *cloudProjectKubeNodepoolTimeoutsPtrType) ToCloudProjectKubeNodepoolTimeoutsPtrOutputWithContext(ctx context.Context) CloudProjectKubeNodepoolTimeoutsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectKubeNodepoolTimeoutsPtrOutput) +} + +type CloudProjectKubeNodepoolTimeoutsOutput struct{ *pulumi.OutputState } + +func (CloudProjectKubeNodepoolTimeoutsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*CloudProjectKubeNodepoolTimeouts)(nil)).Elem() +} + +func (o CloudProjectKubeNodepoolTimeoutsOutput) ToCloudProjectKubeNodepoolTimeoutsOutput() CloudProjectKubeNodepoolTimeoutsOutput { + return o +} + +func (o CloudProjectKubeNodepoolTimeoutsOutput) ToCloudProjectKubeNodepoolTimeoutsOutputWithContext(ctx context.Context) CloudProjectKubeNodepoolTimeoutsOutput { + return o +} + +func (o CloudProjectKubeNodepoolTimeoutsOutput) ToCloudProjectKubeNodepoolTimeoutsPtrOutput() CloudProjectKubeNodepoolTimeoutsPtrOutput { + return o.ToCloudProjectKubeNodepoolTimeoutsPtrOutputWithContext(context.Background()) +} + +func (o CloudProjectKubeNodepoolTimeoutsOutput) ToCloudProjectKubeNodepoolTimeoutsPtrOutputWithContext(ctx context.Context) CloudProjectKubeNodepoolTimeoutsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v CloudProjectKubeNodepoolTimeouts) *CloudProjectKubeNodepoolTimeouts { + return &v + }).(CloudProjectKubeNodepoolTimeoutsPtrOutput) +} + +func (o CloudProjectKubeNodepoolTimeoutsOutput) Create() pulumi.StringPtrOutput { + return o.ApplyT(func(v CloudProjectKubeNodepoolTimeouts) *string { return v.Create }).(pulumi.StringPtrOutput) +} + +func (o CloudProjectKubeNodepoolTimeoutsOutput) Default() pulumi.StringPtrOutput { + return o.ApplyT(func(v CloudProjectKubeNodepoolTimeouts) *string { return v.Default }).(pulumi.StringPtrOutput) +} + +func (o CloudProjectKubeNodepoolTimeoutsOutput) Delete() pulumi.StringPtrOutput { + return o.ApplyT(func(v CloudProjectKubeNodepoolTimeouts) *string { return v.Delete }).(pulumi.StringPtrOutput) +} + +func (o CloudProjectKubeNodepoolTimeoutsOutput) Read() pulumi.StringPtrOutput { + return o.ApplyT(func(v CloudProjectKubeNodepoolTimeouts) *string { return v.Read }).(pulumi.StringPtrOutput) +} + +func (o CloudProjectKubeNodepoolTimeoutsOutput) Update() pulumi.StringPtrOutput { + return o.ApplyT(func(v CloudProjectKubeNodepoolTimeouts) *string { return v.Update }).(pulumi.StringPtrOutput) +} + +type CloudProjectKubeNodepoolTimeoutsPtrOutput struct{ *pulumi.OutputState } + +func (CloudProjectKubeNodepoolTimeoutsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**CloudProjectKubeNodepoolTimeouts)(nil)).Elem() +} + +func (o CloudProjectKubeNodepoolTimeoutsPtrOutput) ToCloudProjectKubeNodepoolTimeoutsPtrOutput() CloudProjectKubeNodepoolTimeoutsPtrOutput { + return o +} + +func (o CloudProjectKubeNodepoolTimeoutsPtrOutput) ToCloudProjectKubeNodepoolTimeoutsPtrOutputWithContext(ctx context.Context) CloudProjectKubeNodepoolTimeoutsPtrOutput { + return o +} + +func (o CloudProjectKubeNodepoolTimeoutsPtrOutput) Elem() CloudProjectKubeNodepoolTimeoutsOutput { + return o.ApplyT(func(v *CloudProjectKubeNodepoolTimeouts) CloudProjectKubeNodepoolTimeouts { + if v != nil { + return *v + } + var ret CloudProjectKubeNodepoolTimeouts + return ret + }).(CloudProjectKubeNodepoolTimeoutsOutput) +} + +func (o CloudProjectKubeNodepoolTimeoutsPtrOutput) Create() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudProjectKubeNodepoolTimeouts) *string { + if v == nil { + return nil + } + return v.Create + }).(pulumi.StringPtrOutput) +} + +func (o CloudProjectKubeNodepoolTimeoutsPtrOutput) Default() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudProjectKubeNodepoolTimeouts) *string { + if v == nil { + return nil + } + return v.Default + }).(pulumi.StringPtrOutput) +} + +func (o CloudProjectKubeNodepoolTimeoutsPtrOutput) Delete() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudProjectKubeNodepoolTimeouts) *string { + if v == nil { + return nil + } + return v.Delete + }).(pulumi.StringPtrOutput) +} + +func (o CloudProjectKubeNodepoolTimeoutsPtrOutput) Read() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudProjectKubeNodepoolTimeouts) *string { + if v == nil { + return nil + } + return v.Read + }).(pulumi.StringPtrOutput) +} + +func (o CloudProjectKubeNodepoolTimeoutsPtrOutput) Update() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudProjectKubeNodepoolTimeouts) *string { + if v == nil { + return nil + } + return v.Update + }).(pulumi.StringPtrOutput) +} + +type CloudProjectKubeOidcTimeouts struct { + Create *string `pulumi:"create"` + Default *string `pulumi:"default"` + Delete *string `pulumi:"delete"` + Read *string `pulumi:"read"` + Update *string `pulumi:"update"` +} + +// CloudProjectKubeOidcTimeoutsInput is an input type that accepts CloudProjectKubeOidcTimeoutsArgs and CloudProjectKubeOidcTimeoutsOutput values. +// You can construct a concrete instance of `CloudProjectKubeOidcTimeoutsInput` via: +// +// CloudProjectKubeOidcTimeoutsArgs{...} +type CloudProjectKubeOidcTimeoutsInput interface { + pulumi.Input + + ToCloudProjectKubeOidcTimeoutsOutput() CloudProjectKubeOidcTimeoutsOutput + ToCloudProjectKubeOidcTimeoutsOutputWithContext(context.Context) CloudProjectKubeOidcTimeoutsOutput +} + +type CloudProjectKubeOidcTimeoutsArgs struct { + Create pulumi.StringPtrInput `pulumi:"create"` + Default pulumi.StringPtrInput `pulumi:"default"` + Delete pulumi.StringPtrInput `pulumi:"delete"` + Read pulumi.StringPtrInput `pulumi:"read"` + Update pulumi.StringPtrInput `pulumi:"update"` +} + +func (CloudProjectKubeOidcTimeoutsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*CloudProjectKubeOidcTimeouts)(nil)).Elem() +} + +func (i CloudProjectKubeOidcTimeoutsArgs) ToCloudProjectKubeOidcTimeoutsOutput() CloudProjectKubeOidcTimeoutsOutput { + return i.ToCloudProjectKubeOidcTimeoutsOutputWithContext(context.Background()) +} + +func (i CloudProjectKubeOidcTimeoutsArgs) ToCloudProjectKubeOidcTimeoutsOutputWithContext(ctx context.Context) CloudProjectKubeOidcTimeoutsOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectKubeOidcTimeoutsOutput) +} + +func (i CloudProjectKubeOidcTimeoutsArgs) ToCloudProjectKubeOidcTimeoutsPtrOutput() CloudProjectKubeOidcTimeoutsPtrOutput { + return i.ToCloudProjectKubeOidcTimeoutsPtrOutputWithContext(context.Background()) +} + +func (i CloudProjectKubeOidcTimeoutsArgs) ToCloudProjectKubeOidcTimeoutsPtrOutputWithContext(ctx context.Context) CloudProjectKubeOidcTimeoutsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectKubeOidcTimeoutsOutput).ToCloudProjectKubeOidcTimeoutsPtrOutputWithContext(ctx) +} + +// CloudProjectKubeOidcTimeoutsPtrInput is an input type that accepts CloudProjectKubeOidcTimeoutsArgs, CloudProjectKubeOidcTimeoutsPtr and CloudProjectKubeOidcTimeoutsPtrOutput values. +// You can construct a concrete instance of `CloudProjectKubeOidcTimeoutsPtrInput` via: +// +// CloudProjectKubeOidcTimeoutsArgs{...} +// +// or: +// +// nil +type CloudProjectKubeOidcTimeoutsPtrInput interface { + pulumi.Input + + ToCloudProjectKubeOidcTimeoutsPtrOutput() CloudProjectKubeOidcTimeoutsPtrOutput + ToCloudProjectKubeOidcTimeoutsPtrOutputWithContext(context.Context) CloudProjectKubeOidcTimeoutsPtrOutput +} + +type cloudProjectKubeOidcTimeoutsPtrType CloudProjectKubeOidcTimeoutsArgs + +func CloudProjectKubeOidcTimeoutsPtr(v *CloudProjectKubeOidcTimeoutsArgs) CloudProjectKubeOidcTimeoutsPtrInput { + return (*cloudProjectKubeOidcTimeoutsPtrType)(v) +} + +func (*cloudProjectKubeOidcTimeoutsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**CloudProjectKubeOidcTimeouts)(nil)).Elem() +} + +func (i *cloudProjectKubeOidcTimeoutsPtrType) ToCloudProjectKubeOidcTimeoutsPtrOutput() CloudProjectKubeOidcTimeoutsPtrOutput { + return i.ToCloudProjectKubeOidcTimeoutsPtrOutputWithContext(context.Background()) +} + +func (i *cloudProjectKubeOidcTimeoutsPtrType) ToCloudProjectKubeOidcTimeoutsPtrOutputWithContext(ctx context.Context) CloudProjectKubeOidcTimeoutsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectKubeOidcTimeoutsPtrOutput) +} + +type CloudProjectKubeOidcTimeoutsOutput struct{ *pulumi.OutputState } + +func (CloudProjectKubeOidcTimeoutsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*CloudProjectKubeOidcTimeouts)(nil)).Elem() +} + +func (o CloudProjectKubeOidcTimeoutsOutput) ToCloudProjectKubeOidcTimeoutsOutput() CloudProjectKubeOidcTimeoutsOutput { + return o +} + +func (o CloudProjectKubeOidcTimeoutsOutput) ToCloudProjectKubeOidcTimeoutsOutputWithContext(ctx context.Context) CloudProjectKubeOidcTimeoutsOutput { + return o +} + +func (o CloudProjectKubeOidcTimeoutsOutput) ToCloudProjectKubeOidcTimeoutsPtrOutput() CloudProjectKubeOidcTimeoutsPtrOutput { + return o.ToCloudProjectKubeOidcTimeoutsPtrOutputWithContext(context.Background()) +} + +func (o CloudProjectKubeOidcTimeoutsOutput) ToCloudProjectKubeOidcTimeoutsPtrOutputWithContext(ctx context.Context) CloudProjectKubeOidcTimeoutsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v CloudProjectKubeOidcTimeouts) *CloudProjectKubeOidcTimeouts { + return &v + }).(CloudProjectKubeOidcTimeoutsPtrOutput) +} + +func (o CloudProjectKubeOidcTimeoutsOutput) Create() pulumi.StringPtrOutput { + return o.ApplyT(func(v CloudProjectKubeOidcTimeouts) *string { return v.Create }).(pulumi.StringPtrOutput) +} + +func (o CloudProjectKubeOidcTimeoutsOutput) Default() pulumi.StringPtrOutput { + return o.ApplyT(func(v CloudProjectKubeOidcTimeouts) *string { return v.Default }).(pulumi.StringPtrOutput) +} + +func (o CloudProjectKubeOidcTimeoutsOutput) Delete() pulumi.StringPtrOutput { + return o.ApplyT(func(v CloudProjectKubeOidcTimeouts) *string { return v.Delete }).(pulumi.StringPtrOutput) +} + +func (o CloudProjectKubeOidcTimeoutsOutput) Read() pulumi.StringPtrOutput { + return o.ApplyT(func(v CloudProjectKubeOidcTimeouts) *string { return v.Read }).(pulumi.StringPtrOutput) +} + +func (o CloudProjectKubeOidcTimeoutsOutput) Update() pulumi.StringPtrOutput { + return o.ApplyT(func(v CloudProjectKubeOidcTimeouts) *string { return v.Update }).(pulumi.StringPtrOutput) +} + +type CloudProjectKubeOidcTimeoutsPtrOutput struct{ *pulumi.OutputState } + +func (CloudProjectKubeOidcTimeoutsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**CloudProjectKubeOidcTimeouts)(nil)).Elem() +} + +func (o CloudProjectKubeOidcTimeoutsPtrOutput) ToCloudProjectKubeOidcTimeoutsPtrOutput() CloudProjectKubeOidcTimeoutsPtrOutput { + return o +} + +func (o CloudProjectKubeOidcTimeoutsPtrOutput) ToCloudProjectKubeOidcTimeoutsPtrOutputWithContext(ctx context.Context) CloudProjectKubeOidcTimeoutsPtrOutput { + return o +} + +func (o CloudProjectKubeOidcTimeoutsPtrOutput) Elem() CloudProjectKubeOidcTimeoutsOutput { + return o.ApplyT(func(v *CloudProjectKubeOidcTimeouts) CloudProjectKubeOidcTimeouts { + if v != nil { + return *v + } + var ret CloudProjectKubeOidcTimeouts + return ret + }).(CloudProjectKubeOidcTimeoutsOutput) +} + +func (o CloudProjectKubeOidcTimeoutsPtrOutput) Create() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudProjectKubeOidcTimeouts) *string { + if v == nil { + return nil + } + return v.Create + }).(pulumi.StringPtrOutput) +} + +func (o CloudProjectKubeOidcTimeoutsPtrOutput) Default() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudProjectKubeOidcTimeouts) *string { + if v == nil { + return nil + } + return v.Default + }).(pulumi.StringPtrOutput) +} + +func (o CloudProjectKubeOidcTimeoutsPtrOutput) Delete() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudProjectKubeOidcTimeouts) *string { + if v == nil { + return nil + } + return v.Delete + }).(pulumi.StringPtrOutput) +} + +func (o CloudProjectKubeOidcTimeoutsPtrOutput) Read() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudProjectKubeOidcTimeouts) *string { + if v == nil { + return nil + } + return v.Read + }).(pulumi.StringPtrOutput) +} + +func (o CloudProjectKubeOidcTimeoutsPtrOutput) Update() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudProjectKubeOidcTimeouts) *string { + if v == nil { + return nil + } + return v.Update + }).(pulumi.StringPtrOutput) +} + +type CloudProjectKubePrivateNetworkConfiguration struct { + // If defined, all egress traffic will be routed towards this IP address, which should belong to the private network. Empty string means disabled. + DefaultVrackGateway string `pulumi:"defaultVrackGateway"` + // Defines whether routing should default to using the nodes' private interface, instead of their public interface. Default is false. + PrivateNetworkRoutingAsDefault bool `pulumi:"privateNetworkRoutingAsDefault"` +} + +// CloudProjectKubePrivateNetworkConfigurationInput is an input type that accepts CloudProjectKubePrivateNetworkConfigurationArgs and CloudProjectKubePrivateNetworkConfigurationOutput values. +// You can construct a concrete instance of `CloudProjectKubePrivateNetworkConfigurationInput` via: +// +// CloudProjectKubePrivateNetworkConfigurationArgs{...} +type CloudProjectKubePrivateNetworkConfigurationInput interface { + pulumi.Input + + ToCloudProjectKubePrivateNetworkConfigurationOutput() CloudProjectKubePrivateNetworkConfigurationOutput + ToCloudProjectKubePrivateNetworkConfigurationOutputWithContext(context.Context) CloudProjectKubePrivateNetworkConfigurationOutput +} + +type CloudProjectKubePrivateNetworkConfigurationArgs struct { + // If defined, all egress traffic will be routed towards this IP address, which should belong to the private network. Empty string means disabled. + DefaultVrackGateway pulumi.StringInput `pulumi:"defaultVrackGateway"` + // Defines whether routing should default to using the nodes' private interface, instead of their public interface. Default is false. + PrivateNetworkRoutingAsDefault pulumi.BoolInput `pulumi:"privateNetworkRoutingAsDefault"` +} + +func (CloudProjectKubePrivateNetworkConfigurationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*CloudProjectKubePrivateNetworkConfiguration)(nil)).Elem() +} + +func (i CloudProjectKubePrivateNetworkConfigurationArgs) ToCloudProjectKubePrivateNetworkConfigurationOutput() CloudProjectKubePrivateNetworkConfigurationOutput { + return i.ToCloudProjectKubePrivateNetworkConfigurationOutputWithContext(context.Background()) +} + +func (i CloudProjectKubePrivateNetworkConfigurationArgs) ToCloudProjectKubePrivateNetworkConfigurationOutputWithContext(ctx context.Context) CloudProjectKubePrivateNetworkConfigurationOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectKubePrivateNetworkConfigurationOutput) +} + +func (i CloudProjectKubePrivateNetworkConfigurationArgs) ToCloudProjectKubePrivateNetworkConfigurationPtrOutput() CloudProjectKubePrivateNetworkConfigurationPtrOutput { + return i.ToCloudProjectKubePrivateNetworkConfigurationPtrOutputWithContext(context.Background()) +} + +func (i CloudProjectKubePrivateNetworkConfigurationArgs) ToCloudProjectKubePrivateNetworkConfigurationPtrOutputWithContext(ctx context.Context) CloudProjectKubePrivateNetworkConfigurationPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectKubePrivateNetworkConfigurationOutput).ToCloudProjectKubePrivateNetworkConfigurationPtrOutputWithContext(ctx) +} + +// CloudProjectKubePrivateNetworkConfigurationPtrInput is an input type that accepts CloudProjectKubePrivateNetworkConfigurationArgs, CloudProjectKubePrivateNetworkConfigurationPtr and CloudProjectKubePrivateNetworkConfigurationPtrOutput values. +// You can construct a concrete instance of `CloudProjectKubePrivateNetworkConfigurationPtrInput` via: +// +// CloudProjectKubePrivateNetworkConfigurationArgs{...} +// +// or: +// +// nil +type CloudProjectKubePrivateNetworkConfigurationPtrInput interface { + pulumi.Input + + ToCloudProjectKubePrivateNetworkConfigurationPtrOutput() CloudProjectKubePrivateNetworkConfigurationPtrOutput + ToCloudProjectKubePrivateNetworkConfigurationPtrOutputWithContext(context.Context) CloudProjectKubePrivateNetworkConfigurationPtrOutput +} + +type cloudProjectKubePrivateNetworkConfigurationPtrType CloudProjectKubePrivateNetworkConfigurationArgs + +func CloudProjectKubePrivateNetworkConfigurationPtr(v *CloudProjectKubePrivateNetworkConfigurationArgs) CloudProjectKubePrivateNetworkConfigurationPtrInput { + return (*cloudProjectKubePrivateNetworkConfigurationPtrType)(v) +} + +func (*cloudProjectKubePrivateNetworkConfigurationPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**CloudProjectKubePrivateNetworkConfiguration)(nil)).Elem() +} + +func (i *cloudProjectKubePrivateNetworkConfigurationPtrType) ToCloudProjectKubePrivateNetworkConfigurationPtrOutput() CloudProjectKubePrivateNetworkConfigurationPtrOutput { + return i.ToCloudProjectKubePrivateNetworkConfigurationPtrOutputWithContext(context.Background()) +} + +func (i *cloudProjectKubePrivateNetworkConfigurationPtrType) ToCloudProjectKubePrivateNetworkConfigurationPtrOutputWithContext(ctx context.Context) CloudProjectKubePrivateNetworkConfigurationPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectKubePrivateNetworkConfigurationPtrOutput) +} + +type CloudProjectKubePrivateNetworkConfigurationOutput struct{ *pulumi.OutputState } + +func (CloudProjectKubePrivateNetworkConfigurationOutput) ElementType() reflect.Type { + return reflect.TypeOf((*CloudProjectKubePrivateNetworkConfiguration)(nil)).Elem() +} + +func (o CloudProjectKubePrivateNetworkConfigurationOutput) ToCloudProjectKubePrivateNetworkConfigurationOutput() CloudProjectKubePrivateNetworkConfigurationOutput { + return o +} + +func (o CloudProjectKubePrivateNetworkConfigurationOutput) ToCloudProjectKubePrivateNetworkConfigurationOutputWithContext(ctx context.Context) CloudProjectKubePrivateNetworkConfigurationOutput { + return o +} + +func (o CloudProjectKubePrivateNetworkConfigurationOutput) ToCloudProjectKubePrivateNetworkConfigurationPtrOutput() CloudProjectKubePrivateNetworkConfigurationPtrOutput { + return o.ToCloudProjectKubePrivateNetworkConfigurationPtrOutputWithContext(context.Background()) +} + +func (o CloudProjectKubePrivateNetworkConfigurationOutput) ToCloudProjectKubePrivateNetworkConfigurationPtrOutputWithContext(ctx context.Context) CloudProjectKubePrivateNetworkConfigurationPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v CloudProjectKubePrivateNetworkConfiguration) *CloudProjectKubePrivateNetworkConfiguration { + return &v + }).(CloudProjectKubePrivateNetworkConfigurationPtrOutput) +} + +// If defined, all egress traffic will be routed towards this IP address, which should belong to the private network. Empty string means disabled. +func (o CloudProjectKubePrivateNetworkConfigurationOutput) DefaultVrackGateway() pulumi.StringOutput { + return o.ApplyT(func(v CloudProjectKubePrivateNetworkConfiguration) string { return v.DefaultVrackGateway }).(pulumi.StringOutput) +} + +// Defines whether routing should default to using the nodes' private interface, instead of their public interface. Default is false. +func (o CloudProjectKubePrivateNetworkConfigurationOutput) PrivateNetworkRoutingAsDefault() pulumi.BoolOutput { + return o.ApplyT(func(v CloudProjectKubePrivateNetworkConfiguration) bool { return v.PrivateNetworkRoutingAsDefault }).(pulumi.BoolOutput) +} + +type CloudProjectKubePrivateNetworkConfigurationPtrOutput struct{ *pulumi.OutputState } + +func (CloudProjectKubePrivateNetworkConfigurationPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**CloudProjectKubePrivateNetworkConfiguration)(nil)).Elem() +} + +func (o CloudProjectKubePrivateNetworkConfigurationPtrOutput) ToCloudProjectKubePrivateNetworkConfigurationPtrOutput() CloudProjectKubePrivateNetworkConfigurationPtrOutput { + return o +} + +func (o CloudProjectKubePrivateNetworkConfigurationPtrOutput) ToCloudProjectKubePrivateNetworkConfigurationPtrOutputWithContext(ctx context.Context) CloudProjectKubePrivateNetworkConfigurationPtrOutput { + return o +} + +func (o CloudProjectKubePrivateNetworkConfigurationPtrOutput) Elem() CloudProjectKubePrivateNetworkConfigurationOutput { + return o.ApplyT(func(v *CloudProjectKubePrivateNetworkConfiguration) CloudProjectKubePrivateNetworkConfiguration { + if v != nil { + return *v + } + var ret CloudProjectKubePrivateNetworkConfiguration + return ret + }).(CloudProjectKubePrivateNetworkConfigurationOutput) +} + +// If defined, all egress traffic will be routed towards this IP address, which should belong to the private network. Empty string means disabled. +func (o CloudProjectKubePrivateNetworkConfigurationPtrOutput) DefaultVrackGateway() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudProjectKubePrivateNetworkConfiguration) *string { + if v == nil { + return nil + } + return &v.DefaultVrackGateway + }).(pulumi.StringPtrOutput) +} + +// Defines whether routing should default to using the nodes' private interface, instead of their public interface. Default is false. +func (o CloudProjectKubePrivateNetworkConfigurationPtrOutput) PrivateNetworkRoutingAsDefault() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *CloudProjectKubePrivateNetworkConfiguration) *bool { + if v == nil { + return nil + } + return &v.PrivateNetworkRoutingAsDefault + }).(pulumi.BoolPtrOutput) +} + +type CloudProjectKubeTimeouts struct { + Create *string `pulumi:"create"` + Default *string `pulumi:"default"` + Delete *string `pulumi:"delete"` + Read *string `pulumi:"read"` + Update *string `pulumi:"update"` +} + +// CloudProjectKubeTimeoutsInput is an input type that accepts CloudProjectKubeTimeoutsArgs and CloudProjectKubeTimeoutsOutput values. +// You can construct a concrete instance of `CloudProjectKubeTimeoutsInput` via: +// +// CloudProjectKubeTimeoutsArgs{...} +type CloudProjectKubeTimeoutsInput interface { + pulumi.Input + + ToCloudProjectKubeTimeoutsOutput() CloudProjectKubeTimeoutsOutput + ToCloudProjectKubeTimeoutsOutputWithContext(context.Context) CloudProjectKubeTimeoutsOutput +} + +type CloudProjectKubeTimeoutsArgs struct { + Create pulumi.StringPtrInput `pulumi:"create"` + Default pulumi.StringPtrInput `pulumi:"default"` + Delete pulumi.StringPtrInput `pulumi:"delete"` + Read pulumi.StringPtrInput `pulumi:"read"` + Update pulumi.StringPtrInput `pulumi:"update"` +} + +func (CloudProjectKubeTimeoutsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*CloudProjectKubeTimeouts)(nil)).Elem() +} + +func (i CloudProjectKubeTimeoutsArgs) ToCloudProjectKubeTimeoutsOutput() CloudProjectKubeTimeoutsOutput { + return i.ToCloudProjectKubeTimeoutsOutputWithContext(context.Background()) +} + +func (i CloudProjectKubeTimeoutsArgs) ToCloudProjectKubeTimeoutsOutputWithContext(ctx context.Context) CloudProjectKubeTimeoutsOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectKubeTimeoutsOutput) +} + +func (i CloudProjectKubeTimeoutsArgs) ToCloudProjectKubeTimeoutsPtrOutput() CloudProjectKubeTimeoutsPtrOutput { + return i.ToCloudProjectKubeTimeoutsPtrOutputWithContext(context.Background()) +} + +func (i CloudProjectKubeTimeoutsArgs) ToCloudProjectKubeTimeoutsPtrOutputWithContext(ctx context.Context) CloudProjectKubeTimeoutsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectKubeTimeoutsOutput).ToCloudProjectKubeTimeoutsPtrOutputWithContext(ctx) +} + +// CloudProjectKubeTimeoutsPtrInput is an input type that accepts CloudProjectKubeTimeoutsArgs, CloudProjectKubeTimeoutsPtr and CloudProjectKubeTimeoutsPtrOutput values. +// You can construct a concrete instance of `CloudProjectKubeTimeoutsPtrInput` via: +// +// CloudProjectKubeTimeoutsArgs{...} +// +// or: +// +// nil +type CloudProjectKubeTimeoutsPtrInput interface { + pulumi.Input + + ToCloudProjectKubeTimeoutsPtrOutput() CloudProjectKubeTimeoutsPtrOutput + ToCloudProjectKubeTimeoutsPtrOutputWithContext(context.Context) CloudProjectKubeTimeoutsPtrOutput +} + +type cloudProjectKubeTimeoutsPtrType CloudProjectKubeTimeoutsArgs + +func CloudProjectKubeTimeoutsPtr(v *CloudProjectKubeTimeoutsArgs) CloudProjectKubeTimeoutsPtrInput { + return (*cloudProjectKubeTimeoutsPtrType)(v) +} + +func (*cloudProjectKubeTimeoutsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**CloudProjectKubeTimeouts)(nil)).Elem() +} + +func (i *cloudProjectKubeTimeoutsPtrType) ToCloudProjectKubeTimeoutsPtrOutput() CloudProjectKubeTimeoutsPtrOutput { + return i.ToCloudProjectKubeTimeoutsPtrOutputWithContext(context.Background()) +} + +func (i *cloudProjectKubeTimeoutsPtrType) ToCloudProjectKubeTimeoutsPtrOutputWithContext(ctx context.Context) CloudProjectKubeTimeoutsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectKubeTimeoutsPtrOutput) +} + +type CloudProjectKubeTimeoutsOutput struct{ *pulumi.OutputState } + +func (CloudProjectKubeTimeoutsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*CloudProjectKubeTimeouts)(nil)).Elem() +} + +func (o CloudProjectKubeTimeoutsOutput) ToCloudProjectKubeTimeoutsOutput() CloudProjectKubeTimeoutsOutput { + return o +} + +func (o CloudProjectKubeTimeoutsOutput) ToCloudProjectKubeTimeoutsOutputWithContext(ctx context.Context) CloudProjectKubeTimeoutsOutput { + return o +} + +func (o CloudProjectKubeTimeoutsOutput) ToCloudProjectKubeTimeoutsPtrOutput() CloudProjectKubeTimeoutsPtrOutput { + return o.ToCloudProjectKubeTimeoutsPtrOutputWithContext(context.Background()) +} + +func (o CloudProjectKubeTimeoutsOutput) ToCloudProjectKubeTimeoutsPtrOutputWithContext(ctx context.Context) CloudProjectKubeTimeoutsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v CloudProjectKubeTimeouts) *CloudProjectKubeTimeouts { + return &v + }).(CloudProjectKubeTimeoutsPtrOutput) +} + +func (o CloudProjectKubeTimeoutsOutput) Create() pulumi.StringPtrOutput { + return o.ApplyT(func(v CloudProjectKubeTimeouts) *string { return v.Create }).(pulumi.StringPtrOutput) +} + +func (o CloudProjectKubeTimeoutsOutput) Default() pulumi.StringPtrOutput { + return o.ApplyT(func(v CloudProjectKubeTimeouts) *string { return v.Default }).(pulumi.StringPtrOutput) +} + +func (o CloudProjectKubeTimeoutsOutput) Delete() pulumi.StringPtrOutput { + return o.ApplyT(func(v CloudProjectKubeTimeouts) *string { return v.Delete }).(pulumi.StringPtrOutput) +} + +func (o CloudProjectKubeTimeoutsOutput) Read() pulumi.StringPtrOutput { + return o.ApplyT(func(v CloudProjectKubeTimeouts) *string { return v.Read }).(pulumi.StringPtrOutput) +} + +func (o CloudProjectKubeTimeoutsOutput) Update() pulumi.StringPtrOutput { + return o.ApplyT(func(v CloudProjectKubeTimeouts) *string { return v.Update }).(pulumi.StringPtrOutput) +} + +type CloudProjectKubeTimeoutsPtrOutput struct{ *pulumi.OutputState } + +func (CloudProjectKubeTimeoutsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**CloudProjectKubeTimeouts)(nil)).Elem() +} + +func (o CloudProjectKubeTimeoutsPtrOutput) ToCloudProjectKubeTimeoutsPtrOutput() CloudProjectKubeTimeoutsPtrOutput { + return o +} + +func (o CloudProjectKubeTimeoutsPtrOutput) ToCloudProjectKubeTimeoutsPtrOutputWithContext(ctx context.Context) CloudProjectKubeTimeoutsPtrOutput { + return o +} + +func (o CloudProjectKubeTimeoutsPtrOutput) Elem() CloudProjectKubeTimeoutsOutput { + return o.ApplyT(func(v *CloudProjectKubeTimeouts) CloudProjectKubeTimeouts { + if v != nil { + return *v + } + var ret CloudProjectKubeTimeouts + return ret + }).(CloudProjectKubeTimeoutsOutput) +} + +func (o CloudProjectKubeTimeoutsPtrOutput) Create() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudProjectKubeTimeouts) *string { + if v == nil { + return nil + } + return v.Create + }).(pulumi.StringPtrOutput) +} + +func (o CloudProjectKubeTimeoutsPtrOutput) Default() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudProjectKubeTimeouts) *string { + if v == nil { + return nil + } + return v.Default + }).(pulumi.StringPtrOutput) +} + +func (o CloudProjectKubeTimeoutsPtrOutput) Delete() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudProjectKubeTimeouts) *string { + if v == nil { + return nil + } + return v.Delete + }).(pulumi.StringPtrOutput) +} + +func (o CloudProjectKubeTimeoutsPtrOutput) Read() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudProjectKubeTimeouts) *string { + if v == nil { + return nil + } + return v.Read + }).(pulumi.StringPtrOutput) +} + +func (o CloudProjectKubeTimeoutsPtrOutput) Update() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudProjectKubeTimeouts) *string { + if v == nil { + return nil + } + return v.Update + }).(pulumi.StringPtrOutput) +} + +type CloudProjectNetworkPrivateRegionsAttribute struct { + Openstackid string `pulumi:"openstackid"` + Region string `pulumi:"region"` + Status string `pulumi:"status"` +} + +// CloudProjectNetworkPrivateRegionsAttributeInput is an input type that accepts CloudProjectNetworkPrivateRegionsAttributeArgs and CloudProjectNetworkPrivateRegionsAttributeOutput values. +// You can construct a concrete instance of `CloudProjectNetworkPrivateRegionsAttributeInput` via: +// +// CloudProjectNetworkPrivateRegionsAttributeArgs{...} +type CloudProjectNetworkPrivateRegionsAttributeInput interface { + pulumi.Input + + ToCloudProjectNetworkPrivateRegionsAttributeOutput() CloudProjectNetworkPrivateRegionsAttributeOutput + ToCloudProjectNetworkPrivateRegionsAttributeOutputWithContext(context.Context) CloudProjectNetworkPrivateRegionsAttributeOutput +} + +type CloudProjectNetworkPrivateRegionsAttributeArgs struct { + Openstackid pulumi.StringInput `pulumi:"openstackid"` + Region pulumi.StringInput `pulumi:"region"` + Status pulumi.StringInput `pulumi:"status"` +} + +func (CloudProjectNetworkPrivateRegionsAttributeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*CloudProjectNetworkPrivateRegionsAttribute)(nil)).Elem() +} + +func (i CloudProjectNetworkPrivateRegionsAttributeArgs) ToCloudProjectNetworkPrivateRegionsAttributeOutput() CloudProjectNetworkPrivateRegionsAttributeOutput { + return i.ToCloudProjectNetworkPrivateRegionsAttributeOutputWithContext(context.Background()) +} + +func (i CloudProjectNetworkPrivateRegionsAttributeArgs) ToCloudProjectNetworkPrivateRegionsAttributeOutputWithContext(ctx context.Context) CloudProjectNetworkPrivateRegionsAttributeOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectNetworkPrivateRegionsAttributeOutput) +} + +// CloudProjectNetworkPrivateRegionsAttributeArrayInput is an input type that accepts CloudProjectNetworkPrivateRegionsAttributeArray and CloudProjectNetworkPrivateRegionsAttributeArrayOutput values. +// You can construct a concrete instance of `CloudProjectNetworkPrivateRegionsAttributeArrayInput` via: +// +// CloudProjectNetworkPrivateRegionsAttributeArray{ CloudProjectNetworkPrivateRegionsAttributeArgs{...} } +type CloudProjectNetworkPrivateRegionsAttributeArrayInput interface { + pulumi.Input + + ToCloudProjectNetworkPrivateRegionsAttributeArrayOutput() CloudProjectNetworkPrivateRegionsAttributeArrayOutput + ToCloudProjectNetworkPrivateRegionsAttributeArrayOutputWithContext(context.Context) CloudProjectNetworkPrivateRegionsAttributeArrayOutput +} + +type CloudProjectNetworkPrivateRegionsAttributeArray []CloudProjectNetworkPrivateRegionsAttributeInput + +func (CloudProjectNetworkPrivateRegionsAttributeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]CloudProjectNetworkPrivateRegionsAttribute)(nil)).Elem() +} + +func (i CloudProjectNetworkPrivateRegionsAttributeArray) ToCloudProjectNetworkPrivateRegionsAttributeArrayOutput() CloudProjectNetworkPrivateRegionsAttributeArrayOutput { + return i.ToCloudProjectNetworkPrivateRegionsAttributeArrayOutputWithContext(context.Background()) +} + +func (i CloudProjectNetworkPrivateRegionsAttributeArray) ToCloudProjectNetworkPrivateRegionsAttributeArrayOutputWithContext(ctx context.Context) CloudProjectNetworkPrivateRegionsAttributeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectNetworkPrivateRegionsAttributeArrayOutput) +} + +type CloudProjectNetworkPrivateRegionsAttributeOutput struct{ *pulumi.OutputState } + +func (CloudProjectNetworkPrivateRegionsAttributeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*CloudProjectNetworkPrivateRegionsAttribute)(nil)).Elem() +} + +func (o CloudProjectNetworkPrivateRegionsAttributeOutput) ToCloudProjectNetworkPrivateRegionsAttributeOutput() CloudProjectNetworkPrivateRegionsAttributeOutput { + return o +} + +func (o CloudProjectNetworkPrivateRegionsAttributeOutput) ToCloudProjectNetworkPrivateRegionsAttributeOutputWithContext(ctx context.Context) CloudProjectNetworkPrivateRegionsAttributeOutput { + return o +} + +func (o CloudProjectNetworkPrivateRegionsAttributeOutput) Openstackid() pulumi.StringOutput { + return o.ApplyT(func(v CloudProjectNetworkPrivateRegionsAttribute) string { return v.Openstackid }).(pulumi.StringOutput) +} + +func (o CloudProjectNetworkPrivateRegionsAttributeOutput) Region() pulumi.StringOutput { + return o.ApplyT(func(v CloudProjectNetworkPrivateRegionsAttribute) string { return v.Region }).(pulumi.StringOutput) +} + +func (o CloudProjectNetworkPrivateRegionsAttributeOutput) Status() pulumi.StringOutput { + return o.ApplyT(func(v CloudProjectNetworkPrivateRegionsAttribute) string { return v.Status }).(pulumi.StringOutput) +} + +type CloudProjectNetworkPrivateRegionsAttributeArrayOutput struct{ *pulumi.OutputState } + +func (CloudProjectNetworkPrivateRegionsAttributeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]CloudProjectNetworkPrivateRegionsAttribute)(nil)).Elem() +} + +func (o CloudProjectNetworkPrivateRegionsAttributeArrayOutput) ToCloudProjectNetworkPrivateRegionsAttributeArrayOutput() CloudProjectNetworkPrivateRegionsAttributeArrayOutput { + return o +} + +func (o CloudProjectNetworkPrivateRegionsAttributeArrayOutput) ToCloudProjectNetworkPrivateRegionsAttributeArrayOutputWithContext(ctx context.Context) CloudProjectNetworkPrivateRegionsAttributeArrayOutput { + return o +} + +func (o CloudProjectNetworkPrivateRegionsAttributeArrayOutput) Index(i pulumi.IntInput) CloudProjectNetworkPrivateRegionsAttributeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) CloudProjectNetworkPrivateRegionsAttribute { + return vs[0].([]CloudProjectNetworkPrivateRegionsAttribute)[vs[1].(int)] + }).(CloudProjectNetworkPrivateRegionsAttributeOutput) +} + +type CloudProjectNetworkPrivateRegionsStatus struct { + Region string `pulumi:"region"` + Status string `pulumi:"status"` +} + +// CloudProjectNetworkPrivateRegionsStatusInput is an input type that accepts CloudProjectNetworkPrivateRegionsStatusArgs and CloudProjectNetworkPrivateRegionsStatusOutput values. +// You can construct a concrete instance of `CloudProjectNetworkPrivateRegionsStatusInput` via: +// +// CloudProjectNetworkPrivateRegionsStatusArgs{...} +type CloudProjectNetworkPrivateRegionsStatusInput interface { + pulumi.Input + + ToCloudProjectNetworkPrivateRegionsStatusOutput() CloudProjectNetworkPrivateRegionsStatusOutput + ToCloudProjectNetworkPrivateRegionsStatusOutputWithContext(context.Context) CloudProjectNetworkPrivateRegionsStatusOutput +} + +type CloudProjectNetworkPrivateRegionsStatusArgs struct { + Region pulumi.StringInput `pulumi:"region"` + Status pulumi.StringInput `pulumi:"status"` +} + +func (CloudProjectNetworkPrivateRegionsStatusArgs) ElementType() reflect.Type { + return reflect.TypeOf((*CloudProjectNetworkPrivateRegionsStatus)(nil)).Elem() +} + +func (i CloudProjectNetworkPrivateRegionsStatusArgs) ToCloudProjectNetworkPrivateRegionsStatusOutput() CloudProjectNetworkPrivateRegionsStatusOutput { + return i.ToCloudProjectNetworkPrivateRegionsStatusOutputWithContext(context.Background()) +} + +func (i CloudProjectNetworkPrivateRegionsStatusArgs) ToCloudProjectNetworkPrivateRegionsStatusOutputWithContext(ctx context.Context) CloudProjectNetworkPrivateRegionsStatusOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectNetworkPrivateRegionsStatusOutput) +} + +// CloudProjectNetworkPrivateRegionsStatusArrayInput is an input type that accepts CloudProjectNetworkPrivateRegionsStatusArray and CloudProjectNetworkPrivateRegionsStatusArrayOutput values. +// You can construct a concrete instance of `CloudProjectNetworkPrivateRegionsStatusArrayInput` via: +// +// CloudProjectNetworkPrivateRegionsStatusArray{ CloudProjectNetworkPrivateRegionsStatusArgs{...} } +type CloudProjectNetworkPrivateRegionsStatusArrayInput interface { + pulumi.Input + + ToCloudProjectNetworkPrivateRegionsStatusArrayOutput() CloudProjectNetworkPrivateRegionsStatusArrayOutput + ToCloudProjectNetworkPrivateRegionsStatusArrayOutputWithContext(context.Context) CloudProjectNetworkPrivateRegionsStatusArrayOutput +} + +type CloudProjectNetworkPrivateRegionsStatusArray []CloudProjectNetworkPrivateRegionsStatusInput + +func (CloudProjectNetworkPrivateRegionsStatusArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]CloudProjectNetworkPrivateRegionsStatus)(nil)).Elem() +} + +func (i CloudProjectNetworkPrivateRegionsStatusArray) ToCloudProjectNetworkPrivateRegionsStatusArrayOutput() CloudProjectNetworkPrivateRegionsStatusArrayOutput { + return i.ToCloudProjectNetworkPrivateRegionsStatusArrayOutputWithContext(context.Background()) +} + +func (i CloudProjectNetworkPrivateRegionsStatusArray) ToCloudProjectNetworkPrivateRegionsStatusArrayOutputWithContext(ctx context.Context) CloudProjectNetworkPrivateRegionsStatusArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectNetworkPrivateRegionsStatusArrayOutput) +} + +type CloudProjectNetworkPrivateRegionsStatusOutput struct{ *pulumi.OutputState } + +func (CloudProjectNetworkPrivateRegionsStatusOutput) ElementType() reflect.Type { + return reflect.TypeOf((*CloudProjectNetworkPrivateRegionsStatus)(nil)).Elem() +} + +func (o CloudProjectNetworkPrivateRegionsStatusOutput) ToCloudProjectNetworkPrivateRegionsStatusOutput() CloudProjectNetworkPrivateRegionsStatusOutput { + return o +} + +func (o CloudProjectNetworkPrivateRegionsStatusOutput) ToCloudProjectNetworkPrivateRegionsStatusOutputWithContext(ctx context.Context) CloudProjectNetworkPrivateRegionsStatusOutput { + return o +} + +func (o CloudProjectNetworkPrivateRegionsStatusOutput) Region() pulumi.StringOutput { + return o.ApplyT(func(v CloudProjectNetworkPrivateRegionsStatus) string { return v.Region }).(pulumi.StringOutput) +} + +func (o CloudProjectNetworkPrivateRegionsStatusOutput) Status() pulumi.StringOutput { + return o.ApplyT(func(v CloudProjectNetworkPrivateRegionsStatus) string { return v.Status }).(pulumi.StringOutput) +} + +type CloudProjectNetworkPrivateRegionsStatusArrayOutput struct{ *pulumi.OutputState } + +func (CloudProjectNetworkPrivateRegionsStatusArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]CloudProjectNetworkPrivateRegionsStatus)(nil)).Elem() +} + +func (o CloudProjectNetworkPrivateRegionsStatusArrayOutput) ToCloudProjectNetworkPrivateRegionsStatusArrayOutput() CloudProjectNetworkPrivateRegionsStatusArrayOutput { + return o +} + +func (o CloudProjectNetworkPrivateRegionsStatusArrayOutput) ToCloudProjectNetworkPrivateRegionsStatusArrayOutputWithContext(ctx context.Context) CloudProjectNetworkPrivateRegionsStatusArrayOutput { + return o +} + +func (o CloudProjectNetworkPrivateRegionsStatusArrayOutput) Index(i pulumi.IntInput) CloudProjectNetworkPrivateRegionsStatusOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) CloudProjectNetworkPrivateRegionsStatus { + return vs[0].([]CloudProjectNetworkPrivateRegionsStatus)[vs[1].(int)] + }).(CloudProjectNetworkPrivateRegionsStatusOutput) +} + +type CloudProjectNetworkPrivateSubnetIpPool struct { + Dhcp bool `pulumi:"dhcp"` + End string `pulumi:"end"` + Network string `pulumi:"network"` + Region string `pulumi:"region"` + Start string `pulumi:"start"` +} + +// CloudProjectNetworkPrivateSubnetIpPoolInput is an input type that accepts CloudProjectNetworkPrivateSubnetIpPoolArgs and CloudProjectNetworkPrivateSubnetIpPoolOutput values. +// You can construct a concrete instance of `CloudProjectNetworkPrivateSubnetIpPoolInput` via: +// +// CloudProjectNetworkPrivateSubnetIpPoolArgs{...} +type CloudProjectNetworkPrivateSubnetIpPoolInput interface { + pulumi.Input + + ToCloudProjectNetworkPrivateSubnetIpPoolOutput() CloudProjectNetworkPrivateSubnetIpPoolOutput + ToCloudProjectNetworkPrivateSubnetIpPoolOutputWithContext(context.Context) CloudProjectNetworkPrivateSubnetIpPoolOutput +} + +type CloudProjectNetworkPrivateSubnetIpPoolArgs struct { + Dhcp pulumi.BoolInput `pulumi:"dhcp"` + End pulumi.StringInput `pulumi:"end"` + Network pulumi.StringInput `pulumi:"network"` + Region pulumi.StringInput `pulumi:"region"` + Start pulumi.StringInput `pulumi:"start"` +} + +func (CloudProjectNetworkPrivateSubnetIpPoolArgs) ElementType() reflect.Type { + return reflect.TypeOf((*CloudProjectNetworkPrivateSubnetIpPool)(nil)).Elem() +} + +func (i CloudProjectNetworkPrivateSubnetIpPoolArgs) ToCloudProjectNetworkPrivateSubnetIpPoolOutput() CloudProjectNetworkPrivateSubnetIpPoolOutput { + return i.ToCloudProjectNetworkPrivateSubnetIpPoolOutputWithContext(context.Background()) +} + +func (i CloudProjectNetworkPrivateSubnetIpPoolArgs) ToCloudProjectNetworkPrivateSubnetIpPoolOutputWithContext(ctx context.Context) CloudProjectNetworkPrivateSubnetIpPoolOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectNetworkPrivateSubnetIpPoolOutput) +} + +// CloudProjectNetworkPrivateSubnetIpPoolArrayInput is an input type that accepts CloudProjectNetworkPrivateSubnetIpPoolArray and CloudProjectNetworkPrivateSubnetIpPoolArrayOutput values. +// You can construct a concrete instance of `CloudProjectNetworkPrivateSubnetIpPoolArrayInput` via: +// +// CloudProjectNetworkPrivateSubnetIpPoolArray{ CloudProjectNetworkPrivateSubnetIpPoolArgs{...} } +type CloudProjectNetworkPrivateSubnetIpPoolArrayInput interface { + pulumi.Input + + ToCloudProjectNetworkPrivateSubnetIpPoolArrayOutput() CloudProjectNetworkPrivateSubnetIpPoolArrayOutput + ToCloudProjectNetworkPrivateSubnetIpPoolArrayOutputWithContext(context.Context) CloudProjectNetworkPrivateSubnetIpPoolArrayOutput +} + +type CloudProjectNetworkPrivateSubnetIpPoolArray []CloudProjectNetworkPrivateSubnetIpPoolInput + +func (CloudProjectNetworkPrivateSubnetIpPoolArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]CloudProjectNetworkPrivateSubnetIpPool)(nil)).Elem() +} + +func (i CloudProjectNetworkPrivateSubnetIpPoolArray) ToCloudProjectNetworkPrivateSubnetIpPoolArrayOutput() CloudProjectNetworkPrivateSubnetIpPoolArrayOutput { + return i.ToCloudProjectNetworkPrivateSubnetIpPoolArrayOutputWithContext(context.Background()) +} + +func (i CloudProjectNetworkPrivateSubnetIpPoolArray) ToCloudProjectNetworkPrivateSubnetIpPoolArrayOutputWithContext(ctx context.Context) CloudProjectNetworkPrivateSubnetIpPoolArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectNetworkPrivateSubnetIpPoolArrayOutput) +} + +type CloudProjectNetworkPrivateSubnetIpPoolOutput struct{ *pulumi.OutputState } + +func (CloudProjectNetworkPrivateSubnetIpPoolOutput) ElementType() reflect.Type { + return reflect.TypeOf((*CloudProjectNetworkPrivateSubnetIpPool)(nil)).Elem() +} + +func (o CloudProjectNetworkPrivateSubnetIpPoolOutput) ToCloudProjectNetworkPrivateSubnetIpPoolOutput() CloudProjectNetworkPrivateSubnetIpPoolOutput { + return o +} + +func (o CloudProjectNetworkPrivateSubnetIpPoolOutput) ToCloudProjectNetworkPrivateSubnetIpPoolOutputWithContext(ctx context.Context) CloudProjectNetworkPrivateSubnetIpPoolOutput { + return o +} + +func (o CloudProjectNetworkPrivateSubnetIpPoolOutput) Dhcp() pulumi.BoolOutput { + return o.ApplyT(func(v CloudProjectNetworkPrivateSubnetIpPool) bool { return v.Dhcp }).(pulumi.BoolOutput) +} + +func (o CloudProjectNetworkPrivateSubnetIpPoolOutput) End() pulumi.StringOutput { + return o.ApplyT(func(v CloudProjectNetworkPrivateSubnetIpPool) string { return v.End }).(pulumi.StringOutput) +} + +func (o CloudProjectNetworkPrivateSubnetIpPoolOutput) Network() pulumi.StringOutput { + return o.ApplyT(func(v CloudProjectNetworkPrivateSubnetIpPool) string { return v.Network }).(pulumi.StringOutput) +} + +func (o CloudProjectNetworkPrivateSubnetIpPoolOutput) Region() pulumi.StringOutput { + return o.ApplyT(func(v CloudProjectNetworkPrivateSubnetIpPool) string { return v.Region }).(pulumi.StringOutput) +} + +func (o CloudProjectNetworkPrivateSubnetIpPoolOutput) Start() pulumi.StringOutput { + return o.ApplyT(func(v CloudProjectNetworkPrivateSubnetIpPool) string { return v.Start }).(pulumi.StringOutput) +} + +type CloudProjectNetworkPrivateSubnetIpPoolArrayOutput struct{ *pulumi.OutputState } + +func (CloudProjectNetworkPrivateSubnetIpPoolArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]CloudProjectNetworkPrivateSubnetIpPool)(nil)).Elem() +} + +func (o CloudProjectNetworkPrivateSubnetIpPoolArrayOutput) ToCloudProjectNetworkPrivateSubnetIpPoolArrayOutput() CloudProjectNetworkPrivateSubnetIpPoolArrayOutput { + return o +} + +func (o CloudProjectNetworkPrivateSubnetIpPoolArrayOutput) ToCloudProjectNetworkPrivateSubnetIpPoolArrayOutputWithContext(ctx context.Context) CloudProjectNetworkPrivateSubnetIpPoolArrayOutput { + return o +} + +func (o CloudProjectNetworkPrivateSubnetIpPoolArrayOutput) Index(i pulumi.IntInput) CloudProjectNetworkPrivateSubnetIpPoolOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) CloudProjectNetworkPrivateSubnetIpPool { + return vs[0].([]CloudProjectNetworkPrivateSubnetIpPool)[vs[1].(int)] + }).(CloudProjectNetworkPrivateSubnetIpPoolOutput) +} + +type CloudProjectOrder struct { + // date + Date *string `pulumi:"date"` + // Information about a Bill entry + Details []CloudProjectOrderDetail `pulumi:"details"` + // expiration date + ExpirationDate *string `pulumi:"expirationDate"` + // order id + OrderId *float64 `pulumi:"orderId"` +} + +// CloudProjectOrderInput is an input type that accepts CloudProjectOrderArgs and CloudProjectOrderOutput values. +// You can construct a concrete instance of `CloudProjectOrderInput` via: +// +// CloudProjectOrderArgs{...} +type CloudProjectOrderInput interface { + pulumi.Input + + ToCloudProjectOrderOutput() CloudProjectOrderOutput + ToCloudProjectOrderOutputWithContext(context.Context) CloudProjectOrderOutput +} + +type CloudProjectOrderArgs struct { + // date + Date pulumi.StringPtrInput `pulumi:"date"` + // Information about a Bill entry + Details CloudProjectOrderDetailArrayInput `pulumi:"details"` + // expiration date + ExpirationDate pulumi.StringPtrInput `pulumi:"expirationDate"` + // order id + OrderId pulumi.Float64PtrInput `pulumi:"orderId"` +} + +func (CloudProjectOrderArgs) ElementType() reflect.Type { + return reflect.TypeOf((*CloudProjectOrder)(nil)).Elem() +} + +func (i CloudProjectOrderArgs) ToCloudProjectOrderOutput() CloudProjectOrderOutput { + return i.ToCloudProjectOrderOutputWithContext(context.Background()) +} + +func (i CloudProjectOrderArgs) ToCloudProjectOrderOutputWithContext(ctx context.Context) CloudProjectOrderOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectOrderOutput) +} + +// CloudProjectOrderArrayInput is an input type that accepts CloudProjectOrderArray and CloudProjectOrderArrayOutput values. +// You can construct a concrete instance of `CloudProjectOrderArrayInput` via: +// +// CloudProjectOrderArray{ CloudProjectOrderArgs{...} } +type CloudProjectOrderArrayInput interface { + pulumi.Input + + ToCloudProjectOrderArrayOutput() CloudProjectOrderArrayOutput + ToCloudProjectOrderArrayOutputWithContext(context.Context) CloudProjectOrderArrayOutput +} + +type CloudProjectOrderArray []CloudProjectOrderInput + +func (CloudProjectOrderArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]CloudProjectOrder)(nil)).Elem() +} + +func (i CloudProjectOrderArray) ToCloudProjectOrderArrayOutput() CloudProjectOrderArrayOutput { + return i.ToCloudProjectOrderArrayOutputWithContext(context.Background()) +} + +func (i CloudProjectOrderArray) ToCloudProjectOrderArrayOutputWithContext(ctx context.Context) CloudProjectOrderArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectOrderArrayOutput) +} + +type CloudProjectOrderOutput struct{ *pulumi.OutputState } + +func (CloudProjectOrderOutput) ElementType() reflect.Type { + return reflect.TypeOf((*CloudProjectOrder)(nil)).Elem() +} + +func (o CloudProjectOrderOutput) ToCloudProjectOrderOutput() CloudProjectOrderOutput { + return o +} + +func (o CloudProjectOrderOutput) ToCloudProjectOrderOutputWithContext(ctx context.Context) CloudProjectOrderOutput { + return o +} + +// date +func (o CloudProjectOrderOutput) Date() pulumi.StringPtrOutput { + return o.ApplyT(func(v CloudProjectOrder) *string { return v.Date }).(pulumi.StringPtrOutput) +} + +// Information about a Bill entry +func (o CloudProjectOrderOutput) Details() CloudProjectOrderDetailArrayOutput { + return o.ApplyT(func(v CloudProjectOrder) []CloudProjectOrderDetail { return v.Details }).(CloudProjectOrderDetailArrayOutput) +} + +// expiration date +func (o CloudProjectOrderOutput) ExpirationDate() pulumi.StringPtrOutput { + return o.ApplyT(func(v CloudProjectOrder) *string { return v.ExpirationDate }).(pulumi.StringPtrOutput) +} + +// order id +func (o CloudProjectOrderOutput) OrderId() pulumi.Float64PtrOutput { + return o.ApplyT(func(v CloudProjectOrder) *float64 { return v.OrderId }).(pulumi.Float64PtrOutput) +} + +type CloudProjectOrderArrayOutput struct{ *pulumi.OutputState } + +func (CloudProjectOrderArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]CloudProjectOrder)(nil)).Elem() +} + +func (o CloudProjectOrderArrayOutput) ToCloudProjectOrderArrayOutput() CloudProjectOrderArrayOutput { + return o +} + +func (o CloudProjectOrderArrayOutput) ToCloudProjectOrderArrayOutputWithContext(ctx context.Context) CloudProjectOrderArrayOutput { + return o +} + +func (o CloudProjectOrderArrayOutput) Index(i pulumi.IntInput) CloudProjectOrderOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) CloudProjectOrder { + return vs[0].([]CloudProjectOrder)[vs[1].(int)] + }).(CloudProjectOrderOutput) +} + +type CloudProjectOrderDetail struct { + Description string `pulumi:"description"` + Domain string `pulumi:"domain"` + OrderDetailId float64 `pulumi:"orderDetailId"` + Quantity string `pulumi:"quantity"` +} + +// CloudProjectOrderDetailInput is an input type that accepts CloudProjectOrderDetailArgs and CloudProjectOrderDetailOutput values. +// You can construct a concrete instance of `CloudProjectOrderDetailInput` via: +// +// CloudProjectOrderDetailArgs{...} +type CloudProjectOrderDetailInput interface { + pulumi.Input + + ToCloudProjectOrderDetailOutput() CloudProjectOrderDetailOutput + ToCloudProjectOrderDetailOutputWithContext(context.Context) CloudProjectOrderDetailOutput +} + +type CloudProjectOrderDetailArgs struct { + Description pulumi.StringInput `pulumi:"description"` + Domain pulumi.StringInput `pulumi:"domain"` + OrderDetailId pulumi.Float64Input `pulumi:"orderDetailId"` + Quantity pulumi.StringInput `pulumi:"quantity"` +} + +func (CloudProjectOrderDetailArgs) ElementType() reflect.Type { + return reflect.TypeOf((*CloudProjectOrderDetail)(nil)).Elem() +} + +func (i CloudProjectOrderDetailArgs) ToCloudProjectOrderDetailOutput() CloudProjectOrderDetailOutput { + return i.ToCloudProjectOrderDetailOutputWithContext(context.Background()) +} + +func (i CloudProjectOrderDetailArgs) ToCloudProjectOrderDetailOutputWithContext(ctx context.Context) CloudProjectOrderDetailOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectOrderDetailOutput) +} + +// CloudProjectOrderDetailArrayInput is an input type that accepts CloudProjectOrderDetailArray and CloudProjectOrderDetailArrayOutput values. +// You can construct a concrete instance of `CloudProjectOrderDetailArrayInput` via: +// +// CloudProjectOrderDetailArray{ CloudProjectOrderDetailArgs{...} } +type CloudProjectOrderDetailArrayInput interface { + pulumi.Input + + ToCloudProjectOrderDetailArrayOutput() CloudProjectOrderDetailArrayOutput + ToCloudProjectOrderDetailArrayOutputWithContext(context.Context) CloudProjectOrderDetailArrayOutput +} + +type CloudProjectOrderDetailArray []CloudProjectOrderDetailInput + +func (CloudProjectOrderDetailArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]CloudProjectOrderDetail)(nil)).Elem() +} + +func (i CloudProjectOrderDetailArray) ToCloudProjectOrderDetailArrayOutput() CloudProjectOrderDetailArrayOutput { + return i.ToCloudProjectOrderDetailArrayOutputWithContext(context.Background()) +} + +func (i CloudProjectOrderDetailArray) ToCloudProjectOrderDetailArrayOutputWithContext(ctx context.Context) CloudProjectOrderDetailArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectOrderDetailArrayOutput) +} + +type CloudProjectOrderDetailOutput struct{ *pulumi.OutputState } + +func (CloudProjectOrderDetailOutput) ElementType() reflect.Type { + return reflect.TypeOf((*CloudProjectOrderDetail)(nil)).Elem() +} + +func (o CloudProjectOrderDetailOutput) ToCloudProjectOrderDetailOutput() CloudProjectOrderDetailOutput { + return o +} + +func (o CloudProjectOrderDetailOutput) ToCloudProjectOrderDetailOutputWithContext(ctx context.Context) CloudProjectOrderDetailOutput { + return o +} + +func (o CloudProjectOrderDetailOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v CloudProjectOrderDetail) string { return v.Description }).(pulumi.StringOutput) +} + +func (o CloudProjectOrderDetailOutput) Domain() pulumi.StringOutput { + return o.ApplyT(func(v CloudProjectOrderDetail) string { return v.Domain }).(pulumi.StringOutput) +} + +func (o CloudProjectOrderDetailOutput) OrderDetailId() pulumi.Float64Output { + return o.ApplyT(func(v CloudProjectOrderDetail) float64 { return v.OrderDetailId }).(pulumi.Float64Output) +} + +func (o CloudProjectOrderDetailOutput) Quantity() pulumi.StringOutput { + return o.ApplyT(func(v CloudProjectOrderDetail) string { return v.Quantity }).(pulumi.StringOutput) +} + +type CloudProjectOrderDetailArrayOutput struct{ *pulumi.OutputState } + +func (CloudProjectOrderDetailArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]CloudProjectOrderDetail)(nil)).Elem() +} + +func (o CloudProjectOrderDetailArrayOutput) ToCloudProjectOrderDetailArrayOutput() CloudProjectOrderDetailArrayOutput { + return o +} + +func (o CloudProjectOrderDetailArrayOutput) ToCloudProjectOrderDetailArrayOutputWithContext(ctx context.Context) CloudProjectOrderDetailArrayOutput { + return o +} + +func (o CloudProjectOrderDetailArrayOutput) Index(i pulumi.IntInput) CloudProjectOrderDetailOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) CloudProjectOrderDetail { + return vs[0].([]CloudProjectOrderDetail)[vs[1].(int)] + }).(CloudProjectOrderDetailOutput) +} + +type CloudProjectPlan struct { + // Catalog name + CatalogName *string `pulumi:"catalogName"` + // Representation of a configuration item for personalizing product + Configurations []CloudProjectPlanConfiguration `pulumi:"configurations"` + // duration + Duration string `pulumi:"duration"` + // Plan code + PlanCode string `pulumi:"planCode"` + // Pricing model identifier + PricingMode string `pulumi:"pricingMode"` +} + +// CloudProjectPlanInput is an input type that accepts CloudProjectPlanArgs and CloudProjectPlanOutput values. +// You can construct a concrete instance of `CloudProjectPlanInput` via: +// +// CloudProjectPlanArgs{...} +type CloudProjectPlanInput interface { + pulumi.Input + + ToCloudProjectPlanOutput() CloudProjectPlanOutput + ToCloudProjectPlanOutputWithContext(context.Context) CloudProjectPlanOutput +} + +type CloudProjectPlanArgs struct { + // Catalog name + CatalogName pulumi.StringPtrInput `pulumi:"catalogName"` + // Representation of a configuration item for personalizing product + Configurations CloudProjectPlanConfigurationArrayInput `pulumi:"configurations"` + // duration + Duration pulumi.StringInput `pulumi:"duration"` + // Plan code + PlanCode pulumi.StringInput `pulumi:"planCode"` + // Pricing model identifier + PricingMode pulumi.StringInput `pulumi:"pricingMode"` +} + +func (CloudProjectPlanArgs) ElementType() reflect.Type { + return reflect.TypeOf((*CloudProjectPlan)(nil)).Elem() +} + +func (i CloudProjectPlanArgs) ToCloudProjectPlanOutput() CloudProjectPlanOutput { + return i.ToCloudProjectPlanOutputWithContext(context.Background()) +} + +func (i CloudProjectPlanArgs) ToCloudProjectPlanOutputWithContext(ctx context.Context) CloudProjectPlanOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectPlanOutput) +} + +func (i CloudProjectPlanArgs) ToCloudProjectPlanPtrOutput() CloudProjectPlanPtrOutput { + return i.ToCloudProjectPlanPtrOutputWithContext(context.Background()) +} + +func (i CloudProjectPlanArgs) ToCloudProjectPlanPtrOutputWithContext(ctx context.Context) CloudProjectPlanPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectPlanOutput).ToCloudProjectPlanPtrOutputWithContext(ctx) +} + +// CloudProjectPlanPtrInput is an input type that accepts CloudProjectPlanArgs, CloudProjectPlanPtr and CloudProjectPlanPtrOutput values. +// You can construct a concrete instance of `CloudProjectPlanPtrInput` via: +// +// CloudProjectPlanArgs{...} +// +// or: +// +// nil +type CloudProjectPlanPtrInput interface { + pulumi.Input + + ToCloudProjectPlanPtrOutput() CloudProjectPlanPtrOutput + ToCloudProjectPlanPtrOutputWithContext(context.Context) CloudProjectPlanPtrOutput +} + +type cloudProjectPlanPtrType CloudProjectPlanArgs + +func CloudProjectPlanPtr(v *CloudProjectPlanArgs) CloudProjectPlanPtrInput { + return (*cloudProjectPlanPtrType)(v) +} + +func (*cloudProjectPlanPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**CloudProjectPlan)(nil)).Elem() +} + +func (i *cloudProjectPlanPtrType) ToCloudProjectPlanPtrOutput() CloudProjectPlanPtrOutput { + return i.ToCloudProjectPlanPtrOutputWithContext(context.Background()) +} + +func (i *cloudProjectPlanPtrType) ToCloudProjectPlanPtrOutputWithContext(ctx context.Context) CloudProjectPlanPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectPlanPtrOutput) +} + +type CloudProjectPlanOutput struct{ *pulumi.OutputState } + +func (CloudProjectPlanOutput) ElementType() reflect.Type { + return reflect.TypeOf((*CloudProjectPlan)(nil)).Elem() +} + +func (o CloudProjectPlanOutput) ToCloudProjectPlanOutput() CloudProjectPlanOutput { + return o +} + +func (o CloudProjectPlanOutput) ToCloudProjectPlanOutputWithContext(ctx context.Context) CloudProjectPlanOutput { + return o +} + +func (o CloudProjectPlanOutput) ToCloudProjectPlanPtrOutput() CloudProjectPlanPtrOutput { + return o.ToCloudProjectPlanPtrOutputWithContext(context.Background()) +} + +func (o CloudProjectPlanOutput) ToCloudProjectPlanPtrOutputWithContext(ctx context.Context) CloudProjectPlanPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v CloudProjectPlan) *CloudProjectPlan { + return &v + }).(CloudProjectPlanPtrOutput) +} + +// Catalog name +func (o CloudProjectPlanOutput) CatalogName() pulumi.StringPtrOutput { + return o.ApplyT(func(v CloudProjectPlan) *string { return v.CatalogName }).(pulumi.StringPtrOutput) +} + +// Representation of a configuration item for personalizing product +func (o CloudProjectPlanOutput) Configurations() CloudProjectPlanConfigurationArrayOutput { + return o.ApplyT(func(v CloudProjectPlan) []CloudProjectPlanConfiguration { return v.Configurations }).(CloudProjectPlanConfigurationArrayOutput) +} + +// duration +func (o CloudProjectPlanOutput) Duration() pulumi.StringOutput { + return o.ApplyT(func(v CloudProjectPlan) string { return v.Duration }).(pulumi.StringOutput) +} + +// Plan code +func (o CloudProjectPlanOutput) PlanCode() pulumi.StringOutput { + return o.ApplyT(func(v CloudProjectPlan) string { return v.PlanCode }).(pulumi.StringOutput) +} + +// Pricing model identifier +func (o CloudProjectPlanOutput) PricingMode() pulumi.StringOutput { + return o.ApplyT(func(v CloudProjectPlan) string { return v.PricingMode }).(pulumi.StringOutput) +} + +type CloudProjectPlanPtrOutput struct{ *pulumi.OutputState } + +func (CloudProjectPlanPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**CloudProjectPlan)(nil)).Elem() +} + +func (o CloudProjectPlanPtrOutput) ToCloudProjectPlanPtrOutput() CloudProjectPlanPtrOutput { + return o +} + +func (o CloudProjectPlanPtrOutput) ToCloudProjectPlanPtrOutputWithContext(ctx context.Context) CloudProjectPlanPtrOutput { + return o +} + +func (o CloudProjectPlanPtrOutput) Elem() CloudProjectPlanOutput { + return o.ApplyT(func(v *CloudProjectPlan) CloudProjectPlan { + if v != nil { + return *v + } + var ret CloudProjectPlan + return ret + }).(CloudProjectPlanOutput) +} + +// Catalog name +func (o CloudProjectPlanPtrOutput) CatalogName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudProjectPlan) *string { + if v == nil { + return nil + } + return v.CatalogName + }).(pulumi.StringPtrOutput) +} + +// Representation of a configuration item for personalizing product +func (o CloudProjectPlanPtrOutput) Configurations() CloudProjectPlanConfigurationArrayOutput { + return o.ApplyT(func(v *CloudProjectPlan) []CloudProjectPlanConfiguration { + if v == nil { + return nil + } + return v.Configurations + }).(CloudProjectPlanConfigurationArrayOutput) +} + +// duration +func (o CloudProjectPlanPtrOutput) Duration() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudProjectPlan) *string { + if v == nil { + return nil + } + return &v.Duration + }).(pulumi.StringPtrOutput) +} + +// Plan code +func (o CloudProjectPlanPtrOutput) PlanCode() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudProjectPlan) *string { + if v == nil { + return nil + } + return &v.PlanCode + }).(pulumi.StringPtrOutput) +} + +// Pricing model identifier +func (o CloudProjectPlanPtrOutput) PricingMode() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CloudProjectPlan) *string { + if v == nil { + return nil + } + return &v.PricingMode + }).(pulumi.StringPtrOutput) +} + +type CloudProjectPlanConfiguration struct { + // Identifier of the resource + Label string `pulumi:"label"` + // Path to the resource in API.OVH.COM + Value string `pulumi:"value"` +} + +// CloudProjectPlanConfigurationInput is an input type that accepts CloudProjectPlanConfigurationArgs and CloudProjectPlanConfigurationOutput values. +// You can construct a concrete instance of `CloudProjectPlanConfigurationInput` via: +// +// CloudProjectPlanConfigurationArgs{...} +type CloudProjectPlanConfigurationInput interface { + pulumi.Input + + ToCloudProjectPlanConfigurationOutput() CloudProjectPlanConfigurationOutput + ToCloudProjectPlanConfigurationOutputWithContext(context.Context) CloudProjectPlanConfigurationOutput +} + +type CloudProjectPlanConfigurationArgs struct { + // Identifier of the resource + Label pulumi.StringInput `pulumi:"label"` + // Path to the resource in API.OVH.COM + Value pulumi.StringInput `pulumi:"value"` +} + +func (CloudProjectPlanConfigurationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*CloudProjectPlanConfiguration)(nil)).Elem() +} + +func (i CloudProjectPlanConfigurationArgs) ToCloudProjectPlanConfigurationOutput() CloudProjectPlanConfigurationOutput { + return i.ToCloudProjectPlanConfigurationOutputWithContext(context.Background()) +} + +func (i CloudProjectPlanConfigurationArgs) ToCloudProjectPlanConfigurationOutputWithContext(ctx context.Context) CloudProjectPlanConfigurationOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectPlanConfigurationOutput) +} + +// CloudProjectPlanConfigurationArrayInput is an input type that accepts CloudProjectPlanConfigurationArray and CloudProjectPlanConfigurationArrayOutput values. +// You can construct a concrete instance of `CloudProjectPlanConfigurationArrayInput` via: +// +// CloudProjectPlanConfigurationArray{ CloudProjectPlanConfigurationArgs{...} } +type CloudProjectPlanConfigurationArrayInput interface { + pulumi.Input + + ToCloudProjectPlanConfigurationArrayOutput() CloudProjectPlanConfigurationArrayOutput + ToCloudProjectPlanConfigurationArrayOutputWithContext(context.Context) CloudProjectPlanConfigurationArrayOutput +} + +type CloudProjectPlanConfigurationArray []CloudProjectPlanConfigurationInput + +func (CloudProjectPlanConfigurationArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]CloudProjectPlanConfiguration)(nil)).Elem() +} + +func (i CloudProjectPlanConfigurationArray) ToCloudProjectPlanConfigurationArrayOutput() CloudProjectPlanConfigurationArrayOutput { + return i.ToCloudProjectPlanConfigurationArrayOutputWithContext(context.Background()) +} + +func (i CloudProjectPlanConfigurationArray) ToCloudProjectPlanConfigurationArrayOutputWithContext(ctx context.Context) CloudProjectPlanConfigurationArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectPlanConfigurationArrayOutput) +} + +type CloudProjectPlanConfigurationOutput struct{ *pulumi.OutputState } + +func (CloudProjectPlanConfigurationOutput) ElementType() reflect.Type { + return reflect.TypeOf((*CloudProjectPlanConfiguration)(nil)).Elem() +} + +func (o CloudProjectPlanConfigurationOutput) ToCloudProjectPlanConfigurationOutput() CloudProjectPlanConfigurationOutput { + return o +} + +func (o CloudProjectPlanConfigurationOutput) ToCloudProjectPlanConfigurationOutputWithContext(ctx context.Context) CloudProjectPlanConfigurationOutput { + return o +} + +// Identifier of the resource +func (o CloudProjectPlanConfigurationOutput) Label() pulumi.StringOutput { + return o.ApplyT(func(v CloudProjectPlanConfiguration) string { return v.Label }).(pulumi.StringOutput) +} + +// Path to the resource in API.OVH.COM +func (o CloudProjectPlanConfigurationOutput) Value() pulumi.StringOutput { + return o.ApplyT(func(v CloudProjectPlanConfiguration) string { return v.Value }).(pulumi.StringOutput) +} + +type CloudProjectPlanConfigurationArrayOutput struct{ *pulumi.OutputState } + +func (CloudProjectPlanConfigurationArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]CloudProjectPlanConfiguration)(nil)).Elem() +} + +func (o CloudProjectPlanConfigurationArrayOutput) ToCloudProjectPlanConfigurationArrayOutput() CloudProjectPlanConfigurationArrayOutput { + return o +} + +func (o CloudProjectPlanConfigurationArrayOutput) ToCloudProjectPlanConfigurationArrayOutputWithContext(ctx context.Context) CloudProjectPlanConfigurationArrayOutput { + return o +} + +func (o CloudProjectPlanConfigurationArrayOutput) Index(i pulumi.IntInput) CloudProjectPlanConfigurationOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) CloudProjectPlanConfiguration { + return vs[0].([]CloudProjectPlanConfiguration)[vs[1].(int)] + }).(CloudProjectPlanConfigurationOutput) +} + +type CloudProjectPlanOption struct { + // Catalog name + CatalogName *string `pulumi:"catalogName"` + // Representation of a configuration item for personalizing product + Configurations []CloudProjectPlanOptionConfiguration `pulumi:"configurations"` + // duration + Duration string `pulumi:"duration"` + // Plan code + PlanCode string `pulumi:"planCode"` + // Pricing model identifier + PricingMode string `pulumi:"pricingMode"` +} + +// CloudProjectPlanOptionInput is an input type that accepts CloudProjectPlanOptionArgs and CloudProjectPlanOptionOutput values. +// You can construct a concrete instance of `CloudProjectPlanOptionInput` via: +// +// CloudProjectPlanOptionArgs{...} +type CloudProjectPlanOptionInput interface { + pulumi.Input + + ToCloudProjectPlanOptionOutput() CloudProjectPlanOptionOutput + ToCloudProjectPlanOptionOutputWithContext(context.Context) CloudProjectPlanOptionOutput +} + +type CloudProjectPlanOptionArgs struct { + // Catalog name + CatalogName pulumi.StringPtrInput `pulumi:"catalogName"` + // Representation of a configuration item for personalizing product + Configurations CloudProjectPlanOptionConfigurationArrayInput `pulumi:"configurations"` + // duration + Duration pulumi.StringInput `pulumi:"duration"` + // Plan code + PlanCode pulumi.StringInput `pulumi:"planCode"` + // Pricing model identifier + PricingMode pulumi.StringInput `pulumi:"pricingMode"` +} + +func (CloudProjectPlanOptionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*CloudProjectPlanOption)(nil)).Elem() +} + +func (i CloudProjectPlanOptionArgs) ToCloudProjectPlanOptionOutput() CloudProjectPlanOptionOutput { + return i.ToCloudProjectPlanOptionOutputWithContext(context.Background()) +} + +func (i CloudProjectPlanOptionArgs) ToCloudProjectPlanOptionOutputWithContext(ctx context.Context) CloudProjectPlanOptionOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectPlanOptionOutput) +} + +// CloudProjectPlanOptionArrayInput is an input type that accepts CloudProjectPlanOptionArray and CloudProjectPlanOptionArrayOutput values. +// You can construct a concrete instance of `CloudProjectPlanOptionArrayInput` via: +// +// CloudProjectPlanOptionArray{ CloudProjectPlanOptionArgs{...} } +type CloudProjectPlanOptionArrayInput interface { + pulumi.Input + + ToCloudProjectPlanOptionArrayOutput() CloudProjectPlanOptionArrayOutput + ToCloudProjectPlanOptionArrayOutputWithContext(context.Context) CloudProjectPlanOptionArrayOutput +} + +type CloudProjectPlanOptionArray []CloudProjectPlanOptionInput + +func (CloudProjectPlanOptionArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]CloudProjectPlanOption)(nil)).Elem() +} + +func (i CloudProjectPlanOptionArray) ToCloudProjectPlanOptionArrayOutput() CloudProjectPlanOptionArrayOutput { + return i.ToCloudProjectPlanOptionArrayOutputWithContext(context.Background()) +} + +func (i CloudProjectPlanOptionArray) ToCloudProjectPlanOptionArrayOutputWithContext(ctx context.Context) CloudProjectPlanOptionArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectPlanOptionArrayOutput) +} + +type CloudProjectPlanOptionOutput struct{ *pulumi.OutputState } + +func (CloudProjectPlanOptionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*CloudProjectPlanOption)(nil)).Elem() +} + +func (o CloudProjectPlanOptionOutput) ToCloudProjectPlanOptionOutput() CloudProjectPlanOptionOutput { + return o +} + +func (o CloudProjectPlanOptionOutput) ToCloudProjectPlanOptionOutputWithContext(ctx context.Context) CloudProjectPlanOptionOutput { + return o +} + +// Catalog name +func (o CloudProjectPlanOptionOutput) CatalogName() pulumi.StringPtrOutput { + return o.ApplyT(func(v CloudProjectPlanOption) *string { return v.CatalogName }).(pulumi.StringPtrOutput) +} + +// Representation of a configuration item for personalizing product +func (o CloudProjectPlanOptionOutput) Configurations() CloudProjectPlanOptionConfigurationArrayOutput { + return o.ApplyT(func(v CloudProjectPlanOption) []CloudProjectPlanOptionConfiguration { return v.Configurations }).(CloudProjectPlanOptionConfigurationArrayOutput) +} + +// duration +func (o CloudProjectPlanOptionOutput) Duration() pulumi.StringOutput { + return o.ApplyT(func(v CloudProjectPlanOption) string { return v.Duration }).(pulumi.StringOutput) +} + +// Plan code +func (o CloudProjectPlanOptionOutput) PlanCode() pulumi.StringOutput { + return o.ApplyT(func(v CloudProjectPlanOption) string { return v.PlanCode }).(pulumi.StringOutput) +} + +// Pricing model identifier +func (o CloudProjectPlanOptionOutput) PricingMode() pulumi.StringOutput { + return o.ApplyT(func(v CloudProjectPlanOption) string { return v.PricingMode }).(pulumi.StringOutput) +} + +type CloudProjectPlanOptionArrayOutput struct{ *pulumi.OutputState } + +func (CloudProjectPlanOptionArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]CloudProjectPlanOption)(nil)).Elem() +} + +func (o CloudProjectPlanOptionArrayOutput) ToCloudProjectPlanOptionArrayOutput() CloudProjectPlanOptionArrayOutput { + return o +} + +func (o CloudProjectPlanOptionArrayOutput) ToCloudProjectPlanOptionArrayOutputWithContext(ctx context.Context) CloudProjectPlanOptionArrayOutput { + return o +} + +func (o CloudProjectPlanOptionArrayOutput) Index(i pulumi.IntInput) CloudProjectPlanOptionOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) CloudProjectPlanOption { + return vs[0].([]CloudProjectPlanOption)[vs[1].(int)] + }).(CloudProjectPlanOptionOutput) +} + +type CloudProjectPlanOptionConfiguration struct { + // Identifier of the resource + Label string `pulumi:"label"` + // Path to the resource in API.OVH.COM + Value string `pulumi:"value"` +} + +// CloudProjectPlanOptionConfigurationInput is an input type that accepts CloudProjectPlanOptionConfigurationArgs and CloudProjectPlanOptionConfigurationOutput values. +// You can construct a concrete instance of `CloudProjectPlanOptionConfigurationInput` via: +// +// CloudProjectPlanOptionConfigurationArgs{...} +type CloudProjectPlanOptionConfigurationInput interface { + pulumi.Input + + ToCloudProjectPlanOptionConfigurationOutput() CloudProjectPlanOptionConfigurationOutput + ToCloudProjectPlanOptionConfigurationOutputWithContext(context.Context) CloudProjectPlanOptionConfigurationOutput +} + +type CloudProjectPlanOptionConfigurationArgs struct { + // Identifier of the resource + Label pulumi.StringInput `pulumi:"label"` + // Path to the resource in API.OVH.COM + Value pulumi.StringInput `pulumi:"value"` +} + +func (CloudProjectPlanOptionConfigurationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*CloudProjectPlanOptionConfiguration)(nil)).Elem() +} + +func (i CloudProjectPlanOptionConfigurationArgs) ToCloudProjectPlanOptionConfigurationOutput() CloudProjectPlanOptionConfigurationOutput { + return i.ToCloudProjectPlanOptionConfigurationOutputWithContext(context.Background()) +} + +func (i CloudProjectPlanOptionConfigurationArgs) ToCloudProjectPlanOptionConfigurationOutputWithContext(ctx context.Context) CloudProjectPlanOptionConfigurationOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectPlanOptionConfigurationOutput) +} + +// CloudProjectPlanOptionConfigurationArrayInput is an input type that accepts CloudProjectPlanOptionConfigurationArray and CloudProjectPlanOptionConfigurationArrayOutput values. +// You can construct a concrete instance of `CloudProjectPlanOptionConfigurationArrayInput` via: +// +// CloudProjectPlanOptionConfigurationArray{ CloudProjectPlanOptionConfigurationArgs{...} } +type CloudProjectPlanOptionConfigurationArrayInput interface { + pulumi.Input + + ToCloudProjectPlanOptionConfigurationArrayOutput() CloudProjectPlanOptionConfigurationArrayOutput + ToCloudProjectPlanOptionConfigurationArrayOutputWithContext(context.Context) CloudProjectPlanOptionConfigurationArrayOutput +} + +type CloudProjectPlanOptionConfigurationArray []CloudProjectPlanOptionConfigurationInput + +func (CloudProjectPlanOptionConfigurationArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]CloudProjectPlanOptionConfiguration)(nil)).Elem() +} + +func (i CloudProjectPlanOptionConfigurationArray) ToCloudProjectPlanOptionConfigurationArrayOutput() CloudProjectPlanOptionConfigurationArrayOutput { + return i.ToCloudProjectPlanOptionConfigurationArrayOutputWithContext(context.Background()) +} + +func (i CloudProjectPlanOptionConfigurationArray) ToCloudProjectPlanOptionConfigurationArrayOutputWithContext(ctx context.Context) CloudProjectPlanOptionConfigurationArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectPlanOptionConfigurationArrayOutput) +} + +type CloudProjectPlanOptionConfigurationOutput struct{ *pulumi.OutputState } + +func (CloudProjectPlanOptionConfigurationOutput) ElementType() reflect.Type { + return reflect.TypeOf((*CloudProjectPlanOptionConfiguration)(nil)).Elem() +} + +func (o CloudProjectPlanOptionConfigurationOutput) ToCloudProjectPlanOptionConfigurationOutput() CloudProjectPlanOptionConfigurationOutput { + return o +} + +func (o CloudProjectPlanOptionConfigurationOutput) ToCloudProjectPlanOptionConfigurationOutputWithContext(ctx context.Context) CloudProjectPlanOptionConfigurationOutput { + return o +} + +// Identifier of the resource +func (o CloudProjectPlanOptionConfigurationOutput) Label() pulumi.StringOutput { + return o.ApplyT(func(v CloudProjectPlanOptionConfiguration) string { return v.Label }).(pulumi.StringOutput) +} + +// Path to the resource in API.OVH.COM +func (o CloudProjectPlanOptionConfigurationOutput) Value() pulumi.StringOutput { + return o.ApplyT(func(v CloudProjectPlanOptionConfiguration) string { return v.Value }).(pulumi.StringOutput) +} + +type CloudProjectPlanOptionConfigurationArrayOutput struct{ *pulumi.OutputState } + +func (CloudProjectPlanOptionConfigurationArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]CloudProjectPlanOptionConfiguration)(nil)).Elem() +} + +func (o CloudProjectPlanOptionConfigurationArrayOutput) ToCloudProjectPlanOptionConfigurationArrayOutput() CloudProjectPlanOptionConfigurationArrayOutput { + return o +} + +func (o CloudProjectPlanOptionConfigurationArrayOutput) ToCloudProjectPlanOptionConfigurationArrayOutputWithContext(ctx context.Context) CloudProjectPlanOptionConfigurationArrayOutput { + return o +} + +func (o CloudProjectPlanOptionConfigurationArrayOutput) Index(i pulumi.IntInput) CloudProjectPlanOptionConfigurationOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) CloudProjectPlanOptionConfiguration { + return vs[0].([]CloudProjectPlanOptionConfiguration)[vs[1].(int)] + }).(CloudProjectPlanOptionConfigurationOutput) +} + +type CloudProjectUserRole struct { + Description string `pulumi:"description"` + Id string `pulumi:"id"` + Name string `pulumi:"name"` + Permissions []string `pulumi:"permissions"` +} + +// CloudProjectUserRoleInput is an input type that accepts CloudProjectUserRoleArgs and CloudProjectUserRoleOutput values. +// You can construct a concrete instance of `CloudProjectUserRoleInput` via: +// +// CloudProjectUserRoleArgs{...} +type CloudProjectUserRoleInput interface { + pulumi.Input + + ToCloudProjectUserRoleOutput() CloudProjectUserRoleOutput + ToCloudProjectUserRoleOutputWithContext(context.Context) CloudProjectUserRoleOutput +} + +type CloudProjectUserRoleArgs struct { + Description pulumi.StringInput `pulumi:"description"` + Id pulumi.StringInput `pulumi:"id"` + Name pulumi.StringInput `pulumi:"name"` + Permissions pulumi.StringArrayInput `pulumi:"permissions"` +} + +func (CloudProjectUserRoleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*CloudProjectUserRole)(nil)).Elem() +} + +func (i CloudProjectUserRoleArgs) ToCloudProjectUserRoleOutput() CloudProjectUserRoleOutput { + return i.ToCloudProjectUserRoleOutputWithContext(context.Background()) +} + +func (i CloudProjectUserRoleArgs) ToCloudProjectUserRoleOutputWithContext(ctx context.Context) CloudProjectUserRoleOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectUserRoleOutput) +} + +// CloudProjectUserRoleArrayInput is an input type that accepts CloudProjectUserRoleArray and CloudProjectUserRoleArrayOutput values. +// You can construct a concrete instance of `CloudProjectUserRoleArrayInput` via: +// +// CloudProjectUserRoleArray{ CloudProjectUserRoleArgs{...} } +type CloudProjectUserRoleArrayInput interface { + pulumi.Input + + ToCloudProjectUserRoleArrayOutput() CloudProjectUserRoleArrayOutput + ToCloudProjectUserRoleArrayOutputWithContext(context.Context) CloudProjectUserRoleArrayOutput +} + +type CloudProjectUserRoleArray []CloudProjectUserRoleInput + +func (CloudProjectUserRoleArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]CloudProjectUserRole)(nil)).Elem() +} + +func (i CloudProjectUserRoleArray) ToCloudProjectUserRoleArrayOutput() CloudProjectUserRoleArrayOutput { + return i.ToCloudProjectUserRoleArrayOutputWithContext(context.Background()) +} + +func (i CloudProjectUserRoleArray) ToCloudProjectUserRoleArrayOutputWithContext(ctx context.Context) CloudProjectUserRoleArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(CloudProjectUserRoleArrayOutput) +} + +type CloudProjectUserRoleOutput struct{ *pulumi.OutputState } + +func (CloudProjectUserRoleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*CloudProjectUserRole)(nil)).Elem() +} + +func (o CloudProjectUserRoleOutput) ToCloudProjectUserRoleOutput() CloudProjectUserRoleOutput { + return o +} + +func (o CloudProjectUserRoleOutput) ToCloudProjectUserRoleOutputWithContext(ctx context.Context) CloudProjectUserRoleOutput { + return o +} + +func (o CloudProjectUserRoleOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v CloudProjectUserRole) string { return v.Description }).(pulumi.StringOutput) +} + +func (o CloudProjectUserRoleOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v CloudProjectUserRole) string { return v.Id }).(pulumi.StringOutput) +} + +func (o CloudProjectUserRoleOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v CloudProjectUserRole) string { return v.Name }).(pulumi.StringOutput) +} + +func (o CloudProjectUserRoleOutput) Permissions() pulumi.StringArrayOutput { + return o.ApplyT(func(v CloudProjectUserRole) []string { return v.Permissions }).(pulumi.StringArrayOutput) +} + +type CloudProjectUserRoleArrayOutput struct{ *pulumi.OutputState } + +func (CloudProjectUserRoleArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]CloudProjectUserRole)(nil)).Elem() +} + +func (o CloudProjectUserRoleArrayOutput) ToCloudProjectUserRoleArrayOutput() CloudProjectUserRoleArrayOutput { + return o +} + +func (o CloudProjectUserRoleArrayOutput) ToCloudProjectUserRoleArrayOutputWithContext(ctx context.Context) CloudProjectUserRoleArrayOutput { + return o +} + +func (o CloudProjectUserRoleArrayOutput) Index(i pulumi.IntInput) CloudProjectUserRoleOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) CloudProjectUserRole { + return vs[0].([]CloudProjectUserRole)[vs[1].(int)] + }).(CloudProjectUserRoleOutput) +} + +type DbaasLogsInputConfiguration struct { + // Flowgger configuration + Flowgger *DbaasLogsInputConfigurationFlowgger `pulumi:"flowgger"` + // Logstash configuration + Logstash *DbaasLogsInputConfigurationLogstash `pulumi:"logstash"` +} + +// DbaasLogsInputConfigurationInput is an input type that accepts DbaasLogsInputConfigurationArgs and DbaasLogsInputConfigurationOutput values. +// You can construct a concrete instance of `DbaasLogsInputConfigurationInput` via: +// +// DbaasLogsInputConfigurationArgs{...} +type DbaasLogsInputConfigurationInput interface { + pulumi.Input + + ToDbaasLogsInputConfigurationOutput() DbaasLogsInputConfigurationOutput + ToDbaasLogsInputConfigurationOutputWithContext(context.Context) DbaasLogsInputConfigurationOutput +} + +type DbaasLogsInputConfigurationArgs struct { + // Flowgger configuration + Flowgger DbaasLogsInputConfigurationFlowggerPtrInput `pulumi:"flowgger"` + // Logstash configuration + Logstash DbaasLogsInputConfigurationLogstashPtrInput `pulumi:"logstash"` +} + +func (DbaasLogsInputConfigurationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*DbaasLogsInputConfiguration)(nil)).Elem() +} + +func (i DbaasLogsInputConfigurationArgs) ToDbaasLogsInputConfigurationOutput() DbaasLogsInputConfigurationOutput { + return i.ToDbaasLogsInputConfigurationOutputWithContext(context.Background()) +} + +func (i DbaasLogsInputConfigurationArgs) ToDbaasLogsInputConfigurationOutputWithContext(ctx context.Context) DbaasLogsInputConfigurationOutput { + return pulumi.ToOutputWithContext(ctx, i).(DbaasLogsInputConfigurationOutput) +} + +func (i DbaasLogsInputConfigurationArgs) ToDbaasLogsInputConfigurationPtrOutput() DbaasLogsInputConfigurationPtrOutput { + return i.ToDbaasLogsInputConfigurationPtrOutputWithContext(context.Background()) +} + +func (i DbaasLogsInputConfigurationArgs) ToDbaasLogsInputConfigurationPtrOutputWithContext(ctx context.Context) DbaasLogsInputConfigurationPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DbaasLogsInputConfigurationOutput).ToDbaasLogsInputConfigurationPtrOutputWithContext(ctx) +} + +// DbaasLogsInputConfigurationPtrInput is an input type that accepts DbaasLogsInputConfigurationArgs, DbaasLogsInputConfigurationPtr and DbaasLogsInputConfigurationPtrOutput values. +// You can construct a concrete instance of `DbaasLogsInputConfigurationPtrInput` via: +// +// DbaasLogsInputConfigurationArgs{...} +// +// or: +// +// nil +type DbaasLogsInputConfigurationPtrInput interface { + pulumi.Input + + ToDbaasLogsInputConfigurationPtrOutput() DbaasLogsInputConfigurationPtrOutput + ToDbaasLogsInputConfigurationPtrOutputWithContext(context.Context) DbaasLogsInputConfigurationPtrOutput +} + +type dbaasLogsInputConfigurationPtrType DbaasLogsInputConfigurationArgs + +func DbaasLogsInputConfigurationPtr(v *DbaasLogsInputConfigurationArgs) DbaasLogsInputConfigurationPtrInput { + return (*dbaasLogsInputConfigurationPtrType)(v) +} + +func (*dbaasLogsInputConfigurationPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**DbaasLogsInputConfiguration)(nil)).Elem() +} + +func (i *dbaasLogsInputConfigurationPtrType) ToDbaasLogsInputConfigurationPtrOutput() DbaasLogsInputConfigurationPtrOutput { + return i.ToDbaasLogsInputConfigurationPtrOutputWithContext(context.Background()) +} + +func (i *dbaasLogsInputConfigurationPtrType) ToDbaasLogsInputConfigurationPtrOutputWithContext(ctx context.Context) DbaasLogsInputConfigurationPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DbaasLogsInputConfigurationPtrOutput) +} + +type DbaasLogsInputConfigurationOutput struct{ *pulumi.OutputState } + +func (DbaasLogsInputConfigurationOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DbaasLogsInputConfiguration)(nil)).Elem() +} + +func (o DbaasLogsInputConfigurationOutput) ToDbaasLogsInputConfigurationOutput() DbaasLogsInputConfigurationOutput { + return o +} + +func (o DbaasLogsInputConfigurationOutput) ToDbaasLogsInputConfigurationOutputWithContext(ctx context.Context) DbaasLogsInputConfigurationOutput { + return o +} + +func (o DbaasLogsInputConfigurationOutput) ToDbaasLogsInputConfigurationPtrOutput() DbaasLogsInputConfigurationPtrOutput { + return o.ToDbaasLogsInputConfigurationPtrOutputWithContext(context.Background()) +} + +func (o DbaasLogsInputConfigurationOutput) ToDbaasLogsInputConfigurationPtrOutputWithContext(ctx context.Context) DbaasLogsInputConfigurationPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v DbaasLogsInputConfiguration) *DbaasLogsInputConfiguration { + return &v + }).(DbaasLogsInputConfigurationPtrOutput) +} + +// Flowgger configuration +func (o DbaasLogsInputConfigurationOutput) Flowgger() DbaasLogsInputConfigurationFlowggerPtrOutput { + return o.ApplyT(func(v DbaasLogsInputConfiguration) *DbaasLogsInputConfigurationFlowgger { return v.Flowgger }).(DbaasLogsInputConfigurationFlowggerPtrOutput) +} + +// Logstash configuration +func (o DbaasLogsInputConfigurationOutput) Logstash() DbaasLogsInputConfigurationLogstashPtrOutput { + return o.ApplyT(func(v DbaasLogsInputConfiguration) *DbaasLogsInputConfigurationLogstash { return v.Logstash }).(DbaasLogsInputConfigurationLogstashPtrOutput) +} + +type DbaasLogsInputConfigurationPtrOutput struct{ *pulumi.OutputState } + +func (DbaasLogsInputConfigurationPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**DbaasLogsInputConfiguration)(nil)).Elem() +} + +func (o DbaasLogsInputConfigurationPtrOutput) ToDbaasLogsInputConfigurationPtrOutput() DbaasLogsInputConfigurationPtrOutput { + return o +} + +func (o DbaasLogsInputConfigurationPtrOutput) ToDbaasLogsInputConfigurationPtrOutputWithContext(ctx context.Context) DbaasLogsInputConfigurationPtrOutput { + return o +} + +func (o DbaasLogsInputConfigurationPtrOutput) Elem() DbaasLogsInputConfigurationOutput { + return o.ApplyT(func(v *DbaasLogsInputConfiguration) DbaasLogsInputConfiguration { + if v != nil { + return *v + } + var ret DbaasLogsInputConfiguration + return ret + }).(DbaasLogsInputConfigurationOutput) +} + +// Flowgger configuration +func (o DbaasLogsInputConfigurationPtrOutput) Flowgger() DbaasLogsInputConfigurationFlowggerPtrOutput { + return o.ApplyT(func(v *DbaasLogsInputConfiguration) *DbaasLogsInputConfigurationFlowgger { + if v == nil { + return nil + } + return v.Flowgger + }).(DbaasLogsInputConfigurationFlowggerPtrOutput) +} + +// Logstash configuration +func (o DbaasLogsInputConfigurationPtrOutput) Logstash() DbaasLogsInputConfigurationLogstashPtrOutput { + return o.ApplyT(func(v *DbaasLogsInputConfiguration) *DbaasLogsInputConfigurationLogstash { + if v == nil { + return nil + } + return v.Logstash + }).(DbaasLogsInputConfigurationLogstashPtrOutput) +} + +type DbaasLogsInputConfigurationFlowgger struct { + // Type of format to decode + LogFormat string `pulumi:"logFormat"` + // Indicates how messages are delimited + LogFraming string `pulumi:"logFraming"` +} + +// DbaasLogsInputConfigurationFlowggerInput is an input type that accepts DbaasLogsInputConfigurationFlowggerArgs and DbaasLogsInputConfigurationFlowggerOutput values. +// You can construct a concrete instance of `DbaasLogsInputConfigurationFlowggerInput` via: +// +// DbaasLogsInputConfigurationFlowggerArgs{...} +type DbaasLogsInputConfigurationFlowggerInput interface { + pulumi.Input + + ToDbaasLogsInputConfigurationFlowggerOutput() DbaasLogsInputConfigurationFlowggerOutput + ToDbaasLogsInputConfigurationFlowggerOutputWithContext(context.Context) DbaasLogsInputConfigurationFlowggerOutput +} + +type DbaasLogsInputConfigurationFlowggerArgs struct { + // Type of format to decode + LogFormat pulumi.StringInput `pulumi:"logFormat"` + // Indicates how messages are delimited + LogFraming pulumi.StringInput `pulumi:"logFraming"` +} + +func (DbaasLogsInputConfigurationFlowggerArgs) ElementType() reflect.Type { + return reflect.TypeOf((*DbaasLogsInputConfigurationFlowgger)(nil)).Elem() +} + +func (i DbaasLogsInputConfigurationFlowggerArgs) ToDbaasLogsInputConfigurationFlowggerOutput() DbaasLogsInputConfigurationFlowggerOutput { + return i.ToDbaasLogsInputConfigurationFlowggerOutputWithContext(context.Background()) +} + +func (i DbaasLogsInputConfigurationFlowggerArgs) ToDbaasLogsInputConfigurationFlowggerOutputWithContext(ctx context.Context) DbaasLogsInputConfigurationFlowggerOutput { + return pulumi.ToOutputWithContext(ctx, i).(DbaasLogsInputConfigurationFlowggerOutput) +} + +func (i DbaasLogsInputConfigurationFlowggerArgs) ToDbaasLogsInputConfigurationFlowggerPtrOutput() DbaasLogsInputConfigurationFlowggerPtrOutput { + return i.ToDbaasLogsInputConfigurationFlowggerPtrOutputWithContext(context.Background()) +} + +func (i DbaasLogsInputConfigurationFlowggerArgs) ToDbaasLogsInputConfigurationFlowggerPtrOutputWithContext(ctx context.Context) DbaasLogsInputConfigurationFlowggerPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DbaasLogsInputConfigurationFlowggerOutput).ToDbaasLogsInputConfigurationFlowggerPtrOutputWithContext(ctx) +} + +// DbaasLogsInputConfigurationFlowggerPtrInput is an input type that accepts DbaasLogsInputConfigurationFlowggerArgs, DbaasLogsInputConfigurationFlowggerPtr and DbaasLogsInputConfigurationFlowggerPtrOutput values. +// You can construct a concrete instance of `DbaasLogsInputConfigurationFlowggerPtrInput` via: +// +// DbaasLogsInputConfigurationFlowggerArgs{...} +// +// or: +// +// nil +type DbaasLogsInputConfigurationFlowggerPtrInput interface { + pulumi.Input + + ToDbaasLogsInputConfigurationFlowggerPtrOutput() DbaasLogsInputConfigurationFlowggerPtrOutput + ToDbaasLogsInputConfigurationFlowggerPtrOutputWithContext(context.Context) DbaasLogsInputConfigurationFlowggerPtrOutput +} + +type dbaasLogsInputConfigurationFlowggerPtrType DbaasLogsInputConfigurationFlowggerArgs + +func DbaasLogsInputConfigurationFlowggerPtr(v *DbaasLogsInputConfigurationFlowggerArgs) DbaasLogsInputConfigurationFlowggerPtrInput { + return (*dbaasLogsInputConfigurationFlowggerPtrType)(v) +} + +func (*dbaasLogsInputConfigurationFlowggerPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**DbaasLogsInputConfigurationFlowgger)(nil)).Elem() +} + +func (i *dbaasLogsInputConfigurationFlowggerPtrType) ToDbaasLogsInputConfigurationFlowggerPtrOutput() DbaasLogsInputConfigurationFlowggerPtrOutput { + return i.ToDbaasLogsInputConfigurationFlowggerPtrOutputWithContext(context.Background()) +} + +func (i *dbaasLogsInputConfigurationFlowggerPtrType) ToDbaasLogsInputConfigurationFlowggerPtrOutputWithContext(ctx context.Context) DbaasLogsInputConfigurationFlowggerPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DbaasLogsInputConfigurationFlowggerPtrOutput) +} + +type DbaasLogsInputConfigurationFlowggerOutput struct{ *pulumi.OutputState } + +func (DbaasLogsInputConfigurationFlowggerOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DbaasLogsInputConfigurationFlowgger)(nil)).Elem() +} + +func (o DbaasLogsInputConfigurationFlowggerOutput) ToDbaasLogsInputConfigurationFlowggerOutput() DbaasLogsInputConfigurationFlowggerOutput { + return o +} + +func (o DbaasLogsInputConfigurationFlowggerOutput) ToDbaasLogsInputConfigurationFlowggerOutputWithContext(ctx context.Context) DbaasLogsInputConfigurationFlowggerOutput { + return o +} + +func (o DbaasLogsInputConfigurationFlowggerOutput) ToDbaasLogsInputConfigurationFlowggerPtrOutput() DbaasLogsInputConfigurationFlowggerPtrOutput { + return o.ToDbaasLogsInputConfigurationFlowggerPtrOutputWithContext(context.Background()) +} + +func (o DbaasLogsInputConfigurationFlowggerOutput) ToDbaasLogsInputConfigurationFlowggerPtrOutputWithContext(ctx context.Context) DbaasLogsInputConfigurationFlowggerPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v DbaasLogsInputConfigurationFlowgger) *DbaasLogsInputConfigurationFlowgger { + return &v + }).(DbaasLogsInputConfigurationFlowggerPtrOutput) +} + +// Type of format to decode +func (o DbaasLogsInputConfigurationFlowggerOutput) LogFormat() pulumi.StringOutput { + return o.ApplyT(func(v DbaasLogsInputConfigurationFlowgger) string { return v.LogFormat }).(pulumi.StringOutput) +} + +// Indicates how messages are delimited +func (o DbaasLogsInputConfigurationFlowggerOutput) LogFraming() pulumi.StringOutput { + return o.ApplyT(func(v DbaasLogsInputConfigurationFlowgger) string { return v.LogFraming }).(pulumi.StringOutput) +} + +type DbaasLogsInputConfigurationFlowggerPtrOutput struct{ *pulumi.OutputState } + +func (DbaasLogsInputConfigurationFlowggerPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**DbaasLogsInputConfigurationFlowgger)(nil)).Elem() +} + +func (o DbaasLogsInputConfigurationFlowggerPtrOutput) ToDbaasLogsInputConfigurationFlowggerPtrOutput() DbaasLogsInputConfigurationFlowggerPtrOutput { + return o +} + +func (o DbaasLogsInputConfigurationFlowggerPtrOutput) ToDbaasLogsInputConfigurationFlowggerPtrOutputWithContext(ctx context.Context) DbaasLogsInputConfigurationFlowggerPtrOutput { + return o +} + +func (o DbaasLogsInputConfigurationFlowggerPtrOutput) Elem() DbaasLogsInputConfigurationFlowggerOutput { + return o.ApplyT(func(v *DbaasLogsInputConfigurationFlowgger) DbaasLogsInputConfigurationFlowgger { + if v != nil { + return *v + } + var ret DbaasLogsInputConfigurationFlowgger + return ret + }).(DbaasLogsInputConfigurationFlowggerOutput) +} + +// Type of format to decode +func (o DbaasLogsInputConfigurationFlowggerPtrOutput) LogFormat() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DbaasLogsInputConfigurationFlowgger) *string { + if v == nil { + return nil + } + return &v.LogFormat + }).(pulumi.StringPtrOutput) +} + +// Indicates how messages are delimited +func (o DbaasLogsInputConfigurationFlowggerPtrOutput) LogFraming() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DbaasLogsInputConfigurationFlowgger) *string { + if v == nil { + return nil + } + return &v.LogFraming + }).(pulumi.StringPtrOutput) +} + +type DbaasLogsInputConfigurationLogstash struct { + // The filter section of logstash.conf + FilterSection *string `pulumi:"filterSection"` + // The filter section of logstash.conf + InputSection string `pulumi:"inputSection"` + // The list of customs Grok patterns + PatternSection *string `pulumi:"patternSection"` +} + +// DbaasLogsInputConfigurationLogstashInput is an input type that accepts DbaasLogsInputConfigurationLogstashArgs and DbaasLogsInputConfigurationLogstashOutput values. +// You can construct a concrete instance of `DbaasLogsInputConfigurationLogstashInput` via: +// +// DbaasLogsInputConfigurationLogstashArgs{...} +type DbaasLogsInputConfigurationLogstashInput interface { + pulumi.Input + + ToDbaasLogsInputConfigurationLogstashOutput() DbaasLogsInputConfigurationLogstashOutput + ToDbaasLogsInputConfigurationLogstashOutputWithContext(context.Context) DbaasLogsInputConfigurationLogstashOutput +} + +type DbaasLogsInputConfigurationLogstashArgs struct { + // The filter section of logstash.conf + FilterSection pulumi.StringPtrInput `pulumi:"filterSection"` + // The filter section of logstash.conf + InputSection pulumi.StringInput `pulumi:"inputSection"` + // The list of customs Grok patterns + PatternSection pulumi.StringPtrInput `pulumi:"patternSection"` +} + +func (DbaasLogsInputConfigurationLogstashArgs) ElementType() reflect.Type { + return reflect.TypeOf((*DbaasLogsInputConfigurationLogstash)(nil)).Elem() +} + +func (i DbaasLogsInputConfigurationLogstashArgs) ToDbaasLogsInputConfigurationLogstashOutput() DbaasLogsInputConfigurationLogstashOutput { + return i.ToDbaasLogsInputConfigurationLogstashOutputWithContext(context.Background()) +} + +func (i DbaasLogsInputConfigurationLogstashArgs) ToDbaasLogsInputConfigurationLogstashOutputWithContext(ctx context.Context) DbaasLogsInputConfigurationLogstashOutput { + return pulumi.ToOutputWithContext(ctx, i).(DbaasLogsInputConfigurationLogstashOutput) +} + +func (i DbaasLogsInputConfigurationLogstashArgs) ToDbaasLogsInputConfigurationLogstashPtrOutput() DbaasLogsInputConfigurationLogstashPtrOutput { + return i.ToDbaasLogsInputConfigurationLogstashPtrOutputWithContext(context.Background()) +} + +func (i DbaasLogsInputConfigurationLogstashArgs) ToDbaasLogsInputConfigurationLogstashPtrOutputWithContext(ctx context.Context) DbaasLogsInputConfigurationLogstashPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DbaasLogsInputConfigurationLogstashOutput).ToDbaasLogsInputConfigurationLogstashPtrOutputWithContext(ctx) +} + +// DbaasLogsInputConfigurationLogstashPtrInput is an input type that accepts DbaasLogsInputConfigurationLogstashArgs, DbaasLogsInputConfigurationLogstashPtr and DbaasLogsInputConfigurationLogstashPtrOutput values. +// You can construct a concrete instance of `DbaasLogsInputConfigurationLogstashPtrInput` via: +// +// DbaasLogsInputConfigurationLogstashArgs{...} +// +// or: +// +// nil +type DbaasLogsInputConfigurationLogstashPtrInput interface { + pulumi.Input + + ToDbaasLogsInputConfigurationLogstashPtrOutput() DbaasLogsInputConfigurationLogstashPtrOutput + ToDbaasLogsInputConfigurationLogstashPtrOutputWithContext(context.Context) DbaasLogsInputConfigurationLogstashPtrOutput +} + +type dbaasLogsInputConfigurationLogstashPtrType DbaasLogsInputConfigurationLogstashArgs + +func DbaasLogsInputConfigurationLogstashPtr(v *DbaasLogsInputConfigurationLogstashArgs) DbaasLogsInputConfigurationLogstashPtrInput { + return (*dbaasLogsInputConfigurationLogstashPtrType)(v) +} + +func (*dbaasLogsInputConfigurationLogstashPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**DbaasLogsInputConfigurationLogstash)(nil)).Elem() +} + +func (i *dbaasLogsInputConfigurationLogstashPtrType) ToDbaasLogsInputConfigurationLogstashPtrOutput() DbaasLogsInputConfigurationLogstashPtrOutput { + return i.ToDbaasLogsInputConfigurationLogstashPtrOutputWithContext(context.Background()) +} + +func (i *dbaasLogsInputConfigurationLogstashPtrType) ToDbaasLogsInputConfigurationLogstashPtrOutputWithContext(ctx context.Context) DbaasLogsInputConfigurationLogstashPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DbaasLogsInputConfigurationLogstashPtrOutput) +} + +type DbaasLogsInputConfigurationLogstashOutput struct{ *pulumi.OutputState } + +func (DbaasLogsInputConfigurationLogstashOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DbaasLogsInputConfigurationLogstash)(nil)).Elem() +} + +func (o DbaasLogsInputConfigurationLogstashOutput) ToDbaasLogsInputConfigurationLogstashOutput() DbaasLogsInputConfigurationLogstashOutput { + return o +} + +func (o DbaasLogsInputConfigurationLogstashOutput) ToDbaasLogsInputConfigurationLogstashOutputWithContext(ctx context.Context) DbaasLogsInputConfigurationLogstashOutput { + return o +} + +func (o DbaasLogsInputConfigurationLogstashOutput) ToDbaasLogsInputConfigurationLogstashPtrOutput() DbaasLogsInputConfigurationLogstashPtrOutput { + return o.ToDbaasLogsInputConfigurationLogstashPtrOutputWithContext(context.Background()) +} + +func (o DbaasLogsInputConfigurationLogstashOutput) ToDbaasLogsInputConfigurationLogstashPtrOutputWithContext(ctx context.Context) DbaasLogsInputConfigurationLogstashPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v DbaasLogsInputConfigurationLogstash) *DbaasLogsInputConfigurationLogstash { + return &v + }).(DbaasLogsInputConfigurationLogstashPtrOutput) +} + +// The filter section of logstash.conf +func (o DbaasLogsInputConfigurationLogstashOutput) FilterSection() pulumi.StringPtrOutput { + return o.ApplyT(func(v DbaasLogsInputConfigurationLogstash) *string { return v.FilterSection }).(pulumi.StringPtrOutput) +} + +// The filter section of logstash.conf +func (o DbaasLogsInputConfigurationLogstashOutput) InputSection() pulumi.StringOutput { + return o.ApplyT(func(v DbaasLogsInputConfigurationLogstash) string { return v.InputSection }).(pulumi.StringOutput) +} + +// The list of customs Grok patterns +func (o DbaasLogsInputConfigurationLogstashOutput) PatternSection() pulumi.StringPtrOutput { + return o.ApplyT(func(v DbaasLogsInputConfigurationLogstash) *string { return v.PatternSection }).(pulumi.StringPtrOutput) +} + +type DbaasLogsInputConfigurationLogstashPtrOutput struct{ *pulumi.OutputState } + +func (DbaasLogsInputConfigurationLogstashPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**DbaasLogsInputConfigurationLogstash)(nil)).Elem() +} + +func (o DbaasLogsInputConfigurationLogstashPtrOutput) ToDbaasLogsInputConfigurationLogstashPtrOutput() DbaasLogsInputConfigurationLogstashPtrOutput { + return o +} + +func (o DbaasLogsInputConfigurationLogstashPtrOutput) ToDbaasLogsInputConfigurationLogstashPtrOutputWithContext(ctx context.Context) DbaasLogsInputConfigurationLogstashPtrOutput { + return o +} + +func (o DbaasLogsInputConfigurationLogstashPtrOutput) Elem() DbaasLogsInputConfigurationLogstashOutput { + return o.ApplyT(func(v *DbaasLogsInputConfigurationLogstash) DbaasLogsInputConfigurationLogstash { + if v != nil { + return *v + } + var ret DbaasLogsInputConfigurationLogstash + return ret + }).(DbaasLogsInputConfigurationLogstashOutput) +} + +// The filter section of logstash.conf +func (o DbaasLogsInputConfigurationLogstashPtrOutput) FilterSection() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DbaasLogsInputConfigurationLogstash) *string { + if v == nil { + return nil + } + return v.FilterSection + }).(pulumi.StringPtrOutput) +} + +// The filter section of logstash.conf +func (o DbaasLogsInputConfigurationLogstashPtrOutput) InputSection() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DbaasLogsInputConfigurationLogstash) *string { + if v == nil { + return nil + } + return &v.InputSection + }).(pulumi.StringPtrOutput) +} + +// The list of customs Grok patterns +func (o DbaasLogsInputConfigurationLogstashPtrOutput) PatternSection() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DbaasLogsInputConfigurationLogstash) *string { + if v == nil { + return nil + } + return v.PatternSection + }).(pulumi.StringPtrOutput) +} + +type DedicatedServerInstallTaskDetails struct { + // Set up the server using the provided hostname instead of the default hostname + CustomHostname *string `pulumi:"customHostname"` + DiskGroupId *float64 `pulumi:"diskGroupId"` + NoRaid *bool `pulumi:"noRaid"` + // Indicate the URL where your postinstall customisation script is located + PostInstallationScriptLink *string `pulumi:"postInstallationScriptLink"` + // indicate the string returned by your postinstall customisation script on successful execution. Advice: your script should return a unique validation string in case of succes. A good example is 'loh1Xee7eo OK OK OK UGh8Ang1Gu' + PostInstallationScriptReturn *string `pulumi:"postInstallationScriptReturn"` + SoftRaidDevices *float64 `pulumi:"softRaidDevices"` +} + +// DedicatedServerInstallTaskDetailsInput is an input type that accepts DedicatedServerInstallTaskDetailsArgs and DedicatedServerInstallTaskDetailsOutput values. +// You can construct a concrete instance of `DedicatedServerInstallTaskDetailsInput` via: +// +// DedicatedServerInstallTaskDetailsArgs{...} +type DedicatedServerInstallTaskDetailsInput interface { + pulumi.Input + + ToDedicatedServerInstallTaskDetailsOutput() DedicatedServerInstallTaskDetailsOutput + ToDedicatedServerInstallTaskDetailsOutputWithContext(context.Context) DedicatedServerInstallTaskDetailsOutput +} + +type DedicatedServerInstallTaskDetailsArgs struct { + // Set up the server using the provided hostname instead of the default hostname + CustomHostname pulumi.StringPtrInput `pulumi:"customHostname"` + DiskGroupId pulumi.Float64PtrInput `pulumi:"diskGroupId"` + NoRaid pulumi.BoolPtrInput `pulumi:"noRaid"` + // Indicate the URL where your postinstall customisation script is located + PostInstallationScriptLink pulumi.StringPtrInput `pulumi:"postInstallationScriptLink"` + // indicate the string returned by your postinstall customisation script on successful execution. Advice: your script should return a unique validation string in case of succes. A good example is 'loh1Xee7eo OK OK OK UGh8Ang1Gu' + PostInstallationScriptReturn pulumi.StringPtrInput `pulumi:"postInstallationScriptReturn"` + SoftRaidDevices pulumi.Float64PtrInput `pulumi:"softRaidDevices"` +} + +func (DedicatedServerInstallTaskDetailsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*DedicatedServerInstallTaskDetails)(nil)).Elem() +} + +func (i DedicatedServerInstallTaskDetailsArgs) ToDedicatedServerInstallTaskDetailsOutput() DedicatedServerInstallTaskDetailsOutput { + return i.ToDedicatedServerInstallTaskDetailsOutputWithContext(context.Background()) +} + +func (i DedicatedServerInstallTaskDetailsArgs) ToDedicatedServerInstallTaskDetailsOutputWithContext(ctx context.Context) DedicatedServerInstallTaskDetailsOutput { + return pulumi.ToOutputWithContext(ctx, i).(DedicatedServerInstallTaskDetailsOutput) +} + +func (i DedicatedServerInstallTaskDetailsArgs) ToDedicatedServerInstallTaskDetailsPtrOutput() DedicatedServerInstallTaskDetailsPtrOutput { + return i.ToDedicatedServerInstallTaskDetailsPtrOutputWithContext(context.Background()) +} + +func (i DedicatedServerInstallTaskDetailsArgs) ToDedicatedServerInstallTaskDetailsPtrOutputWithContext(ctx context.Context) DedicatedServerInstallTaskDetailsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DedicatedServerInstallTaskDetailsOutput).ToDedicatedServerInstallTaskDetailsPtrOutputWithContext(ctx) +} + +// DedicatedServerInstallTaskDetailsPtrInput is an input type that accepts DedicatedServerInstallTaskDetailsArgs, DedicatedServerInstallTaskDetailsPtr and DedicatedServerInstallTaskDetailsPtrOutput values. +// You can construct a concrete instance of `DedicatedServerInstallTaskDetailsPtrInput` via: +// +// DedicatedServerInstallTaskDetailsArgs{...} +// +// or: +// +// nil +type DedicatedServerInstallTaskDetailsPtrInput interface { + pulumi.Input + + ToDedicatedServerInstallTaskDetailsPtrOutput() DedicatedServerInstallTaskDetailsPtrOutput + ToDedicatedServerInstallTaskDetailsPtrOutputWithContext(context.Context) DedicatedServerInstallTaskDetailsPtrOutput +} + +type dedicatedServerInstallTaskDetailsPtrType DedicatedServerInstallTaskDetailsArgs + +func DedicatedServerInstallTaskDetailsPtr(v *DedicatedServerInstallTaskDetailsArgs) DedicatedServerInstallTaskDetailsPtrInput { + return (*dedicatedServerInstallTaskDetailsPtrType)(v) +} + +func (*dedicatedServerInstallTaskDetailsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**DedicatedServerInstallTaskDetails)(nil)).Elem() +} + +func (i *dedicatedServerInstallTaskDetailsPtrType) ToDedicatedServerInstallTaskDetailsPtrOutput() DedicatedServerInstallTaskDetailsPtrOutput { + return i.ToDedicatedServerInstallTaskDetailsPtrOutputWithContext(context.Background()) +} + +func (i *dedicatedServerInstallTaskDetailsPtrType) ToDedicatedServerInstallTaskDetailsPtrOutputWithContext(ctx context.Context) DedicatedServerInstallTaskDetailsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DedicatedServerInstallTaskDetailsPtrOutput) +} + +type DedicatedServerInstallTaskDetailsOutput struct{ *pulumi.OutputState } + +func (DedicatedServerInstallTaskDetailsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DedicatedServerInstallTaskDetails)(nil)).Elem() +} + +func (o DedicatedServerInstallTaskDetailsOutput) ToDedicatedServerInstallTaskDetailsOutput() DedicatedServerInstallTaskDetailsOutput { + return o +} + +func (o DedicatedServerInstallTaskDetailsOutput) ToDedicatedServerInstallTaskDetailsOutputWithContext(ctx context.Context) DedicatedServerInstallTaskDetailsOutput { + return o +} + +func (o DedicatedServerInstallTaskDetailsOutput) ToDedicatedServerInstallTaskDetailsPtrOutput() DedicatedServerInstallTaskDetailsPtrOutput { + return o.ToDedicatedServerInstallTaskDetailsPtrOutputWithContext(context.Background()) +} + +func (o DedicatedServerInstallTaskDetailsOutput) ToDedicatedServerInstallTaskDetailsPtrOutputWithContext(ctx context.Context) DedicatedServerInstallTaskDetailsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v DedicatedServerInstallTaskDetails) *DedicatedServerInstallTaskDetails { + return &v + }).(DedicatedServerInstallTaskDetailsPtrOutput) +} + +// Set up the server using the provided hostname instead of the default hostname +func (o DedicatedServerInstallTaskDetailsOutput) CustomHostname() pulumi.StringPtrOutput { + return o.ApplyT(func(v DedicatedServerInstallTaskDetails) *string { return v.CustomHostname }).(pulumi.StringPtrOutput) +} + +func (o DedicatedServerInstallTaskDetailsOutput) DiskGroupId() pulumi.Float64PtrOutput { + return o.ApplyT(func(v DedicatedServerInstallTaskDetails) *float64 { return v.DiskGroupId }).(pulumi.Float64PtrOutput) +} + +func (o DedicatedServerInstallTaskDetailsOutput) NoRaid() pulumi.BoolPtrOutput { + return o.ApplyT(func(v DedicatedServerInstallTaskDetails) *bool { return v.NoRaid }).(pulumi.BoolPtrOutput) +} + +// Indicate the URL where your postinstall customisation script is located +func (o DedicatedServerInstallTaskDetailsOutput) PostInstallationScriptLink() pulumi.StringPtrOutput { + return o.ApplyT(func(v DedicatedServerInstallTaskDetails) *string { return v.PostInstallationScriptLink }).(pulumi.StringPtrOutput) +} + +// indicate the string returned by your postinstall customisation script on successful execution. Advice: your script should return a unique validation string in case of succes. A good example is 'loh1Xee7eo OK OK OK UGh8Ang1Gu' +func (o DedicatedServerInstallTaskDetailsOutput) PostInstallationScriptReturn() pulumi.StringPtrOutput { + return o.ApplyT(func(v DedicatedServerInstallTaskDetails) *string { return v.PostInstallationScriptReturn }).(pulumi.StringPtrOutput) +} + +func (o DedicatedServerInstallTaskDetailsOutput) SoftRaidDevices() pulumi.Float64PtrOutput { + return o.ApplyT(func(v DedicatedServerInstallTaskDetails) *float64 { return v.SoftRaidDevices }).(pulumi.Float64PtrOutput) +} + +type DedicatedServerInstallTaskDetailsPtrOutput struct{ *pulumi.OutputState } + +func (DedicatedServerInstallTaskDetailsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**DedicatedServerInstallTaskDetails)(nil)).Elem() +} + +func (o DedicatedServerInstallTaskDetailsPtrOutput) ToDedicatedServerInstallTaskDetailsPtrOutput() DedicatedServerInstallTaskDetailsPtrOutput { + return o +} + +func (o DedicatedServerInstallTaskDetailsPtrOutput) ToDedicatedServerInstallTaskDetailsPtrOutputWithContext(ctx context.Context) DedicatedServerInstallTaskDetailsPtrOutput { + return o +} + +func (o DedicatedServerInstallTaskDetailsPtrOutput) Elem() DedicatedServerInstallTaskDetailsOutput { + return o.ApplyT(func(v *DedicatedServerInstallTaskDetails) DedicatedServerInstallTaskDetails { + if v != nil { + return *v + } + var ret DedicatedServerInstallTaskDetails + return ret + }).(DedicatedServerInstallTaskDetailsOutput) +} + +// Set up the server using the provided hostname instead of the default hostname +func (o DedicatedServerInstallTaskDetailsPtrOutput) CustomHostname() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DedicatedServerInstallTaskDetails) *string { + if v == nil { + return nil + } + return v.CustomHostname + }).(pulumi.StringPtrOutput) +} + +func (o DedicatedServerInstallTaskDetailsPtrOutput) DiskGroupId() pulumi.Float64PtrOutput { + return o.ApplyT(func(v *DedicatedServerInstallTaskDetails) *float64 { + if v == nil { + return nil + } + return v.DiskGroupId + }).(pulumi.Float64PtrOutput) +} + +func (o DedicatedServerInstallTaskDetailsPtrOutput) NoRaid() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *DedicatedServerInstallTaskDetails) *bool { + if v == nil { + return nil + } + return v.NoRaid + }).(pulumi.BoolPtrOutput) +} + +// Indicate the URL where your postinstall customisation script is located +func (o DedicatedServerInstallTaskDetailsPtrOutput) PostInstallationScriptLink() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DedicatedServerInstallTaskDetails) *string { + if v == nil { + return nil + } + return v.PostInstallationScriptLink + }).(pulumi.StringPtrOutput) +} + +// indicate the string returned by your postinstall customisation script on successful execution. Advice: your script should return a unique validation string in case of succes. A good example is 'loh1Xee7eo OK OK OK UGh8Ang1Gu' +func (o DedicatedServerInstallTaskDetailsPtrOutput) PostInstallationScriptReturn() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DedicatedServerInstallTaskDetails) *string { + if v == nil { + return nil + } + return v.PostInstallationScriptReturn + }).(pulumi.StringPtrOutput) +} + +func (o DedicatedServerInstallTaskDetailsPtrOutput) SoftRaidDevices() pulumi.Float64PtrOutput { + return o.ApplyT(func(v *DedicatedServerInstallTaskDetails) *float64 { + if v == nil { + return nil + } + return v.SoftRaidDevices + }).(pulumi.Float64PtrOutput) +} + +type DedicatedServerInstallTaskTimeouts struct { + Create *string `pulumi:"create"` +} + +// DedicatedServerInstallTaskTimeoutsInput is an input type that accepts DedicatedServerInstallTaskTimeoutsArgs and DedicatedServerInstallTaskTimeoutsOutput values. +// You can construct a concrete instance of `DedicatedServerInstallTaskTimeoutsInput` via: +// +// DedicatedServerInstallTaskTimeoutsArgs{...} +type DedicatedServerInstallTaskTimeoutsInput interface { + pulumi.Input + + ToDedicatedServerInstallTaskTimeoutsOutput() DedicatedServerInstallTaskTimeoutsOutput + ToDedicatedServerInstallTaskTimeoutsOutputWithContext(context.Context) DedicatedServerInstallTaskTimeoutsOutput +} + +type DedicatedServerInstallTaskTimeoutsArgs struct { + Create pulumi.StringPtrInput `pulumi:"create"` +} + +func (DedicatedServerInstallTaskTimeoutsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*DedicatedServerInstallTaskTimeouts)(nil)).Elem() +} + +func (i DedicatedServerInstallTaskTimeoutsArgs) ToDedicatedServerInstallTaskTimeoutsOutput() DedicatedServerInstallTaskTimeoutsOutput { + return i.ToDedicatedServerInstallTaskTimeoutsOutputWithContext(context.Background()) +} + +func (i DedicatedServerInstallTaskTimeoutsArgs) ToDedicatedServerInstallTaskTimeoutsOutputWithContext(ctx context.Context) DedicatedServerInstallTaskTimeoutsOutput { + return pulumi.ToOutputWithContext(ctx, i).(DedicatedServerInstallTaskTimeoutsOutput) +} + +func (i DedicatedServerInstallTaskTimeoutsArgs) ToDedicatedServerInstallTaskTimeoutsPtrOutput() DedicatedServerInstallTaskTimeoutsPtrOutput { + return i.ToDedicatedServerInstallTaskTimeoutsPtrOutputWithContext(context.Background()) +} + +func (i DedicatedServerInstallTaskTimeoutsArgs) ToDedicatedServerInstallTaskTimeoutsPtrOutputWithContext(ctx context.Context) DedicatedServerInstallTaskTimeoutsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DedicatedServerInstallTaskTimeoutsOutput).ToDedicatedServerInstallTaskTimeoutsPtrOutputWithContext(ctx) +} + +// DedicatedServerInstallTaskTimeoutsPtrInput is an input type that accepts DedicatedServerInstallTaskTimeoutsArgs, DedicatedServerInstallTaskTimeoutsPtr and DedicatedServerInstallTaskTimeoutsPtrOutput values. +// You can construct a concrete instance of `DedicatedServerInstallTaskTimeoutsPtrInput` via: +// +// DedicatedServerInstallTaskTimeoutsArgs{...} +// +// or: +// +// nil +type DedicatedServerInstallTaskTimeoutsPtrInput interface { + pulumi.Input + + ToDedicatedServerInstallTaskTimeoutsPtrOutput() DedicatedServerInstallTaskTimeoutsPtrOutput + ToDedicatedServerInstallTaskTimeoutsPtrOutputWithContext(context.Context) DedicatedServerInstallTaskTimeoutsPtrOutput +} + +type dedicatedServerInstallTaskTimeoutsPtrType DedicatedServerInstallTaskTimeoutsArgs + +func DedicatedServerInstallTaskTimeoutsPtr(v *DedicatedServerInstallTaskTimeoutsArgs) DedicatedServerInstallTaskTimeoutsPtrInput { + return (*dedicatedServerInstallTaskTimeoutsPtrType)(v) +} + +func (*dedicatedServerInstallTaskTimeoutsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**DedicatedServerInstallTaskTimeouts)(nil)).Elem() +} + +func (i *dedicatedServerInstallTaskTimeoutsPtrType) ToDedicatedServerInstallTaskTimeoutsPtrOutput() DedicatedServerInstallTaskTimeoutsPtrOutput { + return i.ToDedicatedServerInstallTaskTimeoutsPtrOutputWithContext(context.Background()) +} + +func (i *dedicatedServerInstallTaskTimeoutsPtrType) ToDedicatedServerInstallTaskTimeoutsPtrOutputWithContext(ctx context.Context) DedicatedServerInstallTaskTimeoutsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DedicatedServerInstallTaskTimeoutsPtrOutput) +} + +type DedicatedServerInstallTaskTimeoutsOutput struct{ *pulumi.OutputState } + +func (DedicatedServerInstallTaskTimeoutsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DedicatedServerInstallTaskTimeouts)(nil)).Elem() +} + +func (o DedicatedServerInstallTaskTimeoutsOutput) ToDedicatedServerInstallTaskTimeoutsOutput() DedicatedServerInstallTaskTimeoutsOutput { + return o +} + +func (o DedicatedServerInstallTaskTimeoutsOutput) ToDedicatedServerInstallTaskTimeoutsOutputWithContext(ctx context.Context) DedicatedServerInstallTaskTimeoutsOutput { + return o +} + +func (o DedicatedServerInstallTaskTimeoutsOutput) ToDedicatedServerInstallTaskTimeoutsPtrOutput() DedicatedServerInstallTaskTimeoutsPtrOutput { + return o.ToDedicatedServerInstallTaskTimeoutsPtrOutputWithContext(context.Background()) +} + +func (o DedicatedServerInstallTaskTimeoutsOutput) ToDedicatedServerInstallTaskTimeoutsPtrOutputWithContext(ctx context.Context) DedicatedServerInstallTaskTimeoutsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v DedicatedServerInstallTaskTimeouts) *DedicatedServerInstallTaskTimeouts { + return &v + }).(DedicatedServerInstallTaskTimeoutsPtrOutput) +} + +func (o DedicatedServerInstallTaskTimeoutsOutput) Create() pulumi.StringPtrOutput { + return o.ApplyT(func(v DedicatedServerInstallTaskTimeouts) *string { return v.Create }).(pulumi.StringPtrOutput) +} + +type DedicatedServerInstallTaskTimeoutsPtrOutput struct{ *pulumi.OutputState } + +func (DedicatedServerInstallTaskTimeoutsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**DedicatedServerInstallTaskTimeouts)(nil)).Elem() +} + +func (o DedicatedServerInstallTaskTimeoutsPtrOutput) ToDedicatedServerInstallTaskTimeoutsPtrOutput() DedicatedServerInstallTaskTimeoutsPtrOutput { + return o +} + +func (o DedicatedServerInstallTaskTimeoutsPtrOutput) ToDedicatedServerInstallTaskTimeoutsPtrOutputWithContext(ctx context.Context) DedicatedServerInstallTaskTimeoutsPtrOutput { + return o +} + +func (o DedicatedServerInstallTaskTimeoutsPtrOutput) Elem() DedicatedServerInstallTaskTimeoutsOutput { + return o.ApplyT(func(v *DedicatedServerInstallTaskTimeouts) DedicatedServerInstallTaskTimeouts { + if v != nil { + return *v + } + var ret DedicatedServerInstallTaskTimeouts + return ret + }).(DedicatedServerInstallTaskTimeoutsOutput) +} + +func (o DedicatedServerInstallTaskTimeoutsPtrOutput) Create() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DedicatedServerInstallTaskTimeouts) *string { + if v == nil { + return nil + } + return v.Create + }).(pulumi.StringPtrOutput) +} + +type DedicatedServerInstallTaskUserMetadata struct { + // The key for the user_metadata + Key string `pulumi:"key"` + // The value for the user_metadata + Value string `pulumi:"value"` +} + +// DedicatedServerInstallTaskUserMetadataInput is an input type that accepts DedicatedServerInstallTaskUserMetadataArgs and DedicatedServerInstallTaskUserMetadataOutput values. +// You can construct a concrete instance of `DedicatedServerInstallTaskUserMetadataInput` via: +// +// DedicatedServerInstallTaskUserMetadataArgs{...} +type DedicatedServerInstallTaskUserMetadataInput interface { + pulumi.Input + + ToDedicatedServerInstallTaskUserMetadataOutput() DedicatedServerInstallTaskUserMetadataOutput + ToDedicatedServerInstallTaskUserMetadataOutputWithContext(context.Context) DedicatedServerInstallTaskUserMetadataOutput +} + +type DedicatedServerInstallTaskUserMetadataArgs struct { + // The key for the user_metadata + Key pulumi.StringInput `pulumi:"key"` + // The value for the user_metadata + Value pulumi.StringInput `pulumi:"value"` +} + +func (DedicatedServerInstallTaskUserMetadataArgs) ElementType() reflect.Type { + return reflect.TypeOf((*DedicatedServerInstallTaskUserMetadata)(nil)).Elem() +} + +func (i DedicatedServerInstallTaskUserMetadataArgs) ToDedicatedServerInstallTaskUserMetadataOutput() DedicatedServerInstallTaskUserMetadataOutput { + return i.ToDedicatedServerInstallTaskUserMetadataOutputWithContext(context.Background()) +} + +func (i DedicatedServerInstallTaskUserMetadataArgs) ToDedicatedServerInstallTaskUserMetadataOutputWithContext(ctx context.Context) DedicatedServerInstallTaskUserMetadataOutput { + return pulumi.ToOutputWithContext(ctx, i).(DedicatedServerInstallTaskUserMetadataOutput) +} + +// DedicatedServerInstallTaskUserMetadataArrayInput is an input type that accepts DedicatedServerInstallTaskUserMetadataArray and DedicatedServerInstallTaskUserMetadataArrayOutput values. +// You can construct a concrete instance of `DedicatedServerInstallTaskUserMetadataArrayInput` via: +// +// DedicatedServerInstallTaskUserMetadataArray{ DedicatedServerInstallTaskUserMetadataArgs{...} } +type DedicatedServerInstallTaskUserMetadataArrayInput interface { + pulumi.Input + + ToDedicatedServerInstallTaskUserMetadataArrayOutput() DedicatedServerInstallTaskUserMetadataArrayOutput + ToDedicatedServerInstallTaskUserMetadataArrayOutputWithContext(context.Context) DedicatedServerInstallTaskUserMetadataArrayOutput +} + +type DedicatedServerInstallTaskUserMetadataArray []DedicatedServerInstallTaskUserMetadataInput + +func (DedicatedServerInstallTaskUserMetadataArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]DedicatedServerInstallTaskUserMetadata)(nil)).Elem() +} + +func (i DedicatedServerInstallTaskUserMetadataArray) ToDedicatedServerInstallTaskUserMetadataArrayOutput() DedicatedServerInstallTaskUserMetadataArrayOutput { + return i.ToDedicatedServerInstallTaskUserMetadataArrayOutputWithContext(context.Background()) +} + +func (i DedicatedServerInstallTaskUserMetadataArray) ToDedicatedServerInstallTaskUserMetadataArrayOutputWithContext(ctx context.Context) DedicatedServerInstallTaskUserMetadataArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(DedicatedServerInstallTaskUserMetadataArrayOutput) +} + +type DedicatedServerInstallTaskUserMetadataOutput struct{ *pulumi.OutputState } + +func (DedicatedServerInstallTaskUserMetadataOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DedicatedServerInstallTaskUserMetadata)(nil)).Elem() +} + +func (o DedicatedServerInstallTaskUserMetadataOutput) ToDedicatedServerInstallTaskUserMetadataOutput() DedicatedServerInstallTaskUserMetadataOutput { + return o +} + +func (o DedicatedServerInstallTaskUserMetadataOutput) ToDedicatedServerInstallTaskUserMetadataOutputWithContext(ctx context.Context) DedicatedServerInstallTaskUserMetadataOutput { + return o +} + +// The key for the user_metadata +func (o DedicatedServerInstallTaskUserMetadataOutput) Key() pulumi.StringOutput { + return o.ApplyT(func(v DedicatedServerInstallTaskUserMetadata) string { return v.Key }).(pulumi.StringOutput) +} + +// The value for the user_metadata +func (o DedicatedServerInstallTaskUserMetadataOutput) Value() pulumi.StringOutput { + return o.ApplyT(func(v DedicatedServerInstallTaskUserMetadata) string { return v.Value }).(pulumi.StringOutput) +} + +type DedicatedServerInstallTaskUserMetadataArrayOutput struct{ *pulumi.OutputState } + +func (DedicatedServerInstallTaskUserMetadataArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]DedicatedServerInstallTaskUserMetadata)(nil)).Elem() +} + +func (o DedicatedServerInstallTaskUserMetadataArrayOutput) ToDedicatedServerInstallTaskUserMetadataArrayOutput() DedicatedServerInstallTaskUserMetadataArrayOutput { + return o +} + +func (o DedicatedServerInstallTaskUserMetadataArrayOutput) ToDedicatedServerInstallTaskUserMetadataArrayOutputWithContext(ctx context.Context) DedicatedServerInstallTaskUserMetadataArrayOutput { + return o +} + +func (o DedicatedServerInstallTaskUserMetadataArrayOutput) Index(i pulumi.IntInput) DedicatedServerInstallTaskUserMetadataOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) DedicatedServerInstallTaskUserMetadata { + return vs[0].([]DedicatedServerInstallTaskUserMetadata)[vs[1].(int)] + }).(DedicatedServerInstallTaskUserMetadataOutput) +} + +type DedicatedServerNetworkingInterface struct { + // Interface Mac address + Macs []string `pulumi:"macs"` + // Interface type + Type string `pulumi:"type"` +} + +// DedicatedServerNetworkingInterfaceInput is an input type that accepts DedicatedServerNetworkingInterfaceArgs and DedicatedServerNetworkingInterfaceOutput values. +// You can construct a concrete instance of `DedicatedServerNetworkingInterfaceInput` via: +// +// DedicatedServerNetworkingInterfaceArgs{...} +type DedicatedServerNetworkingInterfaceInput interface { + pulumi.Input + + ToDedicatedServerNetworkingInterfaceOutput() DedicatedServerNetworkingInterfaceOutput + ToDedicatedServerNetworkingInterfaceOutputWithContext(context.Context) DedicatedServerNetworkingInterfaceOutput +} + +type DedicatedServerNetworkingInterfaceArgs struct { + // Interface Mac address + Macs pulumi.StringArrayInput `pulumi:"macs"` + // Interface type + Type pulumi.StringInput `pulumi:"type"` +} + +func (DedicatedServerNetworkingInterfaceArgs) ElementType() reflect.Type { + return reflect.TypeOf((*DedicatedServerNetworkingInterface)(nil)).Elem() +} + +func (i DedicatedServerNetworkingInterfaceArgs) ToDedicatedServerNetworkingInterfaceOutput() DedicatedServerNetworkingInterfaceOutput { + return i.ToDedicatedServerNetworkingInterfaceOutputWithContext(context.Background()) +} + +func (i DedicatedServerNetworkingInterfaceArgs) ToDedicatedServerNetworkingInterfaceOutputWithContext(ctx context.Context) DedicatedServerNetworkingInterfaceOutput { + return pulumi.ToOutputWithContext(ctx, i).(DedicatedServerNetworkingInterfaceOutput) +} + +// DedicatedServerNetworkingInterfaceArrayInput is an input type that accepts DedicatedServerNetworkingInterfaceArray and DedicatedServerNetworkingInterfaceArrayOutput values. +// You can construct a concrete instance of `DedicatedServerNetworkingInterfaceArrayInput` via: +// +// DedicatedServerNetworkingInterfaceArray{ DedicatedServerNetworkingInterfaceArgs{...} } +type DedicatedServerNetworkingInterfaceArrayInput interface { + pulumi.Input + + ToDedicatedServerNetworkingInterfaceArrayOutput() DedicatedServerNetworkingInterfaceArrayOutput + ToDedicatedServerNetworkingInterfaceArrayOutputWithContext(context.Context) DedicatedServerNetworkingInterfaceArrayOutput +} + +type DedicatedServerNetworkingInterfaceArray []DedicatedServerNetworkingInterfaceInput + +func (DedicatedServerNetworkingInterfaceArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]DedicatedServerNetworkingInterface)(nil)).Elem() +} + +func (i DedicatedServerNetworkingInterfaceArray) ToDedicatedServerNetworkingInterfaceArrayOutput() DedicatedServerNetworkingInterfaceArrayOutput { + return i.ToDedicatedServerNetworkingInterfaceArrayOutputWithContext(context.Background()) +} + +func (i DedicatedServerNetworkingInterfaceArray) ToDedicatedServerNetworkingInterfaceArrayOutputWithContext(ctx context.Context) DedicatedServerNetworkingInterfaceArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(DedicatedServerNetworkingInterfaceArrayOutput) +} + +type DedicatedServerNetworkingInterfaceOutput struct{ *pulumi.OutputState } + +func (DedicatedServerNetworkingInterfaceOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DedicatedServerNetworkingInterface)(nil)).Elem() +} + +func (o DedicatedServerNetworkingInterfaceOutput) ToDedicatedServerNetworkingInterfaceOutput() DedicatedServerNetworkingInterfaceOutput { + return o +} + +func (o DedicatedServerNetworkingInterfaceOutput) ToDedicatedServerNetworkingInterfaceOutputWithContext(ctx context.Context) DedicatedServerNetworkingInterfaceOutput { + return o +} + +// Interface Mac address +func (o DedicatedServerNetworkingInterfaceOutput) Macs() pulumi.StringArrayOutput { + return o.ApplyT(func(v DedicatedServerNetworkingInterface) []string { return v.Macs }).(pulumi.StringArrayOutput) +} + +// Interface type +func (o DedicatedServerNetworkingInterfaceOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v DedicatedServerNetworkingInterface) string { return v.Type }).(pulumi.StringOutput) +} + +type DedicatedServerNetworkingInterfaceArrayOutput struct{ *pulumi.OutputState } + +func (DedicatedServerNetworkingInterfaceArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]DedicatedServerNetworkingInterface)(nil)).Elem() +} + +func (o DedicatedServerNetworkingInterfaceArrayOutput) ToDedicatedServerNetworkingInterfaceArrayOutput() DedicatedServerNetworkingInterfaceArrayOutput { + return o +} + +func (o DedicatedServerNetworkingInterfaceArrayOutput) ToDedicatedServerNetworkingInterfaceArrayOutputWithContext(ctx context.Context) DedicatedServerNetworkingInterfaceArrayOutput { + return o +} + +func (o DedicatedServerNetworkingInterfaceArrayOutput) Index(i pulumi.IntInput) DedicatedServerNetworkingInterfaceOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) DedicatedServerNetworkingInterface { + return vs[0].([]DedicatedServerNetworkingInterface)[vs[1].(int)] + }).(DedicatedServerNetworkingInterfaceOutput) +} + +type DedicatedServerNetworkingTimeouts struct { + Create *string `pulumi:"create"` + Delete *string `pulumi:"delete"` +} + +// DedicatedServerNetworkingTimeoutsInput is an input type that accepts DedicatedServerNetworkingTimeoutsArgs and DedicatedServerNetworkingTimeoutsOutput values. +// You can construct a concrete instance of `DedicatedServerNetworkingTimeoutsInput` via: +// +// DedicatedServerNetworkingTimeoutsArgs{...} +type DedicatedServerNetworkingTimeoutsInput interface { + pulumi.Input + + ToDedicatedServerNetworkingTimeoutsOutput() DedicatedServerNetworkingTimeoutsOutput + ToDedicatedServerNetworkingTimeoutsOutputWithContext(context.Context) DedicatedServerNetworkingTimeoutsOutput +} + +type DedicatedServerNetworkingTimeoutsArgs struct { + Create pulumi.StringPtrInput `pulumi:"create"` + Delete pulumi.StringPtrInput `pulumi:"delete"` +} + +func (DedicatedServerNetworkingTimeoutsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*DedicatedServerNetworkingTimeouts)(nil)).Elem() +} + +func (i DedicatedServerNetworkingTimeoutsArgs) ToDedicatedServerNetworkingTimeoutsOutput() DedicatedServerNetworkingTimeoutsOutput { + return i.ToDedicatedServerNetworkingTimeoutsOutputWithContext(context.Background()) +} + +func (i DedicatedServerNetworkingTimeoutsArgs) ToDedicatedServerNetworkingTimeoutsOutputWithContext(ctx context.Context) DedicatedServerNetworkingTimeoutsOutput { + return pulumi.ToOutputWithContext(ctx, i).(DedicatedServerNetworkingTimeoutsOutput) +} + +func (i DedicatedServerNetworkingTimeoutsArgs) ToDedicatedServerNetworkingTimeoutsPtrOutput() DedicatedServerNetworkingTimeoutsPtrOutput { + return i.ToDedicatedServerNetworkingTimeoutsPtrOutputWithContext(context.Background()) +} + +func (i DedicatedServerNetworkingTimeoutsArgs) ToDedicatedServerNetworkingTimeoutsPtrOutputWithContext(ctx context.Context) DedicatedServerNetworkingTimeoutsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DedicatedServerNetworkingTimeoutsOutput).ToDedicatedServerNetworkingTimeoutsPtrOutputWithContext(ctx) +} + +// DedicatedServerNetworkingTimeoutsPtrInput is an input type that accepts DedicatedServerNetworkingTimeoutsArgs, DedicatedServerNetworkingTimeoutsPtr and DedicatedServerNetworkingTimeoutsPtrOutput values. +// You can construct a concrete instance of `DedicatedServerNetworkingTimeoutsPtrInput` via: +// +// DedicatedServerNetworkingTimeoutsArgs{...} +// +// or: +// +// nil +type DedicatedServerNetworkingTimeoutsPtrInput interface { + pulumi.Input + + ToDedicatedServerNetworkingTimeoutsPtrOutput() DedicatedServerNetworkingTimeoutsPtrOutput + ToDedicatedServerNetworkingTimeoutsPtrOutputWithContext(context.Context) DedicatedServerNetworkingTimeoutsPtrOutput +} + +type dedicatedServerNetworkingTimeoutsPtrType DedicatedServerNetworkingTimeoutsArgs + +func DedicatedServerNetworkingTimeoutsPtr(v *DedicatedServerNetworkingTimeoutsArgs) DedicatedServerNetworkingTimeoutsPtrInput { + return (*dedicatedServerNetworkingTimeoutsPtrType)(v) +} + +func (*dedicatedServerNetworkingTimeoutsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**DedicatedServerNetworkingTimeouts)(nil)).Elem() +} + +func (i *dedicatedServerNetworkingTimeoutsPtrType) ToDedicatedServerNetworkingTimeoutsPtrOutput() DedicatedServerNetworkingTimeoutsPtrOutput { + return i.ToDedicatedServerNetworkingTimeoutsPtrOutputWithContext(context.Background()) +} + +func (i *dedicatedServerNetworkingTimeoutsPtrType) ToDedicatedServerNetworkingTimeoutsPtrOutputWithContext(ctx context.Context) DedicatedServerNetworkingTimeoutsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DedicatedServerNetworkingTimeoutsPtrOutput) +} + +type DedicatedServerNetworkingTimeoutsOutput struct{ *pulumi.OutputState } + +func (DedicatedServerNetworkingTimeoutsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DedicatedServerNetworkingTimeouts)(nil)).Elem() +} + +func (o DedicatedServerNetworkingTimeoutsOutput) ToDedicatedServerNetworkingTimeoutsOutput() DedicatedServerNetworkingTimeoutsOutput { + return o +} + +func (o DedicatedServerNetworkingTimeoutsOutput) ToDedicatedServerNetworkingTimeoutsOutputWithContext(ctx context.Context) DedicatedServerNetworkingTimeoutsOutput { + return o +} + +func (o DedicatedServerNetworkingTimeoutsOutput) ToDedicatedServerNetworkingTimeoutsPtrOutput() DedicatedServerNetworkingTimeoutsPtrOutput { + return o.ToDedicatedServerNetworkingTimeoutsPtrOutputWithContext(context.Background()) +} + +func (o DedicatedServerNetworkingTimeoutsOutput) ToDedicatedServerNetworkingTimeoutsPtrOutputWithContext(ctx context.Context) DedicatedServerNetworkingTimeoutsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v DedicatedServerNetworkingTimeouts) *DedicatedServerNetworkingTimeouts { + return &v + }).(DedicatedServerNetworkingTimeoutsPtrOutput) +} + +func (o DedicatedServerNetworkingTimeoutsOutput) Create() pulumi.StringPtrOutput { + return o.ApplyT(func(v DedicatedServerNetworkingTimeouts) *string { return v.Create }).(pulumi.StringPtrOutput) +} + +func (o DedicatedServerNetworkingTimeoutsOutput) Delete() pulumi.StringPtrOutput { + return o.ApplyT(func(v DedicatedServerNetworkingTimeouts) *string { return v.Delete }).(pulumi.StringPtrOutput) +} + +type DedicatedServerNetworkingTimeoutsPtrOutput struct{ *pulumi.OutputState } + +func (DedicatedServerNetworkingTimeoutsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**DedicatedServerNetworkingTimeouts)(nil)).Elem() +} + +func (o DedicatedServerNetworkingTimeoutsPtrOutput) ToDedicatedServerNetworkingTimeoutsPtrOutput() DedicatedServerNetworkingTimeoutsPtrOutput { + return o +} + +func (o DedicatedServerNetworkingTimeoutsPtrOutput) ToDedicatedServerNetworkingTimeoutsPtrOutputWithContext(ctx context.Context) DedicatedServerNetworkingTimeoutsPtrOutput { + return o +} + +func (o DedicatedServerNetworkingTimeoutsPtrOutput) Elem() DedicatedServerNetworkingTimeoutsOutput { + return o.ApplyT(func(v *DedicatedServerNetworkingTimeouts) DedicatedServerNetworkingTimeouts { + if v != nil { + return *v + } + var ret DedicatedServerNetworkingTimeouts + return ret + }).(DedicatedServerNetworkingTimeoutsOutput) +} + +func (o DedicatedServerNetworkingTimeoutsPtrOutput) Create() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DedicatedServerNetworkingTimeouts) *string { + if v == nil { + return nil + } + return v.Create + }).(pulumi.StringPtrOutput) +} + +func (o DedicatedServerNetworkingTimeoutsPtrOutput) Delete() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DedicatedServerNetworkingTimeouts) *string { + if v == nil { + return nil + } + return v.Delete + }).(pulumi.StringPtrOutput) +} + +type DomainZoneOrder struct { + // date + Date *string `pulumi:"date"` + // Information about a Bill entry + Details []DomainZoneOrderDetail `pulumi:"details"` + // expiration date + ExpirationDate *string `pulumi:"expirationDate"` + // order id + OrderId *float64 `pulumi:"orderId"` +} + +// DomainZoneOrderInput is an input type that accepts DomainZoneOrderArgs and DomainZoneOrderOutput values. +// You can construct a concrete instance of `DomainZoneOrderInput` via: +// +// DomainZoneOrderArgs{...} +type DomainZoneOrderInput interface { + pulumi.Input + + ToDomainZoneOrderOutput() DomainZoneOrderOutput + ToDomainZoneOrderOutputWithContext(context.Context) DomainZoneOrderOutput +} + +type DomainZoneOrderArgs struct { + // date + Date pulumi.StringPtrInput `pulumi:"date"` + // Information about a Bill entry + Details DomainZoneOrderDetailArrayInput `pulumi:"details"` + // expiration date + ExpirationDate pulumi.StringPtrInput `pulumi:"expirationDate"` + // order id + OrderId pulumi.Float64PtrInput `pulumi:"orderId"` +} + +func (DomainZoneOrderArgs) ElementType() reflect.Type { + return reflect.TypeOf((*DomainZoneOrder)(nil)).Elem() +} + +func (i DomainZoneOrderArgs) ToDomainZoneOrderOutput() DomainZoneOrderOutput { + return i.ToDomainZoneOrderOutputWithContext(context.Background()) +} + +func (i DomainZoneOrderArgs) ToDomainZoneOrderOutputWithContext(ctx context.Context) DomainZoneOrderOutput { + return pulumi.ToOutputWithContext(ctx, i).(DomainZoneOrderOutput) +} + +// DomainZoneOrderArrayInput is an input type that accepts DomainZoneOrderArray and DomainZoneOrderArrayOutput values. +// You can construct a concrete instance of `DomainZoneOrderArrayInput` via: +// +// DomainZoneOrderArray{ DomainZoneOrderArgs{...} } +type DomainZoneOrderArrayInput interface { + pulumi.Input + + ToDomainZoneOrderArrayOutput() DomainZoneOrderArrayOutput + ToDomainZoneOrderArrayOutputWithContext(context.Context) DomainZoneOrderArrayOutput +} + +type DomainZoneOrderArray []DomainZoneOrderInput + +func (DomainZoneOrderArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]DomainZoneOrder)(nil)).Elem() +} + +func (i DomainZoneOrderArray) ToDomainZoneOrderArrayOutput() DomainZoneOrderArrayOutput { + return i.ToDomainZoneOrderArrayOutputWithContext(context.Background()) +} + +func (i DomainZoneOrderArray) ToDomainZoneOrderArrayOutputWithContext(ctx context.Context) DomainZoneOrderArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(DomainZoneOrderArrayOutput) +} + +type DomainZoneOrderOutput struct{ *pulumi.OutputState } + +func (DomainZoneOrderOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DomainZoneOrder)(nil)).Elem() +} + +func (o DomainZoneOrderOutput) ToDomainZoneOrderOutput() DomainZoneOrderOutput { + return o +} + +func (o DomainZoneOrderOutput) ToDomainZoneOrderOutputWithContext(ctx context.Context) DomainZoneOrderOutput { + return o +} + +// date +func (o DomainZoneOrderOutput) Date() pulumi.StringPtrOutput { + return o.ApplyT(func(v DomainZoneOrder) *string { return v.Date }).(pulumi.StringPtrOutput) +} + +// Information about a Bill entry +func (o DomainZoneOrderOutput) Details() DomainZoneOrderDetailArrayOutput { + return o.ApplyT(func(v DomainZoneOrder) []DomainZoneOrderDetail { return v.Details }).(DomainZoneOrderDetailArrayOutput) +} + +// expiration date +func (o DomainZoneOrderOutput) ExpirationDate() pulumi.StringPtrOutput { + return o.ApplyT(func(v DomainZoneOrder) *string { return v.ExpirationDate }).(pulumi.StringPtrOutput) +} + +// order id +func (o DomainZoneOrderOutput) OrderId() pulumi.Float64PtrOutput { + return o.ApplyT(func(v DomainZoneOrder) *float64 { return v.OrderId }).(pulumi.Float64PtrOutput) +} + +type DomainZoneOrderArrayOutput struct{ *pulumi.OutputState } + +func (DomainZoneOrderArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]DomainZoneOrder)(nil)).Elem() +} + +func (o DomainZoneOrderArrayOutput) ToDomainZoneOrderArrayOutput() DomainZoneOrderArrayOutput { + return o +} + +func (o DomainZoneOrderArrayOutput) ToDomainZoneOrderArrayOutputWithContext(ctx context.Context) DomainZoneOrderArrayOutput { + return o +} + +func (o DomainZoneOrderArrayOutput) Index(i pulumi.IntInput) DomainZoneOrderOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) DomainZoneOrder { + return vs[0].([]DomainZoneOrder)[vs[1].(int)] + }).(DomainZoneOrderOutput) +} + +type DomainZoneOrderDetail struct { + Description string `pulumi:"description"` + Domain string `pulumi:"domain"` + OrderDetailId float64 `pulumi:"orderDetailId"` + Quantity string `pulumi:"quantity"` +} + +// DomainZoneOrderDetailInput is an input type that accepts DomainZoneOrderDetailArgs and DomainZoneOrderDetailOutput values. +// You can construct a concrete instance of `DomainZoneOrderDetailInput` via: +// +// DomainZoneOrderDetailArgs{...} +type DomainZoneOrderDetailInput interface { + pulumi.Input + + ToDomainZoneOrderDetailOutput() DomainZoneOrderDetailOutput + ToDomainZoneOrderDetailOutputWithContext(context.Context) DomainZoneOrderDetailOutput +} + +type DomainZoneOrderDetailArgs struct { + Description pulumi.StringInput `pulumi:"description"` + Domain pulumi.StringInput `pulumi:"domain"` + OrderDetailId pulumi.Float64Input `pulumi:"orderDetailId"` + Quantity pulumi.StringInput `pulumi:"quantity"` +} + +func (DomainZoneOrderDetailArgs) ElementType() reflect.Type { + return reflect.TypeOf((*DomainZoneOrderDetail)(nil)).Elem() +} + +func (i DomainZoneOrderDetailArgs) ToDomainZoneOrderDetailOutput() DomainZoneOrderDetailOutput { + return i.ToDomainZoneOrderDetailOutputWithContext(context.Background()) +} + +func (i DomainZoneOrderDetailArgs) ToDomainZoneOrderDetailOutputWithContext(ctx context.Context) DomainZoneOrderDetailOutput { + return pulumi.ToOutputWithContext(ctx, i).(DomainZoneOrderDetailOutput) +} + +// DomainZoneOrderDetailArrayInput is an input type that accepts DomainZoneOrderDetailArray and DomainZoneOrderDetailArrayOutput values. +// You can construct a concrete instance of `DomainZoneOrderDetailArrayInput` via: +// +// DomainZoneOrderDetailArray{ DomainZoneOrderDetailArgs{...} } +type DomainZoneOrderDetailArrayInput interface { + pulumi.Input + + ToDomainZoneOrderDetailArrayOutput() DomainZoneOrderDetailArrayOutput + ToDomainZoneOrderDetailArrayOutputWithContext(context.Context) DomainZoneOrderDetailArrayOutput +} + +type DomainZoneOrderDetailArray []DomainZoneOrderDetailInput + +func (DomainZoneOrderDetailArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]DomainZoneOrderDetail)(nil)).Elem() +} + +func (i DomainZoneOrderDetailArray) ToDomainZoneOrderDetailArrayOutput() DomainZoneOrderDetailArrayOutput { + return i.ToDomainZoneOrderDetailArrayOutputWithContext(context.Background()) +} + +func (i DomainZoneOrderDetailArray) ToDomainZoneOrderDetailArrayOutputWithContext(ctx context.Context) DomainZoneOrderDetailArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(DomainZoneOrderDetailArrayOutput) +} + +type DomainZoneOrderDetailOutput struct{ *pulumi.OutputState } + +func (DomainZoneOrderDetailOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DomainZoneOrderDetail)(nil)).Elem() +} + +func (o DomainZoneOrderDetailOutput) ToDomainZoneOrderDetailOutput() DomainZoneOrderDetailOutput { + return o +} + +func (o DomainZoneOrderDetailOutput) ToDomainZoneOrderDetailOutputWithContext(ctx context.Context) DomainZoneOrderDetailOutput { + return o +} + +func (o DomainZoneOrderDetailOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v DomainZoneOrderDetail) string { return v.Description }).(pulumi.StringOutput) +} + +func (o DomainZoneOrderDetailOutput) Domain() pulumi.StringOutput { + return o.ApplyT(func(v DomainZoneOrderDetail) string { return v.Domain }).(pulumi.StringOutput) +} + +func (o DomainZoneOrderDetailOutput) OrderDetailId() pulumi.Float64Output { + return o.ApplyT(func(v DomainZoneOrderDetail) float64 { return v.OrderDetailId }).(pulumi.Float64Output) +} + +func (o DomainZoneOrderDetailOutput) Quantity() pulumi.StringOutput { + return o.ApplyT(func(v DomainZoneOrderDetail) string { return v.Quantity }).(pulumi.StringOutput) +} + +type DomainZoneOrderDetailArrayOutput struct{ *pulumi.OutputState } + +func (DomainZoneOrderDetailArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]DomainZoneOrderDetail)(nil)).Elem() +} + +func (o DomainZoneOrderDetailArrayOutput) ToDomainZoneOrderDetailArrayOutput() DomainZoneOrderDetailArrayOutput { + return o +} + +func (o DomainZoneOrderDetailArrayOutput) ToDomainZoneOrderDetailArrayOutputWithContext(ctx context.Context) DomainZoneOrderDetailArrayOutput { + return o +} + +func (o DomainZoneOrderDetailArrayOutput) Index(i pulumi.IntInput) DomainZoneOrderDetailOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) DomainZoneOrderDetail { + return vs[0].([]DomainZoneOrderDetail)[vs[1].(int)] + }).(DomainZoneOrderDetailOutput) +} + +type DomainZonePlan struct { + // Catalog name + CatalogName *string `pulumi:"catalogName"` + // Representation of a configuration item for personalizing product + Configurations []DomainZonePlanConfiguration `pulumi:"configurations"` + // duration + Duration string `pulumi:"duration"` + // Plan code + PlanCode string `pulumi:"planCode"` + // Pricing model identifier + PricingMode string `pulumi:"pricingMode"` +} + +// DomainZonePlanInput is an input type that accepts DomainZonePlanArgs and DomainZonePlanOutput values. +// You can construct a concrete instance of `DomainZonePlanInput` via: +// +// DomainZonePlanArgs{...} +type DomainZonePlanInput interface { + pulumi.Input + + ToDomainZonePlanOutput() DomainZonePlanOutput + ToDomainZonePlanOutputWithContext(context.Context) DomainZonePlanOutput +} + +type DomainZonePlanArgs struct { + // Catalog name + CatalogName pulumi.StringPtrInput `pulumi:"catalogName"` + // Representation of a configuration item for personalizing product + Configurations DomainZonePlanConfigurationArrayInput `pulumi:"configurations"` + // duration + Duration pulumi.StringInput `pulumi:"duration"` + // Plan code + PlanCode pulumi.StringInput `pulumi:"planCode"` + // Pricing model identifier + PricingMode pulumi.StringInput `pulumi:"pricingMode"` +} + +func (DomainZonePlanArgs) ElementType() reflect.Type { + return reflect.TypeOf((*DomainZonePlan)(nil)).Elem() +} + +func (i DomainZonePlanArgs) ToDomainZonePlanOutput() DomainZonePlanOutput { + return i.ToDomainZonePlanOutputWithContext(context.Background()) +} + +func (i DomainZonePlanArgs) ToDomainZonePlanOutputWithContext(ctx context.Context) DomainZonePlanOutput { + return pulumi.ToOutputWithContext(ctx, i).(DomainZonePlanOutput) +} + +func (i DomainZonePlanArgs) ToDomainZonePlanPtrOutput() DomainZonePlanPtrOutput { + return i.ToDomainZonePlanPtrOutputWithContext(context.Background()) +} + +func (i DomainZonePlanArgs) ToDomainZonePlanPtrOutputWithContext(ctx context.Context) DomainZonePlanPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DomainZonePlanOutput).ToDomainZonePlanPtrOutputWithContext(ctx) +} + +// DomainZonePlanPtrInput is an input type that accepts DomainZonePlanArgs, DomainZonePlanPtr and DomainZonePlanPtrOutput values. +// You can construct a concrete instance of `DomainZonePlanPtrInput` via: +// +// DomainZonePlanArgs{...} +// +// or: +// +// nil +type DomainZonePlanPtrInput interface { + pulumi.Input + + ToDomainZonePlanPtrOutput() DomainZonePlanPtrOutput + ToDomainZonePlanPtrOutputWithContext(context.Context) DomainZonePlanPtrOutput +} + +type domainZonePlanPtrType DomainZonePlanArgs + +func DomainZonePlanPtr(v *DomainZonePlanArgs) DomainZonePlanPtrInput { + return (*domainZonePlanPtrType)(v) +} + +func (*domainZonePlanPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**DomainZonePlan)(nil)).Elem() +} + +func (i *domainZonePlanPtrType) ToDomainZonePlanPtrOutput() DomainZonePlanPtrOutput { + return i.ToDomainZonePlanPtrOutputWithContext(context.Background()) +} + +func (i *domainZonePlanPtrType) ToDomainZonePlanPtrOutputWithContext(ctx context.Context) DomainZonePlanPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DomainZonePlanPtrOutput) +} + +type DomainZonePlanOutput struct{ *pulumi.OutputState } + +func (DomainZonePlanOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DomainZonePlan)(nil)).Elem() +} + +func (o DomainZonePlanOutput) ToDomainZonePlanOutput() DomainZonePlanOutput { + return o +} + +func (o DomainZonePlanOutput) ToDomainZonePlanOutputWithContext(ctx context.Context) DomainZonePlanOutput { + return o +} + +func (o DomainZonePlanOutput) ToDomainZonePlanPtrOutput() DomainZonePlanPtrOutput { + return o.ToDomainZonePlanPtrOutputWithContext(context.Background()) +} + +func (o DomainZonePlanOutput) ToDomainZonePlanPtrOutputWithContext(ctx context.Context) DomainZonePlanPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v DomainZonePlan) *DomainZonePlan { + return &v + }).(DomainZonePlanPtrOutput) +} + +// Catalog name +func (o DomainZonePlanOutput) CatalogName() pulumi.StringPtrOutput { + return o.ApplyT(func(v DomainZonePlan) *string { return v.CatalogName }).(pulumi.StringPtrOutput) +} + +// Representation of a configuration item for personalizing product +func (o DomainZonePlanOutput) Configurations() DomainZonePlanConfigurationArrayOutput { + return o.ApplyT(func(v DomainZonePlan) []DomainZonePlanConfiguration { return v.Configurations }).(DomainZonePlanConfigurationArrayOutput) +} + +// duration +func (o DomainZonePlanOutput) Duration() pulumi.StringOutput { + return o.ApplyT(func(v DomainZonePlan) string { return v.Duration }).(pulumi.StringOutput) +} + +// Plan code +func (o DomainZonePlanOutput) PlanCode() pulumi.StringOutput { + return o.ApplyT(func(v DomainZonePlan) string { return v.PlanCode }).(pulumi.StringOutput) +} + +// Pricing model identifier +func (o DomainZonePlanOutput) PricingMode() pulumi.StringOutput { + return o.ApplyT(func(v DomainZonePlan) string { return v.PricingMode }).(pulumi.StringOutput) +} + +type DomainZonePlanPtrOutput struct{ *pulumi.OutputState } + +func (DomainZonePlanPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**DomainZonePlan)(nil)).Elem() +} + +func (o DomainZonePlanPtrOutput) ToDomainZonePlanPtrOutput() DomainZonePlanPtrOutput { + return o +} + +func (o DomainZonePlanPtrOutput) ToDomainZonePlanPtrOutputWithContext(ctx context.Context) DomainZonePlanPtrOutput { + return o +} + +func (o DomainZonePlanPtrOutput) Elem() DomainZonePlanOutput { + return o.ApplyT(func(v *DomainZonePlan) DomainZonePlan { + if v != nil { + return *v + } + var ret DomainZonePlan + return ret + }).(DomainZonePlanOutput) +} + +// Catalog name +func (o DomainZonePlanPtrOutput) CatalogName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DomainZonePlan) *string { + if v == nil { + return nil + } + return v.CatalogName + }).(pulumi.StringPtrOutput) +} + +// Representation of a configuration item for personalizing product +func (o DomainZonePlanPtrOutput) Configurations() DomainZonePlanConfigurationArrayOutput { + return o.ApplyT(func(v *DomainZonePlan) []DomainZonePlanConfiguration { + if v == nil { + return nil + } + return v.Configurations + }).(DomainZonePlanConfigurationArrayOutput) +} + +// duration +func (o DomainZonePlanPtrOutput) Duration() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DomainZonePlan) *string { + if v == nil { + return nil + } + return &v.Duration + }).(pulumi.StringPtrOutput) +} + +// Plan code +func (o DomainZonePlanPtrOutput) PlanCode() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DomainZonePlan) *string { + if v == nil { + return nil + } + return &v.PlanCode + }).(pulumi.StringPtrOutput) +} + +// Pricing model identifier +func (o DomainZonePlanPtrOutput) PricingMode() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DomainZonePlan) *string { + if v == nil { + return nil + } + return &v.PricingMode + }).(pulumi.StringPtrOutput) +} + +type DomainZonePlanConfiguration struct { + // Identifier of the resource + Label string `pulumi:"label"` + // Path to the resource in API.OVH.COM + Value string `pulumi:"value"` +} + +// DomainZonePlanConfigurationInput is an input type that accepts DomainZonePlanConfigurationArgs and DomainZonePlanConfigurationOutput values. +// You can construct a concrete instance of `DomainZonePlanConfigurationInput` via: +// +// DomainZonePlanConfigurationArgs{...} +type DomainZonePlanConfigurationInput interface { + pulumi.Input + + ToDomainZonePlanConfigurationOutput() DomainZonePlanConfigurationOutput + ToDomainZonePlanConfigurationOutputWithContext(context.Context) DomainZonePlanConfigurationOutput +} + +type DomainZonePlanConfigurationArgs struct { + // Identifier of the resource + Label pulumi.StringInput `pulumi:"label"` + // Path to the resource in API.OVH.COM + Value pulumi.StringInput `pulumi:"value"` +} + +func (DomainZonePlanConfigurationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*DomainZonePlanConfiguration)(nil)).Elem() +} + +func (i DomainZonePlanConfigurationArgs) ToDomainZonePlanConfigurationOutput() DomainZonePlanConfigurationOutput { + return i.ToDomainZonePlanConfigurationOutputWithContext(context.Background()) +} + +func (i DomainZonePlanConfigurationArgs) ToDomainZonePlanConfigurationOutputWithContext(ctx context.Context) DomainZonePlanConfigurationOutput { + return pulumi.ToOutputWithContext(ctx, i).(DomainZonePlanConfigurationOutput) +} + +// DomainZonePlanConfigurationArrayInput is an input type that accepts DomainZonePlanConfigurationArray and DomainZonePlanConfigurationArrayOutput values. +// You can construct a concrete instance of `DomainZonePlanConfigurationArrayInput` via: +// +// DomainZonePlanConfigurationArray{ DomainZonePlanConfigurationArgs{...} } +type DomainZonePlanConfigurationArrayInput interface { + pulumi.Input + + ToDomainZonePlanConfigurationArrayOutput() DomainZonePlanConfigurationArrayOutput + ToDomainZonePlanConfigurationArrayOutputWithContext(context.Context) DomainZonePlanConfigurationArrayOutput +} + +type DomainZonePlanConfigurationArray []DomainZonePlanConfigurationInput + +func (DomainZonePlanConfigurationArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]DomainZonePlanConfiguration)(nil)).Elem() +} + +func (i DomainZonePlanConfigurationArray) ToDomainZonePlanConfigurationArrayOutput() DomainZonePlanConfigurationArrayOutput { + return i.ToDomainZonePlanConfigurationArrayOutputWithContext(context.Background()) +} + +func (i DomainZonePlanConfigurationArray) ToDomainZonePlanConfigurationArrayOutputWithContext(ctx context.Context) DomainZonePlanConfigurationArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(DomainZonePlanConfigurationArrayOutput) +} + +type DomainZonePlanConfigurationOutput struct{ *pulumi.OutputState } + +func (DomainZonePlanConfigurationOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DomainZonePlanConfiguration)(nil)).Elem() +} + +func (o DomainZonePlanConfigurationOutput) ToDomainZonePlanConfigurationOutput() DomainZonePlanConfigurationOutput { + return o +} + +func (o DomainZonePlanConfigurationOutput) ToDomainZonePlanConfigurationOutputWithContext(ctx context.Context) DomainZonePlanConfigurationOutput { + return o +} + +// Identifier of the resource +func (o DomainZonePlanConfigurationOutput) Label() pulumi.StringOutput { + return o.ApplyT(func(v DomainZonePlanConfiguration) string { return v.Label }).(pulumi.StringOutput) +} + +// Path to the resource in API.OVH.COM +func (o DomainZonePlanConfigurationOutput) Value() pulumi.StringOutput { + return o.ApplyT(func(v DomainZonePlanConfiguration) string { return v.Value }).(pulumi.StringOutput) +} + +type DomainZonePlanConfigurationArrayOutput struct{ *pulumi.OutputState } + +func (DomainZonePlanConfigurationArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]DomainZonePlanConfiguration)(nil)).Elem() +} + +func (o DomainZonePlanConfigurationArrayOutput) ToDomainZonePlanConfigurationArrayOutput() DomainZonePlanConfigurationArrayOutput { + return o +} + +func (o DomainZonePlanConfigurationArrayOutput) ToDomainZonePlanConfigurationArrayOutputWithContext(ctx context.Context) DomainZonePlanConfigurationArrayOutput { + return o +} + +func (o DomainZonePlanConfigurationArrayOutput) Index(i pulumi.IntInput) DomainZonePlanConfigurationOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) DomainZonePlanConfiguration { + return vs[0].([]DomainZonePlanConfiguration)[vs[1].(int)] + }).(DomainZonePlanConfigurationOutput) +} + +type DomainZonePlanOption struct { + // Catalog name + CatalogName *string `pulumi:"catalogName"` + // Representation of a configuration item for personalizing product + Configurations []DomainZonePlanOptionConfiguration `pulumi:"configurations"` + // duration + Duration string `pulumi:"duration"` + // Plan code + PlanCode string `pulumi:"planCode"` + // Pricing model identifier + PricingMode string `pulumi:"pricingMode"` +} + +// DomainZonePlanOptionInput is an input type that accepts DomainZonePlanOptionArgs and DomainZonePlanOptionOutput values. +// You can construct a concrete instance of `DomainZonePlanOptionInput` via: +// +// DomainZonePlanOptionArgs{...} +type DomainZonePlanOptionInput interface { + pulumi.Input + + ToDomainZonePlanOptionOutput() DomainZonePlanOptionOutput + ToDomainZonePlanOptionOutputWithContext(context.Context) DomainZonePlanOptionOutput +} + +type DomainZonePlanOptionArgs struct { + // Catalog name + CatalogName pulumi.StringPtrInput `pulumi:"catalogName"` + // Representation of a configuration item for personalizing product + Configurations DomainZonePlanOptionConfigurationArrayInput `pulumi:"configurations"` + // duration + Duration pulumi.StringInput `pulumi:"duration"` + // Plan code + PlanCode pulumi.StringInput `pulumi:"planCode"` + // Pricing model identifier + PricingMode pulumi.StringInput `pulumi:"pricingMode"` +} + +func (DomainZonePlanOptionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*DomainZonePlanOption)(nil)).Elem() +} + +func (i DomainZonePlanOptionArgs) ToDomainZonePlanOptionOutput() DomainZonePlanOptionOutput { + return i.ToDomainZonePlanOptionOutputWithContext(context.Background()) +} + +func (i DomainZonePlanOptionArgs) ToDomainZonePlanOptionOutputWithContext(ctx context.Context) DomainZonePlanOptionOutput { + return pulumi.ToOutputWithContext(ctx, i).(DomainZonePlanOptionOutput) +} + +// DomainZonePlanOptionArrayInput is an input type that accepts DomainZonePlanOptionArray and DomainZonePlanOptionArrayOutput values. +// You can construct a concrete instance of `DomainZonePlanOptionArrayInput` via: +// +// DomainZonePlanOptionArray{ DomainZonePlanOptionArgs{...} } +type DomainZonePlanOptionArrayInput interface { + pulumi.Input + + ToDomainZonePlanOptionArrayOutput() DomainZonePlanOptionArrayOutput + ToDomainZonePlanOptionArrayOutputWithContext(context.Context) DomainZonePlanOptionArrayOutput +} + +type DomainZonePlanOptionArray []DomainZonePlanOptionInput + +func (DomainZonePlanOptionArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]DomainZonePlanOption)(nil)).Elem() +} + +func (i DomainZonePlanOptionArray) ToDomainZonePlanOptionArrayOutput() DomainZonePlanOptionArrayOutput { + return i.ToDomainZonePlanOptionArrayOutputWithContext(context.Background()) +} + +func (i DomainZonePlanOptionArray) ToDomainZonePlanOptionArrayOutputWithContext(ctx context.Context) DomainZonePlanOptionArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(DomainZonePlanOptionArrayOutput) +} + +type DomainZonePlanOptionOutput struct{ *pulumi.OutputState } + +func (DomainZonePlanOptionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DomainZonePlanOption)(nil)).Elem() +} + +func (o DomainZonePlanOptionOutput) ToDomainZonePlanOptionOutput() DomainZonePlanOptionOutput { + return o +} + +func (o DomainZonePlanOptionOutput) ToDomainZonePlanOptionOutputWithContext(ctx context.Context) DomainZonePlanOptionOutput { + return o +} + +// Catalog name +func (o DomainZonePlanOptionOutput) CatalogName() pulumi.StringPtrOutput { + return o.ApplyT(func(v DomainZonePlanOption) *string { return v.CatalogName }).(pulumi.StringPtrOutput) +} + +// Representation of a configuration item for personalizing product +func (o DomainZonePlanOptionOutput) Configurations() DomainZonePlanOptionConfigurationArrayOutput { + return o.ApplyT(func(v DomainZonePlanOption) []DomainZonePlanOptionConfiguration { return v.Configurations }).(DomainZonePlanOptionConfigurationArrayOutput) +} + +// duration +func (o DomainZonePlanOptionOutput) Duration() pulumi.StringOutput { + return o.ApplyT(func(v DomainZonePlanOption) string { return v.Duration }).(pulumi.StringOutput) +} + +// Plan code +func (o DomainZonePlanOptionOutput) PlanCode() pulumi.StringOutput { + return o.ApplyT(func(v DomainZonePlanOption) string { return v.PlanCode }).(pulumi.StringOutput) +} + +// Pricing model identifier +func (o DomainZonePlanOptionOutput) PricingMode() pulumi.StringOutput { + return o.ApplyT(func(v DomainZonePlanOption) string { return v.PricingMode }).(pulumi.StringOutput) +} + +type DomainZonePlanOptionArrayOutput struct{ *pulumi.OutputState } + +func (DomainZonePlanOptionArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]DomainZonePlanOption)(nil)).Elem() +} + +func (o DomainZonePlanOptionArrayOutput) ToDomainZonePlanOptionArrayOutput() DomainZonePlanOptionArrayOutput { + return o +} + +func (o DomainZonePlanOptionArrayOutput) ToDomainZonePlanOptionArrayOutputWithContext(ctx context.Context) DomainZonePlanOptionArrayOutput { + return o +} + +func (o DomainZonePlanOptionArrayOutput) Index(i pulumi.IntInput) DomainZonePlanOptionOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) DomainZonePlanOption { + return vs[0].([]DomainZonePlanOption)[vs[1].(int)] + }).(DomainZonePlanOptionOutput) +} + +type DomainZonePlanOptionConfiguration struct { + // Identifier of the resource + Label string `pulumi:"label"` + // Path to the resource in API.OVH.COM + Value string `pulumi:"value"` +} + +// DomainZonePlanOptionConfigurationInput is an input type that accepts DomainZonePlanOptionConfigurationArgs and DomainZonePlanOptionConfigurationOutput values. +// You can construct a concrete instance of `DomainZonePlanOptionConfigurationInput` via: +// +// DomainZonePlanOptionConfigurationArgs{...} +type DomainZonePlanOptionConfigurationInput interface { + pulumi.Input + + ToDomainZonePlanOptionConfigurationOutput() DomainZonePlanOptionConfigurationOutput + ToDomainZonePlanOptionConfigurationOutputWithContext(context.Context) DomainZonePlanOptionConfigurationOutput +} + +type DomainZonePlanOptionConfigurationArgs struct { + // Identifier of the resource + Label pulumi.StringInput `pulumi:"label"` + // Path to the resource in API.OVH.COM + Value pulumi.StringInput `pulumi:"value"` +} + +func (DomainZonePlanOptionConfigurationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*DomainZonePlanOptionConfiguration)(nil)).Elem() +} + +func (i DomainZonePlanOptionConfigurationArgs) ToDomainZonePlanOptionConfigurationOutput() DomainZonePlanOptionConfigurationOutput { + return i.ToDomainZonePlanOptionConfigurationOutputWithContext(context.Background()) +} + +func (i DomainZonePlanOptionConfigurationArgs) ToDomainZonePlanOptionConfigurationOutputWithContext(ctx context.Context) DomainZonePlanOptionConfigurationOutput { + return pulumi.ToOutputWithContext(ctx, i).(DomainZonePlanOptionConfigurationOutput) +} + +// DomainZonePlanOptionConfigurationArrayInput is an input type that accepts DomainZonePlanOptionConfigurationArray and DomainZonePlanOptionConfigurationArrayOutput values. +// You can construct a concrete instance of `DomainZonePlanOptionConfigurationArrayInput` via: +// +// DomainZonePlanOptionConfigurationArray{ DomainZonePlanOptionConfigurationArgs{...} } +type DomainZonePlanOptionConfigurationArrayInput interface { + pulumi.Input + + ToDomainZonePlanOptionConfigurationArrayOutput() DomainZonePlanOptionConfigurationArrayOutput + ToDomainZonePlanOptionConfigurationArrayOutputWithContext(context.Context) DomainZonePlanOptionConfigurationArrayOutput +} + +type DomainZonePlanOptionConfigurationArray []DomainZonePlanOptionConfigurationInput + +func (DomainZonePlanOptionConfigurationArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]DomainZonePlanOptionConfiguration)(nil)).Elem() +} + +func (i DomainZonePlanOptionConfigurationArray) ToDomainZonePlanOptionConfigurationArrayOutput() DomainZonePlanOptionConfigurationArrayOutput { + return i.ToDomainZonePlanOptionConfigurationArrayOutputWithContext(context.Background()) +} + +func (i DomainZonePlanOptionConfigurationArray) ToDomainZonePlanOptionConfigurationArrayOutputWithContext(ctx context.Context) DomainZonePlanOptionConfigurationArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(DomainZonePlanOptionConfigurationArrayOutput) +} + +type DomainZonePlanOptionConfigurationOutput struct{ *pulumi.OutputState } + +func (DomainZonePlanOptionConfigurationOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DomainZonePlanOptionConfiguration)(nil)).Elem() +} + +func (o DomainZonePlanOptionConfigurationOutput) ToDomainZonePlanOptionConfigurationOutput() DomainZonePlanOptionConfigurationOutput { + return o +} + +func (o DomainZonePlanOptionConfigurationOutput) ToDomainZonePlanOptionConfigurationOutputWithContext(ctx context.Context) DomainZonePlanOptionConfigurationOutput { + return o +} + +// Identifier of the resource +func (o DomainZonePlanOptionConfigurationOutput) Label() pulumi.StringOutput { + return o.ApplyT(func(v DomainZonePlanOptionConfiguration) string { return v.Label }).(pulumi.StringOutput) +} + +// Path to the resource in API.OVH.COM +func (o DomainZonePlanOptionConfigurationOutput) Value() pulumi.StringOutput { + return o.ApplyT(func(v DomainZonePlanOptionConfiguration) string { return v.Value }).(pulumi.StringOutput) +} + +type DomainZonePlanOptionConfigurationArrayOutput struct{ *pulumi.OutputState } + +func (DomainZonePlanOptionConfigurationArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]DomainZonePlanOptionConfiguration)(nil)).Elem() +} + +func (o DomainZonePlanOptionConfigurationArrayOutput) ToDomainZonePlanOptionConfigurationArrayOutput() DomainZonePlanOptionConfigurationArrayOutput { + return o +} + +func (o DomainZonePlanOptionConfigurationArrayOutput) ToDomainZonePlanOptionConfigurationArrayOutputWithContext(ctx context.Context) DomainZonePlanOptionConfigurationArrayOutput { + return o +} + +func (o DomainZonePlanOptionConfigurationArrayOutput) Index(i pulumi.IntInput) DomainZonePlanOptionConfigurationOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) DomainZonePlanOptionConfiguration { + return vs[0].([]DomainZonePlanOptionConfiguration)[vs[1].(int)] + }).(DomainZonePlanOptionConfigurationOutput) +} + +type HostingPrivatedatabaseOrder struct { + // date + Date *string `pulumi:"date"` + // Information about a Bill entry + Details []HostingPrivatedatabaseOrderDetail `pulumi:"details"` + // expiration date + ExpirationDate *string `pulumi:"expirationDate"` + // order id + OrderId *float64 `pulumi:"orderId"` +} + +// HostingPrivatedatabaseOrderInput is an input type that accepts HostingPrivatedatabaseOrderArgs and HostingPrivatedatabaseOrderOutput values. +// You can construct a concrete instance of `HostingPrivatedatabaseOrderInput` via: +// +// HostingPrivatedatabaseOrderArgs{...} +type HostingPrivatedatabaseOrderInput interface { + pulumi.Input + + ToHostingPrivatedatabaseOrderOutput() HostingPrivatedatabaseOrderOutput + ToHostingPrivatedatabaseOrderOutputWithContext(context.Context) HostingPrivatedatabaseOrderOutput +} + +type HostingPrivatedatabaseOrderArgs struct { + // date + Date pulumi.StringPtrInput `pulumi:"date"` + // Information about a Bill entry + Details HostingPrivatedatabaseOrderDetailArrayInput `pulumi:"details"` + // expiration date + ExpirationDate pulumi.StringPtrInput `pulumi:"expirationDate"` + // order id + OrderId pulumi.Float64PtrInput `pulumi:"orderId"` +} + +func (HostingPrivatedatabaseOrderArgs) ElementType() reflect.Type { + return reflect.TypeOf((*HostingPrivatedatabaseOrder)(nil)).Elem() +} + +func (i HostingPrivatedatabaseOrderArgs) ToHostingPrivatedatabaseOrderOutput() HostingPrivatedatabaseOrderOutput { + return i.ToHostingPrivatedatabaseOrderOutputWithContext(context.Background()) +} + +func (i HostingPrivatedatabaseOrderArgs) ToHostingPrivatedatabaseOrderOutputWithContext(ctx context.Context) HostingPrivatedatabaseOrderOutput { + return pulumi.ToOutputWithContext(ctx, i).(HostingPrivatedatabaseOrderOutput) +} + +// HostingPrivatedatabaseOrderArrayInput is an input type that accepts HostingPrivatedatabaseOrderArray and HostingPrivatedatabaseOrderArrayOutput values. +// You can construct a concrete instance of `HostingPrivatedatabaseOrderArrayInput` via: +// +// HostingPrivatedatabaseOrderArray{ HostingPrivatedatabaseOrderArgs{...} } +type HostingPrivatedatabaseOrderArrayInput interface { + pulumi.Input + + ToHostingPrivatedatabaseOrderArrayOutput() HostingPrivatedatabaseOrderArrayOutput + ToHostingPrivatedatabaseOrderArrayOutputWithContext(context.Context) HostingPrivatedatabaseOrderArrayOutput +} + +type HostingPrivatedatabaseOrderArray []HostingPrivatedatabaseOrderInput + +func (HostingPrivatedatabaseOrderArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]HostingPrivatedatabaseOrder)(nil)).Elem() +} + +func (i HostingPrivatedatabaseOrderArray) ToHostingPrivatedatabaseOrderArrayOutput() HostingPrivatedatabaseOrderArrayOutput { + return i.ToHostingPrivatedatabaseOrderArrayOutputWithContext(context.Background()) +} + +func (i HostingPrivatedatabaseOrderArray) ToHostingPrivatedatabaseOrderArrayOutputWithContext(ctx context.Context) HostingPrivatedatabaseOrderArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(HostingPrivatedatabaseOrderArrayOutput) +} + +type HostingPrivatedatabaseOrderOutput struct{ *pulumi.OutputState } + +func (HostingPrivatedatabaseOrderOutput) ElementType() reflect.Type { + return reflect.TypeOf((*HostingPrivatedatabaseOrder)(nil)).Elem() +} + +func (o HostingPrivatedatabaseOrderOutput) ToHostingPrivatedatabaseOrderOutput() HostingPrivatedatabaseOrderOutput { + return o +} + +func (o HostingPrivatedatabaseOrderOutput) ToHostingPrivatedatabaseOrderOutputWithContext(ctx context.Context) HostingPrivatedatabaseOrderOutput { + return o +} + +// date +func (o HostingPrivatedatabaseOrderOutput) Date() pulumi.StringPtrOutput { + return o.ApplyT(func(v HostingPrivatedatabaseOrder) *string { return v.Date }).(pulumi.StringPtrOutput) +} + +// Information about a Bill entry +func (o HostingPrivatedatabaseOrderOutput) Details() HostingPrivatedatabaseOrderDetailArrayOutput { + return o.ApplyT(func(v HostingPrivatedatabaseOrder) []HostingPrivatedatabaseOrderDetail { return v.Details }).(HostingPrivatedatabaseOrderDetailArrayOutput) +} + +// expiration date +func (o HostingPrivatedatabaseOrderOutput) ExpirationDate() pulumi.StringPtrOutput { + return o.ApplyT(func(v HostingPrivatedatabaseOrder) *string { return v.ExpirationDate }).(pulumi.StringPtrOutput) +} + +// order id +func (o HostingPrivatedatabaseOrderOutput) OrderId() pulumi.Float64PtrOutput { + return o.ApplyT(func(v HostingPrivatedatabaseOrder) *float64 { return v.OrderId }).(pulumi.Float64PtrOutput) +} + +type HostingPrivatedatabaseOrderArrayOutput struct{ *pulumi.OutputState } + +func (HostingPrivatedatabaseOrderArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]HostingPrivatedatabaseOrder)(nil)).Elem() +} + +func (o HostingPrivatedatabaseOrderArrayOutput) ToHostingPrivatedatabaseOrderArrayOutput() HostingPrivatedatabaseOrderArrayOutput { + return o +} + +func (o HostingPrivatedatabaseOrderArrayOutput) ToHostingPrivatedatabaseOrderArrayOutputWithContext(ctx context.Context) HostingPrivatedatabaseOrderArrayOutput { + return o +} + +func (o HostingPrivatedatabaseOrderArrayOutput) Index(i pulumi.IntInput) HostingPrivatedatabaseOrderOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) HostingPrivatedatabaseOrder { + return vs[0].([]HostingPrivatedatabaseOrder)[vs[1].(int)] + }).(HostingPrivatedatabaseOrderOutput) +} + +type HostingPrivatedatabaseOrderDetail struct { + Description string `pulumi:"description"` + Domain string `pulumi:"domain"` + OrderDetailId float64 `pulumi:"orderDetailId"` + Quantity string `pulumi:"quantity"` +} + +// HostingPrivatedatabaseOrderDetailInput is an input type that accepts HostingPrivatedatabaseOrderDetailArgs and HostingPrivatedatabaseOrderDetailOutput values. +// You can construct a concrete instance of `HostingPrivatedatabaseOrderDetailInput` via: +// +// HostingPrivatedatabaseOrderDetailArgs{...} +type HostingPrivatedatabaseOrderDetailInput interface { + pulumi.Input + + ToHostingPrivatedatabaseOrderDetailOutput() HostingPrivatedatabaseOrderDetailOutput + ToHostingPrivatedatabaseOrderDetailOutputWithContext(context.Context) HostingPrivatedatabaseOrderDetailOutput +} + +type HostingPrivatedatabaseOrderDetailArgs struct { + Description pulumi.StringInput `pulumi:"description"` + Domain pulumi.StringInput `pulumi:"domain"` + OrderDetailId pulumi.Float64Input `pulumi:"orderDetailId"` + Quantity pulumi.StringInput `pulumi:"quantity"` +} + +func (HostingPrivatedatabaseOrderDetailArgs) ElementType() reflect.Type { + return reflect.TypeOf((*HostingPrivatedatabaseOrderDetail)(nil)).Elem() +} + +func (i HostingPrivatedatabaseOrderDetailArgs) ToHostingPrivatedatabaseOrderDetailOutput() HostingPrivatedatabaseOrderDetailOutput { + return i.ToHostingPrivatedatabaseOrderDetailOutputWithContext(context.Background()) +} + +func (i HostingPrivatedatabaseOrderDetailArgs) ToHostingPrivatedatabaseOrderDetailOutputWithContext(ctx context.Context) HostingPrivatedatabaseOrderDetailOutput { + return pulumi.ToOutputWithContext(ctx, i).(HostingPrivatedatabaseOrderDetailOutput) +} + +// HostingPrivatedatabaseOrderDetailArrayInput is an input type that accepts HostingPrivatedatabaseOrderDetailArray and HostingPrivatedatabaseOrderDetailArrayOutput values. +// You can construct a concrete instance of `HostingPrivatedatabaseOrderDetailArrayInput` via: +// +// HostingPrivatedatabaseOrderDetailArray{ HostingPrivatedatabaseOrderDetailArgs{...} } +type HostingPrivatedatabaseOrderDetailArrayInput interface { + pulumi.Input + + ToHostingPrivatedatabaseOrderDetailArrayOutput() HostingPrivatedatabaseOrderDetailArrayOutput + ToHostingPrivatedatabaseOrderDetailArrayOutputWithContext(context.Context) HostingPrivatedatabaseOrderDetailArrayOutput +} + +type HostingPrivatedatabaseOrderDetailArray []HostingPrivatedatabaseOrderDetailInput + +func (HostingPrivatedatabaseOrderDetailArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]HostingPrivatedatabaseOrderDetail)(nil)).Elem() +} + +func (i HostingPrivatedatabaseOrderDetailArray) ToHostingPrivatedatabaseOrderDetailArrayOutput() HostingPrivatedatabaseOrderDetailArrayOutput { + return i.ToHostingPrivatedatabaseOrderDetailArrayOutputWithContext(context.Background()) +} + +func (i HostingPrivatedatabaseOrderDetailArray) ToHostingPrivatedatabaseOrderDetailArrayOutputWithContext(ctx context.Context) HostingPrivatedatabaseOrderDetailArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(HostingPrivatedatabaseOrderDetailArrayOutput) +} + +type HostingPrivatedatabaseOrderDetailOutput struct{ *pulumi.OutputState } + +func (HostingPrivatedatabaseOrderDetailOutput) ElementType() reflect.Type { + return reflect.TypeOf((*HostingPrivatedatabaseOrderDetail)(nil)).Elem() +} + +func (o HostingPrivatedatabaseOrderDetailOutput) ToHostingPrivatedatabaseOrderDetailOutput() HostingPrivatedatabaseOrderDetailOutput { + return o +} + +func (o HostingPrivatedatabaseOrderDetailOutput) ToHostingPrivatedatabaseOrderDetailOutputWithContext(ctx context.Context) HostingPrivatedatabaseOrderDetailOutput { + return o +} + +func (o HostingPrivatedatabaseOrderDetailOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v HostingPrivatedatabaseOrderDetail) string { return v.Description }).(pulumi.StringOutput) +} + +func (o HostingPrivatedatabaseOrderDetailOutput) Domain() pulumi.StringOutput { + return o.ApplyT(func(v HostingPrivatedatabaseOrderDetail) string { return v.Domain }).(pulumi.StringOutput) +} + +func (o HostingPrivatedatabaseOrderDetailOutput) OrderDetailId() pulumi.Float64Output { + return o.ApplyT(func(v HostingPrivatedatabaseOrderDetail) float64 { return v.OrderDetailId }).(pulumi.Float64Output) +} + +func (o HostingPrivatedatabaseOrderDetailOutput) Quantity() pulumi.StringOutput { + return o.ApplyT(func(v HostingPrivatedatabaseOrderDetail) string { return v.Quantity }).(pulumi.StringOutput) +} + +type HostingPrivatedatabaseOrderDetailArrayOutput struct{ *pulumi.OutputState } + +func (HostingPrivatedatabaseOrderDetailArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]HostingPrivatedatabaseOrderDetail)(nil)).Elem() +} + +func (o HostingPrivatedatabaseOrderDetailArrayOutput) ToHostingPrivatedatabaseOrderDetailArrayOutput() HostingPrivatedatabaseOrderDetailArrayOutput { + return o +} + +func (o HostingPrivatedatabaseOrderDetailArrayOutput) ToHostingPrivatedatabaseOrderDetailArrayOutputWithContext(ctx context.Context) HostingPrivatedatabaseOrderDetailArrayOutput { + return o +} + +func (o HostingPrivatedatabaseOrderDetailArrayOutput) Index(i pulumi.IntInput) HostingPrivatedatabaseOrderDetailOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) HostingPrivatedatabaseOrderDetail { + return vs[0].([]HostingPrivatedatabaseOrderDetail)[vs[1].(int)] + }).(HostingPrivatedatabaseOrderDetailOutput) +} + +type HostingPrivatedatabasePlan struct { + // Catalog name + CatalogName *string `pulumi:"catalogName"` + // Representation of a configuration item for personalizing product + Configurations []HostingPrivatedatabasePlanConfiguration `pulumi:"configurations"` + // duration + Duration string `pulumi:"duration"` + // Plan code + PlanCode string `pulumi:"planCode"` + // Pricing model identifier + PricingMode string `pulumi:"pricingMode"` +} + +// HostingPrivatedatabasePlanInput is an input type that accepts HostingPrivatedatabasePlanArgs and HostingPrivatedatabasePlanOutput values. +// You can construct a concrete instance of `HostingPrivatedatabasePlanInput` via: +// +// HostingPrivatedatabasePlanArgs{...} +type HostingPrivatedatabasePlanInput interface { + pulumi.Input + + ToHostingPrivatedatabasePlanOutput() HostingPrivatedatabasePlanOutput + ToHostingPrivatedatabasePlanOutputWithContext(context.Context) HostingPrivatedatabasePlanOutput +} + +type HostingPrivatedatabasePlanArgs struct { + // Catalog name + CatalogName pulumi.StringPtrInput `pulumi:"catalogName"` + // Representation of a configuration item for personalizing product + Configurations HostingPrivatedatabasePlanConfigurationArrayInput `pulumi:"configurations"` + // duration + Duration pulumi.StringInput `pulumi:"duration"` + // Plan code + PlanCode pulumi.StringInput `pulumi:"planCode"` + // Pricing model identifier + PricingMode pulumi.StringInput `pulumi:"pricingMode"` +} + +func (HostingPrivatedatabasePlanArgs) ElementType() reflect.Type { + return reflect.TypeOf((*HostingPrivatedatabasePlan)(nil)).Elem() +} + +func (i HostingPrivatedatabasePlanArgs) ToHostingPrivatedatabasePlanOutput() HostingPrivatedatabasePlanOutput { + return i.ToHostingPrivatedatabasePlanOutputWithContext(context.Background()) +} + +func (i HostingPrivatedatabasePlanArgs) ToHostingPrivatedatabasePlanOutputWithContext(ctx context.Context) HostingPrivatedatabasePlanOutput { + return pulumi.ToOutputWithContext(ctx, i).(HostingPrivatedatabasePlanOutput) +} + +func (i HostingPrivatedatabasePlanArgs) ToHostingPrivatedatabasePlanPtrOutput() HostingPrivatedatabasePlanPtrOutput { + return i.ToHostingPrivatedatabasePlanPtrOutputWithContext(context.Background()) +} + +func (i HostingPrivatedatabasePlanArgs) ToHostingPrivatedatabasePlanPtrOutputWithContext(ctx context.Context) HostingPrivatedatabasePlanPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(HostingPrivatedatabasePlanOutput).ToHostingPrivatedatabasePlanPtrOutputWithContext(ctx) +} + +// HostingPrivatedatabasePlanPtrInput is an input type that accepts HostingPrivatedatabasePlanArgs, HostingPrivatedatabasePlanPtr and HostingPrivatedatabasePlanPtrOutput values. +// You can construct a concrete instance of `HostingPrivatedatabasePlanPtrInput` via: +// +// HostingPrivatedatabasePlanArgs{...} +// +// or: +// +// nil +type HostingPrivatedatabasePlanPtrInput interface { + pulumi.Input + + ToHostingPrivatedatabasePlanPtrOutput() HostingPrivatedatabasePlanPtrOutput + ToHostingPrivatedatabasePlanPtrOutputWithContext(context.Context) HostingPrivatedatabasePlanPtrOutput +} + +type hostingPrivatedatabasePlanPtrType HostingPrivatedatabasePlanArgs + +func HostingPrivatedatabasePlanPtr(v *HostingPrivatedatabasePlanArgs) HostingPrivatedatabasePlanPtrInput { + return (*hostingPrivatedatabasePlanPtrType)(v) +} + +func (*hostingPrivatedatabasePlanPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**HostingPrivatedatabasePlan)(nil)).Elem() +} + +func (i *hostingPrivatedatabasePlanPtrType) ToHostingPrivatedatabasePlanPtrOutput() HostingPrivatedatabasePlanPtrOutput { + return i.ToHostingPrivatedatabasePlanPtrOutputWithContext(context.Background()) +} + +func (i *hostingPrivatedatabasePlanPtrType) ToHostingPrivatedatabasePlanPtrOutputWithContext(ctx context.Context) HostingPrivatedatabasePlanPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(HostingPrivatedatabasePlanPtrOutput) +} + +type HostingPrivatedatabasePlanOutput struct{ *pulumi.OutputState } + +func (HostingPrivatedatabasePlanOutput) ElementType() reflect.Type { + return reflect.TypeOf((*HostingPrivatedatabasePlan)(nil)).Elem() +} + +func (o HostingPrivatedatabasePlanOutput) ToHostingPrivatedatabasePlanOutput() HostingPrivatedatabasePlanOutput { + return o +} + +func (o HostingPrivatedatabasePlanOutput) ToHostingPrivatedatabasePlanOutputWithContext(ctx context.Context) HostingPrivatedatabasePlanOutput { + return o +} + +func (o HostingPrivatedatabasePlanOutput) ToHostingPrivatedatabasePlanPtrOutput() HostingPrivatedatabasePlanPtrOutput { + return o.ToHostingPrivatedatabasePlanPtrOutputWithContext(context.Background()) +} + +func (o HostingPrivatedatabasePlanOutput) ToHostingPrivatedatabasePlanPtrOutputWithContext(ctx context.Context) HostingPrivatedatabasePlanPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v HostingPrivatedatabasePlan) *HostingPrivatedatabasePlan { + return &v + }).(HostingPrivatedatabasePlanPtrOutput) +} + +// Catalog name +func (o HostingPrivatedatabasePlanOutput) CatalogName() pulumi.StringPtrOutput { + return o.ApplyT(func(v HostingPrivatedatabasePlan) *string { return v.CatalogName }).(pulumi.StringPtrOutput) +} + +// Representation of a configuration item for personalizing product +func (o HostingPrivatedatabasePlanOutput) Configurations() HostingPrivatedatabasePlanConfigurationArrayOutput { + return o.ApplyT(func(v HostingPrivatedatabasePlan) []HostingPrivatedatabasePlanConfiguration { return v.Configurations }).(HostingPrivatedatabasePlanConfigurationArrayOutput) +} + +// duration +func (o HostingPrivatedatabasePlanOutput) Duration() pulumi.StringOutput { + return o.ApplyT(func(v HostingPrivatedatabasePlan) string { return v.Duration }).(pulumi.StringOutput) +} + +// Plan code +func (o HostingPrivatedatabasePlanOutput) PlanCode() pulumi.StringOutput { + return o.ApplyT(func(v HostingPrivatedatabasePlan) string { return v.PlanCode }).(pulumi.StringOutput) +} + +// Pricing model identifier +func (o HostingPrivatedatabasePlanOutput) PricingMode() pulumi.StringOutput { + return o.ApplyT(func(v HostingPrivatedatabasePlan) string { return v.PricingMode }).(pulumi.StringOutput) +} + +type HostingPrivatedatabasePlanPtrOutput struct{ *pulumi.OutputState } + +func (HostingPrivatedatabasePlanPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**HostingPrivatedatabasePlan)(nil)).Elem() +} + +func (o HostingPrivatedatabasePlanPtrOutput) ToHostingPrivatedatabasePlanPtrOutput() HostingPrivatedatabasePlanPtrOutput { + return o +} + +func (o HostingPrivatedatabasePlanPtrOutput) ToHostingPrivatedatabasePlanPtrOutputWithContext(ctx context.Context) HostingPrivatedatabasePlanPtrOutput { + return o +} + +func (o HostingPrivatedatabasePlanPtrOutput) Elem() HostingPrivatedatabasePlanOutput { + return o.ApplyT(func(v *HostingPrivatedatabasePlan) HostingPrivatedatabasePlan { + if v != nil { + return *v + } + var ret HostingPrivatedatabasePlan + return ret + }).(HostingPrivatedatabasePlanOutput) +} + +// Catalog name +func (o HostingPrivatedatabasePlanPtrOutput) CatalogName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *HostingPrivatedatabasePlan) *string { + if v == nil { + return nil + } + return v.CatalogName + }).(pulumi.StringPtrOutput) +} + +// Representation of a configuration item for personalizing product +func (o HostingPrivatedatabasePlanPtrOutput) Configurations() HostingPrivatedatabasePlanConfigurationArrayOutput { + return o.ApplyT(func(v *HostingPrivatedatabasePlan) []HostingPrivatedatabasePlanConfiguration { + if v == nil { + return nil + } + return v.Configurations + }).(HostingPrivatedatabasePlanConfigurationArrayOutput) +} + +// duration +func (o HostingPrivatedatabasePlanPtrOutput) Duration() pulumi.StringPtrOutput { + return o.ApplyT(func(v *HostingPrivatedatabasePlan) *string { + if v == nil { + return nil + } + return &v.Duration + }).(pulumi.StringPtrOutput) +} + +// Plan code +func (o HostingPrivatedatabasePlanPtrOutput) PlanCode() pulumi.StringPtrOutput { + return o.ApplyT(func(v *HostingPrivatedatabasePlan) *string { + if v == nil { + return nil + } + return &v.PlanCode + }).(pulumi.StringPtrOutput) +} + +// Pricing model identifier +func (o HostingPrivatedatabasePlanPtrOutput) PricingMode() pulumi.StringPtrOutput { + return o.ApplyT(func(v *HostingPrivatedatabasePlan) *string { + if v == nil { + return nil + } + return &v.PricingMode + }).(pulumi.StringPtrOutput) +} + +type HostingPrivatedatabasePlanConfiguration struct { + // Identifier of the resource + Label string `pulumi:"label"` + // Path to the resource in API.OVH.COM + Value string `pulumi:"value"` +} + +// HostingPrivatedatabasePlanConfigurationInput is an input type that accepts HostingPrivatedatabasePlanConfigurationArgs and HostingPrivatedatabasePlanConfigurationOutput values. +// You can construct a concrete instance of `HostingPrivatedatabasePlanConfigurationInput` via: +// +// HostingPrivatedatabasePlanConfigurationArgs{...} +type HostingPrivatedatabasePlanConfigurationInput interface { + pulumi.Input + + ToHostingPrivatedatabasePlanConfigurationOutput() HostingPrivatedatabasePlanConfigurationOutput + ToHostingPrivatedatabasePlanConfigurationOutputWithContext(context.Context) HostingPrivatedatabasePlanConfigurationOutput +} + +type HostingPrivatedatabasePlanConfigurationArgs struct { + // Identifier of the resource + Label pulumi.StringInput `pulumi:"label"` + // Path to the resource in API.OVH.COM + Value pulumi.StringInput `pulumi:"value"` +} + +func (HostingPrivatedatabasePlanConfigurationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*HostingPrivatedatabasePlanConfiguration)(nil)).Elem() +} + +func (i HostingPrivatedatabasePlanConfigurationArgs) ToHostingPrivatedatabasePlanConfigurationOutput() HostingPrivatedatabasePlanConfigurationOutput { + return i.ToHostingPrivatedatabasePlanConfigurationOutputWithContext(context.Background()) +} + +func (i HostingPrivatedatabasePlanConfigurationArgs) ToHostingPrivatedatabasePlanConfigurationOutputWithContext(ctx context.Context) HostingPrivatedatabasePlanConfigurationOutput { + return pulumi.ToOutputWithContext(ctx, i).(HostingPrivatedatabasePlanConfigurationOutput) +} + +// HostingPrivatedatabasePlanConfigurationArrayInput is an input type that accepts HostingPrivatedatabasePlanConfigurationArray and HostingPrivatedatabasePlanConfigurationArrayOutput values. +// You can construct a concrete instance of `HostingPrivatedatabasePlanConfigurationArrayInput` via: +// +// HostingPrivatedatabasePlanConfigurationArray{ HostingPrivatedatabasePlanConfigurationArgs{...} } +type HostingPrivatedatabasePlanConfigurationArrayInput interface { + pulumi.Input + + ToHostingPrivatedatabasePlanConfigurationArrayOutput() HostingPrivatedatabasePlanConfigurationArrayOutput + ToHostingPrivatedatabasePlanConfigurationArrayOutputWithContext(context.Context) HostingPrivatedatabasePlanConfigurationArrayOutput +} + +type HostingPrivatedatabasePlanConfigurationArray []HostingPrivatedatabasePlanConfigurationInput + +func (HostingPrivatedatabasePlanConfigurationArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]HostingPrivatedatabasePlanConfiguration)(nil)).Elem() +} + +func (i HostingPrivatedatabasePlanConfigurationArray) ToHostingPrivatedatabasePlanConfigurationArrayOutput() HostingPrivatedatabasePlanConfigurationArrayOutput { + return i.ToHostingPrivatedatabasePlanConfigurationArrayOutputWithContext(context.Background()) +} + +func (i HostingPrivatedatabasePlanConfigurationArray) ToHostingPrivatedatabasePlanConfigurationArrayOutputWithContext(ctx context.Context) HostingPrivatedatabasePlanConfigurationArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(HostingPrivatedatabasePlanConfigurationArrayOutput) +} + +type HostingPrivatedatabasePlanConfigurationOutput struct{ *pulumi.OutputState } + +func (HostingPrivatedatabasePlanConfigurationOutput) ElementType() reflect.Type { + return reflect.TypeOf((*HostingPrivatedatabasePlanConfiguration)(nil)).Elem() +} + +func (o HostingPrivatedatabasePlanConfigurationOutput) ToHostingPrivatedatabasePlanConfigurationOutput() HostingPrivatedatabasePlanConfigurationOutput { + return o +} + +func (o HostingPrivatedatabasePlanConfigurationOutput) ToHostingPrivatedatabasePlanConfigurationOutputWithContext(ctx context.Context) HostingPrivatedatabasePlanConfigurationOutput { + return o +} + +// Identifier of the resource +func (o HostingPrivatedatabasePlanConfigurationOutput) Label() pulumi.StringOutput { + return o.ApplyT(func(v HostingPrivatedatabasePlanConfiguration) string { return v.Label }).(pulumi.StringOutput) +} + +// Path to the resource in API.OVH.COM +func (o HostingPrivatedatabasePlanConfigurationOutput) Value() pulumi.StringOutput { + return o.ApplyT(func(v HostingPrivatedatabasePlanConfiguration) string { return v.Value }).(pulumi.StringOutput) +} + +type HostingPrivatedatabasePlanConfigurationArrayOutput struct{ *pulumi.OutputState } + +func (HostingPrivatedatabasePlanConfigurationArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]HostingPrivatedatabasePlanConfiguration)(nil)).Elem() +} + +func (o HostingPrivatedatabasePlanConfigurationArrayOutput) ToHostingPrivatedatabasePlanConfigurationArrayOutput() HostingPrivatedatabasePlanConfigurationArrayOutput { + return o +} + +func (o HostingPrivatedatabasePlanConfigurationArrayOutput) ToHostingPrivatedatabasePlanConfigurationArrayOutputWithContext(ctx context.Context) HostingPrivatedatabasePlanConfigurationArrayOutput { + return o +} + +func (o HostingPrivatedatabasePlanConfigurationArrayOutput) Index(i pulumi.IntInput) HostingPrivatedatabasePlanConfigurationOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) HostingPrivatedatabasePlanConfiguration { + return vs[0].([]HostingPrivatedatabasePlanConfiguration)[vs[1].(int)] + }).(HostingPrivatedatabasePlanConfigurationOutput) +} + +type HostingPrivatedatabasePlanOption struct { + // Catalog name + CatalogName *string `pulumi:"catalogName"` + // Representation of a configuration item for personalizing product + Configurations []HostingPrivatedatabasePlanOptionConfiguration `pulumi:"configurations"` + // duration + Duration string `pulumi:"duration"` + // Plan code + PlanCode string `pulumi:"planCode"` + // Pricing model identifier + PricingMode string `pulumi:"pricingMode"` +} + +// HostingPrivatedatabasePlanOptionInput is an input type that accepts HostingPrivatedatabasePlanOptionArgs and HostingPrivatedatabasePlanOptionOutput values. +// You can construct a concrete instance of `HostingPrivatedatabasePlanOptionInput` via: +// +// HostingPrivatedatabasePlanOptionArgs{...} +type HostingPrivatedatabasePlanOptionInput interface { + pulumi.Input + + ToHostingPrivatedatabasePlanOptionOutput() HostingPrivatedatabasePlanOptionOutput + ToHostingPrivatedatabasePlanOptionOutputWithContext(context.Context) HostingPrivatedatabasePlanOptionOutput +} + +type HostingPrivatedatabasePlanOptionArgs struct { + // Catalog name + CatalogName pulumi.StringPtrInput `pulumi:"catalogName"` + // Representation of a configuration item for personalizing product + Configurations HostingPrivatedatabasePlanOptionConfigurationArrayInput `pulumi:"configurations"` + // duration + Duration pulumi.StringInput `pulumi:"duration"` + // Plan code + PlanCode pulumi.StringInput `pulumi:"planCode"` + // Pricing model identifier + PricingMode pulumi.StringInput `pulumi:"pricingMode"` +} + +func (HostingPrivatedatabasePlanOptionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*HostingPrivatedatabasePlanOption)(nil)).Elem() +} + +func (i HostingPrivatedatabasePlanOptionArgs) ToHostingPrivatedatabasePlanOptionOutput() HostingPrivatedatabasePlanOptionOutput { + return i.ToHostingPrivatedatabasePlanOptionOutputWithContext(context.Background()) +} + +func (i HostingPrivatedatabasePlanOptionArgs) ToHostingPrivatedatabasePlanOptionOutputWithContext(ctx context.Context) HostingPrivatedatabasePlanOptionOutput { + return pulumi.ToOutputWithContext(ctx, i).(HostingPrivatedatabasePlanOptionOutput) +} + +// HostingPrivatedatabasePlanOptionArrayInput is an input type that accepts HostingPrivatedatabasePlanOptionArray and HostingPrivatedatabasePlanOptionArrayOutput values. +// You can construct a concrete instance of `HostingPrivatedatabasePlanOptionArrayInput` via: +// +// HostingPrivatedatabasePlanOptionArray{ HostingPrivatedatabasePlanOptionArgs{...} } +type HostingPrivatedatabasePlanOptionArrayInput interface { + pulumi.Input + + ToHostingPrivatedatabasePlanOptionArrayOutput() HostingPrivatedatabasePlanOptionArrayOutput + ToHostingPrivatedatabasePlanOptionArrayOutputWithContext(context.Context) HostingPrivatedatabasePlanOptionArrayOutput +} + +type HostingPrivatedatabasePlanOptionArray []HostingPrivatedatabasePlanOptionInput + +func (HostingPrivatedatabasePlanOptionArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]HostingPrivatedatabasePlanOption)(nil)).Elem() +} + +func (i HostingPrivatedatabasePlanOptionArray) ToHostingPrivatedatabasePlanOptionArrayOutput() HostingPrivatedatabasePlanOptionArrayOutput { + return i.ToHostingPrivatedatabasePlanOptionArrayOutputWithContext(context.Background()) +} + +func (i HostingPrivatedatabasePlanOptionArray) ToHostingPrivatedatabasePlanOptionArrayOutputWithContext(ctx context.Context) HostingPrivatedatabasePlanOptionArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(HostingPrivatedatabasePlanOptionArrayOutput) +} + +type HostingPrivatedatabasePlanOptionOutput struct{ *pulumi.OutputState } + +func (HostingPrivatedatabasePlanOptionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*HostingPrivatedatabasePlanOption)(nil)).Elem() +} + +func (o HostingPrivatedatabasePlanOptionOutput) ToHostingPrivatedatabasePlanOptionOutput() HostingPrivatedatabasePlanOptionOutput { + return o +} + +func (o HostingPrivatedatabasePlanOptionOutput) ToHostingPrivatedatabasePlanOptionOutputWithContext(ctx context.Context) HostingPrivatedatabasePlanOptionOutput { + return o +} + +// Catalog name +func (o HostingPrivatedatabasePlanOptionOutput) CatalogName() pulumi.StringPtrOutput { + return o.ApplyT(func(v HostingPrivatedatabasePlanOption) *string { return v.CatalogName }).(pulumi.StringPtrOutput) +} + +// Representation of a configuration item for personalizing product +func (o HostingPrivatedatabasePlanOptionOutput) Configurations() HostingPrivatedatabasePlanOptionConfigurationArrayOutput { + return o.ApplyT(func(v HostingPrivatedatabasePlanOption) []HostingPrivatedatabasePlanOptionConfiguration { + return v.Configurations + }).(HostingPrivatedatabasePlanOptionConfigurationArrayOutput) +} + +// duration +func (o HostingPrivatedatabasePlanOptionOutput) Duration() pulumi.StringOutput { + return o.ApplyT(func(v HostingPrivatedatabasePlanOption) string { return v.Duration }).(pulumi.StringOutput) +} + +// Plan code +func (o HostingPrivatedatabasePlanOptionOutput) PlanCode() pulumi.StringOutput { + return o.ApplyT(func(v HostingPrivatedatabasePlanOption) string { return v.PlanCode }).(pulumi.StringOutput) +} + +// Pricing model identifier +func (o HostingPrivatedatabasePlanOptionOutput) PricingMode() pulumi.StringOutput { + return o.ApplyT(func(v HostingPrivatedatabasePlanOption) string { return v.PricingMode }).(pulumi.StringOutput) +} + +type HostingPrivatedatabasePlanOptionArrayOutput struct{ *pulumi.OutputState } + +func (HostingPrivatedatabasePlanOptionArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]HostingPrivatedatabasePlanOption)(nil)).Elem() +} + +func (o HostingPrivatedatabasePlanOptionArrayOutput) ToHostingPrivatedatabasePlanOptionArrayOutput() HostingPrivatedatabasePlanOptionArrayOutput { + return o +} + +func (o HostingPrivatedatabasePlanOptionArrayOutput) ToHostingPrivatedatabasePlanOptionArrayOutputWithContext(ctx context.Context) HostingPrivatedatabasePlanOptionArrayOutput { + return o +} + +func (o HostingPrivatedatabasePlanOptionArrayOutput) Index(i pulumi.IntInput) HostingPrivatedatabasePlanOptionOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) HostingPrivatedatabasePlanOption { + return vs[0].([]HostingPrivatedatabasePlanOption)[vs[1].(int)] + }).(HostingPrivatedatabasePlanOptionOutput) +} + +type HostingPrivatedatabasePlanOptionConfiguration struct { + // Identifier of the resource + Label string `pulumi:"label"` + // Path to the resource in API.OVH.COM + Value string `pulumi:"value"` +} + +// HostingPrivatedatabasePlanOptionConfigurationInput is an input type that accepts HostingPrivatedatabasePlanOptionConfigurationArgs and HostingPrivatedatabasePlanOptionConfigurationOutput values. +// You can construct a concrete instance of `HostingPrivatedatabasePlanOptionConfigurationInput` via: +// +// HostingPrivatedatabasePlanOptionConfigurationArgs{...} +type HostingPrivatedatabasePlanOptionConfigurationInput interface { + pulumi.Input + + ToHostingPrivatedatabasePlanOptionConfigurationOutput() HostingPrivatedatabasePlanOptionConfigurationOutput + ToHostingPrivatedatabasePlanOptionConfigurationOutputWithContext(context.Context) HostingPrivatedatabasePlanOptionConfigurationOutput +} + +type HostingPrivatedatabasePlanOptionConfigurationArgs struct { + // Identifier of the resource + Label pulumi.StringInput `pulumi:"label"` + // Path to the resource in API.OVH.COM + Value pulumi.StringInput `pulumi:"value"` +} + +func (HostingPrivatedatabasePlanOptionConfigurationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*HostingPrivatedatabasePlanOptionConfiguration)(nil)).Elem() +} + +func (i HostingPrivatedatabasePlanOptionConfigurationArgs) ToHostingPrivatedatabasePlanOptionConfigurationOutput() HostingPrivatedatabasePlanOptionConfigurationOutput { + return i.ToHostingPrivatedatabasePlanOptionConfigurationOutputWithContext(context.Background()) +} + +func (i HostingPrivatedatabasePlanOptionConfigurationArgs) ToHostingPrivatedatabasePlanOptionConfigurationOutputWithContext(ctx context.Context) HostingPrivatedatabasePlanOptionConfigurationOutput { + return pulumi.ToOutputWithContext(ctx, i).(HostingPrivatedatabasePlanOptionConfigurationOutput) +} + +// HostingPrivatedatabasePlanOptionConfigurationArrayInput is an input type that accepts HostingPrivatedatabasePlanOptionConfigurationArray and HostingPrivatedatabasePlanOptionConfigurationArrayOutput values. +// You can construct a concrete instance of `HostingPrivatedatabasePlanOptionConfigurationArrayInput` via: +// +// HostingPrivatedatabasePlanOptionConfigurationArray{ HostingPrivatedatabasePlanOptionConfigurationArgs{...} } +type HostingPrivatedatabasePlanOptionConfigurationArrayInput interface { + pulumi.Input + + ToHostingPrivatedatabasePlanOptionConfigurationArrayOutput() HostingPrivatedatabasePlanOptionConfigurationArrayOutput + ToHostingPrivatedatabasePlanOptionConfigurationArrayOutputWithContext(context.Context) HostingPrivatedatabasePlanOptionConfigurationArrayOutput +} + +type HostingPrivatedatabasePlanOptionConfigurationArray []HostingPrivatedatabasePlanOptionConfigurationInput + +func (HostingPrivatedatabasePlanOptionConfigurationArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]HostingPrivatedatabasePlanOptionConfiguration)(nil)).Elem() +} + +func (i HostingPrivatedatabasePlanOptionConfigurationArray) ToHostingPrivatedatabasePlanOptionConfigurationArrayOutput() HostingPrivatedatabasePlanOptionConfigurationArrayOutput { + return i.ToHostingPrivatedatabasePlanOptionConfigurationArrayOutputWithContext(context.Background()) +} + +func (i HostingPrivatedatabasePlanOptionConfigurationArray) ToHostingPrivatedatabasePlanOptionConfigurationArrayOutputWithContext(ctx context.Context) HostingPrivatedatabasePlanOptionConfigurationArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(HostingPrivatedatabasePlanOptionConfigurationArrayOutput) +} + +type HostingPrivatedatabasePlanOptionConfigurationOutput struct{ *pulumi.OutputState } + +func (HostingPrivatedatabasePlanOptionConfigurationOutput) ElementType() reflect.Type { + return reflect.TypeOf((*HostingPrivatedatabasePlanOptionConfiguration)(nil)).Elem() +} + +func (o HostingPrivatedatabasePlanOptionConfigurationOutput) ToHostingPrivatedatabasePlanOptionConfigurationOutput() HostingPrivatedatabasePlanOptionConfigurationOutput { + return o +} + +func (o HostingPrivatedatabasePlanOptionConfigurationOutput) ToHostingPrivatedatabasePlanOptionConfigurationOutputWithContext(ctx context.Context) HostingPrivatedatabasePlanOptionConfigurationOutput { + return o +} + +// Identifier of the resource +func (o HostingPrivatedatabasePlanOptionConfigurationOutput) Label() pulumi.StringOutput { + return o.ApplyT(func(v HostingPrivatedatabasePlanOptionConfiguration) string { return v.Label }).(pulumi.StringOutput) +} + +// Path to the resource in API.OVH.COM +func (o HostingPrivatedatabasePlanOptionConfigurationOutput) Value() pulumi.StringOutput { + return o.ApplyT(func(v HostingPrivatedatabasePlanOptionConfiguration) string { return v.Value }).(pulumi.StringOutput) +} + +type HostingPrivatedatabasePlanOptionConfigurationArrayOutput struct{ *pulumi.OutputState } + +func (HostingPrivatedatabasePlanOptionConfigurationArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]HostingPrivatedatabasePlanOptionConfiguration)(nil)).Elem() +} + +func (o HostingPrivatedatabasePlanOptionConfigurationArrayOutput) ToHostingPrivatedatabasePlanOptionConfigurationArrayOutput() HostingPrivatedatabasePlanOptionConfigurationArrayOutput { + return o +} + +func (o HostingPrivatedatabasePlanOptionConfigurationArrayOutput) ToHostingPrivatedatabasePlanOptionConfigurationArrayOutputWithContext(ctx context.Context) HostingPrivatedatabasePlanOptionConfigurationArrayOutput { + return o +} + +func (o HostingPrivatedatabasePlanOptionConfigurationArrayOutput) Index(i pulumi.IntInput) HostingPrivatedatabasePlanOptionConfigurationOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) HostingPrivatedatabasePlanOptionConfiguration { + return vs[0].([]HostingPrivatedatabasePlanOptionConfiguration)[vs[1].(int)] + }).(HostingPrivatedatabasePlanOptionConfigurationOutput) +} + +type IpMoveRoutedTo struct { + // Service where ip is routed to + ServiceName string `pulumi:"serviceName"` +} + +// IpMoveRoutedToInput is an input type that accepts IpMoveRoutedToArgs and IpMoveRoutedToOutput values. +// You can construct a concrete instance of `IpMoveRoutedToInput` via: +// +// IpMoveRoutedToArgs{...} +type IpMoveRoutedToInput interface { + pulumi.Input + + ToIpMoveRoutedToOutput() IpMoveRoutedToOutput + ToIpMoveRoutedToOutputWithContext(context.Context) IpMoveRoutedToOutput +} + +type IpMoveRoutedToArgs struct { + // Service where ip is routed to + ServiceName pulumi.StringInput `pulumi:"serviceName"` +} + +func (IpMoveRoutedToArgs) ElementType() reflect.Type { + return reflect.TypeOf((*IpMoveRoutedTo)(nil)).Elem() +} + +func (i IpMoveRoutedToArgs) ToIpMoveRoutedToOutput() IpMoveRoutedToOutput { + return i.ToIpMoveRoutedToOutputWithContext(context.Background()) +} + +func (i IpMoveRoutedToArgs) ToIpMoveRoutedToOutputWithContext(ctx context.Context) IpMoveRoutedToOutput { + return pulumi.ToOutputWithContext(ctx, i).(IpMoveRoutedToOutput) +} + +func (i IpMoveRoutedToArgs) ToIpMoveRoutedToPtrOutput() IpMoveRoutedToPtrOutput { + return i.ToIpMoveRoutedToPtrOutputWithContext(context.Background()) +} + +func (i IpMoveRoutedToArgs) ToIpMoveRoutedToPtrOutputWithContext(ctx context.Context) IpMoveRoutedToPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(IpMoveRoutedToOutput).ToIpMoveRoutedToPtrOutputWithContext(ctx) +} + +// IpMoveRoutedToPtrInput is an input type that accepts IpMoveRoutedToArgs, IpMoveRoutedToPtr and IpMoveRoutedToPtrOutput values. +// You can construct a concrete instance of `IpMoveRoutedToPtrInput` via: +// +// IpMoveRoutedToArgs{...} +// +// or: +// +// nil +type IpMoveRoutedToPtrInput interface { + pulumi.Input + + ToIpMoveRoutedToPtrOutput() IpMoveRoutedToPtrOutput + ToIpMoveRoutedToPtrOutputWithContext(context.Context) IpMoveRoutedToPtrOutput +} + +type ipMoveRoutedToPtrType IpMoveRoutedToArgs + +func IpMoveRoutedToPtr(v *IpMoveRoutedToArgs) IpMoveRoutedToPtrInput { + return (*ipMoveRoutedToPtrType)(v) +} + +func (*ipMoveRoutedToPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**IpMoveRoutedTo)(nil)).Elem() +} + +func (i *ipMoveRoutedToPtrType) ToIpMoveRoutedToPtrOutput() IpMoveRoutedToPtrOutput { + return i.ToIpMoveRoutedToPtrOutputWithContext(context.Background()) +} + +func (i *ipMoveRoutedToPtrType) ToIpMoveRoutedToPtrOutputWithContext(ctx context.Context) IpMoveRoutedToPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(IpMoveRoutedToPtrOutput) +} + +type IpMoveRoutedToOutput struct{ *pulumi.OutputState } + +func (IpMoveRoutedToOutput) ElementType() reflect.Type { + return reflect.TypeOf((*IpMoveRoutedTo)(nil)).Elem() +} + +func (o IpMoveRoutedToOutput) ToIpMoveRoutedToOutput() IpMoveRoutedToOutput { + return o +} + +func (o IpMoveRoutedToOutput) ToIpMoveRoutedToOutputWithContext(ctx context.Context) IpMoveRoutedToOutput { + return o +} + +func (o IpMoveRoutedToOutput) ToIpMoveRoutedToPtrOutput() IpMoveRoutedToPtrOutput { + return o.ToIpMoveRoutedToPtrOutputWithContext(context.Background()) +} + +func (o IpMoveRoutedToOutput) ToIpMoveRoutedToPtrOutputWithContext(ctx context.Context) IpMoveRoutedToPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v IpMoveRoutedTo) *IpMoveRoutedTo { + return &v + }).(IpMoveRoutedToPtrOutput) +} + +// Service where ip is routed to +func (o IpMoveRoutedToOutput) ServiceName() pulumi.StringOutput { + return o.ApplyT(func(v IpMoveRoutedTo) string { return v.ServiceName }).(pulumi.StringOutput) +} + +type IpMoveRoutedToPtrOutput struct{ *pulumi.OutputState } + +func (IpMoveRoutedToPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**IpMoveRoutedTo)(nil)).Elem() +} + +func (o IpMoveRoutedToPtrOutput) ToIpMoveRoutedToPtrOutput() IpMoveRoutedToPtrOutput { + return o +} + +func (o IpMoveRoutedToPtrOutput) ToIpMoveRoutedToPtrOutputWithContext(ctx context.Context) IpMoveRoutedToPtrOutput { + return o +} + +func (o IpMoveRoutedToPtrOutput) Elem() IpMoveRoutedToOutput { + return o.ApplyT(func(v *IpMoveRoutedTo) IpMoveRoutedTo { + if v != nil { + return *v + } + var ret IpMoveRoutedTo + return ret + }).(IpMoveRoutedToOutput) +} + +// Service where ip is routed to +func (o IpMoveRoutedToPtrOutput) ServiceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *IpMoveRoutedTo) *string { + if v == nil { + return nil + } + return &v.ServiceName + }).(pulumi.StringPtrOutput) +} + +type IpServiceOrder struct { + // date + Date *string `pulumi:"date"` + // Information about a Bill entry + Details []IpServiceOrderDetail `pulumi:"details"` + // expiration date + ExpirationDate *string `pulumi:"expirationDate"` + // order id + OrderId *float64 `pulumi:"orderId"` +} + +// IpServiceOrderInput is an input type that accepts IpServiceOrderArgs and IpServiceOrderOutput values. +// You can construct a concrete instance of `IpServiceOrderInput` via: +// +// IpServiceOrderArgs{...} +type IpServiceOrderInput interface { + pulumi.Input + + ToIpServiceOrderOutput() IpServiceOrderOutput + ToIpServiceOrderOutputWithContext(context.Context) IpServiceOrderOutput +} + +type IpServiceOrderArgs struct { + // date + Date pulumi.StringPtrInput `pulumi:"date"` + // Information about a Bill entry + Details IpServiceOrderDetailArrayInput `pulumi:"details"` + // expiration date + ExpirationDate pulumi.StringPtrInput `pulumi:"expirationDate"` + // order id + OrderId pulumi.Float64PtrInput `pulumi:"orderId"` +} + +func (IpServiceOrderArgs) ElementType() reflect.Type { + return reflect.TypeOf((*IpServiceOrder)(nil)).Elem() +} + +func (i IpServiceOrderArgs) ToIpServiceOrderOutput() IpServiceOrderOutput { + return i.ToIpServiceOrderOutputWithContext(context.Background()) +} + +func (i IpServiceOrderArgs) ToIpServiceOrderOutputWithContext(ctx context.Context) IpServiceOrderOutput { + return pulumi.ToOutputWithContext(ctx, i).(IpServiceOrderOutput) +} + +// IpServiceOrderArrayInput is an input type that accepts IpServiceOrderArray and IpServiceOrderArrayOutput values. +// You can construct a concrete instance of `IpServiceOrderArrayInput` via: +// +// IpServiceOrderArray{ IpServiceOrderArgs{...} } +type IpServiceOrderArrayInput interface { + pulumi.Input + + ToIpServiceOrderArrayOutput() IpServiceOrderArrayOutput + ToIpServiceOrderArrayOutputWithContext(context.Context) IpServiceOrderArrayOutput +} + +type IpServiceOrderArray []IpServiceOrderInput + +func (IpServiceOrderArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]IpServiceOrder)(nil)).Elem() +} + +func (i IpServiceOrderArray) ToIpServiceOrderArrayOutput() IpServiceOrderArrayOutput { + return i.ToIpServiceOrderArrayOutputWithContext(context.Background()) +} + +func (i IpServiceOrderArray) ToIpServiceOrderArrayOutputWithContext(ctx context.Context) IpServiceOrderArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(IpServiceOrderArrayOutput) +} + +type IpServiceOrderOutput struct{ *pulumi.OutputState } + +func (IpServiceOrderOutput) ElementType() reflect.Type { + return reflect.TypeOf((*IpServiceOrder)(nil)).Elem() +} + +func (o IpServiceOrderOutput) ToIpServiceOrderOutput() IpServiceOrderOutput { + return o +} + +func (o IpServiceOrderOutput) ToIpServiceOrderOutputWithContext(ctx context.Context) IpServiceOrderOutput { + return o +} + +// date +func (o IpServiceOrderOutput) Date() pulumi.StringPtrOutput { + return o.ApplyT(func(v IpServiceOrder) *string { return v.Date }).(pulumi.StringPtrOutput) +} + +// Information about a Bill entry +func (o IpServiceOrderOutput) Details() IpServiceOrderDetailArrayOutput { + return o.ApplyT(func(v IpServiceOrder) []IpServiceOrderDetail { return v.Details }).(IpServiceOrderDetailArrayOutput) +} + +// expiration date +func (o IpServiceOrderOutput) ExpirationDate() pulumi.StringPtrOutput { + return o.ApplyT(func(v IpServiceOrder) *string { return v.ExpirationDate }).(pulumi.StringPtrOutput) +} + +// order id +func (o IpServiceOrderOutput) OrderId() pulumi.Float64PtrOutput { + return o.ApplyT(func(v IpServiceOrder) *float64 { return v.OrderId }).(pulumi.Float64PtrOutput) +} + +type IpServiceOrderArrayOutput struct{ *pulumi.OutputState } + +func (IpServiceOrderArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]IpServiceOrder)(nil)).Elem() +} + +func (o IpServiceOrderArrayOutput) ToIpServiceOrderArrayOutput() IpServiceOrderArrayOutput { + return o +} + +func (o IpServiceOrderArrayOutput) ToIpServiceOrderArrayOutputWithContext(ctx context.Context) IpServiceOrderArrayOutput { + return o +} + +func (o IpServiceOrderArrayOutput) Index(i pulumi.IntInput) IpServiceOrderOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) IpServiceOrder { + return vs[0].([]IpServiceOrder)[vs[1].(int)] + }).(IpServiceOrderOutput) +} + +type IpServiceOrderDetail struct { + Description string `pulumi:"description"` + Domain string `pulumi:"domain"` + OrderDetailId float64 `pulumi:"orderDetailId"` + Quantity string `pulumi:"quantity"` +} + +// IpServiceOrderDetailInput is an input type that accepts IpServiceOrderDetailArgs and IpServiceOrderDetailOutput values. +// You can construct a concrete instance of `IpServiceOrderDetailInput` via: +// +// IpServiceOrderDetailArgs{...} +type IpServiceOrderDetailInput interface { + pulumi.Input + + ToIpServiceOrderDetailOutput() IpServiceOrderDetailOutput + ToIpServiceOrderDetailOutputWithContext(context.Context) IpServiceOrderDetailOutput +} + +type IpServiceOrderDetailArgs struct { + Description pulumi.StringInput `pulumi:"description"` + Domain pulumi.StringInput `pulumi:"domain"` + OrderDetailId pulumi.Float64Input `pulumi:"orderDetailId"` + Quantity pulumi.StringInput `pulumi:"quantity"` +} + +func (IpServiceOrderDetailArgs) ElementType() reflect.Type { + return reflect.TypeOf((*IpServiceOrderDetail)(nil)).Elem() +} + +func (i IpServiceOrderDetailArgs) ToIpServiceOrderDetailOutput() IpServiceOrderDetailOutput { + return i.ToIpServiceOrderDetailOutputWithContext(context.Background()) +} + +func (i IpServiceOrderDetailArgs) ToIpServiceOrderDetailOutputWithContext(ctx context.Context) IpServiceOrderDetailOutput { + return pulumi.ToOutputWithContext(ctx, i).(IpServiceOrderDetailOutput) +} + +// IpServiceOrderDetailArrayInput is an input type that accepts IpServiceOrderDetailArray and IpServiceOrderDetailArrayOutput values. +// You can construct a concrete instance of `IpServiceOrderDetailArrayInput` via: +// +// IpServiceOrderDetailArray{ IpServiceOrderDetailArgs{...} } +type IpServiceOrderDetailArrayInput interface { + pulumi.Input + + ToIpServiceOrderDetailArrayOutput() IpServiceOrderDetailArrayOutput + ToIpServiceOrderDetailArrayOutputWithContext(context.Context) IpServiceOrderDetailArrayOutput +} + +type IpServiceOrderDetailArray []IpServiceOrderDetailInput + +func (IpServiceOrderDetailArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]IpServiceOrderDetail)(nil)).Elem() +} + +func (i IpServiceOrderDetailArray) ToIpServiceOrderDetailArrayOutput() IpServiceOrderDetailArrayOutput { + return i.ToIpServiceOrderDetailArrayOutputWithContext(context.Background()) +} + +func (i IpServiceOrderDetailArray) ToIpServiceOrderDetailArrayOutputWithContext(ctx context.Context) IpServiceOrderDetailArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(IpServiceOrderDetailArrayOutput) +} + +type IpServiceOrderDetailOutput struct{ *pulumi.OutputState } + +func (IpServiceOrderDetailOutput) ElementType() reflect.Type { + return reflect.TypeOf((*IpServiceOrderDetail)(nil)).Elem() +} + +func (o IpServiceOrderDetailOutput) ToIpServiceOrderDetailOutput() IpServiceOrderDetailOutput { + return o +} + +func (o IpServiceOrderDetailOutput) ToIpServiceOrderDetailOutputWithContext(ctx context.Context) IpServiceOrderDetailOutput { + return o +} + +func (o IpServiceOrderDetailOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v IpServiceOrderDetail) string { return v.Description }).(pulumi.StringOutput) +} + +func (o IpServiceOrderDetailOutput) Domain() pulumi.StringOutput { + return o.ApplyT(func(v IpServiceOrderDetail) string { return v.Domain }).(pulumi.StringOutput) +} + +func (o IpServiceOrderDetailOutput) OrderDetailId() pulumi.Float64Output { + return o.ApplyT(func(v IpServiceOrderDetail) float64 { return v.OrderDetailId }).(pulumi.Float64Output) +} + +func (o IpServiceOrderDetailOutput) Quantity() pulumi.StringOutput { + return o.ApplyT(func(v IpServiceOrderDetail) string { return v.Quantity }).(pulumi.StringOutput) +} + +type IpServiceOrderDetailArrayOutput struct{ *pulumi.OutputState } + +func (IpServiceOrderDetailArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]IpServiceOrderDetail)(nil)).Elem() +} + +func (o IpServiceOrderDetailArrayOutput) ToIpServiceOrderDetailArrayOutput() IpServiceOrderDetailArrayOutput { + return o +} + +func (o IpServiceOrderDetailArrayOutput) ToIpServiceOrderDetailArrayOutputWithContext(ctx context.Context) IpServiceOrderDetailArrayOutput { + return o +} + +func (o IpServiceOrderDetailArrayOutput) Index(i pulumi.IntInput) IpServiceOrderDetailOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) IpServiceOrderDetail { + return vs[0].([]IpServiceOrderDetail)[vs[1].(int)] + }).(IpServiceOrderDetailOutput) +} + +type IpServicePlan struct { + // Catalog name + CatalogName *string `pulumi:"catalogName"` + // Representation of a configuration item for personalizing product + Configurations []IpServicePlanConfiguration `pulumi:"configurations"` + // duration + Duration string `pulumi:"duration"` + // Plan code + PlanCode string `pulumi:"planCode"` + // Pricing model identifier + PricingMode string `pulumi:"pricingMode"` +} + +// IpServicePlanInput is an input type that accepts IpServicePlanArgs and IpServicePlanOutput values. +// You can construct a concrete instance of `IpServicePlanInput` via: +// +// IpServicePlanArgs{...} +type IpServicePlanInput interface { + pulumi.Input + + ToIpServicePlanOutput() IpServicePlanOutput + ToIpServicePlanOutputWithContext(context.Context) IpServicePlanOutput +} + +type IpServicePlanArgs struct { + // Catalog name + CatalogName pulumi.StringPtrInput `pulumi:"catalogName"` + // Representation of a configuration item for personalizing product + Configurations IpServicePlanConfigurationArrayInput `pulumi:"configurations"` + // duration + Duration pulumi.StringInput `pulumi:"duration"` + // Plan code + PlanCode pulumi.StringInput `pulumi:"planCode"` + // Pricing model identifier + PricingMode pulumi.StringInput `pulumi:"pricingMode"` +} + +func (IpServicePlanArgs) ElementType() reflect.Type { + return reflect.TypeOf((*IpServicePlan)(nil)).Elem() +} + +func (i IpServicePlanArgs) ToIpServicePlanOutput() IpServicePlanOutput { + return i.ToIpServicePlanOutputWithContext(context.Background()) +} + +func (i IpServicePlanArgs) ToIpServicePlanOutputWithContext(ctx context.Context) IpServicePlanOutput { + return pulumi.ToOutputWithContext(ctx, i).(IpServicePlanOutput) +} + +func (i IpServicePlanArgs) ToIpServicePlanPtrOutput() IpServicePlanPtrOutput { + return i.ToIpServicePlanPtrOutputWithContext(context.Background()) +} + +func (i IpServicePlanArgs) ToIpServicePlanPtrOutputWithContext(ctx context.Context) IpServicePlanPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(IpServicePlanOutput).ToIpServicePlanPtrOutputWithContext(ctx) +} + +// IpServicePlanPtrInput is an input type that accepts IpServicePlanArgs, IpServicePlanPtr and IpServicePlanPtrOutput values. +// You can construct a concrete instance of `IpServicePlanPtrInput` via: +// +// IpServicePlanArgs{...} +// +// or: +// +// nil +type IpServicePlanPtrInput interface { + pulumi.Input + + ToIpServicePlanPtrOutput() IpServicePlanPtrOutput + ToIpServicePlanPtrOutputWithContext(context.Context) IpServicePlanPtrOutput +} + +type ipServicePlanPtrType IpServicePlanArgs + +func IpServicePlanPtr(v *IpServicePlanArgs) IpServicePlanPtrInput { + return (*ipServicePlanPtrType)(v) +} + +func (*ipServicePlanPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**IpServicePlan)(nil)).Elem() +} + +func (i *ipServicePlanPtrType) ToIpServicePlanPtrOutput() IpServicePlanPtrOutput { + return i.ToIpServicePlanPtrOutputWithContext(context.Background()) +} + +func (i *ipServicePlanPtrType) ToIpServicePlanPtrOutputWithContext(ctx context.Context) IpServicePlanPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(IpServicePlanPtrOutput) +} + +type IpServicePlanOutput struct{ *pulumi.OutputState } + +func (IpServicePlanOutput) ElementType() reflect.Type { + return reflect.TypeOf((*IpServicePlan)(nil)).Elem() +} + +func (o IpServicePlanOutput) ToIpServicePlanOutput() IpServicePlanOutput { + return o +} + +func (o IpServicePlanOutput) ToIpServicePlanOutputWithContext(ctx context.Context) IpServicePlanOutput { + return o +} + +func (o IpServicePlanOutput) ToIpServicePlanPtrOutput() IpServicePlanPtrOutput { + return o.ToIpServicePlanPtrOutputWithContext(context.Background()) +} + +func (o IpServicePlanOutput) ToIpServicePlanPtrOutputWithContext(ctx context.Context) IpServicePlanPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v IpServicePlan) *IpServicePlan { + return &v + }).(IpServicePlanPtrOutput) +} + +// Catalog name +func (o IpServicePlanOutput) CatalogName() pulumi.StringPtrOutput { + return o.ApplyT(func(v IpServicePlan) *string { return v.CatalogName }).(pulumi.StringPtrOutput) +} + +// Representation of a configuration item for personalizing product +func (o IpServicePlanOutput) Configurations() IpServicePlanConfigurationArrayOutput { + return o.ApplyT(func(v IpServicePlan) []IpServicePlanConfiguration { return v.Configurations }).(IpServicePlanConfigurationArrayOutput) +} + +// duration +func (o IpServicePlanOutput) Duration() pulumi.StringOutput { + return o.ApplyT(func(v IpServicePlan) string { return v.Duration }).(pulumi.StringOutput) +} + +// Plan code +func (o IpServicePlanOutput) PlanCode() pulumi.StringOutput { + return o.ApplyT(func(v IpServicePlan) string { return v.PlanCode }).(pulumi.StringOutput) +} + +// Pricing model identifier +func (o IpServicePlanOutput) PricingMode() pulumi.StringOutput { + return o.ApplyT(func(v IpServicePlan) string { return v.PricingMode }).(pulumi.StringOutput) +} + +type IpServicePlanPtrOutput struct{ *pulumi.OutputState } + +func (IpServicePlanPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**IpServicePlan)(nil)).Elem() +} + +func (o IpServicePlanPtrOutput) ToIpServicePlanPtrOutput() IpServicePlanPtrOutput { + return o +} + +func (o IpServicePlanPtrOutput) ToIpServicePlanPtrOutputWithContext(ctx context.Context) IpServicePlanPtrOutput { + return o +} + +func (o IpServicePlanPtrOutput) Elem() IpServicePlanOutput { + return o.ApplyT(func(v *IpServicePlan) IpServicePlan { + if v != nil { + return *v + } + var ret IpServicePlan + return ret + }).(IpServicePlanOutput) +} + +// Catalog name +func (o IpServicePlanPtrOutput) CatalogName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *IpServicePlan) *string { + if v == nil { + return nil + } + return v.CatalogName + }).(pulumi.StringPtrOutput) +} + +// Representation of a configuration item for personalizing product +func (o IpServicePlanPtrOutput) Configurations() IpServicePlanConfigurationArrayOutput { + return o.ApplyT(func(v *IpServicePlan) []IpServicePlanConfiguration { + if v == nil { + return nil + } + return v.Configurations + }).(IpServicePlanConfigurationArrayOutput) +} + +// duration +func (o IpServicePlanPtrOutput) Duration() pulumi.StringPtrOutput { + return o.ApplyT(func(v *IpServicePlan) *string { + if v == nil { + return nil + } + return &v.Duration + }).(pulumi.StringPtrOutput) +} + +// Plan code +func (o IpServicePlanPtrOutput) PlanCode() pulumi.StringPtrOutput { + return o.ApplyT(func(v *IpServicePlan) *string { + if v == nil { + return nil + } + return &v.PlanCode + }).(pulumi.StringPtrOutput) +} + +// Pricing model identifier +func (o IpServicePlanPtrOutput) PricingMode() pulumi.StringPtrOutput { + return o.ApplyT(func(v *IpServicePlan) *string { + if v == nil { + return nil + } + return &v.PricingMode + }).(pulumi.StringPtrOutput) +} + +type IpServicePlanConfiguration struct { + // Identifier of the resource + Label string `pulumi:"label"` + // Path to the resource in API.OVH.COM + Value string `pulumi:"value"` +} + +// IpServicePlanConfigurationInput is an input type that accepts IpServicePlanConfigurationArgs and IpServicePlanConfigurationOutput values. +// You can construct a concrete instance of `IpServicePlanConfigurationInput` via: +// +// IpServicePlanConfigurationArgs{...} +type IpServicePlanConfigurationInput interface { + pulumi.Input + + ToIpServicePlanConfigurationOutput() IpServicePlanConfigurationOutput + ToIpServicePlanConfigurationOutputWithContext(context.Context) IpServicePlanConfigurationOutput +} + +type IpServicePlanConfigurationArgs struct { + // Identifier of the resource + Label pulumi.StringInput `pulumi:"label"` + // Path to the resource in API.OVH.COM + Value pulumi.StringInput `pulumi:"value"` +} + +func (IpServicePlanConfigurationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*IpServicePlanConfiguration)(nil)).Elem() +} + +func (i IpServicePlanConfigurationArgs) ToIpServicePlanConfigurationOutput() IpServicePlanConfigurationOutput { + return i.ToIpServicePlanConfigurationOutputWithContext(context.Background()) +} + +func (i IpServicePlanConfigurationArgs) ToIpServicePlanConfigurationOutputWithContext(ctx context.Context) IpServicePlanConfigurationOutput { + return pulumi.ToOutputWithContext(ctx, i).(IpServicePlanConfigurationOutput) +} + +// IpServicePlanConfigurationArrayInput is an input type that accepts IpServicePlanConfigurationArray and IpServicePlanConfigurationArrayOutput values. +// You can construct a concrete instance of `IpServicePlanConfigurationArrayInput` via: +// +// IpServicePlanConfigurationArray{ IpServicePlanConfigurationArgs{...} } +type IpServicePlanConfigurationArrayInput interface { + pulumi.Input + + ToIpServicePlanConfigurationArrayOutput() IpServicePlanConfigurationArrayOutput + ToIpServicePlanConfigurationArrayOutputWithContext(context.Context) IpServicePlanConfigurationArrayOutput +} + +type IpServicePlanConfigurationArray []IpServicePlanConfigurationInput + +func (IpServicePlanConfigurationArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]IpServicePlanConfiguration)(nil)).Elem() +} + +func (i IpServicePlanConfigurationArray) ToIpServicePlanConfigurationArrayOutput() IpServicePlanConfigurationArrayOutput { + return i.ToIpServicePlanConfigurationArrayOutputWithContext(context.Background()) +} + +func (i IpServicePlanConfigurationArray) ToIpServicePlanConfigurationArrayOutputWithContext(ctx context.Context) IpServicePlanConfigurationArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(IpServicePlanConfigurationArrayOutput) +} + +type IpServicePlanConfigurationOutput struct{ *pulumi.OutputState } + +func (IpServicePlanConfigurationOutput) ElementType() reflect.Type { + return reflect.TypeOf((*IpServicePlanConfiguration)(nil)).Elem() +} + +func (o IpServicePlanConfigurationOutput) ToIpServicePlanConfigurationOutput() IpServicePlanConfigurationOutput { + return o +} + +func (o IpServicePlanConfigurationOutput) ToIpServicePlanConfigurationOutputWithContext(ctx context.Context) IpServicePlanConfigurationOutput { + return o +} + +// Identifier of the resource +func (o IpServicePlanConfigurationOutput) Label() pulumi.StringOutput { + return o.ApplyT(func(v IpServicePlanConfiguration) string { return v.Label }).(pulumi.StringOutput) +} + +// Path to the resource in API.OVH.COM +func (o IpServicePlanConfigurationOutput) Value() pulumi.StringOutput { + return o.ApplyT(func(v IpServicePlanConfiguration) string { return v.Value }).(pulumi.StringOutput) +} + +type IpServicePlanConfigurationArrayOutput struct{ *pulumi.OutputState } + +func (IpServicePlanConfigurationArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]IpServicePlanConfiguration)(nil)).Elem() +} + +func (o IpServicePlanConfigurationArrayOutput) ToIpServicePlanConfigurationArrayOutput() IpServicePlanConfigurationArrayOutput { + return o +} + +func (o IpServicePlanConfigurationArrayOutput) ToIpServicePlanConfigurationArrayOutputWithContext(ctx context.Context) IpServicePlanConfigurationArrayOutput { + return o +} + +func (o IpServicePlanConfigurationArrayOutput) Index(i pulumi.IntInput) IpServicePlanConfigurationOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) IpServicePlanConfiguration { + return vs[0].([]IpServicePlanConfiguration)[vs[1].(int)] + }).(IpServicePlanConfigurationOutput) +} + +type IpServicePlanOption struct { + // Catalog name + CatalogName *string `pulumi:"catalogName"` + // Representation of a configuration item for personalizing product + Configurations []IpServicePlanOptionConfiguration `pulumi:"configurations"` + // duration + Duration string `pulumi:"duration"` + // Plan code + PlanCode string `pulumi:"planCode"` + // Pricing model identifier + PricingMode string `pulumi:"pricingMode"` +} + +// IpServicePlanOptionInput is an input type that accepts IpServicePlanOptionArgs and IpServicePlanOptionOutput values. +// You can construct a concrete instance of `IpServicePlanOptionInput` via: +// +// IpServicePlanOptionArgs{...} +type IpServicePlanOptionInput interface { + pulumi.Input + + ToIpServicePlanOptionOutput() IpServicePlanOptionOutput + ToIpServicePlanOptionOutputWithContext(context.Context) IpServicePlanOptionOutput +} + +type IpServicePlanOptionArgs struct { + // Catalog name + CatalogName pulumi.StringPtrInput `pulumi:"catalogName"` + // Representation of a configuration item for personalizing product + Configurations IpServicePlanOptionConfigurationArrayInput `pulumi:"configurations"` + // duration + Duration pulumi.StringInput `pulumi:"duration"` + // Plan code + PlanCode pulumi.StringInput `pulumi:"planCode"` + // Pricing model identifier + PricingMode pulumi.StringInput `pulumi:"pricingMode"` +} + +func (IpServicePlanOptionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*IpServicePlanOption)(nil)).Elem() +} + +func (i IpServicePlanOptionArgs) ToIpServicePlanOptionOutput() IpServicePlanOptionOutput { + return i.ToIpServicePlanOptionOutputWithContext(context.Background()) +} + +func (i IpServicePlanOptionArgs) ToIpServicePlanOptionOutputWithContext(ctx context.Context) IpServicePlanOptionOutput { + return pulumi.ToOutputWithContext(ctx, i).(IpServicePlanOptionOutput) +} + +// IpServicePlanOptionArrayInput is an input type that accepts IpServicePlanOptionArray and IpServicePlanOptionArrayOutput values. +// You can construct a concrete instance of `IpServicePlanOptionArrayInput` via: +// +// IpServicePlanOptionArray{ IpServicePlanOptionArgs{...} } +type IpServicePlanOptionArrayInput interface { + pulumi.Input + + ToIpServicePlanOptionArrayOutput() IpServicePlanOptionArrayOutput + ToIpServicePlanOptionArrayOutputWithContext(context.Context) IpServicePlanOptionArrayOutput +} + +type IpServicePlanOptionArray []IpServicePlanOptionInput + +func (IpServicePlanOptionArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]IpServicePlanOption)(nil)).Elem() +} + +func (i IpServicePlanOptionArray) ToIpServicePlanOptionArrayOutput() IpServicePlanOptionArrayOutput { + return i.ToIpServicePlanOptionArrayOutputWithContext(context.Background()) +} + +func (i IpServicePlanOptionArray) ToIpServicePlanOptionArrayOutputWithContext(ctx context.Context) IpServicePlanOptionArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(IpServicePlanOptionArrayOutput) +} + +type IpServicePlanOptionOutput struct{ *pulumi.OutputState } + +func (IpServicePlanOptionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*IpServicePlanOption)(nil)).Elem() +} + +func (o IpServicePlanOptionOutput) ToIpServicePlanOptionOutput() IpServicePlanOptionOutput { + return o +} + +func (o IpServicePlanOptionOutput) ToIpServicePlanOptionOutputWithContext(ctx context.Context) IpServicePlanOptionOutput { + return o +} + +// Catalog name +func (o IpServicePlanOptionOutput) CatalogName() pulumi.StringPtrOutput { + return o.ApplyT(func(v IpServicePlanOption) *string { return v.CatalogName }).(pulumi.StringPtrOutput) +} + +// Representation of a configuration item for personalizing product +func (o IpServicePlanOptionOutput) Configurations() IpServicePlanOptionConfigurationArrayOutput { + return o.ApplyT(func(v IpServicePlanOption) []IpServicePlanOptionConfiguration { return v.Configurations }).(IpServicePlanOptionConfigurationArrayOutput) +} + +// duration +func (o IpServicePlanOptionOutput) Duration() pulumi.StringOutput { + return o.ApplyT(func(v IpServicePlanOption) string { return v.Duration }).(pulumi.StringOutput) +} + +// Plan code +func (o IpServicePlanOptionOutput) PlanCode() pulumi.StringOutput { + return o.ApplyT(func(v IpServicePlanOption) string { return v.PlanCode }).(pulumi.StringOutput) +} + +// Pricing model identifier +func (o IpServicePlanOptionOutput) PricingMode() pulumi.StringOutput { + return o.ApplyT(func(v IpServicePlanOption) string { return v.PricingMode }).(pulumi.StringOutput) +} + +type IpServicePlanOptionArrayOutput struct{ *pulumi.OutputState } + +func (IpServicePlanOptionArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]IpServicePlanOption)(nil)).Elem() +} + +func (o IpServicePlanOptionArrayOutput) ToIpServicePlanOptionArrayOutput() IpServicePlanOptionArrayOutput { + return o +} + +func (o IpServicePlanOptionArrayOutput) ToIpServicePlanOptionArrayOutputWithContext(ctx context.Context) IpServicePlanOptionArrayOutput { + return o +} + +func (o IpServicePlanOptionArrayOutput) Index(i pulumi.IntInput) IpServicePlanOptionOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) IpServicePlanOption { + return vs[0].([]IpServicePlanOption)[vs[1].(int)] + }).(IpServicePlanOptionOutput) +} + +type IpServicePlanOptionConfiguration struct { + // Identifier of the resource + Label string `pulumi:"label"` + // Path to the resource in API.OVH.COM + Value string `pulumi:"value"` +} + +// IpServicePlanOptionConfigurationInput is an input type that accepts IpServicePlanOptionConfigurationArgs and IpServicePlanOptionConfigurationOutput values. +// You can construct a concrete instance of `IpServicePlanOptionConfigurationInput` via: +// +// IpServicePlanOptionConfigurationArgs{...} +type IpServicePlanOptionConfigurationInput interface { + pulumi.Input + + ToIpServicePlanOptionConfigurationOutput() IpServicePlanOptionConfigurationOutput + ToIpServicePlanOptionConfigurationOutputWithContext(context.Context) IpServicePlanOptionConfigurationOutput +} + +type IpServicePlanOptionConfigurationArgs struct { + // Identifier of the resource + Label pulumi.StringInput `pulumi:"label"` + // Path to the resource in API.OVH.COM + Value pulumi.StringInput `pulumi:"value"` +} + +func (IpServicePlanOptionConfigurationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*IpServicePlanOptionConfiguration)(nil)).Elem() +} + +func (i IpServicePlanOptionConfigurationArgs) ToIpServicePlanOptionConfigurationOutput() IpServicePlanOptionConfigurationOutput { + return i.ToIpServicePlanOptionConfigurationOutputWithContext(context.Background()) +} + +func (i IpServicePlanOptionConfigurationArgs) ToIpServicePlanOptionConfigurationOutputWithContext(ctx context.Context) IpServicePlanOptionConfigurationOutput { + return pulumi.ToOutputWithContext(ctx, i).(IpServicePlanOptionConfigurationOutput) +} + +// IpServicePlanOptionConfigurationArrayInput is an input type that accepts IpServicePlanOptionConfigurationArray and IpServicePlanOptionConfigurationArrayOutput values. +// You can construct a concrete instance of `IpServicePlanOptionConfigurationArrayInput` via: +// +// IpServicePlanOptionConfigurationArray{ IpServicePlanOptionConfigurationArgs{...} } +type IpServicePlanOptionConfigurationArrayInput interface { + pulumi.Input + + ToIpServicePlanOptionConfigurationArrayOutput() IpServicePlanOptionConfigurationArrayOutput + ToIpServicePlanOptionConfigurationArrayOutputWithContext(context.Context) IpServicePlanOptionConfigurationArrayOutput +} + +type IpServicePlanOptionConfigurationArray []IpServicePlanOptionConfigurationInput + +func (IpServicePlanOptionConfigurationArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]IpServicePlanOptionConfiguration)(nil)).Elem() +} + +func (i IpServicePlanOptionConfigurationArray) ToIpServicePlanOptionConfigurationArrayOutput() IpServicePlanOptionConfigurationArrayOutput { + return i.ToIpServicePlanOptionConfigurationArrayOutputWithContext(context.Background()) +} + +func (i IpServicePlanOptionConfigurationArray) ToIpServicePlanOptionConfigurationArrayOutputWithContext(ctx context.Context) IpServicePlanOptionConfigurationArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(IpServicePlanOptionConfigurationArrayOutput) +} + +type IpServicePlanOptionConfigurationOutput struct{ *pulumi.OutputState } + +func (IpServicePlanOptionConfigurationOutput) ElementType() reflect.Type { + return reflect.TypeOf((*IpServicePlanOptionConfiguration)(nil)).Elem() +} + +func (o IpServicePlanOptionConfigurationOutput) ToIpServicePlanOptionConfigurationOutput() IpServicePlanOptionConfigurationOutput { + return o +} + +func (o IpServicePlanOptionConfigurationOutput) ToIpServicePlanOptionConfigurationOutputWithContext(ctx context.Context) IpServicePlanOptionConfigurationOutput { + return o +} + +// Identifier of the resource +func (o IpServicePlanOptionConfigurationOutput) Label() pulumi.StringOutput { + return o.ApplyT(func(v IpServicePlanOptionConfiguration) string { return v.Label }).(pulumi.StringOutput) +} + +// Path to the resource in API.OVH.COM +func (o IpServicePlanOptionConfigurationOutput) Value() pulumi.StringOutput { + return o.ApplyT(func(v IpServicePlanOptionConfiguration) string { return v.Value }).(pulumi.StringOutput) +} + +type IpServicePlanOptionConfigurationArrayOutput struct{ *pulumi.OutputState } + +func (IpServicePlanOptionConfigurationArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]IpServicePlanOptionConfiguration)(nil)).Elem() +} + +func (o IpServicePlanOptionConfigurationArrayOutput) ToIpServicePlanOptionConfigurationArrayOutput() IpServicePlanOptionConfigurationArrayOutput { + return o +} + +func (o IpServicePlanOptionConfigurationArrayOutput) ToIpServicePlanOptionConfigurationArrayOutputWithContext(ctx context.Context) IpServicePlanOptionConfigurationArrayOutput { + return o +} + +func (o IpServicePlanOptionConfigurationArrayOutput) Index(i pulumi.IntInput) IpServicePlanOptionConfigurationOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) IpServicePlanOptionConfiguration { + return vs[0].([]IpServicePlanOptionConfiguration)[vs[1].(int)] + }).(IpServicePlanOptionConfigurationOutput) +} + +type IpServiceRoutedTo struct { + ServiceName string `pulumi:"serviceName"` +} + +// IpServiceRoutedToInput is an input type that accepts IpServiceRoutedToArgs and IpServiceRoutedToOutput values. +// You can construct a concrete instance of `IpServiceRoutedToInput` via: +// +// IpServiceRoutedToArgs{...} +type IpServiceRoutedToInput interface { + pulumi.Input + + ToIpServiceRoutedToOutput() IpServiceRoutedToOutput + ToIpServiceRoutedToOutputWithContext(context.Context) IpServiceRoutedToOutput +} + +type IpServiceRoutedToArgs struct { + ServiceName pulumi.StringInput `pulumi:"serviceName"` +} + +func (IpServiceRoutedToArgs) ElementType() reflect.Type { + return reflect.TypeOf((*IpServiceRoutedTo)(nil)).Elem() +} + +func (i IpServiceRoutedToArgs) ToIpServiceRoutedToOutput() IpServiceRoutedToOutput { + return i.ToIpServiceRoutedToOutputWithContext(context.Background()) +} + +func (i IpServiceRoutedToArgs) ToIpServiceRoutedToOutputWithContext(ctx context.Context) IpServiceRoutedToOutput { + return pulumi.ToOutputWithContext(ctx, i).(IpServiceRoutedToOutput) +} + +// IpServiceRoutedToArrayInput is an input type that accepts IpServiceRoutedToArray and IpServiceRoutedToArrayOutput values. +// You can construct a concrete instance of `IpServiceRoutedToArrayInput` via: +// +// IpServiceRoutedToArray{ IpServiceRoutedToArgs{...} } +type IpServiceRoutedToArrayInput interface { + pulumi.Input + + ToIpServiceRoutedToArrayOutput() IpServiceRoutedToArrayOutput + ToIpServiceRoutedToArrayOutputWithContext(context.Context) IpServiceRoutedToArrayOutput +} + +type IpServiceRoutedToArray []IpServiceRoutedToInput + +func (IpServiceRoutedToArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]IpServiceRoutedTo)(nil)).Elem() +} + +func (i IpServiceRoutedToArray) ToIpServiceRoutedToArrayOutput() IpServiceRoutedToArrayOutput { + return i.ToIpServiceRoutedToArrayOutputWithContext(context.Background()) +} + +func (i IpServiceRoutedToArray) ToIpServiceRoutedToArrayOutputWithContext(ctx context.Context) IpServiceRoutedToArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(IpServiceRoutedToArrayOutput) +} + +type IpServiceRoutedToOutput struct{ *pulumi.OutputState } + +func (IpServiceRoutedToOutput) ElementType() reflect.Type { + return reflect.TypeOf((*IpServiceRoutedTo)(nil)).Elem() +} + +func (o IpServiceRoutedToOutput) ToIpServiceRoutedToOutput() IpServiceRoutedToOutput { + return o +} + +func (o IpServiceRoutedToOutput) ToIpServiceRoutedToOutputWithContext(ctx context.Context) IpServiceRoutedToOutput { + return o +} + +func (o IpServiceRoutedToOutput) ServiceName() pulumi.StringOutput { + return o.ApplyT(func(v IpServiceRoutedTo) string { return v.ServiceName }).(pulumi.StringOutput) +} + +type IpServiceRoutedToArrayOutput struct{ *pulumi.OutputState } + +func (IpServiceRoutedToArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]IpServiceRoutedTo)(nil)).Elem() +} + +func (o IpServiceRoutedToArrayOutput) ToIpServiceRoutedToArrayOutput() IpServiceRoutedToArrayOutput { + return o +} + +func (o IpServiceRoutedToArrayOutput) ToIpServiceRoutedToArrayOutputWithContext(ctx context.Context) IpServiceRoutedToArrayOutput { + return o +} + +func (o IpServiceRoutedToArrayOutput) Index(i pulumi.IntInput) IpServiceRoutedToOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) IpServiceRoutedTo { + return vs[0].([]IpServiceRoutedTo)[vs[1].(int)] + }).(IpServiceRoutedToOutput) +} + +type IploadbalancingHttpFarmProbe struct { + ForceSsl *bool `pulumi:"forceSsl"` + Interval *float64 `pulumi:"interval"` + Match *string `pulumi:"match"` + Method *string `pulumi:"method"` + Negate *bool `pulumi:"negate"` + Pattern *string `pulumi:"pattern"` + Port *float64 `pulumi:"port"` + Type string `pulumi:"type"` + Url *string `pulumi:"url"` +} + +// IploadbalancingHttpFarmProbeInput is an input type that accepts IploadbalancingHttpFarmProbeArgs and IploadbalancingHttpFarmProbeOutput values. +// You can construct a concrete instance of `IploadbalancingHttpFarmProbeInput` via: +// +// IploadbalancingHttpFarmProbeArgs{...} +type IploadbalancingHttpFarmProbeInput interface { + pulumi.Input + + ToIploadbalancingHttpFarmProbeOutput() IploadbalancingHttpFarmProbeOutput + ToIploadbalancingHttpFarmProbeOutputWithContext(context.Context) IploadbalancingHttpFarmProbeOutput +} + +type IploadbalancingHttpFarmProbeArgs struct { + ForceSsl pulumi.BoolPtrInput `pulumi:"forceSsl"` + Interval pulumi.Float64PtrInput `pulumi:"interval"` + Match pulumi.StringPtrInput `pulumi:"match"` + Method pulumi.StringPtrInput `pulumi:"method"` + Negate pulumi.BoolPtrInput `pulumi:"negate"` + Pattern pulumi.StringPtrInput `pulumi:"pattern"` + Port pulumi.Float64PtrInput `pulumi:"port"` + Type pulumi.StringInput `pulumi:"type"` + Url pulumi.StringPtrInput `pulumi:"url"` +} + +func (IploadbalancingHttpFarmProbeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*IploadbalancingHttpFarmProbe)(nil)).Elem() +} + +func (i IploadbalancingHttpFarmProbeArgs) ToIploadbalancingHttpFarmProbeOutput() IploadbalancingHttpFarmProbeOutput { + return i.ToIploadbalancingHttpFarmProbeOutputWithContext(context.Background()) +} + +func (i IploadbalancingHttpFarmProbeArgs) ToIploadbalancingHttpFarmProbeOutputWithContext(ctx context.Context) IploadbalancingHttpFarmProbeOutput { + return pulumi.ToOutputWithContext(ctx, i).(IploadbalancingHttpFarmProbeOutput) +} + +func (i IploadbalancingHttpFarmProbeArgs) ToIploadbalancingHttpFarmProbePtrOutput() IploadbalancingHttpFarmProbePtrOutput { + return i.ToIploadbalancingHttpFarmProbePtrOutputWithContext(context.Background()) +} + +func (i IploadbalancingHttpFarmProbeArgs) ToIploadbalancingHttpFarmProbePtrOutputWithContext(ctx context.Context) IploadbalancingHttpFarmProbePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(IploadbalancingHttpFarmProbeOutput).ToIploadbalancingHttpFarmProbePtrOutputWithContext(ctx) +} + +// IploadbalancingHttpFarmProbePtrInput is an input type that accepts IploadbalancingHttpFarmProbeArgs, IploadbalancingHttpFarmProbePtr and IploadbalancingHttpFarmProbePtrOutput values. +// You can construct a concrete instance of `IploadbalancingHttpFarmProbePtrInput` via: +// +// IploadbalancingHttpFarmProbeArgs{...} +// +// or: +// +// nil +type IploadbalancingHttpFarmProbePtrInput interface { + pulumi.Input + + ToIploadbalancingHttpFarmProbePtrOutput() IploadbalancingHttpFarmProbePtrOutput + ToIploadbalancingHttpFarmProbePtrOutputWithContext(context.Context) IploadbalancingHttpFarmProbePtrOutput +} + +type iploadbalancingHttpFarmProbePtrType IploadbalancingHttpFarmProbeArgs + +func IploadbalancingHttpFarmProbePtr(v *IploadbalancingHttpFarmProbeArgs) IploadbalancingHttpFarmProbePtrInput { + return (*iploadbalancingHttpFarmProbePtrType)(v) +} + +func (*iploadbalancingHttpFarmProbePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**IploadbalancingHttpFarmProbe)(nil)).Elem() +} + +func (i *iploadbalancingHttpFarmProbePtrType) ToIploadbalancingHttpFarmProbePtrOutput() IploadbalancingHttpFarmProbePtrOutput { + return i.ToIploadbalancingHttpFarmProbePtrOutputWithContext(context.Background()) +} + +func (i *iploadbalancingHttpFarmProbePtrType) ToIploadbalancingHttpFarmProbePtrOutputWithContext(ctx context.Context) IploadbalancingHttpFarmProbePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(IploadbalancingHttpFarmProbePtrOutput) +} + +type IploadbalancingHttpFarmProbeOutput struct{ *pulumi.OutputState } + +func (IploadbalancingHttpFarmProbeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*IploadbalancingHttpFarmProbe)(nil)).Elem() +} + +func (o IploadbalancingHttpFarmProbeOutput) ToIploadbalancingHttpFarmProbeOutput() IploadbalancingHttpFarmProbeOutput { + return o +} + +func (o IploadbalancingHttpFarmProbeOutput) ToIploadbalancingHttpFarmProbeOutputWithContext(ctx context.Context) IploadbalancingHttpFarmProbeOutput { + return o +} + +func (o IploadbalancingHttpFarmProbeOutput) ToIploadbalancingHttpFarmProbePtrOutput() IploadbalancingHttpFarmProbePtrOutput { + return o.ToIploadbalancingHttpFarmProbePtrOutputWithContext(context.Background()) +} + +func (o IploadbalancingHttpFarmProbeOutput) ToIploadbalancingHttpFarmProbePtrOutputWithContext(ctx context.Context) IploadbalancingHttpFarmProbePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v IploadbalancingHttpFarmProbe) *IploadbalancingHttpFarmProbe { + return &v + }).(IploadbalancingHttpFarmProbePtrOutput) +} + +func (o IploadbalancingHttpFarmProbeOutput) ForceSsl() pulumi.BoolPtrOutput { + return o.ApplyT(func(v IploadbalancingHttpFarmProbe) *bool { return v.ForceSsl }).(pulumi.BoolPtrOutput) +} + +func (o IploadbalancingHttpFarmProbeOutput) Interval() pulumi.Float64PtrOutput { + return o.ApplyT(func(v IploadbalancingHttpFarmProbe) *float64 { return v.Interval }).(pulumi.Float64PtrOutput) +} + +func (o IploadbalancingHttpFarmProbeOutput) Match() pulumi.StringPtrOutput { + return o.ApplyT(func(v IploadbalancingHttpFarmProbe) *string { return v.Match }).(pulumi.StringPtrOutput) +} + +func (o IploadbalancingHttpFarmProbeOutput) Method() pulumi.StringPtrOutput { + return o.ApplyT(func(v IploadbalancingHttpFarmProbe) *string { return v.Method }).(pulumi.StringPtrOutput) +} + +func (o IploadbalancingHttpFarmProbeOutput) Negate() pulumi.BoolPtrOutput { + return o.ApplyT(func(v IploadbalancingHttpFarmProbe) *bool { return v.Negate }).(pulumi.BoolPtrOutput) +} + +func (o IploadbalancingHttpFarmProbeOutput) Pattern() pulumi.StringPtrOutput { + return o.ApplyT(func(v IploadbalancingHttpFarmProbe) *string { return v.Pattern }).(pulumi.StringPtrOutput) +} + +func (o IploadbalancingHttpFarmProbeOutput) Port() pulumi.Float64PtrOutput { + return o.ApplyT(func(v IploadbalancingHttpFarmProbe) *float64 { return v.Port }).(pulumi.Float64PtrOutput) +} + +func (o IploadbalancingHttpFarmProbeOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v IploadbalancingHttpFarmProbe) string { return v.Type }).(pulumi.StringOutput) +} + +func (o IploadbalancingHttpFarmProbeOutput) Url() pulumi.StringPtrOutput { + return o.ApplyT(func(v IploadbalancingHttpFarmProbe) *string { return v.Url }).(pulumi.StringPtrOutput) +} + +type IploadbalancingHttpFarmProbePtrOutput struct{ *pulumi.OutputState } + +func (IploadbalancingHttpFarmProbePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**IploadbalancingHttpFarmProbe)(nil)).Elem() +} + +func (o IploadbalancingHttpFarmProbePtrOutput) ToIploadbalancingHttpFarmProbePtrOutput() IploadbalancingHttpFarmProbePtrOutput { + return o +} + +func (o IploadbalancingHttpFarmProbePtrOutput) ToIploadbalancingHttpFarmProbePtrOutputWithContext(ctx context.Context) IploadbalancingHttpFarmProbePtrOutput { + return o +} + +func (o IploadbalancingHttpFarmProbePtrOutput) Elem() IploadbalancingHttpFarmProbeOutput { + return o.ApplyT(func(v *IploadbalancingHttpFarmProbe) IploadbalancingHttpFarmProbe { + if v != nil { + return *v + } + var ret IploadbalancingHttpFarmProbe + return ret + }).(IploadbalancingHttpFarmProbeOutput) +} + +func (o IploadbalancingHttpFarmProbePtrOutput) ForceSsl() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *IploadbalancingHttpFarmProbe) *bool { + if v == nil { + return nil + } + return v.ForceSsl + }).(pulumi.BoolPtrOutput) +} + +func (o IploadbalancingHttpFarmProbePtrOutput) Interval() pulumi.Float64PtrOutput { + return o.ApplyT(func(v *IploadbalancingHttpFarmProbe) *float64 { + if v == nil { + return nil + } + return v.Interval + }).(pulumi.Float64PtrOutput) +} + +func (o IploadbalancingHttpFarmProbePtrOutput) Match() pulumi.StringPtrOutput { + return o.ApplyT(func(v *IploadbalancingHttpFarmProbe) *string { + if v == nil { + return nil + } + return v.Match + }).(pulumi.StringPtrOutput) +} + +func (o IploadbalancingHttpFarmProbePtrOutput) Method() pulumi.StringPtrOutput { + return o.ApplyT(func(v *IploadbalancingHttpFarmProbe) *string { + if v == nil { + return nil + } + return v.Method + }).(pulumi.StringPtrOutput) +} + +func (o IploadbalancingHttpFarmProbePtrOutput) Negate() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *IploadbalancingHttpFarmProbe) *bool { + if v == nil { + return nil + } + return v.Negate + }).(pulumi.BoolPtrOutput) +} + +func (o IploadbalancingHttpFarmProbePtrOutput) Pattern() pulumi.StringPtrOutput { + return o.ApplyT(func(v *IploadbalancingHttpFarmProbe) *string { + if v == nil { + return nil + } + return v.Pattern + }).(pulumi.StringPtrOutput) +} + +func (o IploadbalancingHttpFarmProbePtrOutput) Port() pulumi.Float64PtrOutput { + return o.ApplyT(func(v *IploadbalancingHttpFarmProbe) *float64 { + if v == nil { + return nil + } + return v.Port + }).(pulumi.Float64PtrOutput) +} + +func (o IploadbalancingHttpFarmProbePtrOutput) Type() pulumi.StringPtrOutput { + return o.ApplyT(func(v *IploadbalancingHttpFarmProbe) *string { + if v == nil { + return nil + } + return &v.Type + }).(pulumi.StringPtrOutput) +} + +func (o IploadbalancingHttpFarmProbePtrOutput) Url() pulumi.StringPtrOutput { + return o.ApplyT(func(v *IploadbalancingHttpFarmProbe) *string { + if v == nil { + return nil + } + return v.Url + }).(pulumi.StringPtrOutput) +} + +type IploadbalancingHttpRouteAction struct { + // HTTP status code for "redirect" and "reject" actions + Status *float64 `pulumi:"status"` + // Farm ID for "farm" action type or URL template for "redirect" action. You may use ${uri}, ${protocol}, ${host}, ${port} and ${path} variables in redirect target + Target *string `pulumi:"target"` + // Action to trigger if all the rules of this route matches + Type string `pulumi:"type"` +} + +// IploadbalancingHttpRouteActionInput is an input type that accepts IploadbalancingHttpRouteActionArgs and IploadbalancingHttpRouteActionOutput values. +// You can construct a concrete instance of `IploadbalancingHttpRouteActionInput` via: +// +// IploadbalancingHttpRouteActionArgs{...} +type IploadbalancingHttpRouteActionInput interface { + pulumi.Input + + ToIploadbalancingHttpRouteActionOutput() IploadbalancingHttpRouteActionOutput + ToIploadbalancingHttpRouteActionOutputWithContext(context.Context) IploadbalancingHttpRouteActionOutput +} + +type IploadbalancingHttpRouteActionArgs struct { + // HTTP status code for "redirect" and "reject" actions + Status pulumi.Float64PtrInput `pulumi:"status"` + // Farm ID for "farm" action type or URL template for "redirect" action. You may use ${uri}, ${protocol}, ${host}, ${port} and ${path} variables in redirect target + Target pulumi.StringPtrInput `pulumi:"target"` + // Action to trigger if all the rules of this route matches + Type pulumi.StringInput `pulumi:"type"` +} + +func (IploadbalancingHttpRouteActionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*IploadbalancingHttpRouteAction)(nil)).Elem() +} + +func (i IploadbalancingHttpRouteActionArgs) ToIploadbalancingHttpRouteActionOutput() IploadbalancingHttpRouteActionOutput { + return i.ToIploadbalancingHttpRouteActionOutputWithContext(context.Background()) +} + +func (i IploadbalancingHttpRouteActionArgs) ToIploadbalancingHttpRouteActionOutputWithContext(ctx context.Context) IploadbalancingHttpRouteActionOutput { + return pulumi.ToOutputWithContext(ctx, i).(IploadbalancingHttpRouteActionOutput) +} + +func (i IploadbalancingHttpRouteActionArgs) ToIploadbalancingHttpRouteActionPtrOutput() IploadbalancingHttpRouteActionPtrOutput { + return i.ToIploadbalancingHttpRouteActionPtrOutputWithContext(context.Background()) +} + +func (i IploadbalancingHttpRouteActionArgs) ToIploadbalancingHttpRouteActionPtrOutputWithContext(ctx context.Context) IploadbalancingHttpRouteActionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(IploadbalancingHttpRouteActionOutput).ToIploadbalancingHttpRouteActionPtrOutputWithContext(ctx) +} + +// IploadbalancingHttpRouteActionPtrInput is an input type that accepts IploadbalancingHttpRouteActionArgs, IploadbalancingHttpRouteActionPtr and IploadbalancingHttpRouteActionPtrOutput values. +// You can construct a concrete instance of `IploadbalancingHttpRouteActionPtrInput` via: +// +// IploadbalancingHttpRouteActionArgs{...} +// +// or: +// +// nil +type IploadbalancingHttpRouteActionPtrInput interface { + pulumi.Input + + ToIploadbalancingHttpRouteActionPtrOutput() IploadbalancingHttpRouteActionPtrOutput + ToIploadbalancingHttpRouteActionPtrOutputWithContext(context.Context) IploadbalancingHttpRouteActionPtrOutput +} + +type iploadbalancingHttpRouteActionPtrType IploadbalancingHttpRouteActionArgs + +func IploadbalancingHttpRouteActionPtr(v *IploadbalancingHttpRouteActionArgs) IploadbalancingHttpRouteActionPtrInput { + return (*iploadbalancingHttpRouteActionPtrType)(v) +} + +func (*iploadbalancingHttpRouteActionPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**IploadbalancingHttpRouteAction)(nil)).Elem() +} + +func (i *iploadbalancingHttpRouteActionPtrType) ToIploadbalancingHttpRouteActionPtrOutput() IploadbalancingHttpRouteActionPtrOutput { + return i.ToIploadbalancingHttpRouteActionPtrOutputWithContext(context.Background()) +} + +func (i *iploadbalancingHttpRouteActionPtrType) ToIploadbalancingHttpRouteActionPtrOutputWithContext(ctx context.Context) IploadbalancingHttpRouteActionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(IploadbalancingHttpRouteActionPtrOutput) +} + +type IploadbalancingHttpRouteActionOutput struct{ *pulumi.OutputState } + +func (IploadbalancingHttpRouteActionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*IploadbalancingHttpRouteAction)(nil)).Elem() +} + +func (o IploadbalancingHttpRouteActionOutput) ToIploadbalancingHttpRouteActionOutput() IploadbalancingHttpRouteActionOutput { + return o +} + +func (o IploadbalancingHttpRouteActionOutput) ToIploadbalancingHttpRouteActionOutputWithContext(ctx context.Context) IploadbalancingHttpRouteActionOutput { + return o +} + +func (o IploadbalancingHttpRouteActionOutput) ToIploadbalancingHttpRouteActionPtrOutput() IploadbalancingHttpRouteActionPtrOutput { + return o.ToIploadbalancingHttpRouteActionPtrOutputWithContext(context.Background()) +} + +func (o IploadbalancingHttpRouteActionOutput) ToIploadbalancingHttpRouteActionPtrOutputWithContext(ctx context.Context) IploadbalancingHttpRouteActionPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v IploadbalancingHttpRouteAction) *IploadbalancingHttpRouteAction { + return &v + }).(IploadbalancingHttpRouteActionPtrOutput) +} + +// HTTP status code for "redirect" and "reject" actions +func (o IploadbalancingHttpRouteActionOutput) Status() pulumi.Float64PtrOutput { + return o.ApplyT(func(v IploadbalancingHttpRouteAction) *float64 { return v.Status }).(pulumi.Float64PtrOutput) +} + +// Farm ID for "farm" action type or URL template for "redirect" action. You may use ${uri}, ${protocol}, ${host}, ${port} and ${path} variables in redirect target +func (o IploadbalancingHttpRouteActionOutput) Target() pulumi.StringPtrOutput { + return o.ApplyT(func(v IploadbalancingHttpRouteAction) *string { return v.Target }).(pulumi.StringPtrOutput) +} + +// Action to trigger if all the rules of this route matches +func (o IploadbalancingHttpRouteActionOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v IploadbalancingHttpRouteAction) string { return v.Type }).(pulumi.StringOutput) +} + +type IploadbalancingHttpRouteActionPtrOutput struct{ *pulumi.OutputState } + +func (IploadbalancingHttpRouteActionPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**IploadbalancingHttpRouteAction)(nil)).Elem() +} + +func (o IploadbalancingHttpRouteActionPtrOutput) ToIploadbalancingHttpRouteActionPtrOutput() IploadbalancingHttpRouteActionPtrOutput { + return o +} + +func (o IploadbalancingHttpRouteActionPtrOutput) ToIploadbalancingHttpRouteActionPtrOutputWithContext(ctx context.Context) IploadbalancingHttpRouteActionPtrOutput { + return o +} + +func (o IploadbalancingHttpRouteActionPtrOutput) Elem() IploadbalancingHttpRouteActionOutput { + return o.ApplyT(func(v *IploadbalancingHttpRouteAction) IploadbalancingHttpRouteAction { + if v != nil { + return *v + } + var ret IploadbalancingHttpRouteAction + return ret + }).(IploadbalancingHttpRouteActionOutput) +} + +// HTTP status code for "redirect" and "reject" actions +func (o IploadbalancingHttpRouteActionPtrOutput) Status() pulumi.Float64PtrOutput { + return o.ApplyT(func(v *IploadbalancingHttpRouteAction) *float64 { + if v == nil { + return nil + } + return v.Status + }).(pulumi.Float64PtrOutput) +} + +// Farm ID for "farm" action type or URL template for "redirect" action. You may use ${uri}, ${protocol}, ${host}, ${port} and ${path} variables in redirect target +func (o IploadbalancingHttpRouteActionPtrOutput) Target() pulumi.StringPtrOutput { + return o.ApplyT(func(v *IploadbalancingHttpRouteAction) *string { + if v == nil { + return nil + } + return v.Target + }).(pulumi.StringPtrOutput) +} + +// Action to trigger if all the rules of this route matches +func (o IploadbalancingHttpRouteActionPtrOutput) Type() pulumi.StringPtrOutput { + return o.ApplyT(func(v *IploadbalancingHttpRouteAction) *string { + if v == nil { + return nil + } + return &v.Type + }).(pulumi.StringPtrOutput) +} + +type IploadbalancingHttpRouteRuleType struct { + Field string `pulumi:"field"` + Match string `pulumi:"match"` + Negate bool `pulumi:"negate"` + Pattern string `pulumi:"pattern"` + RuleId float64 `pulumi:"ruleId"` + SubField string `pulumi:"subField"` +} + +// IploadbalancingHttpRouteRuleTypeInput is an input type that accepts IploadbalancingHttpRouteRuleTypeArgs and IploadbalancingHttpRouteRuleTypeOutput values. +// You can construct a concrete instance of `IploadbalancingHttpRouteRuleTypeInput` via: +// +// IploadbalancingHttpRouteRuleTypeArgs{...} +type IploadbalancingHttpRouteRuleTypeInput interface { + pulumi.Input + + ToIploadbalancingHttpRouteRuleTypeOutput() IploadbalancingHttpRouteRuleTypeOutput + ToIploadbalancingHttpRouteRuleTypeOutputWithContext(context.Context) IploadbalancingHttpRouteRuleTypeOutput +} + +type IploadbalancingHttpRouteRuleTypeArgs struct { + Field pulumi.StringInput `pulumi:"field"` + Match pulumi.StringInput `pulumi:"match"` + Negate pulumi.BoolInput `pulumi:"negate"` + Pattern pulumi.StringInput `pulumi:"pattern"` + RuleId pulumi.Float64Input `pulumi:"ruleId"` + SubField pulumi.StringInput `pulumi:"subField"` +} + +func (IploadbalancingHttpRouteRuleTypeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*IploadbalancingHttpRouteRuleType)(nil)).Elem() +} + +func (i IploadbalancingHttpRouteRuleTypeArgs) ToIploadbalancingHttpRouteRuleTypeOutput() IploadbalancingHttpRouteRuleTypeOutput { + return i.ToIploadbalancingHttpRouteRuleTypeOutputWithContext(context.Background()) +} + +func (i IploadbalancingHttpRouteRuleTypeArgs) ToIploadbalancingHttpRouteRuleTypeOutputWithContext(ctx context.Context) IploadbalancingHttpRouteRuleTypeOutput { + return pulumi.ToOutputWithContext(ctx, i).(IploadbalancingHttpRouteRuleTypeOutput) +} + +// IploadbalancingHttpRouteRuleTypeArrayInput is an input type that accepts IploadbalancingHttpRouteRuleTypeArray and IploadbalancingHttpRouteRuleTypeArrayOutput values. +// You can construct a concrete instance of `IploadbalancingHttpRouteRuleTypeArrayInput` via: +// +// IploadbalancingHttpRouteRuleTypeArray{ IploadbalancingHttpRouteRuleTypeArgs{...} } +type IploadbalancingHttpRouteRuleTypeArrayInput interface { + pulumi.Input + + ToIploadbalancingHttpRouteRuleTypeArrayOutput() IploadbalancingHttpRouteRuleTypeArrayOutput + ToIploadbalancingHttpRouteRuleTypeArrayOutputWithContext(context.Context) IploadbalancingHttpRouteRuleTypeArrayOutput +} + +type IploadbalancingHttpRouteRuleTypeArray []IploadbalancingHttpRouteRuleTypeInput + +func (IploadbalancingHttpRouteRuleTypeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]IploadbalancingHttpRouteRuleType)(nil)).Elem() +} + +func (i IploadbalancingHttpRouteRuleTypeArray) ToIploadbalancingHttpRouteRuleTypeArrayOutput() IploadbalancingHttpRouteRuleTypeArrayOutput { + return i.ToIploadbalancingHttpRouteRuleTypeArrayOutputWithContext(context.Background()) +} + +func (i IploadbalancingHttpRouteRuleTypeArray) ToIploadbalancingHttpRouteRuleTypeArrayOutputWithContext(ctx context.Context) IploadbalancingHttpRouteRuleTypeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(IploadbalancingHttpRouteRuleTypeArrayOutput) +} + +type IploadbalancingHttpRouteRuleTypeOutput struct{ *pulumi.OutputState } + +func (IploadbalancingHttpRouteRuleTypeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*IploadbalancingHttpRouteRuleType)(nil)).Elem() +} + +func (o IploadbalancingHttpRouteRuleTypeOutput) ToIploadbalancingHttpRouteRuleTypeOutput() IploadbalancingHttpRouteRuleTypeOutput { + return o +} + +func (o IploadbalancingHttpRouteRuleTypeOutput) ToIploadbalancingHttpRouteRuleTypeOutputWithContext(ctx context.Context) IploadbalancingHttpRouteRuleTypeOutput { + return o +} + +func (o IploadbalancingHttpRouteRuleTypeOutput) Field() pulumi.StringOutput { + return o.ApplyT(func(v IploadbalancingHttpRouteRuleType) string { return v.Field }).(pulumi.StringOutput) +} + +func (o IploadbalancingHttpRouteRuleTypeOutput) Match() pulumi.StringOutput { + return o.ApplyT(func(v IploadbalancingHttpRouteRuleType) string { return v.Match }).(pulumi.StringOutput) +} + +func (o IploadbalancingHttpRouteRuleTypeOutput) Negate() pulumi.BoolOutput { + return o.ApplyT(func(v IploadbalancingHttpRouteRuleType) bool { return v.Negate }).(pulumi.BoolOutput) +} + +func (o IploadbalancingHttpRouteRuleTypeOutput) Pattern() pulumi.StringOutput { + return o.ApplyT(func(v IploadbalancingHttpRouteRuleType) string { return v.Pattern }).(pulumi.StringOutput) +} + +func (o IploadbalancingHttpRouteRuleTypeOutput) RuleId() pulumi.Float64Output { + return o.ApplyT(func(v IploadbalancingHttpRouteRuleType) float64 { return v.RuleId }).(pulumi.Float64Output) +} + +func (o IploadbalancingHttpRouteRuleTypeOutput) SubField() pulumi.StringOutput { + return o.ApplyT(func(v IploadbalancingHttpRouteRuleType) string { return v.SubField }).(pulumi.StringOutput) +} + +type IploadbalancingHttpRouteRuleTypeArrayOutput struct{ *pulumi.OutputState } + +func (IploadbalancingHttpRouteRuleTypeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]IploadbalancingHttpRouteRuleType)(nil)).Elem() +} + +func (o IploadbalancingHttpRouteRuleTypeArrayOutput) ToIploadbalancingHttpRouteRuleTypeArrayOutput() IploadbalancingHttpRouteRuleTypeArrayOutput { + return o +} + +func (o IploadbalancingHttpRouteRuleTypeArrayOutput) ToIploadbalancingHttpRouteRuleTypeArrayOutputWithContext(ctx context.Context) IploadbalancingHttpRouteRuleTypeArrayOutput { + return o +} + +func (o IploadbalancingHttpRouteRuleTypeArrayOutput) Index(i pulumi.IntInput) IploadbalancingHttpRouteRuleTypeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) IploadbalancingHttpRouteRuleType { + return vs[0].([]IploadbalancingHttpRouteRuleType)[vs[1].(int)] + }).(IploadbalancingHttpRouteRuleTypeOutput) +} + +type IploadbalancingOrder struct { + // date + Date *string `pulumi:"date"` + // Information about a Bill entry + Details []IploadbalancingOrderDetail `pulumi:"details"` + // expiration date + ExpirationDate *string `pulumi:"expirationDate"` + // order id + OrderId *float64 `pulumi:"orderId"` +} + +// IploadbalancingOrderInput is an input type that accepts IploadbalancingOrderArgs and IploadbalancingOrderOutput values. +// You can construct a concrete instance of `IploadbalancingOrderInput` via: +// +// IploadbalancingOrderArgs{...} +type IploadbalancingOrderInput interface { + pulumi.Input + + ToIploadbalancingOrderOutput() IploadbalancingOrderOutput + ToIploadbalancingOrderOutputWithContext(context.Context) IploadbalancingOrderOutput +} + +type IploadbalancingOrderArgs struct { + // date + Date pulumi.StringPtrInput `pulumi:"date"` + // Information about a Bill entry + Details IploadbalancingOrderDetailArrayInput `pulumi:"details"` + // expiration date + ExpirationDate pulumi.StringPtrInput `pulumi:"expirationDate"` + // order id + OrderId pulumi.Float64PtrInput `pulumi:"orderId"` +} + +func (IploadbalancingOrderArgs) ElementType() reflect.Type { + return reflect.TypeOf((*IploadbalancingOrder)(nil)).Elem() +} + +func (i IploadbalancingOrderArgs) ToIploadbalancingOrderOutput() IploadbalancingOrderOutput { + return i.ToIploadbalancingOrderOutputWithContext(context.Background()) +} + +func (i IploadbalancingOrderArgs) ToIploadbalancingOrderOutputWithContext(ctx context.Context) IploadbalancingOrderOutput { + return pulumi.ToOutputWithContext(ctx, i).(IploadbalancingOrderOutput) +} + +// IploadbalancingOrderArrayInput is an input type that accepts IploadbalancingOrderArray and IploadbalancingOrderArrayOutput values. +// You can construct a concrete instance of `IploadbalancingOrderArrayInput` via: +// +// IploadbalancingOrderArray{ IploadbalancingOrderArgs{...} } +type IploadbalancingOrderArrayInput interface { + pulumi.Input + + ToIploadbalancingOrderArrayOutput() IploadbalancingOrderArrayOutput + ToIploadbalancingOrderArrayOutputWithContext(context.Context) IploadbalancingOrderArrayOutput +} + +type IploadbalancingOrderArray []IploadbalancingOrderInput + +func (IploadbalancingOrderArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]IploadbalancingOrder)(nil)).Elem() +} + +func (i IploadbalancingOrderArray) ToIploadbalancingOrderArrayOutput() IploadbalancingOrderArrayOutput { + return i.ToIploadbalancingOrderArrayOutputWithContext(context.Background()) +} + +func (i IploadbalancingOrderArray) ToIploadbalancingOrderArrayOutputWithContext(ctx context.Context) IploadbalancingOrderArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(IploadbalancingOrderArrayOutput) +} + +type IploadbalancingOrderOutput struct{ *pulumi.OutputState } + +func (IploadbalancingOrderOutput) ElementType() reflect.Type { + return reflect.TypeOf((*IploadbalancingOrder)(nil)).Elem() +} + +func (o IploadbalancingOrderOutput) ToIploadbalancingOrderOutput() IploadbalancingOrderOutput { + return o +} + +func (o IploadbalancingOrderOutput) ToIploadbalancingOrderOutputWithContext(ctx context.Context) IploadbalancingOrderOutput { + return o +} + +// date +func (o IploadbalancingOrderOutput) Date() pulumi.StringPtrOutput { + return o.ApplyT(func(v IploadbalancingOrder) *string { return v.Date }).(pulumi.StringPtrOutput) +} + +// Information about a Bill entry +func (o IploadbalancingOrderOutput) Details() IploadbalancingOrderDetailArrayOutput { + return o.ApplyT(func(v IploadbalancingOrder) []IploadbalancingOrderDetail { return v.Details }).(IploadbalancingOrderDetailArrayOutput) +} + +// expiration date +func (o IploadbalancingOrderOutput) ExpirationDate() pulumi.StringPtrOutput { + return o.ApplyT(func(v IploadbalancingOrder) *string { return v.ExpirationDate }).(pulumi.StringPtrOutput) +} + +// order id +func (o IploadbalancingOrderOutput) OrderId() pulumi.Float64PtrOutput { + return o.ApplyT(func(v IploadbalancingOrder) *float64 { return v.OrderId }).(pulumi.Float64PtrOutput) +} + +type IploadbalancingOrderArrayOutput struct{ *pulumi.OutputState } + +func (IploadbalancingOrderArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]IploadbalancingOrder)(nil)).Elem() +} + +func (o IploadbalancingOrderArrayOutput) ToIploadbalancingOrderArrayOutput() IploadbalancingOrderArrayOutput { + return o +} + +func (o IploadbalancingOrderArrayOutput) ToIploadbalancingOrderArrayOutputWithContext(ctx context.Context) IploadbalancingOrderArrayOutput { + return o +} + +func (o IploadbalancingOrderArrayOutput) Index(i pulumi.IntInput) IploadbalancingOrderOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) IploadbalancingOrder { + return vs[0].([]IploadbalancingOrder)[vs[1].(int)] + }).(IploadbalancingOrderOutput) +} + +type IploadbalancingOrderDetail struct { + Description string `pulumi:"description"` + Domain string `pulumi:"domain"` + OrderDetailId float64 `pulumi:"orderDetailId"` + Quantity string `pulumi:"quantity"` +} + +// IploadbalancingOrderDetailInput is an input type that accepts IploadbalancingOrderDetailArgs and IploadbalancingOrderDetailOutput values. +// You can construct a concrete instance of `IploadbalancingOrderDetailInput` via: +// +// IploadbalancingOrderDetailArgs{...} +type IploadbalancingOrderDetailInput interface { + pulumi.Input + + ToIploadbalancingOrderDetailOutput() IploadbalancingOrderDetailOutput + ToIploadbalancingOrderDetailOutputWithContext(context.Context) IploadbalancingOrderDetailOutput +} + +type IploadbalancingOrderDetailArgs struct { + Description pulumi.StringInput `pulumi:"description"` + Domain pulumi.StringInput `pulumi:"domain"` + OrderDetailId pulumi.Float64Input `pulumi:"orderDetailId"` + Quantity pulumi.StringInput `pulumi:"quantity"` +} + +func (IploadbalancingOrderDetailArgs) ElementType() reflect.Type { + return reflect.TypeOf((*IploadbalancingOrderDetail)(nil)).Elem() +} + +func (i IploadbalancingOrderDetailArgs) ToIploadbalancingOrderDetailOutput() IploadbalancingOrderDetailOutput { + return i.ToIploadbalancingOrderDetailOutputWithContext(context.Background()) +} + +func (i IploadbalancingOrderDetailArgs) ToIploadbalancingOrderDetailOutputWithContext(ctx context.Context) IploadbalancingOrderDetailOutput { + return pulumi.ToOutputWithContext(ctx, i).(IploadbalancingOrderDetailOutput) +} + +// IploadbalancingOrderDetailArrayInput is an input type that accepts IploadbalancingOrderDetailArray and IploadbalancingOrderDetailArrayOutput values. +// You can construct a concrete instance of `IploadbalancingOrderDetailArrayInput` via: +// +// IploadbalancingOrderDetailArray{ IploadbalancingOrderDetailArgs{...} } +type IploadbalancingOrderDetailArrayInput interface { + pulumi.Input + + ToIploadbalancingOrderDetailArrayOutput() IploadbalancingOrderDetailArrayOutput + ToIploadbalancingOrderDetailArrayOutputWithContext(context.Context) IploadbalancingOrderDetailArrayOutput +} + +type IploadbalancingOrderDetailArray []IploadbalancingOrderDetailInput + +func (IploadbalancingOrderDetailArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]IploadbalancingOrderDetail)(nil)).Elem() +} + +func (i IploadbalancingOrderDetailArray) ToIploadbalancingOrderDetailArrayOutput() IploadbalancingOrderDetailArrayOutput { + return i.ToIploadbalancingOrderDetailArrayOutputWithContext(context.Background()) +} + +func (i IploadbalancingOrderDetailArray) ToIploadbalancingOrderDetailArrayOutputWithContext(ctx context.Context) IploadbalancingOrderDetailArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(IploadbalancingOrderDetailArrayOutput) +} + +type IploadbalancingOrderDetailOutput struct{ *pulumi.OutputState } + +func (IploadbalancingOrderDetailOutput) ElementType() reflect.Type { + return reflect.TypeOf((*IploadbalancingOrderDetail)(nil)).Elem() +} + +func (o IploadbalancingOrderDetailOutput) ToIploadbalancingOrderDetailOutput() IploadbalancingOrderDetailOutput { + return o +} + +func (o IploadbalancingOrderDetailOutput) ToIploadbalancingOrderDetailOutputWithContext(ctx context.Context) IploadbalancingOrderDetailOutput { + return o +} + +func (o IploadbalancingOrderDetailOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v IploadbalancingOrderDetail) string { return v.Description }).(pulumi.StringOutput) +} + +func (o IploadbalancingOrderDetailOutput) Domain() pulumi.StringOutput { + return o.ApplyT(func(v IploadbalancingOrderDetail) string { return v.Domain }).(pulumi.StringOutput) +} + +func (o IploadbalancingOrderDetailOutput) OrderDetailId() pulumi.Float64Output { + return o.ApplyT(func(v IploadbalancingOrderDetail) float64 { return v.OrderDetailId }).(pulumi.Float64Output) +} + +func (o IploadbalancingOrderDetailOutput) Quantity() pulumi.StringOutput { + return o.ApplyT(func(v IploadbalancingOrderDetail) string { return v.Quantity }).(pulumi.StringOutput) +} + +type IploadbalancingOrderDetailArrayOutput struct{ *pulumi.OutputState } + +func (IploadbalancingOrderDetailArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]IploadbalancingOrderDetail)(nil)).Elem() +} + +func (o IploadbalancingOrderDetailArrayOutput) ToIploadbalancingOrderDetailArrayOutput() IploadbalancingOrderDetailArrayOutput { + return o +} + +func (o IploadbalancingOrderDetailArrayOutput) ToIploadbalancingOrderDetailArrayOutputWithContext(ctx context.Context) IploadbalancingOrderDetailArrayOutput { + return o +} + +func (o IploadbalancingOrderDetailArrayOutput) Index(i pulumi.IntInput) IploadbalancingOrderDetailOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) IploadbalancingOrderDetail { + return vs[0].([]IploadbalancingOrderDetail)[vs[1].(int)] + }).(IploadbalancingOrderDetailOutput) +} + +type IploadbalancingOrderableZone struct { + Name string `pulumi:"name"` + PlanCode string `pulumi:"planCode"` +} + +// IploadbalancingOrderableZoneInput is an input type that accepts IploadbalancingOrderableZoneArgs and IploadbalancingOrderableZoneOutput values. +// You can construct a concrete instance of `IploadbalancingOrderableZoneInput` via: +// +// IploadbalancingOrderableZoneArgs{...} +type IploadbalancingOrderableZoneInput interface { + pulumi.Input + + ToIploadbalancingOrderableZoneOutput() IploadbalancingOrderableZoneOutput + ToIploadbalancingOrderableZoneOutputWithContext(context.Context) IploadbalancingOrderableZoneOutput +} + +type IploadbalancingOrderableZoneArgs struct { + Name pulumi.StringInput `pulumi:"name"` + PlanCode pulumi.StringInput `pulumi:"planCode"` +} + +func (IploadbalancingOrderableZoneArgs) ElementType() reflect.Type { + return reflect.TypeOf((*IploadbalancingOrderableZone)(nil)).Elem() +} + +func (i IploadbalancingOrderableZoneArgs) ToIploadbalancingOrderableZoneOutput() IploadbalancingOrderableZoneOutput { + return i.ToIploadbalancingOrderableZoneOutputWithContext(context.Background()) +} + +func (i IploadbalancingOrderableZoneArgs) ToIploadbalancingOrderableZoneOutputWithContext(ctx context.Context) IploadbalancingOrderableZoneOutput { + return pulumi.ToOutputWithContext(ctx, i).(IploadbalancingOrderableZoneOutput) +} + +// IploadbalancingOrderableZoneArrayInput is an input type that accepts IploadbalancingOrderableZoneArray and IploadbalancingOrderableZoneArrayOutput values. +// You can construct a concrete instance of `IploadbalancingOrderableZoneArrayInput` via: +// +// IploadbalancingOrderableZoneArray{ IploadbalancingOrderableZoneArgs{...} } +type IploadbalancingOrderableZoneArrayInput interface { + pulumi.Input + + ToIploadbalancingOrderableZoneArrayOutput() IploadbalancingOrderableZoneArrayOutput + ToIploadbalancingOrderableZoneArrayOutputWithContext(context.Context) IploadbalancingOrderableZoneArrayOutput +} + +type IploadbalancingOrderableZoneArray []IploadbalancingOrderableZoneInput + +func (IploadbalancingOrderableZoneArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]IploadbalancingOrderableZone)(nil)).Elem() +} + +func (i IploadbalancingOrderableZoneArray) ToIploadbalancingOrderableZoneArrayOutput() IploadbalancingOrderableZoneArrayOutput { + return i.ToIploadbalancingOrderableZoneArrayOutputWithContext(context.Background()) +} + +func (i IploadbalancingOrderableZoneArray) ToIploadbalancingOrderableZoneArrayOutputWithContext(ctx context.Context) IploadbalancingOrderableZoneArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(IploadbalancingOrderableZoneArrayOutput) +} + +type IploadbalancingOrderableZoneOutput struct{ *pulumi.OutputState } + +func (IploadbalancingOrderableZoneOutput) ElementType() reflect.Type { + return reflect.TypeOf((*IploadbalancingOrderableZone)(nil)).Elem() +} + +func (o IploadbalancingOrderableZoneOutput) ToIploadbalancingOrderableZoneOutput() IploadbalancingOrderableZoneOutput { + return o +} + +func (o IploadbalancingOrderableZoneOutput) ToIploadbalancingOrderableZoneOutputWithContext(ctx context.Context) IploadbalancingOrderableZoneOutput { + return o +} + +func (o IploadbalancingOrderableZoneOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v IploadbalancingOrderableZone) string { return v.Name }).(pulumi.StringOutput) +} + +func (o IploadbalancingOrderableZoneOutput) PlanCode() pulumi.StringOutput { + return o.ApplyT(func(v IploadbalancingOrderableZone) string { return v.PlanCode }).(pulumi.StringOutput) +} + +type IploadbalancingOrderableZoneArrayOutput struct{ *pulumi.OutputState } + +func (IploadbalancingOrderableZoneArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]IploadbalancingOrderableZone)(nil)).Elem() +} + +func (o IploadbalancingOrderableZoneArrayOutput) ToIploadbalancingOrderableZoneArrayOutput() IploadbalancingOrderableZoneArrayOutput { + return o +} + +func (o IploadbalancingOrderableZoneArrayOutput) ToIploadbalancingOrderableZoneArrayOutputWithContext(ctx context.Context) IploadbalancingOrderableZoneArrayOutput { + return o +} + +func (o IploadbalancingOrderableZoneArrayOutput) Index(i pulumi.IntInput) IploadbalancingOrderableZoneOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) IploadbalancingOrderableZone { + return vs[0].([]IploadbalancingOrderableZone)[vs[1].(int)] + }).(IploadbalancingOrderableZoneOutput) +} + +type IploadbalancingPlan struct { + // Catalog name + CatalogName *string `pulumi:"catalogName"` + // Representation of a configuration item for personalizing product + Configurations []IploadbalancingPlanConfiguration `pulumi:"configurations"` + // duration + Duration string `pulumi:"duration"` + // Plan code + PlanCode string `pulumi:"planCode"` + // Pricing model identifier + PricingMode string `pulumi:"pricingMode"` +} + +// IploadbalancingPlanInput is an input type that accepts IploadbalancingPlanArgs and IploadbalancingPlanOutput values. +// You can construct a concrete instance of `IploadbalancingPlanInput` via: +// +// IploadbalancingPlanArgs{...} +type IploadbalancingPlanInput interface { + pulumi.Input + + ToIploadbalancingPlanOutput() IploadbalancingPlanOutput + ToIploadbalancingPlanOutputWithContext(context.Context) IploadbalancingPlanOutput +} + +type IploadbalancingPlanArgs struct { + // Catalog name + CatalogName pulumi.StringPtrInput `pulumi:"catalogName"` + // Representation of a configuration item for personalizing product + Configurations IploadbalancingPlanConfigurationArrayInput `pulumi:"configurations"` + // duration + Duration pulumi.StringInput `pulumi:"duration"` + // Plan code + PlanCode pulumi.StringInput `pulumi:"planCode"` + // Pricing model identifier + PricingMode pulumi.StringInput `pulumi:"pricingMode"` +} + +func (IploadbalancingPlanArgs) ElementType() reflect.Type { + return reflect.TypeOf((*IploadbalancingPlan)(nil)).Elem() +} + +func (i IploadbalancingPlanArgs) ToIploadbalancingPlanOutput() IploadbalancingPlanOutput { + return i.ToIploadbalancingPlanOutputWithContext(context.Background()) +} + +func (i IploadbalancingPlanArgs) ToIploadbalancingPlanOutputWithContext(ctx context.Context) IploadbalancingPlanOutput { + return pulumi.ToOutputWithContext(ctx, i).(IploadbalancingPlanOutput) +} + +func (i IploadbalancingPlanArgs) ToIploadbalancingPlanPtrOutput() IploadbalancingPlanPtrOutput { + return i.ToIploadbalancingPlanPtrOutputWithContext(context.Background()) +} + +func (i IploadbalancingPlanArgs) ToIploadbalancingPlanPtrOutputWithContext(ctx context.Context) IploadbalancingPlanPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(IploadbalancingPlanOutput).ToIploadbalancingPlanPtrOutputWithContext(ctx) +} + +// IploadbalancingPlanPtrInput is an input type that accepts IploadbalancingPlanArgs, IploadbalancingPlanPtr and IploadbalancingPlanPtrOutput values. +// You can construct a concrete instance of `IploadbalancingPlanPtrInput` via: +// +// IploadbalancingPlanArgs{...} +// +// or: +// +// nil +type IploadbalancingPlanPtrInput interface { + pulumi.Input + + ToIploadbalancingPlanPtrOutput() IploadbalancingPlanPtrOutput + ToIploadbalancingPlanPtrOutputWithContext(context.Context) IploadbalancingPlanPtrOutput +} + +type iploadbalancingPlanPtrType IploadbalancingPlanArgs + +func IploadbalancingPlanPtr(v *IploadbalancingPlanArgs) IploadbalancingPlanPtrInput { + return (*iploadbalancingPlanPtrType)(v) +} + +func (*iploadbalancingPlanPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**IploadbalancingPlan)(nil)).Elem() +} + +func (i *iploadbalancingPlanPtrType) ToIploadbalancingPlanPtrOutput() IploadbalancingPlanPtrOutput { + return i.ToIploadbalancingPlanPtrOutputWithContext(context.Background()) +} + +func (i *iploadbalancingPlanPtrType) ToIploadbalancingPlanPtrOutputWithContext(ctx context.Context) IploadbalancingPlanPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(IploadbalancingPlanPtrOutput) +} + +type IploadbalancingPlanOutput struct{ *pulumi.OutputState } + +func (IploadbalancingPlanOutput) ElementType() reflect.Type { + return reflect.TypeOf((*IploadbalancingPlan)(nil)).Elem() +} + +func (o IploadbalancingPlanOutput) ToIploadbalancingPlanOutput() IploadbalancingPlanOutput { + return o +} + +func (o IploadbalancingPlanOutput) ToIploadbalancingPlanOutputWithContext(ctx context.Context) IploadbalancingPlanOutput { + return o +} + +func (o IploadbalancingPlanOutput) ToIploadbalancingPlanPtrOutput() IploadbalancingPlanPtrOutput { + return o.ToIploadbalancingPlanPtrOutputWithContext(context.Background()) +} + +func (o IploadbalancingPlanOutput) ToIploadbalancingPlanPtrOutputWithContext(ctx context.Context) IploadbalancingPlanPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v IploadbalancingPlan) *IploadbalancingPlan { + return &v + }).(IploadbalancingPlanPtrOutput) +} + +// Catalog name +func (o IploadbalancingPlanOutput) CatalogName() pulumi.StringPtrOutput { + return o.ApplyT(func(v IploadbalancingPlan) *string { return v.CatalogName }).(pulumi.StringPtrOutput) +} + +// Representation of a configuration item for personalizing product +func (o IploadbalancingPlanOutput) Configurations() IploadbalancingPlanConfigurationArrayOutput { + return o.ApplyT(func(v IploadbalancingPlan) []IploadbalancingPlanConfiguration { return v.Configurations }).(IploadbalancingPlanConfigurationArrayOutput) +} + +// duration +func (o IploadbalancingPlanOutput) Duration() pulumi.StringOutput { + return o.ApplyT(func(v IploadbalancingPlan) string { return v.Duration }).(pulumi.StringOutput) +} + +// Plan code +func (o IploadbalancingPlanOutput) PlanCode() pulumi.StringOutput { + return o.ApplyT(func(v IploadbalancingPlan) string { return v.PlanCode }).(pulumi.StringOutput) +} + +// Pricing model identifier +func (o IploadbalancingPlanOutput) PricingMode() pulumi.StringOutput { + return o.ApplyT(func(v IploadbalancingPlan) string { return v.PricingMode }).(pulumi.StringOutput) +} + +type IploadbalancingPlanPtrOutput struct{ *pulumi.OutputState } + +func (IploadbalancingPlanPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**IploadbalancingPlan)(nil)).Elem() +} + +func (o IploadbalancingPlanPtrOutput) ToIploadbalancingPlanPtrOutput() IploadbalancingPlanPtrOutput { + return o +} + +func (o IploadbalancingPlanPtrOutput) ToIploadbalancingPlanPtrOutputWithContext(ctx context.Context) IploadbalancingPlanPtrOutput { + return o +} + +func (o IploadbalancingPlanPtrOutput) Elem() IploadbalancingPlanOutput { + return o.ApplyT(func(v *IploadbalancingPlan) IploadbalancingPlan { + if v != nil { + return *v + } + var ret IploadbalancingPlan + return ret + }).(IploadbalancingPlanOutput) +} + +// Catalog name +func (o IploadbalancingPlanPtrOutput) CatalogName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *IploadbalancingPlan) *string { + if v == nil { + return nil + } + return v.CatalogName + }).(pulumi.StringPtrOutput) +} + +// Representation of a configuration item for personalizing product +func (o IploadbalancingPlanPtrOutput) Configurations() IploadbalancingPlanConfigurationArrayOutput { + return o.ApplyT(func(v *IploadbalancingPlan) []IploadbalancingPlanConfiguration { + if v == nil { + return nil + } + return v.Configurations + }).(IploadbalancingPlanConfigurationArrayOutput) +} + +// duration +func (o IploadbalancingPlanPtrOutput) Duration() pulumi.StringPtrOutput { + return o.ApplyT(func(v *IploadbalancingPlan) *string { + if v == nil { + return nil + } + return &v.Duration + }).(pulumi.StringPtrOutput) +} + +// Plan code +func (o IploadbalancingPlanPtrOutput) PlanCode() pulumi.StringPtrOutput { + return o.ApplyT(func(v *IploadbalancingPlan) *string { + if v == nil { + return nil + } + return &v.PlanCode + }).(pulumi.StringPtrOutput) +} + +// Pricing model identifier +func (o IploadbalancingPlanPtrOutput) PricingMode() pulumi.StringPtrOutput { + return o.ApplyT(func(v *IploadbalancingPlan) *string { + if v == nil { + return nil + } + return &v.PricingMode + }).(pulumi.StringPtrOutput) +} + +type IploadbalancingPlanConfiguration struct { + // Identifier of the resource + Label string `pulumi:"label"` + // Path to the resource in API.OVH.COM + Value string `pulumi:"value"` +} + +// IploadbalancingPlanConfigurationInput is an input type that accepts IploadbalancingPlanConfigurationArgs and IploadbalancingPlanConfigurationOutput values. +// You can construct a concrete instance of `IploadbalancingPlanConfigurationInput` via: +// +// IploadbalancingPlanConfigurationArgs{...} +type IploadbalancingPlanConfigurationInput interface { + pulumi.Input + + ToIploadbalancingPlanConfigurationOutput() IploadbalancingPlanConfigurationOutput + ToIploadbalancingPlanConfigurationOutputWithContext(context.Context) IploadbalancingPlanConfigurationOutput +} + +type IploadbalancingPlanConfigurationArgs struct { + // Identifier of the resource + Label pulumi.StringInput `pulumi:"label"` + // Path to the resource in API.OVH.COM + Value pulumi.StringInput `pulumi:"value"` +} + +func (IploadbalancingPlanConfigurationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*IploadbalancingPlanConfiguration)(nil)).Elem() +} + +func (i IploadbalancingPlanConfigurationArgs) ToIploadbalancingPlanConfigurationOutput() IploadbalancingPlanConfigurationOutput { + return i.ToIploadbalancingPlanConfigurationOutputWithContext(context.Background()) +} + +func (i IploadbalancingPlanConfigurationArgs) ToIploadbalancingPlanConfigurationOutputWithContext(ctx context.Context) IploadbalancingPlanConfigurationOutput { + return pulumi.ToOutputWithContext(ctx, i).(IploadbalancingPlanConfigurationOutput) +} + +// IploadbalancingPlanConfigurationArrayInput is an input type that accepts IploadbalancingPlanConfigurationArray and IploadbalancingPlanConfigurationArrayOutput values. +// You can construct a concrete instance of `IploadbalancingPlanConfigurationArrayInput` via: +// +// IploadbalancingPlanConfigurationArray{ IploadbalancingPlanConfigurationArgs{...} } +type IploadbalancingPlanConfigurationArrayInput interface { + pulumi.Input + + ToIploadbalancingPlanConfigurationArrayOutput() IploadbalancingPlanConfigurationArrayOutput + ToIploadbalancingPlanConfigurationArrayOutputWithContext(context.Context) IploadbalancingPlanConfigurationArrayOutput +} + +type IploadbalancingPlanConfigurationArray []IploadbalancingPlanConfigurationInput + +func (IploadbalancingPlanConfigurationArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]IploadbalancingPlanConfiguration)(nil)).Elem() +} + +func (i IploadbalancingPlanConfigurationArray) ToIploadbalancingPlanConfigurationArrayOutput() IploadbalancingPlanConfigurationArrayOutput { + return i.ToIploadbalancingPlanConfigurationArrayOutputWithContext(context.Background()) +} + +func (i IploadbalancingPlanConfigurationArray) ToIploadbalancingPlanConfigurationArrayOutputWithContext(ctx context.Context) IploadbalancingPlanConfigurationArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(IploadbalancingPlanConfigurationArrayOutput) +} + +type IploadbalancingPlanConfigurationOutput struct{ *pulumi.OutputState } + +func (IploadbalancingPlanConfigurationOutput) ElementType() reflect.Type { + return reflect.TypeOf((*IploadbalancingPlanConfiguration)(nil)).Elem() +} + +func (o IploadbalancingPlanConfigurationOutput) ToIploadbalancingPlanConfigurationOutput() IploadbalancingPlanConfigurationOutput { + return o +} + +func (o IploadbalancingPlanConfigurationOutput) ToIploadbalancingPlanConfigurationOutputWithContext(ctx context.Context) IploadbalancingPlanConfigurationOutput { + return o +} + +// Identifier of the resource +func (o IploadbalancingPlanConfigurationOutput) Label() pulumi.StringOutput { + return o.ApplyT(func(v IploadbalancingPlanConfiguration) string { return v.Label }).(pulumi.StringOutput) +} + +// Path to the resource in API.OVH.COM +func (o IploadbalancingPlanConfigurationOutput) Value() pulumi.StringOutput { + return o.ApplyT(func(v IploadbalancingPlanConfiguration) string { return v.Value }).(pulumi.StringOutput) +} + +type IploadbalancingPlanConfigurationArrayOutput struct{ *pulumi.OutputState } + +func (IploadbalancingPlanConfigurationArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]IploadbalancingPlanConfiguration)(nil)).Elem() +} + +func (o IploadbalancingPlanConfigurationArrayOutput) ToIploadbalancingPlanConfigurationArrayOutput() IploadbalancingPlanConfigurationArrayOutput { + return o +} + +func (o IploadbalancingPlanConfigurationArrayOutput) ToIploadbalancingPlanConfigurationArrayOutputWithContext(ctx context.Context) IploadbalancingPlanConfigurationArrayOutput { + return o +} + +func (o IploadbalancingPlanConfigurationArrayOutput) Index(i pulumi.IntInput) IploadbalancingPlanConfigurationOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) IploadbalancingPlanConfiguration { + return vs[0].([]IploadbalancingPlanConfiguration)[vs[1].(int)] + }).(IploadbalancingPlanConfigurationOutput) +} + +type IploadbalancingPlanOption struct { + // Catalog name + CatalogName *string `pulumi:"catalogName"` + // Representation of a configuration item for personalizing product + Configurations []IploadbalancingPlanOptionConfiguration `pulumi:"configurations"` + // duration + Duration string `pulumi:"duration"` + // Plan code + PlanCode string `pulumi:"planCode"` + // Pricing model identifier + PricingMode string `pulumi:"pricingMode"` +} + +// IploadbalancingPlanOptionInput is an input type that accepts IploadbalancingPlanOptionArgs and IploadbalancingPlanOptionOutput values. +// You can construct a concrete instance of `IploadbalancingPlanOptionInput` via: +// +// IploadbalancingPlanOptionArgs{...} +type IploadbalancingPlanOptionInput interface { + pulumi.Input + + ToIploadbalancingPlanOptionOutput() IploadbalancingPlanOptionOutput + ToIploadbalancingPlanOptionOutputWithContext(context.Context) IploadbalancingPlanOptionOutput +} + +type IploadbalancingPlanOptionArgs struct { + // Catalog name + CatalogName pulumi.StringPtrInput `pulumi:"catalogName"` + // Representation of a configuration item for personalizing product + Configurations IploadbalancingPlanOptionConfigurationArrayInput `pulumi:"configurations"` + // duration + Duration pulumi.StringInput `pulumi:"duration"` + // Plan code + PlanCode pulumi.StringInput `pulumi:"planCode"` + // Pricing model identifier + PricingMode pulumi.StringInput `pulumi:"pricingMode"` +} + +func (IploadbalancingPlanOptionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*IploadbalancingPlanOption)(nil)).Elem() +} + +func (i IploadbalancingPlanOptionArgs) ToIploadbalancingPlanOptionOutput() IploadbalancingPlanOptionOutput { + return i.ToIploadbalancingPlanOptionOutputWithContext(context.Background()) +} + +func (i IploadbalancingPlanOptionArgs) ToIploadbalancingPlanOptionOutputWithContext(ctx context.Context) IploadbalancingPlanOptionOutput { + return pulumi.ToOutputWithContext(ctx, i).(IploadbalancingPlanOptionOutput) +} + +// IploadbalancingPlanOptionArrayInput is an input type that accepts IploadbalancingPlanOptionArray and IploadbalancingPlanOptionArrayOutput values. +// You can construct a concrete instance of `IploadbalancingPlanOptionArrayInput` via: +// +// IploadbalancingPlanOptionArray{ IploadbalancingPlanOptionArgs{...} } +type IploadbalancingPlanOptionArrayInput interface { + pulumi.Input + + ToIploadbalancingPlanOptionArrayOutput() IploadbalancingPlanOptionArrayOutput + ToIploadbalancingPlanOptionArrayOutputWithContext(context.Context) IploadbalancingPlanOptionArrayOutput +} + +type IploadbalancingPlanOptionArray []IploadbalancingPlanOptionInput + +func (IploadbalancingPlanOptionArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]IploadbalancingPlanOption)(nil)).Elem() +} + +func (i IploadbalancingPlanOptionArray) ToIploadbalancingPlanOptionArrayOutput() IploadbalancingPlanOptionArrayOutput { + return i.ToIploadbalancingPlanOptionArrayOutputWithContext(context.Background()) +} + +func (i IploadbalancingPlanOptionArray) ToIploadbalancingPlanOptionArrayOutputWithContext(ctx context.Context) IploadbalancingPlanOptionArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(IploadbalancingPlanOptionArrayOutput) +} + +type IploadbalancingPlanOptionOutput struct{ *pulumi.OutputState } + +func (IploadbalancingPlanOptionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*IploadbalancingPlanOption)(nil)).Elem() +} + +func (o IploadbalancingPlanOptionOutput) ToIploadbalancingPlanOptionOutput() IploadbalancingPlanOptionOutput { + return o +} + +func (o IploadbalancingPlanOptionOutput) ToIploadbalancingPlanOptionOutputWithContext(ctx context.Context) IploadbalancingPlanOptionOutput { + return o +} + +// Catalog name +func (o IploadbalancingPlanOptionOutput) CatalogName() pulumi.StringPtrOutput { + return o.ApplyT(func(v IploadbalancingPlanOption) *string { return v.CatalogName }).(pulumi.StringPtrOutput) +} + +// Representation of a configuration item for personalizing product +func (o IploadbalancingPlanOptionOutput) Configurations() IploadbalancingPlanOptionConfigurationArrayOutput { + return o.ApplyT(func(v IploadbalancingPlanOption) []IploadbalancingPlanOptionConfiguration { return v.Configurations }).(IploadbalancingPlanOptionConfigurationArrayOutput) +} + +// duration +func (o IploadbalancingPlanOptionOutput) Duration() pulumi.StringOutput { + return o.ApplyT(func(v IploadbalancingPlanOption) string { return v.Duration }).(pulumi.StringOutput) +} + +// Plan code +func (o IploadbalancingPlanOptionOutput) PlanCode() pulumi.StringOutput { + return o.ApplyT(func(v IploadbalancingPlanOption) string { return v.PlanCode }).(pulumi.StringOutput) +} + +// Pricing model identifier +func (o IploadbalancingPlanOptionOutput) PricingMode() pulumi.StringOutput { + return o.ApplyT(func(v IploadbalancingPlanOption) string { return v.PricingMode }).(pulumi.StringOutput) +} + +type IploadbalancingPlanOptionArrayOutput struct{ *pulumi.OutputState } + +func (IploadbalancingPlanOptionArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]IploadbalancingPlanOption)(nil)).Elem() +} + +func (o IploadbalancingPlanOptionArrayOutput) ToIploadbalancingPlanOptionArrayOutput() IploadbalancingPlanOptionArrayOutput { + return o +} + +func (o IploadbalancingPlanOptionArrayOutput) ToIploadbalancingPlanOptionArrayOutputWithContext(ctx context.Context) IploadbalancingPlanOptionArrayOutput { + return o +} + +func (o IploadbalancingPlanOptionArrayOutput) Index(i pulumi.IntInput) IploadbalancingPlanOptionOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) IploadbalancingPlanOption { + return vs[0].([]IploadbalancingPlanOption)[vs[1].(int)] + }).(IploadbalancingPlanOptionOutput) +} + +type IploadbalancingPlanOptionConfiguration struct { + // Identifier of the resource + Label string `pulumi:"label"` + // Path to the resource in API.OVH.COM + Value string `pulumi:"value"` +} + +// IploadbalancingPlanOptionConfigurationInput is an input type that accepts IploadbalancingPlanOptionConfigurationArgs and IploadbalancingPlanOptionConfigurationOutput values. +// You can construct a concrete instance of `IploadbalancingPlanOptionConfigurationInput` via: +// +// IploadbalancingPlanOptionConfigurationArgs{...} +type IploadbalancingPlanOptionConfigurationInput interface { + pulumi.Input + + ToIploadbalancingPlanOptionConfigurationOutput() IploadbalancingPlanOptionConfigurationOutput + ToIploadbalancingPlanOptionConfigurationOutputWithContext(context.Context) IploadbalancingPlanOptionConfigurationOutput +} + +type IploadbalancingPlanOptionConfigurationArgs struct { + // Identifier of the resource + Label pulumi.StringInput `pulumi:"label"` + // Path to the resource in API.OVH.COM + Value pulumi.StringInput `pulumi:"value"` +} + +func (IploadbalancingPlanOptionConfigurationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*IploadbalancingPlanOptionConfiguration)(nil)).Elem() +} + +func (i IploadbalancingPlanOptionConfigurationArgs) ToIploadbalancingPlanOptionConfigurationOutput() IploadbalancingPlanOptionConfigurationOutput { + return i.ToIploadbalancingPlanOptionConfigurationOutputWithContext(context.Background()) +} + +func (i IploadbalancingPlanOptionConfigurationArgs) ToIploadbalancingPlanOptionConfigurationOutputWithContext(ctx context.Context) IploadbalancingPlanOptionConfigurationOutput { + return pulumi.ToOutputWithContext(ctx, i).(IploadbalancingPlanOptionConfigurationOutput) +} + +// IploadbalancingPlanOptionConfigurationArrayInput is an input type that accepts IploadbalancingPlanOptionConfigurationArray and IploadbalancingPlanOptionConfigurationArrayOutput values. +// You can construct a concrete instance of `IploadbalancingPlanOptionConfigurationArrayInput` via: +// +// IploadbalancingPlanOptionConfigurationArray{ IploadbalancingPlanOptionConfigurationArgs{...} } +type IploadbalancingPlanOptionConfigurationArrayInput interface { + pulumi.Input + + ToIploadbalancingPlanOptionConfigurationArrayOutput() IploadbalancingPlanOptionConfigurationArrayOutput + ToIploadbalancingPlanOptionConfigurationArrayOutputWithContext(context.Context) IploadbalancingPlanOptionConfigurationArrayOutput +} + +type IploadbalancingPlanOptionConfigurationArray []IploadbalancingPlanOptionConfigurationInput + +func (IploadbalancingPlanOptionConfigurationArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]IploadbalancingPlanOptionConfiguration)(nil)).Elem() +} + +func (i IploadbalancingPlanOptionConfigurationArray) ToIploadbalancingPlanOptionConfigurationArrayOutput() IploadbalancingPlanOptionConfigurationArrayOutput { + return i.ToIploadbalancingPlanOptionConfigurationArrayOutputWithContext(context.Background()) +} + +func (i IploadbalancingPlanOptionConfigurationArray) ToIploadbalancingPlanOptionConfigurationArrayOutputWithContext(ctx context.Context) IploadbalancingPlanOptionConfigurationArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(IploadbalancingPlanOptionConfigurationArrayOutput) +} + +type IploadbalancingPlanOptionConfigurationOutput struct{ *pulumi.OutputState } + +func (IploadbalancingPlanOptionConfigurationOutput) ElementType() reflect.Type { + return reflect.TypeOf((*IploadbalancingPlanOptionConfiguration)(nil)).Elem() +} + +func (o IploadbalancingPlanOptionConfigurationOutput) ToIploadbalancingPlanOptionConfigurationOutput() IploadbalancingPlanOptionConfigurationOutput { + return o +} + +func (o IploadbalancingPlanOptionConfigurationOutput) ToIploadbalancingPlanOptionConfigurationOutputWithContext(ctx context.Context) IploadbalancingPlanOptionConfigurationOutput { + return o +} + +// Identifier of the resource +func (o IploadbalancingPlanOptionConfigurationOutput) Label() pulumi.StringOutput { + return o.ApplyT(func(v IploadbalancingPlanOptionConfiguration) string { return v.Label }).(pulumi.StringOutput) +} + +// Path to the resource in API.OVH.COM +func (o IploadbalancingPlanOptionConfigurationOutput) Value() pulumi.StringOutput { + return o.ApplyT(func(v IploadbalancingPlanOptionConfiguration) string { return v.Value }).(pulumi.StringOutput) +} + +type IploadbalancingPlanOptionConfigurationArrayOutput struct{ *pulumi.OutputState } + +func (IploadbalancingPlanOptionConfigurationArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]IploadbalancingPlanOptionConfiguration)(nil)).Elem() +} + +func (o IploadbalancingPlanOptionConfigurationArrayOutput) ToIploadbalancingPlanOptionConfigurationArrayOutput() IploadbalancingPlanOptionConfigurationArrayOutput { + return o +} + +func (o IploadbalancingPlanOptionConfigurationArrayOutput) ToIploadbalancingPlanOptionConfigurationArrayOutputWithContext(ctx context.Context) IploadbalancingPlanOptionConfigurationArrayOutput { + return o +} + +func (o IploadbalancingPlanOptionConfigurationArrayOutput) Index(i pulumi.IntInput) IploadbalancingPlanOptionConfigurationOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) IploadbalancingPlanOptionConfiguration { + return vs[0].([]IploadbalancingPlanOptionConfiguration)[vs[1].(int)] + }).(IploadbalancingPlanOptionConfigurationOutput) +} + +type IploadbalancingTcpFarmProbe struct { + ForceSsl *bool `pulumi:"forceSsl"` + Interval *float64 `pulumi:"interval"` + Match *string `pulumi:"match"` + Method *string `pulumi:"method"` + Negate *bool `pulumi:"negate"` + Pattern *string `pulumi:"pattern"` + Port *float64 `pulumi:"port"` + Type string `pulumi:"type"` + Url *string `pulumi:"url"` +} + +// IploadbalancingTcpFarmProbeInput is an input type that accepts IploadbalancingTcpFarmProbeArgs and IploadbalancingTcpFarmProbeOutput values. +// You can construct a concrete instance of `IploadbalancingTcpFarmProbeInput` via: +// +// IploadbalancingTcpFarmProbeArgs{...} +type IploadbalancingTcpFarmProbeInput interface { + pulumi.Input + + ToIploadbalancingTcpFarmProbeOutput() IploadbalancingTcpFarmProbeOutput + ToIploadbalancingTcpFarmProbeOutputWithContext(context.Context) IploadbalancingTcpFarmProbeOutput +} + +type IploadbalancingTcpFarmProbeArgs struct { + ForceSsl pulumi.BoolPtrInput `pulumi:"forceSsl"` + Interval pulumi.Float64PtrInput `pulumi:"interval"` + Match pulumi.StringPtrInput `pulumi:"match"` + Method pulumi.StringPtrInput `pulumi:"method"` + Negate pulumi.BoolPtrInput `pulumi:"negate"` + Pattern pulumi.StringPtrInput `pulumi:"pattern"` + Port pulumi.Float64PtrInput `pulumi:"port"` + Type pulumi.StringInput `pulumi:"type"` + Url pulumi.StringPtrInput `pulumi:"url"` +} + +func (IploadbalancingTcpFarmProbeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*IploadbalancingTcpFarmProbe)(nil)).Elem() +} + +func (i IploadbalancingTcpFarmProbeArgs) ToIploadbalancingTcpFarmProbeOutput() IploadbalancingTcpFarmProbeOutput { + return i.ToIploadbalancingTcpFarmProbeOutputWithContext(context.Background()) +} + +func (i IploadbalancingTcpFarmProbeArgs) ToIploadbalancingTcpFarmProbeOutputWithContext(ctx context.Context) IploadbalancingTcpFarmProbeOutput { + return pulumi.ToOutputWithContext(ctx, i).(IploadbalancingTcpFarmProbeOutput) +} + +func (i IploadbalancingTcpFarmProbeArgs) ToIploadbalancingTcpFarmProbePtrOutput() IploadbalancingTcpFarmProbePtrOutput { + return i.ToIploadbalancingTcpFarmProbePtrOutputWithContext(context.Background()) +} + +func (i IploadbalancingTcpFarmProbeArgs) ToIploadbalancingTcpFarmProbePtrOutputWithContext(ctx context.Context) IploadbalancingTcpFarmProbePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(IploadbalancingTcpFarmProbeOutput).ToIploadbalancingTcpFarmProbePtrOutputWithContext(ctx) +} + +// IploadbalancingTcpFarmProbePtrInput is an input type that accepts IploadbalancingTcpFarmProbeArgs, IploadbalancingTcpFarmProbePtr and IploadbalancingTcpFarmProbePtrOutput values. +// You can construct a concrete instance of `IploadbalancingTcpFarmProbePtrInput` via: +// +// IploadbalancingTcpFarmProbeArgs{...} +// +// or: +// +// nil +type IploadbalancingTcpFarmProbePtrInput interface { + pulumi.Input + + ToIploadbalancingTcpFarmProbePtrOutput() IploadbalancingTcpFarmProbePtrOutput + ToIploadbalancingTcpFarmProbePtrOutputWithContext(context.Context) IploadbalancingTcpFarmProbePtrOutput +} + +type iploadbalancingTcpFarmProbePtrType IploadbalancingTcpFarmProbeArgs + +func IploadbalancingTcpFarmProbePtr(v *IploadbalancingTcpFarmProbeArgs) IploadbalancingTcpFarmProbePtrInput { + return (*iploadbalancingTcpFarmProbePtrType)(v) +} + +func (*iploadbalancingTcpFarmProbePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**IploadbalancingTcpFarmProbe)(nil)).Elem() +} + +func (i *iploadbalancingTcpFarmProbePtrType) ToIploadbalancingTcpFarmProbePtrOutput() IploadbalancingTcpFarmProbePtrOutput { + return i.ToIploadbalancingTcpFarmProbePtrOutputWithContext(context.Background()) +} + +func (i *iploadbalancingTcpFarmProbePtrType) ToIploadbalancingTcpFarmProbePtrOutputWithContext(ctx context.Context) IploadbalancingTcpFarmProbePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(IploadbalancingTcpFarmProbePtrOutput) +} + +type IploadbalancingTcpFarmProbeOutput struct{ *pulumi.OutputState } + +func (IploadbalancingTcpFarmProbeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*IploadbalancingTcpFarmProbe)(nil)).Elem() +} + +func (o IploadbalancingTcpFarmProbeOutput) ToIploadbalancingTcpFarmProbeOutput() IploadbalancingTcpFarmProbeOutput { + return o +} + +func (o IploadbalancingTcpFarmProbeOutput) ToIploadbalancingTcpFarmProbeOutputWithContext(ctx context.Context) IploadbalancingTcpFarmProbeOutput { + return o +} + +func (o IploadbalancingTcpFarmProbeOutput) ToIploadbalancingTcpFarmProbePtrOutput() IploadbalancingTcpFarmProbePtrOutput { + return o.ToIploadbalancingTcpFarmProbePtrOutputWithContext(context.Background()) +} + +func (o IploadbalancingTcpFarmProbeOutput) ToIploadbalancingTcpFarmProbePtrOutputWithContext(ctx context.Context) IploadbalancingTcpFarmProbePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v IploadbalancingTcpFarmProbe) *IploadbalancingTcpFarmProbe { + return &v + }).(IploadbalancingTcpFarmProbePtrOutput) +} + +func (o IploadbalancingTcpFarmProbeOutput) ForceSsl() pulumi.BoolPtrOutput { + return o.ApplyT(func(v IploadbalancingTcpFarmProbe) *bool { return v.ForceSsl }).(pulumi.BoolPtrOutput) +} + +func (o IploadbalancingTcpFarmProbeOutput) Interval() pulumi.Float64PtrOutput { + return o.ApplyT(func(v IploadbalancingTcpFarmProbe) *float64 { return v.Interval }).(pulumi.Float64PtrOutput) +} + +func (o IploadbalancingTcpFarmProbeOutput) Match() pulumi.StringPtrOutput { + return o.ApplyT(func(v IploadbalancingTcpFarmProbe) *string { return v.Match }).(pulumi.StringPtrOutput) +} + +func (o IploadbalancingTcpFarmProbeOutput) Method() pulumi.StringPtrOutput { + return o.ApplyT(func(v IploadbalancingTcpFarmProbe) *string { return v.Method }).(pulumi.StringPtrOutput) +} + +func (o IploadbalancingTcpFarmProbeOutput) Negate() pulumi.BoolPtrOutput { + return o.ApplyT(func(v IploadbalancingTcpFarmProbe) *bool { return v.Negate }).(pulumi.BoolPtrOutput) +} + +func (o IploadbalancingTcpFarmProbeOutput) Pattern() pulumi.StringPtrOutput { + return o.ApplyT(func(v IploadbalancingTcpFarmProbe) *string { return v.Pattern }).(pulumi.StringPtrOutput) +} + +func (o IploadbalancingTcpFarmProbeOutput) Port() pulumi.Float64PtrOutput { + return o.ApplyT(func(v IploadbalancingTcpFarmProbe) *float64 { return v.Port }).(pulumi.Float64PtrOutput) +} + +func (o IploadbalancingTcpFarmProbeOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v IploadbalancingTcpFarmProbe) string { return v.Type }).(pulumi.StringOutput) +} + +func (o IploadbalancingTcpFarmProbeOutput) Url() pulumi.StringPtrOutput { + return o.ApplyT(func(v IploadbalancingTcpFarmProbe) *string { return v.Url }).(pulumi.StringPtrOutput) +} + +type IploadbalancingTcpFarmProbePtrOutput struct{ *pulumi.OutputState } + +func (IploadbalancingTcpFarmProbePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**IploadbalancingTcpFarmProbe)(nil)).Elem() +} + +func (o IploadbalancingTcpFarmProbePtrOutput) ToIploadbalancingTcpFarmProbePtrOutput() IploadbalancingTcpFarmProbePtrOutput { + return o +} + +func (o IploadbalancingTcpFarmProbePtrOutput) ToIploadbalancingTcpFarmProbePtrOutputWithContext(ctx context.Context) IploadbalancingTcpFarmProbePtrOutput { + return o +} + +func (o IploadbalancingTcpFarmProbePtrOutput) Elem() IploadbalancingTcpFarmProbeOutput { + return o.ApplyT(func(v *IploadbalancingTcpFarmProbe) IploadbalancingTcpFarmProbe { + if v != nil { + return *v + } + var ret IploadbalancingTcpFarmProbe + return ret + }).(IploadbalancingTcpFarmProbeOutput) +} + +func (o IploadbalancingTcpFarmProbePtrOutput) ForceSsl() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *IploadbalancingTcpFarmProbe) *bool { + if v == nil { + return nil + } + return v.ForceSsl + }).(pulumi.BoolPtrOutput) +} + +func (o IploadbalancingTcpFarmProbePtrOutput) Interval() pulumi.Float64PtrOutput { + return o.ApplyT(func(v *IploadbalancingTcpFarmProbe) *float64 { + if v == nil { + return nil + } + return v.Interval + }).(pulumi.Float64PtrOutput) +} + +func (o IploadbalancingTcpFarmProbePtrOutput) Match() pulumi.StringPtrOutput { + return o.ApplyT(func(v *IploadbalancingTcpFarmProbe) *string { + if v == nil { + return nil + } + return v.Match + }).(pulumi.StringPtrOutput) +} + +func (o IploadbalancingTcpFarmProbePtrOutput) Method() pulumi.StringPtrOutput { + return o.ApplyT(func(v *IploadbalancingTcpFarmProbe) *string { + if v == nil { + return nil + } + return v.Method + }).(pulumi.StringPtrOutput) +} + +func (o IploadbalancingTcpFarmProbePtrOutput) Negate() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *IploadbalancingTcpFarmProbe) *bool { + if v == nil { + return nil + } + return v.Negate + }).(pulumi.BoolPtrOutput) +} + +func (o IploadbalancingTcpFarmProbePtrOutput) Pattern() pulumi.StringPtrOutput { + return o.ApplyT(func(v *IploadbalancingTcpFarmProbe) *string { + if v == nil { + return nil + } + return v.Pattern + }).(pulumi.StringPtrOutput) +} + +func (o IploadbalancingTcpFarmProbePtrOutput) Port() pulumi.Float64PtrOutput { + return o.ApplyT(func(v *IploadbalancingTcpFarmProbe) *float64 { + if v == nil { + return nil + } + return v.Port + }).(pulumi.Float64PtrOutput) +} + +func (o IploadbalancingTcpFarmProbePtrOutput) Type() pulumi.StringPtrOutput { + return o.ApplyT(func(v *IploadbalancingTcpFarmProbe) *string { + if v == nil { + return nil + } + return &v.Type + }).(pulumi.StringPtrOutput) +} + +func (o IploadbalancingTcpFarmProbePtrOutput) Url() pulumi.StringPtrOutput { + return o.ApplyT(func(v *IploadbalancingTcpFarmProbe) *string { + if v == nil { + return nil + } + return v.Url + }).(pulumi.StringPtrOutput) +} + +type IploadbalancingTcpRouteAction struct { + // Farm ID for "farm" action type, empty for others + Target *string `pulumi:"target"` + // Action to trigger if all the rules of this route matches + Type string `pulumi:"type"` +} + +// IploadbalancingTcpRouteActionInput is an input type that accepts IploadbalancingTcpRouteActionArgs and IploadbalancingTcpRouteActionOutput values. +// You can construct a concrete instance of `IploadbalancingTcpRouteActionInput` via: +// +// IploadbalancingTcpRouteActionArgs{...} +type IploadbalancingTcpRouteActionInput interface { + pulumi.Input + + ToIploadbalancingTcpRouteActionOutput() IploadbalancingTcpRouteActionOutput + ToIploadbalancingTcpRouteActionOutputWithContext(context.Context) IploadbalancingTcpRouteActionOutput +} + +type IploadbalancingTcpRouteActionArgs struct { + // Farm ID for "farm" action type, empty for others + Target pulumi.StringPtrInput `pulumi:"target"` + // Action to trigger if all the rules of this route matches + Type pulumi.StringInput `pulumi:"type"` +} + +func (IploadbalancingTcpRouteActionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*IploadbalancingTcpRouteAction)(nil)).Elem() +} + +func (i IploadbalancingTcpRouteActionArgs) ToIploadbalancingTcpRouteActionOutput() IploadbalancingTcpRouteActionOutput { + return i.ToIploadbalancingTcpRouteActionOutputWithContext(context.Background()) +} + +func (i IploadbalancingTcpRouteActionArgs) ToIploadbalancingTcpRouteActionOutputWithContext(ctx context.Context) IploadbalancingTcpRouteActionOutput { + return pulumi.ToOutputWithContext(ctx, i).(IploadbalancingTcpRouteActionOutput) +} + +func (i IploadbalancingTcpRouteActionArgs) ToIploadbalancingTcpRouteActionPtrOutput() IploadbalancingTcpRouteActionPtrOutput { + return i.ToIploadbalancingTcpRouteActionPtrOutputWithContext(context.Background()) +} + +func (i IploadbalancingTcpRouteActionArgs) ToIploadbalancingTcpRouteActionPtrOutputWithContext(ctx context.Context) IploadbalancingTcpRouteActionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(IploadbalancingTcpRouteActionOutput).ToIploadbalancingTcpRouteActionPtrOutputWithContext(ctx) +} + +// IploadbalancingTcpRouteActionPtrInput is an input type that accepts IploadbalancingTcpRouteActionArgs, IploadbalancingTcpRouteActionPtr and IploadbalancingTcpRouteActionPtrOutput values. +// You can construct a concrete instance of `IploadbalancingTcpRouteActionPtrInput` via: +// +// IploadbalancingTcpRouteActionArgs{...} +// +// or: +// +// nil +type IploadbalancingTcpRouteActionPtrInput interface { + pulumi.Input + + ToIploadbalancingTcpRouteActionPtrOutput() IploadbalancingTcpRouteActionPtrOutput + ToIploadbalancingTcpRouteActionPtrOutputWithContext(context.Context) IploadbalancingTcpRouteActionPtrOutput +} + +type iploadbalancingTcpRouteActionPtrType IploadbalancingTcpRouteActionArgs + +func IploadbalancingTcpRouteActionPtr(v *IploadbalancingTcpRouteActionArgs) IploadbalancingTcpRouteActionPtrInput { + return (*iploadbalancingTcpRouteActionPtrType)(v) +} + +func (*iploadbalancingTcpRouteActionPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**IploadbalancingTcpRouteAction)(nil)).Elem() +} + +func (i *iploadbalancingTcpRouteActionPtrType) ToIploadbalancingTcpRouteActionPtrOutput() IploadbalancingTcpRouteActionPtrOutput { + return i.ToIploadbalancingTcpRouteActionPtrOutputWithContext(context.Background()) +} + +func (i *iploadbalancingTcpRouteActionPtrType) ToIploadbalancingTcpRouteActionPtrOutputWithContext(ctx context.Context) IploadbalancingTcpRouteActionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(IploadbalancingTcpRouteActionPtrOutput) +} + +type IploadbalancingTcpRouteActionOutput struct{ *pulumi.OutputState } + +func (IploadbalancingTcpRouteActionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*IploadbalancingTcpRouteAction)(nil)).Elem() +} + +func (o IploadbalancingTcpRouteActionOutput) ToIploadbalancingTcpRouteActionOutput() IploadbalancingTcpRouteActionOutput { + return o +} + +func (o IploadbalancingTcpRouteActionOutput) ToIploadbalancingTcpRouteActionOutputWithContext(ctx context.Context) IploadbalancingTcpRouteActionOutput { + return o +} + +func (o IploadbalancingTcpRouteActionOutput) ToIploadbalancingTcpRouteActionPtrOutput() IploadbalancingTcpRouteActionPtrOutput { + return o.ToIploadbalancingTcpRouteActionPtrOutputWithContext(context.Background()) +} + +func (o IploadbalancingTcpRouteActionOutput) ToIploadbalancingTcpRouteActionPtrOutputWithContext(ctx context.Context) IploadbalancingTcpRouteActionPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v IploadbalancingTcpRouteAction) *IploadbalancingTcpRouteAction { + return &v + }).(IploadbalancingTcpRouteActionPtrOutput) +} + +// Farm ID for "farm" action type, empty for others +func (o IploadbalancingTcpRouteActionOutput) Target() pulumi.StringPtrOutput { + return o.ApplyT(func(v IploadbalancingTcpRouteAction) *string { return v.Target }).(pulumi.StringPtrOutput) +} + +// Action to trigger if all the rules of this route matches +func (o IploadbalancingTcpRouteActionOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v IploadbalancingTcpRouteAction) string { return v.Type }).(pulumi.StringOutput) +} + +type IploadbalancingTcpRouteActionPtrOutput struct{ *pulumi.OutputState } + +func (IploadbalancingTcpRouteActionPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**IploadbalancingTcpRouteAction)(nil)).Elem() +} + +func (o IploadbalancingTcpRouteActionPtrOutput) ToIploadbalancingTcpRouteActionPtrOutput() IploadbalancingTcpRouteActionPtrOutput { + return o +} + +func (o IploadbalancingTcpRouteActionPtrOutput) ToIploadbalancingTcpRouteActionPtrOutputWithContext(ctx context.Context) IploadbalancingTcpRouteActionPtrOutput { + return o +} + +func (o IploadbalancingTcpRouteActionPtrOutput) Elem() IploadbalancingTcpRouteActionOutput { + return o.ApplyT(func(v *IploadbalancingTcpRouteAction) IploadbalancingTcpRouteAction { + if v != nil { + return *v + } + var ret IploadbalancingTcpRouteAction + return ret + }).(IploadbalancingTcpRouteActionOutput) +} + +// Farm ID for "farm" action type, empty for others +func (o IploadbalancingTcpRouteActionPtrOutput) Target() pulumi.StringPtrOutput { + return o.ApplyT(func(v *IploadbalancingTcpRouteAction) *string { + if v == nil { + return nil + } + return v.Target + }).(pulumi.StringPtrOutput) +} + +// Action to trigger if all the rules of this route matches +func (o IploadbalancingTcpRouteActionPtrOutput) Type() pulumi.StringPtrOutput { + return o.ApplyT(func(v *IploadbalancingTcpRouteAction) *string { + if v == nil { + return nil + } + return &v.Type + }).(pulumi.StringPtrOutput) +} + +type IploadbalancingTcpRouteRuleType struct { + Field string `pulumi:"field"` + Match string `pulumi:"match"` + Negate bool `pulumi:"negate"` + Pattern string `pulumi:"pattern"` + RuleId float64 `pulumi:"ruleId"` + SubField string `pulumi:"subField"` +} + +// IploadbalancingTcpRouteRuleTypeInput is an input type that accepts IploadbalancingTcpRouteRuleTypeArgs and IploadbalancingTcpRouteRuleTypeOutput values. +// You can construct a concrete instance of `IploadbalancingTcpRouteRuleTypeInput` via: +// +// IploadbalancingTcpRouteRuleTypeArgs{...} +type IploadbalancingTcpRouteRuleTypeInput interface { + pulumi.Input + + ToIploadbalancingTcpRouteRuleTypeOutput() IploadbalancingTcpRouteRuleTypeOutput + ToIploadbalancingTcpRouteRuleTypeOutputWithContext(context.Context) IploadbalancingTcpRouteRuleTypeOutput +} + +type IploadbalancingTcpRouteRuleTypeArgs struct { + Field pulumi.StringInput `pulumi:"field"` + Match pulumi.StringInput `pulumi:"match"` + Negate pulumi.BoolInput `pulumi:"negate"` + Pattern pulumi.StringInput `pulumi:"pattern"` + RuleId pulumi.Float64Input `pulumi:"ruleId"` + SubField pulumi.StringInput `pulumi:"subField"` +} + +func (IploadbalancingTcpRouteRuleTypeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*IploadbalancingTcpRouteRuleType)(nil)).Elem() +} + +func (i IploadbalancingTcpRouteRuleTypeArgs) ToIploadbalancingTcpRouteRuleTypeOutput() IploadbalancingTcpRouteRuleTypeOutput { + return i.ToIploadbalancingTcpRouteRuleTypeOutputWithContext(context.Background()) +} + +func (i IploadbalancingTcpRouteRuleTypeArgs) ToIploadbalancingTcpRouteRuleTypeOutputWithContext(ctx context.Context) IploadbalancingTcpRouteRuleTypeOutput { + return pulumi.ToOutputWithContext(ctx, i).(IploadbalancingTcpRouteRuleTypeOutput) +} + +// IploadbalancingTcpRouteRuleTypeArrayInput is an input type that accepts IploadbalancingTcpRouteRuleTypeArray and IploadbalancingTcpRouteRuleTypeArrayOutput values. +// You can construct a concrete instance of `IploadbalancingTcpRouteRuleTypeArrayInput` via: +// +// IploadbalancingTcpRouteRuleTypeArray{ IploadbalancingTcpRouteRuleTypeArgs{...} } +type IploadbalancingTcpRouteRuleTypeArrayInput interface { + pulumi.Input + + ToIploadbalancingTcpRouteRuleTypeArrayOutput() IploadbalancingTcpRouteRuleTypeArrayOutput + ToIploadbalancingTcpRouteRuleTypeArrayOutputWithContext(context.Context) IploadbalancingTcpRouteRuleTypeArrayOutput +} + +type IploadbalancingTcpRouteRuleTypeArray []IploadbalancingTcpRouteRuleTypeInput + +func (IploadbalancingTcpRouteRuleTypeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]IploadbalancingTcpRouteRuleType)(nil)).Elem() +} + +func (i IploadbalancingTcpRouteRuleTypeArray) ToIploadbalancingTcpRouteRuleTypeArrayOutput() IploadbalancingTcpRouteRuleTypeArrayOutput { + return i.ToIploadbalancingTcpRouteRuleTypeArrayOutputWithContext(context.Background()) +} + +func (i IploadbalancingTcpRouteRuleTypeArray) ToIploadbalancingTcpRouteRuleTypeArrayOutputWithContext(ctx context.Context) IploadbalancingTcpRouteRuleTypeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(IploadbalancingTcpRouteRuleTypeArrayOutput) +} + +type IploadbalancingTcpRouteRuleTypeOutput struct{ *pulumi.OutputState } + +func (IploadbalancingTcpRouteRuleTypeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*IploadbalancingTcpRouteRuleType)(nil)).Elem() +} + +func (o IploadbalancingTcpRouteRuleTypeOutput) ToIploadbalancingTcpRouteRuleTypeOutput() IploadbalancingTcpRouteRuleTypeOutput { + return o +} + +func (o IploadbalancingTcpRouteRuleTypeOutput) ToIploadbalancingTcpRouteRuleTypeOutputWithContext(ctx context.Context) IploadbalancingTcpRouteRuleTypeOutput { + return o +} + +func (o IploadbalancingTcpRouteRuleTypeOutput) Field() pulumi.StringOutput { + return o.ApplyT(func(v IploadbalancingTcpRouteRuleType) string { return v.Field }).(pulumi.StringOutput) +} + +func (o IploadbalancingTcpRouteRuleTypeOutput) Match() pulumi.StringOutput { + return o.ApplyT(func(v IploadbalancingTcpRouteRuleType) string { return v.Match }).(pulumi.StringOutput) +} + +func (o IploadbalancingTcpRouteRuleTypeOutput) Negate() pulumi.BoolOutput { + return o.ApplyT(func(v IploadbalancingTcpRouteRuleType) bool { return v.Negate }).(pulumi.BoolOutput) +} + +func (o IploadbalancingTcpRouteRuleTypeOutput) Pattern() pulumi.StringOutput { + return o.ApplyT(func(v IploadbalancingTcpRouteRuleType) string { return v.Pattern }).(pulumi.StringOutput) +} + +func (o IploadbalancingTcpRouteRuleTypeOutput) RuleId() pulumi.Float64Output { + return o.ApplyT(func(v IploadbalancingTcpRouteRuleType) float64 { return v.RuleId }).(pulumi.Float64Output) +} + +func (o IploadbalancingTcpRouteRuleTypeOutput) SubField() pulumi.StringOutput { + return o.ApplyT(func(v IploadbalancingTcpRouteRuleType) string { return v.SubField }).(pulumi.StringOutput) +} + +type IploadbalancingTcpRouteRuleTypeArrayOutput struct{ *pulumi.OutputState } + +func (IploadbalancingTcpRouteRuleTypeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]IploadbalancingTcpRouteRuleType)(nil)).Elem() +} + +func (o IploadbalancingTcpRouteRuleTypeArrayOutput) ToIploadbalancingTcpRouteRuleTypeArrayOutput() IploadbalancingTcpRouteRuleTypeArrayOutput { + return o +} + +func (o IploadbalancingTcpRouteRuleTypeArrayOutput) ToIploadbalancingTcpRouteRuleTypeArrayOutputWithContext(ctx context.Context) IploadbalancingTcpRouteRuleTypeArrayOutput { + return o +} + +func (o IploadbalancingTcpRouteRuleTypeArrayOutput) Index(i pulumi.IntInput) IploadbalancingTcpRouteRuleTypeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) IploadbalancingTcpRouteRuleType { + return vs[0].([]IploadbalancingTcpRouteRuleType)[vs[1].(int)] + }).(IploadbalancingTcpRouteRuleTypeOutput) +} + +type MeInstallationTemplateCustomization struct { + // Set up the server using the provided hostname instead of the default hostname + CustomHostname *string `pulumi:"customHostname"` + // Indicate the URL where your postinstall customisation script is located + PostInstallationScriptLink *string `pulumi:"postInstallationScriptLink"` + // indicate the string returned by your postinstall customisation script on successful execution. Advice: your script should return a unique validation string in case of succes. A good example is 'loh1Xee7eo OK OK OK UGh8Ang1Gu' + PostInstallationScriptReturn *string `pulumi:"postInstallationScriptReturn"` +} + +// MeInstallationTemplateCustomizationInput is an input type that accepts MeInstallationTemplateCustomizationArgs and MeInstallationTemplateCustomizationOutput values. +// You can construct a concrete instance of `MeInstallationTemplateCustomizationInput` via: +// +// MeInstallationTemplateCustomizationArgs{...} +type MeInstallationTemplateCustomizationInput interface { + pulumi.Input + + ToMeInstallationTemplateCustomizationOutput() MeInstallationTemplateCustomizationOutput + ToMeInstallationTemplateCustomizationOutputWithContext(context.Context) MeInstallationTemplateCustomizationOutput +} + +type MeInstallationTemplateCustomizationArgs struct { + // Set up the server using the provided hostname instead of the default hostname + CustomHostname pulumi.StringPtrInput `pulumi:"customHostname"` + // Indicate the URL where your postinstall customisation script is located + PostInstallationScriptLink pulumi.StringPtrInput `pulumi:"postInstallationScriptLink"` + // indicate the string returned by your postinstall customisation script on successful execution. Advice: your script should return a unique validation string in case of succes. A good example is 'loh1Xee7eo OK OK OK UGh8Ang1Gu' + PostInstallationScriptReturn pulumi.StringPtrInput `pulumi:"postInstallationScriptReturn"` +} + +func (MeInstallationTemplateCustomizationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*MeInstallationTemplateCustomization)(nil)).Elem() +} + +func (i MeInstallationTemplateCustomizationArgs) ToMeInstallationTemplateCustomizationOutput() MeInstallationTemplateCustomizationOutput { + return i.ToMeInstallationTemplateCustomizationOutputWithContext(context.Background()) +} + +func (i MeInstallationTemplateCustomizationArgs) ToMeInstallationTemplateCustomizationOutputWithContext(ctx context.Context) MeInstallationTemplateCustomizationOutput { + return pulumi.ToOutputWithContext(ctx, i).(MeInstallationTemplateCustomizationOutput) +} + +func (i MeInstallationTemplateCustomizationArgs) ToMeInstallationTemplateCustomizationPtrOutput() MeInstallationTemplateCustomizationPtrOutput { + return i.ToMeInstallationTemplateCustomizationPtrOutputWithContext(context.Background()) +} + +func (i MeInstallationTemplateCustomizationArgs) ToMeInstallationTemplateCustomizationPtrOutputWithContext(ctx context.Context) MeInstallationTemplateCustomizationPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MeInstallationTemplateCustomizationOutput).ToMeInstallationTemplateCustomizationPtrOutputWithContext(ctx) +} + +// MeInstallationTemplateCustomizationPtrInput is an input type that accepts MeInstallationTemplateCustomizationArgs, MeInstallationTemplateCustomizationPtr and MeInstallationTemplateCustomizationPtrOutput values. +// You can construct a concrete instance of `MeInstallationTemplateCustomizationPtrInput` via: +// +// MeInstallationTemplateCustomizationArgs{...} +// +// or: +// +// nil +type MeInstallationTemplateCustomizationPtrInput interface { + pulumi.Input + + ToMeInstallationTemplateCustomizationPtrOutput() MeInstallationTemplateCustomizationPtrOutput + ToMeInstallationTemplateCustomizationPtrOutputWithContext(context.Context) MeInstallationTemplateCustomizationPtrOutput +} + +type meInstallationTemplateCustomizationPtrType MeInstallationTemplateCustomizationArgs + +func MeInstallationTemplateCustomizationPtr(v *MeInstallationTemplateCustomizationArgs) MeInstallationTemplateCustomizationPtrInput { + return (*meInstallationTemplateCustomizationPtrType)(v) +} + +func (*meInstallationTemplateCustomizationPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**MeInstallationTemplateCustomization)(nil)).Elem() +} + +func (i *meInstallationTemplateCustomizationPtrType) ToMeInstallationTemplateCustomizationPtrOutput() MeInstallationTemplateCustomizationPtrOutput { + return i.ToMeInstallationTemplateCustomizationPtrOutputWithContext(context.Background()) +} + +func (i *meInstallationTemplateCustomizationPtrType) ToMeInstallationTemplateCustomizationPtrOutputWithContext(ctx context.Context) MeInstallationTemplateCustomizationPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MeInstallationTemplateCustomizationPtrOutput) +} + +type MeInstallationTemplateCustomizationOutput struct{ *pulumi.OutputState } + +func (MeInstallationTemplateCustomizationOutput) ElementType() reflect.Type { + return reflect.TypeOf((*MeInstallationTemplateCustomization)(nil)).Elem() +} + +func (o MeInstallationTemplateCustomizationOutput) ToMeInstallationTemplateCustomizationOutput() MeInstallationTemplateCustomizationOutput { + return o +} + +func (o MeInstallationTemplateCustomizationOutput) ToMeInstallationTemplateCustomizationOutputWithContext(ctx context.Context) MeInstallationTemplateCustomizationOutput { + return o +} + +func (o MeInstallationTemplateCustomizationOutput) ToMeInstallationTemplateCustomizationPtrOutput() MeInstallationTemplateCustomizationPtrOutput { + return o.ToMeInstallationTemplateCustomizationPtrOutputWithContext(context.Background()) +} + +func (o MeInstallationTemplateCustomizationOutput) ToMeInstallationTemplateCustomizationPtrOutputWithContext(ctx context.Context) MeInstallationTemplateCustomizationPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v MeInstallationTemplateCustomization) *MeInstallationTemplateCustomization { + return &v + }).(MeInstallationTemplateCustomizationPtrOutput) +} + +// Set up the server using the provided hostname instead of the default hostname +func (o MeInstallationTemplateCustomizationOutput) CustomHostname() pulumi.StringPtrOutput { + return o.ApplyT(func(v MeInstallationTemplateCustomization) *string { return v.CustomHostname }).(pulumi.StringPtrOutput) +} + +// Indicate the URL where your postinstall customisation script is located +func (o MeInstallationTemplateCustomizationOutput) PostInstallationScriptLink() pulumi.StringPtrOutput { + return o.ApplyT(func(v MeInstallationTemplateCustomization) *string { return v.PostInstallationScriptLink }).(pulumi.StringPtrOutput) +} + +// indicate the string returned by your postinstall customisation script on successful execution. Advice: your script should return a unique validation string in case of succes. A good example is 'loh1Xee7eo OK OK OK UGh8Ang1Gu' +func (o MeInstallationTemplateCustomizationOutput) PostInstallationScriptReturn() pulumi.StringPtrOutput { + return o.ApplyT(func(v MeInstallationTemplateCustomization) *string { return v.PostInstallationScriptReturn }).(pulumi.StringPtrOutput) +} + +type MeInstallationTemplateCustomizationPtrOutput struct{ *pulumi.OutputState } + +func (MeInstallationTemplateCustomizationPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**MeInstallationTemplateCustomization)(nil)).Elem() +} + +func (o MeInstallationTemplateCustomizationPtrOutput) ToMeInstallationTemplateCustomizationPtrOutput() MeInstallationTemplateCustomizationPtrOutput { + return o +} + +func (o MeInstallationTemplateCustomizationPtrOutput) ToMeInstallationTemplateCustomizationPtrOutputWithContext(ctx context.Context) MeInstallationTemplateCustomizationPtrOutput { + return o +} + +func (o MeInstallationTemplateCustomizationPtrOutput) Elem() MeInstallationTemplateCustomizationOutput { + return o.ApplyT(func(v *MeInstallationTemplateCustomization) MeInstallationTemplateCustomization { + if v != nil { + return *v + } + var ret MeInstallationTemplateCustomization + return ret + }).(MeInstallationTemplateCustomizationOutput) +} + +// Set up the server using the provided hostname instead of the default hostname +func (o MeInstallationTemplateCustomizationPtrOutput) CustomHostname() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MeInstallationTemplateCustomization) *string { + if v == nil { + return nil + } + return v.CustomHostname + }).(pulumi.StringPtrOutput) +} + +// Indicate the URL where your postinstall customisation script is located +func (o MeInstallationTemplateCustomizationPtrOutput) PostInstallationScriptLink() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MeInstallationTemplateCustomization) *string { + if v == nil { + return nil + } + return v.PostInstallationScriptLink + }).(pulumi.StringPtrOutput) +} + +// indicate the string returned by your postinstall customisation script on successful execution. Advice: your script should return a unique validation string in case of succes. A good example is 'loh1Xee7eo OK OK OK UGh8Ang1Gu' +func (o MeInstallationTemplateCustomizationPtrOutput) PostInstallationScriptReturn() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MeInstallationTemplateCustomization) *string { + if v == nil { + return nil + } + return v.PostInstallationScriptReturn + }).(pulumi.StringPtrOutput) +} + +type MeInstallationTemplateInputType struct { + Default string `pulumi:"default"` + Description string `pulumi:"description"` + Enums []string `pulumi:"enums"` + Mandatory bool `pulumi:"mandatory"` + Name string `pulumi:"name"` + Type string `pulumi:"type"` +} + +// MeInstallationTemplateInputTypeInput is an input type that accepts MeInstallationTemplateInputTypeArgs and MeInstallationTemplateInputTypeOutput values. +// You can construct a concrete instance of `MeInstallationTemplateInputTypeInput` via: +// +// MeInstallationTemplateInputTypeArgs{...} +type MeInstallationTemplateInputTypeInput interface { + pulumi.Input + + ToMeInstallationTemplateInputTypeOutput() MeInstallationTemplateInputTypeOutput + ToMeInstallationTemplateInputTypeOutputWithContext(context.Context) MeInstallationTemplateInputTypeOutput +} + +type MeInstallationTemplateInputTypeArgs struct { + Default pulumi.StringInput `pulumi:"default"` + Description pulumi.StringInput `pulumi:"description"` + Enums pulumi.StringArrayInput `pulumi:"enums"` + Mandatory pulumi.BoolInput `pulumi:"mandatory"` + Name pulumi.StringInput `pulumi:"name"` + Type pulumi.StringInput `pulumi:"type"` +} + +func (MeInstallationTemplateInputTypeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*MeInstallationTemplateInputType)(nil)).Elem() +} + +func (i MeInstallationTemplateInputTypeArgs) ToMeInstallationTemplateInputTypeOutput() MeInstallationTemplateInputTypeOutput { + return i.ToMeInstallationTemplateInputTypeOutputWithContext(context.Background()) +} + +func (i MeInstallationTemplateInputTypeArgs) ToMeInstallationTemplateInputTypeOutputWithContext(ctx context.Context) MeInstallationTemplateInputTypeOutput { + return pulumi.ToOutputWithContext(ctx, i).(MeInstallationTemplateInputTypeOutput) +} + +// MeInstallationTemplateInputTypeArrayInput is an input type that accepts MeInstallationTemplateInputTypeArray and MeInstallationTemplateInputTypeArrayOutput values. +// You can construct a concrete instance of `MeInstallationTemplateInputTypeArrayInput` via: +// +// MeInstallationTemplateInputTypeArray{ MeInstallationTemplateInputTypeArgs{...} } +type MeInstallationTemplateInputTypeArrayInput interface { + pulumi.Input + + ToMeInstallationTemplateInputTypeArrayOutput() MeInstallationTemplateInputTypeArrayOutput + ToMeInstallationTemplateInputTypeArrayOutputWithContext(context.Context) MeInstallationTemplateInputTypeArrayOutput +} + +type MeInstallationTemplateInputTypeArray []MeInstallationTemplateInputTypeInput + +func (MeInstallationTemplateInputTypeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]MeInstallationTemplateInputType)(nil)).Elem() +} + +func (i MeInstallationTemplateInputTypeArray) ToMeInstallationTemplateInputTypeArrayOutput() MeInstallationTemplateInputTypeArrayOutput { + return i.ToMeInstallationTemplateInputTypeArrayOutputWithContext(context.Background()) +} + +func (i MeInstallationTemplateInputTypeArray) ToMeInstallationTemplateInputTypeArrayOutputWithContext(ctx context.Context) MeInstallationTemplateInputTypeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(MeInstallationTemplateInputTypeArrayOutput) +} + +type MeInstallationTemplateInputTypeOutput struct{ *pulumi.OutputState } + +func (MeInstallationTemplateInputTypeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*MeInstallationTemplateInputType)(nil)).Elem() +} + +func (o MeInstallationTemplateInputTypeOutput) ToMeInstallationTemplateInputTypeOutput() MeInstallationTemplateInputTypeOutput { + return o +} + +func (o MeInstallationTemplateInputTypeOutput) ToMeInstallationTemplateInputTypeOutputWithContext(ctx context.Context) MeInstallationTemplateInputTypeOutput { + return o +} + +func (o MeInstallationTemplateInputTypeOutput) Default() pulumi.StringOutput { + return o.ApplyT(func(v MeInstallationTemplateInputType) string { return v.Default }).(pulumi.StringOutput) +} + +func (o MeInstallationTemplateInputTypeOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v MeInstallationTemplateInputType) string { return v.Description }).(pulumi.StringOutput) +} + +func (o MeInstallationTemplateInputTypeOutput) Enums() pulumi.StringArrayOutput { + return o.ApplyT(func(v MeInstallationTemplateInputType) []string { return v.Enums }).(pulumi.StringArrayOutput) +} + +func (o MeInstallationTemplateInputTypeOutput) Mandatory() pulumi.BoolOutput { + return o.ApplyT(func(v MeInstallationTemplateInputType) bool { return v.Mandatory }).(pulumi.BoolOutput) +} + +func (o MeInstallationTemplateInputTypeOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v MeInstallationTemplateInputType) string { return v.Name }).(pulumi.StringOutput) +} + +func (o MeInstallationTemplateInputTypeOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v MeInstallationTemplateInputType) string { return v.Type }).(pulumi.StringOutput) +} + +type MeInstallationTemplateInputTypeArrayOutput struct{ *pulumi.OutputState } + +func (MeInstallationTemplateInputTypeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]MeInstallationTemplateInputType)(nil)).Elem() +} + +func (o MeInstallationTemplateInputTypeArrayOutput) ToMeInstallationTemplateInputTypeArrayOutput() MeInstallationTemplateInputTypeArrayOutput { + return o +} + +func (o MeInstallationTemplateInputTypeArrayOutput) ToMeInstallationTemplateInputTypeArrayOutputWithContext(ctx context.Context) MeInstallationTemplateInputTypeArrayOutput { + return o +} + +func (o MeInstallationTemplateInputTypeArrayOutput) Index(i pulumi.IntInput) MeInstallationTemplateInputTypeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) MeInstallationTemplateInputType { + return vs[0].([]MeInstallationTemplateInputType)[vs[1].(int)] + }).(MeInstallationTemplateInputTypeOutput) +} + +type VpsIam struct { + // Resource display name + DisplayName *string `pulumi:"displayName"` + // Unique identifier of the resource + Id *string `pulumi:"id"` + // Resource tags. Tags that were internally computed are prefixed with ovh: + Tags map[string]string `pulumi:"tags"` + // Unique resource name used in policies + Urn *string `pulumi:"urn"` +} + +// VpsIamInput is an input type that accepts VpsIamArgs and VpsIamOutput values. +// You can construct a concrete instance of `VpsIamInput` via: +// +// VpsIamArgs{...} +type VpsIamInput interface { + pulumi.Input + + ToVpsIamOutput() VpsIamOutput + ToVpsIamOutputWithContext(context.Context) VpsIamOutput +} + +type VpsIamArgs struct { + // Resource display name + DisplayName pulumi.StringPtrInput `pulumi:"displayName"` + // Unique identifier of the resource + Id pulumi.StringPtrInput `pulumi:"id"` + // Resource tags. Tags that were internally computed are prefixed with ovh: + Tags pulumi.StringMapInput `pulumi:"tags"` + // Unique resource name used in policies + Urn pulumi.StringPtrInput `pulumi:"urn"` +} + +func (VpsIamArgs) ElementType() reflect.Type { + return reflect.TypeOf((*VpsIam)(nil)).Elem() +} + +func (i VpsIamArgs) ToVpsIamOutput() VpsIamOutput { + return i.ToVpsIamOutputWithContext(context.Background()) +} + +func (i VpsIamArgs) ToVpsIamOutputWithContext(ctx context.Context) VpsIamOutput { + return pulumi.ToOutputWithContext(ctx, i).(VpsIamOutput) +} + +func (i VpsIamArgs) ToVpsIamPtrOutput() VpsIamPtrOutput { + return i.ToVpsIamPtrOutputWithContext(context.Background()) +} + +func (i VpsIamArgs) ToVpsIamPtrOutputWithContext(ctx context.Context) VpsIamPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(VpsIamOutput).ToVpsIamPtrOutputWithContext(ctx) +} + +// VpsIamPtrInput is an input type that accepts VpsIamArgs, VpsIamPtr and VpsIamPtrOutput values. +// You can construct a concrete instance of `VpsIamPtrInput` via: +// +// VpsIamArgs{...} +// +// or: +// +// nil +type VpsIamPtrInput interface { + pulumi.Input + + ToVpsIamPtrOutput() VpsIamPtrOutput + ToVpsIamPtrOutputWithContext(context.Context) VpsIamPtrOutput +} + +type vpsIamPtrType VpsIamArgs + +func VpsIamPtr(v *VpsIamArgs) VpsIamPtrInput { + return (*vpsIamPtrType)(v) +} + +func (*vpsIamPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**VpsIam)(nil)).Elem() +} + +func (i *vpsIamPtrType) ToVpsIamPtrOutput() VpsIamPtrOutput { + return i.ToVpsIamPtrOutputWithContext(context.Background()) +} + +func (i *vpsIamPtrType) ToVpsIamPtrOutputWithContext(ctx context.Context) VpsIamPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(VpsIamPtrOutput) +} + +type VpsIamOutput struct{ *pulumi.OutputState } + +func (VpsIamOutput) ElementType() reflect.Type { + return reflect.TypeOf((*VpsIam)(nil)).Elem() +} + +func (o VpsIamOutput) ToVpsIamOutput() VpsIamOutput { + return o +} + +func (o VpsIamOutput) ToVpsIamOutputWithContext(ctx context.Context) VpsIamOutput { + return o +} + +func (o VpsIamOutput) ToVpsIamPtrOutput() VpsIamPtrOutput { + return o.ToVpsIamPtrOutputWithContext(context.Background()) +} + +func (o VpsIamOutput) ToVpsIamPtrOutputWithContext(ctx context.Context) VpsIamPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v VpsIam) *VpsIam { + return &v + }).(VpsIamPtrOutput) +} + +// Resource display name +func (o VpsIamOutput) DisplayName() pulumi.StringPtrOutput { + return o.ApplyT(func(v VpsIam) *string { return v.DisplayName }).(pulumi.StringPtrOutput) +} + +// Unique identifier of the resource +func (o VpsIamOutput) Id() pulumi.StringPtrOutput { + return o.ApplyT(func(v VpsIam) *string { return v.Id }).(pulumi.StringPtrOutput) +} + +// Resource tags. Tags that were internally computed are prefixed with ovh: +func (o VpsIamOutput) Tags() pulumi.StringMapOutput { + return o.ApplyT(func(v VpsIam) map[string]string { return v.Tags }).(pulumi.StringMapOutput) +} + +// Unique resource name used in policies +func (o VpsIamOutput) Urn() pulumi.StringPtrOutput { + return o.ApplyT(func(v VpsIam) *string { return v.Urn }).(pulumi.StringPtrOutput) +} + +type VpsIamPtrOutput struct{ *pulumi.OutputState } + +func (VpsIamPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**VpsIam)(nil)).Elem() +} + +func (o VpsIamPtrOutput) ToVpsIamPtrOutput() VpsIamPtrOutput { + return o +} + +func (o VpsIamPtrOutput) ToVpsIamPtrOutputWithContext(ctx context.Context) VpsIamPtrOutput { + return o +} + +func (o VpsIamPtrOutput) Elem() VpsIamOutput { + return o.ApplyT(func(v *VpsIam) VpsIam { + if v != nil { + return *v + } + var ret VpsIam + return ret + }).(VpsIamOutput) +} + +// Resource display name +func (o VpsIamPtrOutput) DisplayName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *VpsIam) *string { + if v == nil { + return nil + } + return v.DisplayName + }).(pulumi.StringPtrOutput) +} + +// Unique identifier of the resource +func (o VpsIamPtrOutput) Id() pulumi.StringPtrOutput { + return o.ApplyT(func(v *VpsIam) *string { + if v == nil { + return nil + } + return v.Id + }).(pulumi.StringPtrOutput) +} + +// Resource tags. Tags that were internally computed are prefixed with ovh: +func (o VpsIamPtrOutput) Tags() pulumi.StringMapOutput { + return o.ApplyT(func(v *VpsIam) map[string]string { + if v == nil { + return nil + } + return v.Tags + }).(pulumi.StringMapOutput) +} + +// Unique resource name used in policies +func (o VpsIamPtrOutput) Urn() pulumi.StringPtrOutput { + return o.ApplyT(func(v *VpsIam) *string { + if v == nil { + return nil + } + return v.Urn + }).(pulumi.StringPtrOutput) +} + +type VpsModel struct { + AvailableOptions []string `pulumi:"availableOptions"` + Datacenters []string `pulumi:"datacenters"` + Disk *float64 `pulumi:"disk"` + MaximumAdditionnalIp *float64 `pulumi:"maximumAdditionnalIp"` + Memory *float64 `pulumi:"memory"` + Name *string `pulumi:"name"` + Offer *string `pulumi:"offer"` + Vcore *float64 `pulumi:"vcore"` + // All versions that VPS can have + Version *string `pulumi:"version"` +} + +// VpsModelInput is an input type that accepts VpsModelArgs and VpsModelOutput values. +// You can construct a concrete instance of `VpsModelInput` via: +// +// VpsModelArgs{...} +type VpsModelInput interface { + pulumi.Input + + ToVpsModelOutput() VpsModelOutput + ToVpsModelOutputWithContext(context.Context) VpsModelOutput +} + +type VpsModelArgs struct { + AvailableOptions pulumi.StringArrayInput `pulumi:"availableOptions"` + Datacenters pulumi.StringArrayInput `pulumi:"datacenters"` + Disk pulumi.Float64PtrInput `pulumi:"disk"` + MaximumAdditionnalIp pulumi.Float64PtrInput `pulumi:"maximumAdditionnalIp"` + Memory pulumi.Float64PtrInput `pulumi:"memory"` + Name pulumi.StringPtrInput `pulumi:"name"` + Offer pulumi.StringPtrInput `pulumi:"offer"` + Vcore pulumi.Float64PtrInput `pulumi:"vcore"` + // All versions that VPS can have + Version pulumi.StringPtrInput `pulumi:"version"` +} + +func (VpsModelArgs) ElementType() reflect.Type { + return reflect.TypeOf((*VpsModel)(nil)).Elem() +} + +func (i VpsModelArgs) ToVpsModelOutput() VpsModelOutput { + return i.ToVpsModelOutputWithContext(context.Background()) +} + +func (i VpsModelArgs) ToVpsModelOutputWithContext(ctx context.Context) VpsModelOutput { + return pulumi.ToOutputWithContext(ctx, i).(VpsModelOutput) +} + +func (i VpsModelArgs) ToVpsModelPtrOutput() VpsModelPtrOutput { + return i.ToVpsModelPtrOutputWithContext(context.Background()) +} + +func (i VpsModelArgs) ToVpsModelPtrOutputWithContext(ctx context.Context) VpsModelPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(VpsModelOutput).ToVpsModelPtrOutputWithContext(ctx) +} + +// VpsModelPtrInput is an input type that accepts VpsModelArgs, VpsModelPtr and VpsModelPtrOutput values. +// You can construct a concrete instance of `VpsModelPtrInput` via: +// +// VpsModelArgs{...} +// +// or: +// +// nil +type VpsModelPtrInput interface { + pulumi.Input + + ToVpsModelPtrOutput() VpsModelPtrOutput + ToVpsModelPtrOutputWithContext(context.Context) VpsModelPtrOutput +} + +type vpsModelPtrType VpsModelArgs + +func VpsModelPtr(v *VpsModelArgs) VpsModelPtrInput { + return (*vpsModelPtrType)(v) +} + +func (*vpsModelPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**VpsModel)(nil)).Elem() +} + +func (i *vpsModelPtrType) ToVpsModelPtrOutput() VpsModelPtrOutput { + return i.ToVpsModelPtrOutputWithContext(context.Background()) +} + +func (i *vpsModelPtrType) ToVpsModelPtrOutputWithContext(ctx context.Context) VpsModelPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(VpsModelPtrOutput) +} + +type VpsModelOutput struct{ *pulumi.OutputState } + +func (VpsModelOutput) ElementType() reflect.Type { + return reflect.TypeOf((*VpsModel)(nil)).Elem() +} + +func (o VpsModelOutput) ToVpsModelOutput() VpsModelOutput { + return o +} + +func (o VpsModelOutput) ToVpsModelOutputWithContext(ctx context.Context) VpsModelOutput { + return o +} + +func (o VpsModelOutput) ToVpsModelPtrOutput() VpsModelPtrOutput { + return o.ToVpsModelPtrOutputWithContext(context.Background()) +} + +func (o VpsModelOutput) ToVpsModelPtrOutputWithContext(ctx context.Context) VpsModelPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v VpsModel) *VpsModel { + return &v + }).(VpsModelPtrOutput) +} + +func (o VpsModelOutput) AvailableOptions() pulumi.StringArrayOutput { + return o.ApplyT(func(v VpsModel) []string { return v.AvailableOptions }).(pulumi.StringArrayOutput) +} + +func (o VpsModelOutput) Datacenters() pulumi.StringArrayOutput { + return o.ApplyT(func(v VpsModel) []string { return v.Datacenters }).(pulumi.StringArrayOutput) +} + +func (o VpsModelOutput) Disk() pulumi.Float64PtrOutput { + return o.ApplyT(func(v VpsModel) *float64 { return v.Disk }).(pulumi.Float64PtrOutput) +} + +func (o VpsModelOutput) MaximumAdditionnalIp() pulumi.Float64PtrOutput { + return o.ApplyT(func(v VpsModel) *float64 { return v.MaximumAdditionnalIp }).(pulumi.Float64PtrOutput) +} + +func (o VpsModelOutput) Memory() pulumi.Float64PtrOutput { + return o.ApplyT(func(v VpsModel) *float64 { return v.Memory }).(pulumi.Float64PtrOutput) +} + +func (o VpsModelOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v VpsModel) *string { return v.Name }).(pulumi.StringPtrOutput) +} + +func (o VpsModelOutput) Offer() pulumi.StringPtrOutput { + return o.ApplyT(func(v VpsModel) *string { return v.Offer }).(pulumi.StringPtrOutput) +} + +func (o VpsModelOutput) Vcore() pulumi.Float64PtrOutput { + return o.ApplyT(func(v VpsModel) *float64 { return v.Vcore }).(pulumi.Float64PtrOutput) +} + +// All versions that VPS can have +func (o VpsModelOutput) Version() pulumi.StringPtrOutput { + return o.ApplyT(func(v VpsModel) *string { return v.Version }).(pulumi.StringPtrOutput) +} + +type VpsModelPtrOutput struct{ *pulumi.OutputState } + +func (VpsModelPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**VpsModel)(nil)).Elem() +} + +func (o VpsModelPtrOutput) ToVpsModelPtrOutput() VpsModelPtrOutput { + return o +} + +func (o VpsModelPtrOutput) ToVpsModelPtrOutputWithContext(ctx context.Context) VpsModelPtrOutput { + return o +} + +func (o VpsModelPtrOutput) Elem() VpsModelOutput { + return o.ApplyT(func(v *VpsModel) VpsModel { + if v != nil { + return *v + } + var ret VpsModel + return ret + }).(VpsModelOutput) +} + +func (o VpsModelPtrOutput) AvailableOptions() pulumi.StringArrayOutput { + return o.ApplyT(func(v *VpsModel) []string { + if v == nil { + return nil + } + return v.AvailableOptions + }).(pulumi.StringArrayOutput) +} + +func (o VpsModelPtrOutput) Datacenters() pulumi.StringArrayOutput { + return o.ApplyT(func(v *VpsModel) []string { + if v == nil { + return nil + } + return v.Datacenters + }).(pulumi.StringArrayOutput) +} + +func (o VpsModelPtrOutput) Disk() pulumi.Float64PtrOutput { + return o.ApplyT(func(v *VpsModel) *float64 { + if v == nil { + return nil + } + return v.Disk + }).(pulumi.Float64PtrOutput) +} + +func (o VpsModelPtrOutput) MaximumAdditionnalIp() pulumi.Float64PtrOutput { + return o.ApplyT(func(v *VpsModel) *float64 { + if v == nil { + return nil + } + return v.MaximumAdditionnalIp + }).(pulumi.Float64PtrOutput) +} + +func (o VpsModelPtrOutput) Memory() pulumi.Float64PtrOutput { + return o.ApplyT(func(v *VpsModel) *float64 { + if v == nil { + return nil + } + return v.Memory + }).(pulumi.Float64PtrOutput) +} + +func (o VpsModelPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *VpsModel) *string { + if v == nil { + return nil + } + return v.Name + }).(pulumi.StringPtrOutput) +} + +func (o VpsModelPtrOutput) Offer() pulumi.StringPtrOutput { + return o.ApplyT(func(v *VpsModel) *string { + if v == nil { + return nil + } + return v.Offer + }).(pulumi.StringPtrOutput) +} + +func (o VpsModelPtrOutput) Vcore() pulumi.Float64PtrOutput { + return o.ApplyT(func(v *VpsModel) *float64 { + if v == nil { + return nil + } + return v.Vcore + }).(pulumi.Float64PtrOutput) +} + +// All versions that VPS can have +func (o VpsModelPtrOutput) Version() pulumi.StringPtrOutput { + return o.ApplyT(func(v *VpsModel) *string { + if v == nil { + return nil + } + return v.Version + }).(pulumi.StringPtrOutput) +} + +type VpsOrder struct { + Date *string `pulumi:"date"` + Details []VpsOrderDetail `pulumi:"details"` + ExpirationDate *string `pulumi:"expirationDate"` + OrderId *float64 `pulumi:"orderId"` +} + +// VpsOrderInput is an input type that accepts VpsOrderArgs and VpsOrderOutput values. +// You can construct a concrete instance of `VpsOrderInput` via: +// +// VpsOrderArgs{...} +type VpsOrderInput interface { + pulumi.Input + + ToVpsOrderOutput() VpsOrderOutput + ToVpsOrderOutputWithContext(context.Context) VpsOrderOutput +} + +type VpsOrderArgs struct { + Date pulumi.StringPtrInput `pulumi:"date"` + Details VpsOrderDetailArrayInput `pulumi:"details"` + ExpirationDate pulumi.StringPtrInput `pulumi:"expirationDate"` + OrderId pulumi.Float64PtrInput `pulumi:"orderId"` +} + +func (VpsOrderArgs) ElementType() reflect.Type { + return reflect.TypeOf((*VpsOrder)(nil)).Elem() +} + +func (i VpsOrderArgs) ToVpsOrderOutput() VpsOrderOutput { + return i.ToVpsOrderOutputWithContext(context.Background()) +} + +func (i VpsOrderArgs) ToVpsOrderOutputWithContext(ctx context.Context) VpsOrderOutput { + return pulumi.ToOutputWithContext(ctx, i).(VpsOrderOutput) +} + +func (i VpsOrderArgs) ToVpsOrderPtrOutput() VpsOrderPtrOutput { + return i.ToVpsOrderPtrOutputWithContext(context.Background()) +} + +func (i VpsOrderArgs) ToVpsOrderPtrOutputWithContext(ctx context.Context) VpsOrderPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(VpsOrderOutput).ToVpsOrderPtrOutputWithContext(ctx) +} + +// VpsOrderPtrInput is an input type that accepts VpsOrderArgs, VpsOrderPtr and VpsOrderPtrOutput values. +// You can construct a concrete instance of `VpsOrderPtrInput` via: +// +// VpsOrderArgs{...} +// +// or: +// +// nil +type VpsOrderPtrInput interface { + pulumi.Input + + ToVpsOrderPtrOutput() VpsOrderPtrOutput + ToVpsOrderPtrOutputWithContext(context.Context) VpsOrderPtrOutput +} + +type vpsOrderPtrType VpsOrderArgs + +func VpsOrderPtr(v *VpsOrderArgs) VpsOrderPtrInput { + return (*vpsOrderPtrType)(v) +} + +func (*vpsOrderPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**VpsOrder)(nil)).Elem() +} + +func (i *vpsOrderPtrType) ToVpsOrderPtrOutput() VpsOrderPtrOutput { + return i.ToVpsOrderPtrOutputWithContext(context.Background()) +} + +func (i *vpsOrderPtrType) ToVpsOrderPtrOutputWithContext(ctx context.Context) VpsOrderPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(VpsOrderPtrOutput) +} + +type VpsOrderOutput struct{ *pulumi.OutputState } + +func (VpsOrderOutput) ElementType() reflect.Type { + return reflect.TypeOf((*VpsOrder)(nil)).Elem() +} + +func (o VpsOrderOutput) ToVpsOrderOutput() VpsOrderOutput { + return o +} + +func (o VpsOrderOutput) ToVpsOrderOutputWithContext(ctx context.Context) VpsOrderOutput { + return o +} + +func (o VpsOrderOutput) ToVpsOrderPtrOutput() VpsOrderPtrOutput { + return o.ToVpsOrderPtrOutputWithContext(context.Background()) +} + +func (o VpsOrderOutput) ToVpsOrderPtrOutputWithContext(ctx context.Context) VpsOrderPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v VpsOrder) *VpsOrder { + return &v + }).(VpsOrderPtrOutput) +} + +func (o VpsOrderOutput) Date() pulumi.StringPtrOutput { + return o.ApplyT(func(v VpsOrder) *string { return v.Date }).(pulumi.StringPtrOutput) +} + +func (o VpsOrderOutput) Details() VpsOrderDetailArrayOutput { + return o.ApplyT(func(v VpsOrder) []VpsOrderDetail { return v.Details }).(VpsOrderDetailArrayOutput) +} + +func (o VpsOrderOutput) ExpirationDate() pulumi.StringPtrOutput { + return o.ApplyT(func(v VpsOrder) *string { return v.ExpirationDate }).(pulumi.StringPtrOutput) +} + +func (o VpsOrderOutput) OrderId() pulumi.Float64PtrOutput { + return o.ApplyT(func(v VpsOrder) *float64 { return v.OrderId }).(pulumi.Float64PtrOutput) +} + +type VpsOrderPtrOutput struct{ *pulumi.OutputState } + +func (VpsOrderPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**VpsOrder)(nil)).Elem() +} + +func (o VpsOrderPtrOutput) ToVpsOrderPtrOutput() VpsOrderPtrOutput { + return o +} + +func (o VpsOrderPtrOutput) ToVpsOrderPtrOutputWithContext(ctx context.Context) VpsOrderPtrOutput { + return o +} + +func (o VpsOrderPtrOutput) Elem() VpsOrderOutput { + return o.ApplyT(func(v *VpsOrder) VpsOrder { + if v != nil { + return *v + } + var ret VpsOrder + return ret + }).(VpsOrderOutput) +} + +func (o VpsOrderPtrOutput) Date() pulumi.StringPtrOutput { + return o.ApplyT(func(v *VpsOrder) *string { + if v == nil { + return nil + } + return v.Date + }).(pulumi.StringPtrOutput) +} + +func (o VpsOrderPtrOutput) Details() VpsOrderDetailArrayOutput { + return o.ApplyT(func(v *VpsOrder) []VpsOrderDetail { + if v == nil { + return nil + } + return v.Details + }).(VpsOrderDetailArrayOutput) +} + +func (o VpsOrderPtrOutput) ExpirationDate() pulumi.StringPtrOutput { + return o.ApplyT(func(v *VpsOrder) *string { + if v == nil { + return nil + } + return v.ExpirationDate + }).(pulumi.StringPtrOutput) +} + +func (o VpsOrderPtrOutput) OrderId() pulumi.Float64PtrOutput { + return o.ApplyT(func(v *VpsOrder) *float64 { + if v == nil { + return nil + } + return v.OrderId + }).(pulumi.Float64PtrOutput) +} + +type VpsOrderDetail struct { + Description *string `pulumi:"description"` + // Product type of item in order + DetailType *string `pulumi:"detailType"` + Domain *string `pulumi:"domain"` + OrderDetailId *float64 `pulumi:"orderDetailId"` + Quantity *string `pulumi:"quantity"` +} + +// VpsOrderDetailInput is an input type that accepts VpsOrderDetailArgs and VpsOrderDetailOutput values. +// You can construct a concrete instance of `VpsOrderDetailInput` via: +// +// VpsOrderDetailArgs{...} +type VpsOrderDetailInput interface { + pulumi.Input + + ToVpsOrderDetailOutput() VpsOrderDetailOutput + ToVpsOrderDetailOutputWithContext(context.Context) VpsOrderDetailOutput +} + +type VpsOrderDetailArgs struct { + Description pulumi.StringPtrInput `pulumi:"description"` + // Product type of item in order + DetailType pulumi.StringPtrInput `pulumi:"detailType"` + Domain pulumi.StringPtrInput `pulumi:"domain"` + OrderDetailId pulumi.Float64PtrInput `pulumi:"orderDetailId"` + Quantity pulumi.StringPtrInput `pulumi:"quantity"` +} + +func (VpsOrderDetailArgs) ElementType() reflect.Type { + return reflect.TypeOf((*VpsOrderDetail)(nil)).Elem() +} + +func (i VpsOrderDetailArgs) ToVpsOrderDetailOutput() VpsOrderDetailOutput { + return i.ToVpsOrderDetailOutputWithContext(context.Background()) +} + +func (i VpsOrderDetailArgs) ToVpsOrderDetailOutputWithContext(ctx context.Context) VpsOrderDetailOutput { + return pulumi.ToOutputWithContext(ctx, i).(VpsOrderDetailOutput) +} + +// VpsOrderDetailArrayInput is an input type that accepts VpsOrderDetailArray and VpsOrderDetailArrayOutput values. +// You can construct a concrete instance of `VpsOrderDetailArrayInput` via: +// +// VpsOrderDetailArray{ VpsOrderDetailArgs{...} } +type VpsOrderDetailArrayInput interface { + pulumi.Input + + ToVpsOrderDetailArrayOutput() VpsOrderDetailArrayOutput + ToVpsOrderDetailArrayOutputWithContext(context.Context) VpsOrderDetailArrayOutput +} + +type VpsOrderDetailArray []VpsOrderDetailInput + +func (VpsOrderDetailArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]VpsOrderDetail)(nil)).Elem() +} + +func (i VpsOrderDetailArray) ToVpsOrderDetailArrayOutput() VpsOrderDetailArrayOutput { + return i.ToVpsOrderDetailArrayOutputWithContext(context.Background()) +} + +func (i VpsOrderDetailArray) ToVpsOrderDetailArrayOutputWithContext(ctx context.Context) VpsOrderDetailArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(VpsOrderDetailArrayOutput) +} + +type VpsOrderDetailOutput struct{ *pulumi.OutputState } + +func (VpsOrderDetailOutput) ElementType() reflect.Type { + return reflect.TypeOf((*VpsOrderDetail)(nil)).Elem() +} + +func (o VpsOrderDetailOutput) ToVpsOrderDetailOutput() VpsOrderDetailOutput { + return o +} + +func (o VpsOrderDetailOutput) ToVpsOrderDetailOutputWithContext(ctx context.Context) VpsOrderDetailOutput { + return o +} + +func (o VpsOrderDetailOutput) Description() pulumi.StringPtrOutput { + return o.ApplyT(func(v VpsOrderDetail) *string { return v.Description }).(pulumi.StringPtrOutput) +} + +// Product type of item in order +func (o VpsOrderDetailOutput) DetailType() pulumi.StringPtrOutput { + return o.ApplyT(func(v VpsOrderDetail) *string { return v.DetailType }).(pulumi.StringPtrOutput) +} + +func (o VpsOrderDetailOutput) Domain() pulumi.StringPtrOutput { + return o.ApplyT(func(v VpsOrderDetail) *string { return v.Domain }).(pulumi.StringPtrOutput) +} + +func (o VpsOrderDetailOutput) OrderDetailId() pulumi.Float64PtrOutput { + return o.ApplyT(func(v VpsOrderDetail) *float64 { return v.OrderDetailId }).(pulumi.Float64PtrOutput) +} + +func (o VpsOrderDetailOutput) Quantity() pulumi.StringPtrOutput { + return o.ApplyT(func(v VpsOrderDetail) *string { return v.Quantity }).(pulumi.StringPtrOutput) +} + +type VpsOrderDetailArrayOutput struct{ *pulumi.OutputState } + +func (VpsOrderDetailArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]VpsOrderDetail)(nil)).Elem() +} + +func (o VpsOrderDetailArrayOutput) ToVpsOrderDetailArrayOutput() VpsOrderDetailArrayOutput { + return o +} + +func (o VpsOrderDetailArrayOutput) ToVpsOrderDetailArrayOutputWithContext(ctx context.Context) VpsOrderDetailArrayOutput { + return o +} + +func (o VpsOrderDetailArrayOutput) Index(i pulumi.IntInput) VpsOrderDetailOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) VpsOrderDetail { + return vs[0].([]VpsOrderDetail)[vs[1].(int)] + }).(VpsOrderDetailOutput) +} + +type VpsPlan struct { + Configurations []VpsPlanConfiguration `pulumi:"configurations"` + // Duration selected for the purchase of the product + Duration string `pulumi:"duration"` + // Cart item to be linked + ItemId *float64 `pulumi:"itemId"` + // Identifier of the option offer + PlanCode string `pulumi:"planCode"` + // Pricing mode selected for the purchase of the product + PricingMode string `pulumi:"pricingMode"` + // Quantity of product desired + Quantity *float64 `pulumi:"quantity"` +} + +// VpsPlanInput is an input type that accepts VpsPlanArgs and VpsPlanOutput values. +// You can construct a concrete instance of `VpsPlanInput` via: +// +// VpsPlanArgs{...} +type VpsPlanInput interface { + pulumi.Input + + ToVpsPlanOutput() VpsPlanOutput + ToVpsPlanOutputWithContext(context.Context) VpsPlanOutput +} + +type VpsPlanArgs struct { + Configurations VpsPlanConfigurationArrayInput `pulumi:"configurations"` + // Duration selected for the purchase of the product + Duration pulumi.StringInput `pulumi:"duration"` + // Cart item to be linked + ItemId pulumi.Float64PtrInput `pulumi:"itemId"` + // Identifier of the option offer + PlanCode pulumi.StringInput `pulumi:"planCode"` + // Pricing mode selected for the purchase of the product + PricingMode pulumi.StringInput `pulumi:"pricingMode"` + // Quantity of product desired + Quantity pulumi.Float64PtrInput `pulumi:"quantity"` +} + +func (VpsPlanArgs) ElementType() reflect.Type { + return reflect.TypeOf((*VpsPlan)(nil)).Elem() +} + +func (i VpsPlanArgs) ToVpsPlanOutput() VpsPlanOutput { + return i.ToVpsPlanOutputWithContext(context.Background()) +} + +func (i VpsPlanArgs) ToVpsPlanOutputWithContext(ctx context.Context) VpsPlanOutput { + return pulumi.ToOutputWithContext(ctx, i).(VpsPlanOutput) +} + +// VpsPlanArrayInput is an input type that accepts VpsPlanArray and VpsPlanArrayOutput values. +// You can construct a concrete instance of `VpsPlanArrayInput` via: +// +// VpsPlanArray{ VpsPlanArgs{...} } +type VpsPlanArrayInput interface { + pulumi.Input + + ToVpsPlanArrayOutput() VpsPlanArrayOutput + ToVpsPlanArrayOutputWithContext(context.Context) VpsPlanArrayOutput +} + +type VpsPlanArray []VpsPlanInput + +func (VpsPlanArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]VpsPlan)(nil)).Elem() +} + +func (i VpsPlanArray) ToVpsPlanArrayOutput() VpsPlanArrayOutput { + return i.ToVpsPlanArrayOutputWithContext(context.Background()) +} + +func (i VpsPlanArray) ToVpsPlanArrayOutputWithContext(ctx context.Context) VpsPlanArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(VpsPlanArrayOutput) +} + +type VpsPlanOutput struct{ *pulumi.OutputState } + +func (VpsPlanOutput) ElementType() reflect.Type { + return reflect.TypeOf((*VpsPlan)(nil)).Elem() +} + +func (o VpsPlanOutput) ToVpsPlanOutput() VpsPlanOutput { + return o +} + +func (o VpsPlanOutput) ToVpsPlanOutputWithContext(ctx context.Context) VpsPlanOutput { + return o +} + +func (o VpsPlanOutput) Configurations() VpsPlanConfigurationArrayOutput { + return o.ApplyT(func(v VpsPlan) []VpsPlanConfiguration { return v.Configurations }).(VpsPlanConfigurationArrayOutput) +} + +// Duration selected for the purchase of the product +func (o VpsPlanOutput) Duration() pulumi.StringOutput { + return o.ApplyT(func(v VpsPlan) string { return v.Duration }).(pulumi.StringOutput) +} + +// Cart item to be linked +func (o VpsPlanOutput) ItemId() pulumi.Float64PtrOutput { + return o.ApplyT(func(v VpsPlan) *float64 { return v.ItemId }).(pulumi.Float64PtrOutput) +} + +// Identifier of the option offer +func (o VpsPlanOutput) PlanCode() pulumi.StringOutput { + return o.ApplyT(func(v VpsPlan) string { return v.PlanCode }).(pulumi.StringOutput) +} + +// Pricing mode selected for the purchase of the product +func (o VpsPlanOutput) PricingMode() pulumi.StringOutput { + return o.ApplyT(func(v VpsPlan) string { return v.PricingMode }).(pulumi.StringOutput) +} + +// Quantity of product desired +func (o VpsPlanOutput) Quantity() pulumi.Float64PtrOutput { + return o.ApplyT(func(v VpsPlan) *float64 { return v.Quantity }).(pulumi.Float64PtrOutput) +} + +type VpsPlanArrayOutput struct{ *pulumi.OutputState } + +func (VpsPlanArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]VpsPlan)(nil)).Elem() +} + +func (o VpsPlanArrayOutput) ToVpsPlanArrayOutput() VpsPlanArrayOutput { + return o +} + +func (o VpsPlanArrayOutput) ToVpsPlanArrayOutputWithContext(ctx context.Context) VpsPlanArrayOutput { + return o +} + +func (o VpsPlanArrayOutput) Index(i pulumi.IntInput) VpsPlanOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) VpsPlan { + return vs[0].([]VpsPlan)[vs[1].(int)] + }).(VpsPlanOutput) +} + +type VpsPlanConfiguration struct { + // Label for your configuration item + Label string `pulumi:"label"` + // Value or resource URL on API.OVH.COM of your configuration item + Value string `pulumi:"value"` +} + +// VpsPlanConfigurationInput is an input type that accepts VpsPlanConfigurationArgs and VpsPlanConfigurationOutput values. +// You can construct a concrete instance of `VpsPlanConfigurationInput` via: +// +// VpsPlanConfigurationArgs{...} +type VpsPlanConfigurationInput interface { + pulumi.Input + + ToVpsPlanConfigurationOutput() VpsPlanConfigurationOutput + ToVpsPlanConfigurationOutputWithContext(context.Context) VpsPlanConfigurationOutput +} + +type VpsPlanConfigurationArgs struct { + // Label for your configuration item + Label pulumi.StringInput `pulumi:"label"` + // Value or resource URL on API.OVH.COM of your configuration item + Value pulumi.StringInput `pulumi:"value"` +} + +func (VpsPlanConfigurationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*VpsPlanConfiguration)(nil)).Elem() +} + +func (i VpsPlanConfigurationArgs) ToVpsPlanConfigurationOutput() VpsPlanConfigurationOutput { + return i.ToVpsPlanConfigurationOutputWithContext(context.Background()) +} + +func (i VpsPlanConfigurationArgs) ToVpsPlanConfigurationOutputWithContext(ctx context.Context) VpsPlanConfigurationOutput { + return pulumi.ToOutputWithContext(ctx, i).(VpsPlanConfigurationOutput) +} + +// VpsPlanConfigurationArrayInput is an input type that accepts VpsPlanConfigurationArray and VpsPlanConfigurationArrayOutput values. +// You can construct a concrete instance of `VpsPlanConfigurationArrayInput` via: +// +// VpsPlanConfigurationArray{ VpsPlanConfigurationArgs{...} } +type VpsPlanConfigurationArrayInput interface { + pulumi.Input + + ToVpsPlanConfigurationArrayOutput() VpsPlanConfigurationArrayOutput + ToVpsPlanConfigurationArrayOutputWithContext(context.Context) VpsPlanConfigurationArrayOutput +} + +type VpsPlanConfigurationArray []VpsPlanConfigurationInput + +func (VpsPlanConfigurationArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]VpsPlanConfiguration)(nil)).Elem() +} + +func (i VpsPlanConfigurationArray) ToVpsPlanConfigurationArrayOutput() VpsPlanConfigurationArrayOutput { + return i.ToVpsPlanConfigurationArrayOutputWithContext(context.Background()) +} + +func (i VpsPlanConfigurationArray) ToVpsPlanConfigurationArrayOutputWithContext(ctx context.Context) VpsPlanConfigurationArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(VpsPlanConfigurationArrayOutput) +} + +type VpsPlanConfigurationOutput struct{ *pulumi.OutputState } + +func (VpsPlanConfigurationOutput) ElementType() reflect.Type { + return reflect.TypeOf((*VpsPlanConfiguration)(nil)).Elem() +} + +func (o VpsPlanConfigurationOutput) ToVpsPlanConfigurationOutput() VpsPlanConfigurationOutput { + return o +} + +func (o VpsPlanConfigurationOutput) ToVpsPlanConfigurationOutputWithContext(ctx context.Context) VpsPlanConfigurationOutput { + return o +} + +// Label for your configuration item +func (o VpsPlanConfigurationOutput) Label() pulumi.StringOutput { + return o.ApplyT(func(v VpsPlanConfiguration) string { return v.Label }).(pulumi.StringOutput) +} + +// Value or resource URL on API.OVH.COM of your configuration item +func (o VpsPlanConfigurationOutput) Value() pulumi.StringOutput { + return o.ApplyT(func(v VpsPlanConfiguration) string { return v.Value }).(pulumi.StringOutput) +} + +type VpsPlanConfigurationArrayOutput struct{ *pulumi.OutputState } + +func (VpsPlanConfigurationArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]VpsPlanConfiguration)(nil)).Elem() +} + +func (o VpsPlanConfigurationArrayOutput) ToVpsPlanConfigurationArrayOutput() VpsPlanConfigurationArrayOutput { + return o +} + +func (o VpsPlanConfigurationArrayOutput) ToVpsPlanConfigurationArrayOutputWithContext(ctx context.Context) VpsPlanConfigurationArrayOutput { + return o +} + +func (o VpsPlanConfigurationArrayOutput) Index(i pulumi.IntInput) VpsPlanConfigurationOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) VpsPlanConfiguration { + return vs[0].([]VpsPlanConfiguration)[vs[1].(int)] + }).(VpsPlanConfigurationOutput) +} + +type VpsPlanOption struct { + Configurations []VpsPlanOptionConfiguration `pulumi:"configurations"` + // Duration selected for the purchase of the product + Duration string `pulumi:"duration"` + // Cart item to be linked + ItemId float64 `pulumi:"itemId"` + // Identifier of the option offer + PlanCode string `pulumi:"planCode"` + // Pricing mode selected for the purchase of the product + PricingMode string `pulumi:"pricingMode"` + // Quantity of product desired + Quantity float64 `pulumi:"quantity"` +} + +// VpsPlanOptionInput is an input type that accepts VpsPlanOptionArgs and VpsPlanOptionOutput values. +// You can construct a concrete instance of `VpsPlanOptionInput` via: +// +// VpsPlanOptionArgs{...} +type VpsPlanOptionInput interface { + pulumi.Input + + ToVpsPlanOptionOutput() VpsPlanOptionOutput + ToVpsPlanOptionOutputWithContext(context.Context) VpsPlanOptionOutput +} + +type VpsPlanOptionArgs struct { + Configurations VpsPlanOptionConfigurationArrayInput `pulumi:"configurations"` + // Duration selected for the purchase of the product + Duration pulumi.StringInput `pulumi:"duration"` + // Cart item to be linked + ItemId pulumi.Float64Input `pulumi:"itemId"` + // Identifier of the option offer + PlanCode pulumi.StringInput `pulumi:"planCode"` + // Pricing mode selected for the purchase of the product + PricingMode pulumi.StringInput `pulumi:"pricingMode"` + // Quantity of product desired + Quantity pulumi.Float64Input `pulumi:"quantity"` +} + +func (VpsPlanOptionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*VpsPlanOption)(nil)).Elem() +} + +func (i VpsPlanOptionArgs) ToVpsPlanOptionOutput() VpsPlanOptionOutput { + return i.ToVpsPlanOptionOutputWithContext(context.Background()) +} + +func (i VpsPlanOptionArgs) ToVpsPlanOptionOutputWithContext(ctx context.Context) VpsPlanOptionOutput { + return pulumi.ToOutputWithContext(ctx, i).(VpsPlanOptionOutput) +} + +// VpsPlanOptionArrayInput is an input type that accepts VpsPlanOptionArray and VpsPlanOptionArrayOutput values. +// You can construct a concrete instance of `VpsPlanOptionArrayInput` via: +// +// VpsPlanOptionArray{ VpsPlanOptionArgs{...} } +type VpsPlanOptionArrayInput interface { + pulumi.Input + + ToVpsPlanOptionArrayOutput() VpsPlanOptionArrayOutput + ToVpsPlanOptionArrayOutputWithContext(context.Context) VpsPlanOptionArrayOutput +} + +type VpsPlanOptionArray []VpsPlanOptionInput + +func (VpsPlanOptionArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]VpsPlanOption)(nil)).Elem() +} + +func (i VpsPlanOptionArray) ToVpsPlanOptionArrayOutput() VpsPlanOptionArrayOutput { + return i.ToVpsPlanOptionArrayOutputWithContext(context.Background()) +} + +func (i VpsPlanOptionArray) ToVpsPlanOptionArrayOutputWithContext(ctx context.Context) VpsPlanOptionArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(VpsPlanOptionArrayOutput) +} + +type VpsPlanOptionOutput struct{ *pulumi.OutputState } + +func (VpsPlanOptionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*VpsPlanOption)(nil)).Elem() +} + +func (o VpsPlanOptionOutput) ToVpsPlanOptionOutput() VpsPlanOptionOutput { + return o +} + +func (o VpsPlanOptionOutput) ToVpsPlanOptionOutputWithContext(ctx context.Context) VpsPlanOptionOutput { + return o +} + +func (o VpsPlanOptionOutput) Configurations() VpsPlanOptionConfigurationArrayOutput { + return o.ApplyT(func(v VpsPlanOption) []VpsPlanOptionConfiguration { return v.Configurations }).(VpsPlanOptionConfigurationArrayOutput) +} + +// Duration selected for the purchase of the product +func (o VpsPlanOptionOutput) Duration() pulumi.StringOutput { + return o.ApplyT(func(v VpsPlanOption) string { return v.Duration }).(pulumi.StringOutput) +} + +// Cart item to be linked +func (o VpsPlanOptionOutput) ItemId() pulumi.Float64Output { + return o.ApplyT(func(v VpsPlanOption) float64 { return v.ItemId }).(pulumi.Float64Output) +} + +// Identifier of the option offer +func (o VpsPlanOptionOutput) PlanCode() pulumi.StringOutput { + return o.ApplyT(func(v VpsPlanOption) string { return v.PlanCode }).(pulumi.StringOutput) +} + +// Pricing mode selected for the purchase of the product +func (o VpsPlanOptionOutput) PricingMode() pulumi.StringOutput { + return o.ApplyT(func(v VpsPlanOption) string { return v.PricingMode }).(pulumi.StringOutput) +} + +// Quantity of product desired +func (o VpsPlanOptionOutput) Quantity() pulumi.Float64Output { + return o.ApplyT(func(v VpsPlanOption) float64 { return v.Quantity }).(pulumi.Float64Output) +} + +type VpsPlanOptionArrayOutput struct{ *pulumi.OutputState } + +func (VpsPlanOptionArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]VpsPlanOption)(nil)).Elem() +} + +func (o VpsPlanOptionArrayOutput) ToVpsPlanOptionArrayOutput() VpsPlanOptionArrayOutput { + return o +} + +func (o VpsPlanOptionArrayOutput) ToVpsPlanOptionArrayOutputWithContext(ctx context.Context) VpsPlanOptionArrayOutput { + return o +} + +func (o VpsPlanOptionArrayOutput) Index(i pulumi.IntInput) VpsPlanOptionOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) VpsPlanOption { + return vs[0].([]VpsPlanOption)[vs[1].(int)] + }).(VpsPlanOptionOutput) +} + +type VpsPlanOptionConfiguration struct { + // Label for your configuration item + Label string `pulumi:"label"` + // Value or resource URL on API.OVH.COM of your configuration item + Value string `pulumi:"value"` +} + +// VpsPlanOptionConfigurationInput is an input type that accepts VpsPlanOptionConfigurationArgs and VpsPlanOptionConfigurationOutput values. +// You can construct a concrete instance of `VpsPlanOptionConfigurationInput` via: +// +// VpsPlanOptionConfigurationArgs{...} +type VpsPlanOptionConfigurationInput interface { + pulumi.Input + + ToVpsPlanOptionConfigurationOutput() VpsPlanOptionConfigurationOutput + ToVpsPlanOptionConfigurationOutputWithContext(context.Context) VpsPlanOptionConfigurationOutput +} + +type VpsPlanOptionConfigurationArgs struct { + // Label for your configuration item + Label pulumi.StringInput `pulumi:"label"` + // Value or resource URL on API.OVH.COM of your configuration item + Value pulumi.StringInput `pulumi:"value"` +} + +func (VpsPlanOptionConfigurationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*VpsPlanOptionConfiguration)(nil)).Elem() +} + +func (i VpsPlanOptionConfigurationArgs) ToVpsPlanOptionConfigurationOutput() VpsPlanOptionConfigurationOutput { + return i.ToVpsPlanOptionConfigurationOutputWithContext(context.Background()) +} + +func (i VpsPlanOptionConfigurationArgs) ToVpsPlanOptionConfigurationOutputWithContext(ctx context.Context) VpsPlanOptionConfigurationOutput { + return pulumi.ToOutputWithContext(ctx, i).(VpsPlanOptionConfigurationOutput) +} + +// VpsPlanOptionConfigurationArrayInput is an input type that accepts VpsPlanOptionConfigurationArray and VpsPlanOptionConfigurationArrayOutput values. +// You can construct a concrete instance of `VpsPlanOptionConfigurationArrayInput` via: +// +// VpsPlanOptionConfigurationArray{ VpsPlanOptionConfigurationArgs{...} } +type VpsPlanOptionConfigurationArrayInput interface { + pulumi.Input + + ToVpsPlanOptionConfigurationArrayOutput() VpsPlanOptionConfigurationArrayOutput + ToVpsPlanOptionConfigurationArrayOutputWithContext(context.Context) VpsPlanOptionConfigurationArrayOutput +} + +type VpsPlanOptionConfigurationArray []VpsPlanOptionConfigurationInput + +func (VpsPlanOptionConfigurationArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]VpsPlanOptionConfiguration)(nil)).Elem() +} + +func (i VpsPlanOptionConfigurationArray) ToVpsPlanOptionConfigurationArrayOutput() VpsPlanOptionConfigurationArrayOutput { + return i.ToVpsPlanOptionConfigurationArrayOutputWithContext(context.Background()) +} + +func (i VpsPlanOptionConfigurationArray) ToVpsPlanOptionConfigurationArrayOutputWithContext(ctx context.Context) VpsPlanOptionConfigurationArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(VpsPlanOptionConfigurationArrayOutput) +} + +type VpsPlanOptionConfigurationOutput struct{ *pulumi.OutputState } + +func (VpsPlanOptionConfigurationOutput) ElementType() reflect.Type { + return reflect.TypeOf((*VpsPlanOptionConfiguration)(nil)).Elem() +} + +func (o VpsPlanOptionConfigurationOutput) ToVpsPlanOptionConfigurationOutput() VpsPlanOptionConfigurationOutput { + return o +} + +func (o VpsPlanOptionConfigurationOutput) ToVpsPlanOptionConfigurationOutputWithContext(ctx context.Context) VpsPlanOptionConfigurationOutput { + return o +} + +// Label for your configuration item +func (o VpsPlanOptionConfigurationOutput) Label() pulumi.StringOutput { + return o.ApplyT(func(v VpsPlanOptionConfiguration) string { return v.Label }).(pulumi.StringOutput) +} + +// Value or resource URL on API.OVH.COM of your configuration item +func (o VpsPlanOptionConfigurationOutput) Value() pulumi.StringOutput { + return o.ApplyT(func(v VpsPlanOptionConfiguration) string { return v.Value }).(pulumi.StringOutput) +} + +type VpsPlanOptionConfigurationArrayOutput struct{ *pulumi.OutputState } + +func (VpsPlanOptionConfigurationArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]VpsPlanOptionConfiguration)(nil)).Elem() +} + +func (o VpsPlanOptionConfigurationArrayOutput) ToVpsPlanOptionConfigurationArrayOutput() VpsPlanOptionConfigurationArrayOutput { + return o +} + +func (o VpsPlanOptionConfigurationArrayOutput) ToVpsPlanOptionConfigurationArrayOutputWithContext(ctx context.Context) VpsPlanOptionConfigurationArrayOutput { + return o +} + +func (o VpsPlanOptionConfigurationArrayOutput) Index(i pulumi.IntInput) VpsPlanOptionConfigurationOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) VpsPlanOptionConfiguration { + return vs[0].([]VpsPlanOptionConfiguration)[vs[1].(int)] + }).(VpsPlanOptionConfigurationOutput) +} + +type VrackOrder struct { + // date + Date *string `pulumi:"date"` + // Information about a Bill entry + Details []VrackOrderDetail `pulumi:"details"` + // expiration date + ExpirationDate *string `pulumi:"expirationDate"` + // order id + OrderId *float64 `pulumi:"orderId"` +} + +// VrackOrderInput is an input type that accepts VrackOrderArgs and VrackOrderOutput values. +// You can construct a concrete instance of `VrackOrderInput` via: +// +// VrackOrderArgs{...} +type VrackOrderInput interface { + pulumi.Input + + ToVrackOrderOutput() VrackOrderOutput + ToVrackOrderOutputWithContext(context.Context) VrackOrderOutput +} + +type VrackOrderArgs struct { + // date + Date pulumi.StringPtrInput `pulumi:"date"` + // Information about a Bill entry + Details VrackOrderDetailArrayInput `pulumi:"details"` + // expiration date + ExpirationDate pulumi.StringPtrInput `pulumi:"expirationDate"` + // order id + OrderId pulumi.Float64PtrInput `pulumi:"orderId"` +} + +func (VrackOrderArgs) ElementType() reflect.Type { + return reflect.TypeOf((*VrackOrder)(nil)).Elem() +} + +func (i VrackOrderArgs) ToVrackOrderOutput() VrackOrderOutput { + return i.ToVrackOrderOutputWithContext(context.Background()) +} + +func (i VrackOrderArgs) ToVrackOrderOutputWithContext(ctx context.Context) VrackOrderOutput { + return pulumi.ToOutputWithContext(ctx, i).(VrackOrderOutput) +} + +// VrackOrderArrayInput is an input type that accepts VrackOrderArray and VrackOrderArrayOutput values. +// You can construct a concrete instance of `VrackOrderArrayInput` via: +// +// VrackOrderArray{ VrackOrderArgs{...} } +type VrackOrderArrayInput interface { + pulumi.Input + + ToVrackOrderArrayOutput() VrackOrderArrayOutput + ToVrackOrderArrayOutputWithContext(context.Context) VrackOrderArrayOutput +} + +type VrackOrderArray []VrackOrderInput + +func (VrackOrderArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]VrackOrder)(nil)).Elem() +} + +func (i VrackOrderArray) ToVrackOrderArrayOutput() VrackOrderArrayOutput { + return i.ToVrackOrderArrayOutputWithContext(context.Background()) +} + +func (i VrackOrderArray) ToVrackOrderArrayOutputWithContext(ctx context.Context) VrackOrderArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(VrackOrderArrayOutput) +} + +type VrackOrderOutput struct{ *pulumi.OutputState } + +func (VrackOrderOutput) ElementType() reflect.Type { + return reflect.TypeOf((*VrackOrder)(nil)).Elem() +} + +func (o VrackOrderOutput) ToVrackOrderOutput() VrackOrderOutput { + return o +} + +func (o VrackOrderOutput) ToVrackOrderOutputWithContext(ctx context.Context) VrackOrderOutput { + return o +} + +// date +func (o VrackOrderOutput) Date() pulumi.StringPtrOutput { + return o.ApplyT(func(v VrackOrder) *string { return v.Date }).(pulumi.StringPtrOutput) +} + +// Information about a Bill entry +func (o VrackOrderOutput) Details() VrackOrderDetailArrayOutput { + return o.ApplyT(func(v VrackOrder) []VrackOrderDetail { return v.Details }).(VrackOrderDetailArrayOutput) +} + +// expiration date +func (o VrackOrderOutput) ExpirationDate() pulumi.StringPtrOutput { + return o.ApplyT(func(v VrackOrder) *string { return v.ExpirationDate }).(pulumi.StringPtrOutput) +} + +// order id +func (o VrackOrderOutput) OrderId() pulumi.Float64PtrOutput { + return o.ApplyT(func(v VrackOrder) *float64 { return v.OrderId }).(pulumi.Float64PtrOutput) +} + +type VrackOrderArrayOutput struct{ *pulumi.OutputState } + +func (VrackOrderArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]VrackOrder)(nil)).Elem() +} + +func (o VrackOrderArrayOutput) ToVrackOrderArrayOutput() VrackOrderArrayOutput { + return o +} + +func (o VrackOrderArrayOutput) ToVrackOrderArrayOutputWithContext(ctx context.Context) VrackOrderArrayOutput { + return o +} + +func (o VrackOrderArrayOutput) Index(i pulumi.IntInput) VrackOrderOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) VrackOrder { + return vs[0].([]VrackOrder)[vs[1].(int)] + }).(VrackOrderOutput) +} + +type VrackOrderDetail struct { + Description string `pulumi:"description"` + Domain string `pulumi:"domain"` + OrderDetailId float64 `pulumi:"orderDetailId"` + Quantity string `pulumi:"quantity"` +} + +// VrackOrderDetailInput is an input type that accepts VrackOrderDetailArgs and VrackOrderDetailOutput values. +// You can construct a concrete instance of `VrackOrderDetailInput` via: +// +// VrackOrderDetailArgs{...} +type VrackOrderDetailInput interface { + pulumi.Input + + ToVrackOrderDetailOutput() VrackOrderDetailOutput + ToVrackOrderDetailOutputWithContext(context.Context) VrackOrderDetailOutput +} + +type VrackOrderDetailArgs struct { + Description pulumi.StringInput `pulumi:"description"` + Domain pulumi.StringInput `pulumi:"domain"` + OrderDetailId pulumi.Float64Input `pulumi:"orderDetailId"` + Quantity pulumi.StringInput `pulumi:"quantity"` +} + +func (VrackOrderDetailArgs) ElementType() reflect.Type { + return reflect.TypeOf((*VrackOrderDetail)(nil)).Elem() +} + +func (i VrackOrderDetailArgs) ToVrackOrderDetailOutput() VrackOrderDetailOutput { + return i.ToVrackOrderDetailOutputWithContext(context.Background()) +} + +func (i VrackOrderDetailArgs) ToVrackOrderDetailOutputWithContext(ctx context.Context) VrackOrderDetailOutput { + return pulumi.ToOutputWithContext(ctx, i).(VrackOrderDetailOutput) +} + +// VrackOrderDetailArrayInput is an input type that accepts VrackOrderDetailArray and VrackOrderDetailArrayOutput values. +// You can construct a concrete instance of `VrackOrderDetailArrayInput` via: +// +// VrackOrderDetailArray{ VrackOrderDetailArgs{...} } +type VrackOrderDetailArrayInput interface { + pulumi.Input + + ToVrackOrderDetailArrayOutput() VrackOrderDetailArrayOutput + ToVrackOrderDetailArrayOutputWithContext(context.Context) VrackOrderDetailArrayOutput +} + +type VrackOrderDetailArray []VrackOrderDetailInput + +func (VrackOrderDetailArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]VrackOrderDetail)(nil)).Elem() +} + +func (i VrackOrderDetailArray) ToVrackOrderDetailArrayOutput() VrackOrderDetailArrayOutput { + return i.ToVrackOrderDetailArrayOutputWithContext(context.Background()) +} + +func (i VrackOrderDetailArray) ToVrackOrderDetailArrayOutputWithContext(ctx context.Context) VrackOrderDetailArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(VrackOrderDetailArrayOutput) +} + +type VrackOrderDetailOutput struct{ *pulumi.OutputState } + +func (VrackOrderDetailOutput) ElementType() reflect.Type { + return reflect.TypeOf((*VrackOrderDetail)(nil)).Elem() +} + +func (o VrackOrderDetailOutput) ToVrackOrderDetailOutput() VrackOrderDetailOutput { + return o +} + +func (o VrackOrderDetailOutput) ToVrackOrderDetailOutputWithContext(ctx context.Context) VrackOrderDetailOutput { + return o +} + +func (o VrackOrderDetailOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v VrackOrderDetail) string { return v.Description }).(pulumi.StringOutput) +} + +func (o VrackOrderDetailOutput) Domain() pulumi.StringOutput { + return o.ApplyT(func(v VrackOrderDetail) string { return v.Domain }).(pulumi.StringOutput) +} + +func (o VrackOrderDetailOutput) OrderDetailId() pulumi.Float64Output { + return o.ApplyT(func(v VrackOrderDetail) float64 { return v.OrderDetailId }).(pulumi.Float64Output) +} + +func (o VrackOrderDetailOutput) Quantity() pulumi.StringOutput { + return o.ApplyT(func(v VrackOrderDetail) string { return v.Quantity }).(pulumi.StringOutput) +} + +type VrackOrderDetailArrayOutput struct{ *pulumi.OutputState } + +func (VrackOrderDetailArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]VrackOrderDetail)(nil)).Elem() +} + +func (o VrackOrderDetailArrayOutput) ToVrackOrderDetailArrayOutput() VrackOrderDetailArrayOutput { + return o +} + +func (o VrackOrderDetailArrayOutput) ToVrackOrderDetailArrayOutputWithContext(ctx context.Context) VrackOrderDetailArrayOutput { + return o +} + +func (o VrackOrderDetailArrayOutput) Index(i pulumi.IntInput) VrackOrderDetailOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) VrackOrderDetail { + return vs[0].([]VrackOrderDetail)[vs[1].(int)] + }).(VrackOrderDetailOutput) +} + +type VrackPlan struct { + // Catalog name + CatalogName *string `pulumi:"catalogName"` + // Representation of a configuration item for personalizing product + Configurations []VrackPlanConfiguration `pulumi:"configurations"` + // duration + Duration string `pulumi:"duration"` + // Plan code + PlanCode string `pulumi:"planCode"` + // Pricing model identifier + PricingMode string `pulumi:"pricingMode"` +} + +// VrackPlanInput is an input type that accepts VrackPlanArgs and VrackPlanOutput values. +// You can construct a concrete instance of `VrackPlanInput` via: +// +// VrackPlanArgs{...} +type VrackPlanInput interface { + pulumi.Input + + ToVrackPlanOutput() VrackPlanOutput + ToVrackPlanOutputWithContext(context.Context) VrackPlanOutput +} + +type VrackPlanArgs struct { + // Catalog name + CatalogName pulumi.StringPtrInput `pulumi:"catalogName"` + // Representation of a configuration item for personalizing product + Configurations VrackPlanConfigurationArrayInput `pulumi:"configurations"` + // duration + Duration pulumi.StringInput `pulumi:"duration"` + // Plan code + PlanCode pulumi.StringInput `pulumi:"planCode"` + // Pricing model identifier + PricingMode pulumi.StringInput `pulumi:"pricingMode"` +} + +func (VrackPlanArgs) ElementType() reflect.Type { + return reflect.TypeOf((*VrackPlan)(nil)).Elem() +} + +func (i VrackPlanArgs) ToVrackPlanOutput() VrackPlanOutput { + return i.ToVrackPlanOutputWithContext(context.Background()) +} + +func (i VrackPlanArgs) ToVrackPlanOutputWithContext(ctx context.Context) VrackPlanOutput { + return pulumi.ToOutputWithContext(ctx, i).(VrackPlanOutput) +} + +func (i VrackPlanArgs) ToVrackPlanPtrOutput() VrackPlanPtrOutput { + return i.ToVrackPlanPtrOutputWithContext(context.Background()) +} + +func (i VrackPlanArgs) ToVrackPlanPtrOutputWithContext(ctx context.Context) VrackPlanPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(VrackPlanOutput).ToVrackPlanPtrOutputWithContext(ctx) +} + +// VrackPlanPtrInput is an input type that accepts VrackPlanArgs, VrackPlanPtr and VrackPlanPtrOutput values. +// You can construct a concrete instance of `VrackPlanPtrInput` via: +// +// VrackPlanArgs{...} +// +// or: +// +// nil +type VrackPlanPtrInput interface { + pulumi.Input + + ToVrackPlanPtrOutput() VrackPlanPtrOutput + ToVrackPlanPtrOutputWithContext(context.Context) VrackPlanPtrOutput +} + +type vrackPlanPtrType VrackPlanArgs + +func VrackPlanPtr(v *VrackPlanArgs) VrackPlanPtrInput { + return (*vrackPlanPtrType)(v) +} + +func (*vrackPlanPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**VrackPlan)(nil)).Elem() +} + +func (i *vrackPlanPtrType) ToVrackPlanPtrOutput() VrackPlanPtrOutput { + return i.ToVrackPlanPtrOutputWithContext(context.Background()) +} + +func (i *vrackPlanPtrType) ToVrackPlanPtrOutputWithContext(ctx context.Context) VrackPlanPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(VrackPlanPtrOutput) +} + +type VrackPlanOutput struct{ *pulumi.OutputState } + +func (VrackPlanOutput) ElementType() reflect.Type { + return reflect.TypeOf((*VrackPlan)(nil)).Elem() +} + +func (o VrackPlanOutput) ToVrackPlanOutput() VrackPlanOutput { + return o +} + +func (o VrackPlanOutput) ToVrackPlanOutputWithContext(ctx context.Context) VrackPlanOutput { + return o +} + +func (o VrackPlanOutput) ToVrackPlanPtrOutput() VrackPlanPtrOutput { + return o.ToVrackPlanPtrOutputWithContext(context.Background()) +} + +func (o VrackPlanOutput) ToVrackPlanPtrOutputWithContext(ctx context.Context) VrackPlanPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v VrackPlan) *VrackPlan { + return &v + }).(VrackPlanPtrOutput) +} + +// Catalog name +func (o VrackPlanOutput) CatalogName() pulumi.StringPtrOutput { + return o.ApplyT(func(v VrackPlan) *string { return v.CatalogName }).(pulumi.StringPtrOutput) +} + +// Representation of a configuration item for personalizing product +func (o VrackPlanOutput) Configurations() VrackPlanConfigurationArrayOutput { + return o.ApplyT(func(v VrackPlan) []VrackPlanConfiguration { return v.Configurations }).(VrackPlanConfigurationArrayOutput) +} + +// duration +func (o VrackPlanOutput) Duration() pulumi.StringOutput { + return o.ApplyT(func(v VrackPlan) string { return v.Duration }).(pulumi.StringOutput) +} + +// Plan code +func (o VrackPlanOutput) PlanCode() pulumi.StringOutput { + return o.ApplyT(func(v VrackPlan) string { return v.PlanCode }).(pulumi.StringOutput) +} + +// Pricing model identifier +func (o VrackPlanOutput) PricingMode() pulumi.StringOutput { + return o.ApplyT(func(v VrackPlan) string { return v.PricingMode }).(pulumi.StringOutput) +} + +type VrackPlanPtrOutput struct{ *pulumi.OutputState } + +func (VrackPlanPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**VrackPlan)(nil)).Elem() +} + +func (o VrackPlanPtrOutput) ToVrackPlanPtrOutput() VrackPlanPtrOutput { + return o +} + +func (o VrackPlanPtrOutput) ToVrackPlanPtrOutputWithContext(ctx context.Context) VrackPlanPtrOutput { + return o +} + +func (o VrackPlanPtrOutput) Elem() VrackPlanOutput { + return o.ApplyT(func(v *VrackPlan) VrackPlan { + if v != nil { + return *v + } + var ret VrackPlan + return ret + }).(VrackPlanOutput) +} + +// Catalog name +func (o VrackPlanPtrOutput) CatalogName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *VrackPlan) *string { + if v == nil { + return nil + } + return v.CatalogName + }).(pulumi.StringPtrOutput) +} + +// Representation of a configuration item for personalizing product +func (o VrackPlanPtrOutput) Configurations() VrackPlanConfigurationArrayOutput { + return o.ApplyT(func(v *VrackPlan) []VrackPlanConfiguration { + if v == nil { + return nil + } + return v.Configurations + }).(VrackPlanConfigurationArrayOutput) +} + +// duration +func (o VrackPlanPtrOutput) Duration() pulumi.StringPtrOutput { + return o.ApplyT(func(v *VrackPlan) *string { + if v == nil { + return nil + } + return &v.Duration + }).(pulumi.StringPtrOutput) +} + +// Plan code +func (o VrackPlanPtrOutput) PlanCode() pulumi.StringPtrOutput { + return o.ApplyT(func(v *VrackPlan) *string { + if v == nil { + return nil + } + return &v.PlanCode + }).(pulumi.StringPtrOutput) +} + +// Pricing model identifier +func (o VrackPlanPtrOutput) PricingMode() pulumi.StringPtrOutput { + return o.ApplyT(func(v *VrackPlan) *string { + if v == nil { + return nil + } + return &v.PricingMode + }).(pulumi.StringPtrOutput) +} + +type VrackPlanConfiguration struct { + // Identifier of the resource + Label string `pulumi:"label"` + // Path to the resource in API.OVH.COM + Value string `pulumi:"value"` +} + +// VrackPlanConfigurationInput is an input type that accepts VrackPlanConfigurationArgs and VrackPlanConfigurationOutput values. +// You can construct a concrete instance of `VrackPlanConfigurationInput` via: +// +// VrackPlanConfigurationArgs{...} +type VrackPlanConfigurationInput interface { + pulumi.Input + + ToVrackPlanConfigurationOutput() VrackPlanConfigurationOutput + ToVrackPlanConfigurationOutputWithContext(context.Context) VrackPlanConfigurationOutput +} + +type VrackPlanConfigurationArgs struct { + // Identifier of the resource + Label pulumi.StringInput `pulumi:"label"` + // Path to the resource in API.OVH.COM + Value pulumi.StringInput `pulumi:"value"` +} + +func (VrackPlanConfigurationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*VrackPlanConfiguration)(nil)).Elem() +} + +func (i VrackPlanConfigurationArgs) ToVrackPlanConfigurationOutput() VrackPlanConfigurationOutput { + return i.ToVrackPlanConfigurationOutputWithContext(context.Background()) +} + +func (i VrackPlanConfigurationArgs) ToVrackPlanConfigurationOutputWithContext(ctx context.Context) VrackPlanConfigurationOutput { + return pulumi.ToOutputWithContext(ctx, i).(VrackPlanConfigurationOutput) +} + +// VrackPlanConfigurationArrayInput is an input type that accepts VrackPlanConfigurationArray and VrackPlanConfigurationArrayOutput values. +// You can construct a concrete instance of `VrackPlanConfigurationArrayInput` via: +// +// VrackPlanConfigurationArray{ VrackPlanConfigurationArgs{...} } +type VrackPlanConfigurationArrayInput interface { + pulumi.Input + + ToVrackPlanConfigurationArrayOutput() VrackPlanConfigurationArrayOutput + ToVrackPlanConfigurationArrayOutputWithContext(context.Context) VrackPlanConfigurationArrayOutput +} + +type VrackPlanConfigurationArray []VrackPlanConfigurationInput + +func (VrackPlanConfigurationArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]VrackPlanConfiguration)(nil)).Elem() +} + +func (i VrackPlanConfigurationArray) ToVrackPlanConfigurationArrayOutput() VrackPlanConfigurationArrayOutput { + return i.ToVrackPlanConfigurationArrayOutputWithContext(context.Background()) +} + +func (i VrackPlanConfigurationArray) ToVrackPlanConfigurationArrayOutputWithContext(ctx context.Context) VrackPlanConfigurationArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(VrackPlanConfigurationArrayOutput) +} + +type VrackPlanConfigurationOutput struct{ *pulumi.OutputState } + +func (VrackPlanConfigurationOutput) ElementType() reflect.Type { + return reflect.TypeOf((*VrackPlanConfiguration)(nil)).Elem() +} + +func (o VrackPlanConfigurationOutput) ToVrackPlanConfigurationOutput() VrackPlanConfigurationOutput { + return o +} + +func (o VrackPlanConfigurationOutput) ToVrackPlanConfigurationOutputWithContext(ctx context.Context) VrackPlanConfigurationOutput { + return o +} + +// Identifier of the resource +func (o VrackPlanConfigurationOutput) Label() pulumi.StringOutput { + return o.ApplyT(func(v VrackPlanConfiguration) string { return v.Label }).(pulumi.StringOutput) +} + +// Path to the resource in API.OVH.COM +func (o VrackPlanConfigurationOutput) Value() pulumi.StringOutput { + return o.ApplyT(func(v VrackPlanConfiguration) string { return v.Value }).(pulumi.StringOutput) +} + +type VrackPlanConfigurationArrayOutput struct{ *pulumi.OutputState } + +func (VrackPlanConfigurationArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]VrackPlanConfiguration)(nil)).Elem() +} + +func (o VrackPlanConfigurationArrayOutput) ToVrackPlanConfigurationArrayOutput() VrackPlanConfigurationArrayOutput { + return o +} + +func (o VrackPlanConfigurationArrayOutput) ToVrackPlanConfigurationArrayOutputWithContext(ctx context.Context) VrackPlanConfigurationArrayOutput { + return o +} + +func (o VrackPlanConfigurationArrayOutput) Index(i pulumi.IntInput) VrackPlanConfigurationOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) VrackPlanConfiguration { + return vs[0].([]VrackPlanConfiguration)[vs[1].(int)] + }).(VrackPlanConfigurationOutput) +} + +type VrackPlanOption struct { + // Catalog name + CatalogName *string `pulumi:"catalogName"` + // Representation of a configuration item for personalizing product + Configurations []VrackPlanOptionConfiguration `pulumi:"configurations"` + // duration + Duration string `pulumi:"duration"` + // Plan code + PlanCode string `pulumi:"planCode"` + // Pricing model identifier + PricingMode string `pulumi:"pricingMode"` +} + +// VrackPlanOptionInput is an input type that accepts VrackPlanOptionArgs and VrackPlanOptionOutput values. +// You can construct a concrete instance of `VrackPlanOptionInput` via: +// +// VrackPlanOptionArgs{...} +type VrackPlanOptionInput interface { + pulumi.Input + + ToVrackPlanOptionOutput() VrackPlanOptionOutput + ToVrackPlanOptionOutputWithContext(context.Context) VrackPlanOptionOutput +} + +type VrackPlanOptionArgs struct { + // Catalog name + CatalogName pulumi.StringPtrInput `pulumi:"catalogName"` + // Representation of a configuration item for personalizing product + Configurations VrackPlanOptionConfigurationArrayInput `pulumi:"configurations"` + // duration + Duration pulumi.StringInput `pulumi:"duration"` + // Plan code + PlanCode pulumi.StringInput `pulumi:"planCode"` + // Pricing model identifier + PricingMode pulumi.StringInput `pulumi:"pricingMode"` +} + +func (VrackPlanOptionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*VrackPlanOption)(nil)).Elem() +} + +func (i VrackPlanOptionArgs) ToVrackPlanOptionOutput() VrackPlanOptionOutput { + return i.ToVrackPlanOptionOutputWithContext(context.Background()) +} + +func (i VrackPlanOptionArgs) ToVrackPlanOptionOutputWithContext(ctx context.Context) VrackPlanOptionOutput { + return pulumi.ToOutputWithContext(ctx, i).(VrackPlanOptionOutput) +} + +// VrackPlanOptionArrayInput is an input type that accepts VrackPlanOptionArray and VrackPlanOptionArrayOutput values. +// You can construct a concrete instance of `VrackPlanOptionArrayInput` via: +// +// VrackPlanOptionArray{ VrackPlanOptionArgs{...} } +type VrackPlanOptionArrayInput interface { + pulumi.Input + + ToVrackPlanOptionArrayOutput() VrackPlanOptionArrayOutput + ToVrackPlanOptionArrayOutputWithContext(context.Context) VrackPlanOptionArrayOutput +} + +type VrackPlanOptionArray []VrackPlanOptionInput + +func (VrackPlanOptionArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]VrackPlanOption)(nil)).Elem() +} + +func (i VrackPlanOptionArray) ToVrackPlanOptionArrayOutput() VrackPlanOptionArrayOutput { + return i.ToVrackPlanOptionArrayOutputWithContext(context.Background()) +} + +func (i VrackPlanOptionArray) ToVrackPlanOptionArrayOutputWithContext(ctx context.Context) VrackPlanOptionArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(VrackPlanOptionArrayOutput) +} + +type VrackPlanOptionOutput struct{ *pulumi.OutputState } + +func (VrackPlanOptionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*VrackPlanOption)(nil)).Elem() +} + +func (o VrackPlanOptionOutput) ToVrackPlanOptionOutput() VrackPlanOptionOutput { + return o +} + +func (o VrackPlanOptionOutput) ToVrackPlanOptionOutputWithContext(ctx context.Context) VrackPlanOptionOutput { + return o +} + +// Catalog name +func (o VrackPlanOptionOutput) CatalogName() pulumi.StringPtrOutput { + return o.ApplyT(func(v VrackPlanOption) *string { return v.CatalogName }).(pulumi.StringPtrOutput) +} + +// Representation of a configuration item for personalizing product +func (o VrackPlanOptionOutput) Configurations() VrackPlanOptionConfigurationArrayOutput { + return o.ApplyT(func(v VrackPlanOption) []VrackPlanOptionConfiguration { return v.Configurations }).(VrackPlanOptionConfigurationArrayOutput) +} + +// duration +func (o VrackPlanOptionOutput) Duration() pulumi.StringOutput { + return o.ApplyT(func(v VrackPlanOption) string { return v.Duration }).(pulumi.StringOutput) +} + +// Plan code +func (o VrackPlanOptionOutput) PlanCode() pulumi.StringOutput { + return o.ApplyT(func(v VrackPlanOption) string { return v.PlanCode }).(pulumi.StringOutput) +} + +// Pricing model identifier +func (o VrackPlanOptionOutput) PricingMode() pulumi.StringOutput { + return o.ApplyT(func(v VrackPlanOption) string { return v.PricingMode }).(pulumi.StringOutput) +} + +type VrackPlanOptionArrayOutput struct{ *pulumi.OutputState } + +func (VrackPlanOptionArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]VrackPlanOption)(nil)).Elem() +} + +func (o VrackPlanOptionArrayOutput) ToVrackPlanOptionArrayOutput() VrackPlanOptionArrayOutput { + return o +} + +func (o VrackPlanOptionArrayOutput) ToVrackPlanOptionArrayOutputWithContext(ctx context.Context) VrackPlanOptionArrayOutput { + return o +} + +func (o VrackPlanOptionArrayOutput) Index(i pulumi.IntInput) VrackPlanOptionOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) VrackPlanOption { + return vs[0].([]VrackPlanOption)[vs[1].(int)] + }).(VrackPlanOptionOutput) +} + +type VrackPlanOptionConfiguration struct { + // Identifier of the resource + Label string `pulumi:"label"` + // Path to the resource in API.OVH.COM + Value string `pulumi:"value"` +} + +// VrackPlanOptionConfigurationInput is an input type that accepts VrackPlanOptionConfigurationArgs and VrackPlanOptionConfigurationOutput values. +// You can construct a concrete instance of `VrackPlanOptionConfigurationInput` via: +// +// VrackPlanOptionConfigurationArgs{...} +type VrackPlanOptionConfigurationInput interface { + pulumi.Input + + ToVrackPlanOptionConfigurationOutput() VrackPlanOptionConfigurationOutput + ToVrackPlanOptionConfigurationOutputWithContext(context.Context) VrackPlanOptionConfigurationOutput +} + +type VrackPlanOptionConfigurationArgs struct { + // Identifier of the resource + Label pulumi.StringInput `pulumi:"label"` + // Path to the resource in API.OVH.COM + Value pulumi.StringInput `pulumi:"value"` +} + +func (VrackPlanOptionConfigurationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*VrackPlanOptionConfiguration)(nil)).Elem() +} + +func (i VrackPlanOptionConfigurationArgs) ToVrackPlanOptionConfigurationOutput() VrackPlanOptionConfigurationOutput { + return i.ToVrackPlanOptionConfigurationOutputWithContext(context.Background()) +} + +func (i VrackPlanOptionConfigurationArgs) ToVrackPlanOptionConfigurationOutputWithContext(ctx context.Context) VrackPlanOptionConfigurationOutput { + return pulumi.ToOutputWithContext(ctx, i).(VrackPlanOptionConfigurationOutput) +} + +// VrackPlanOptionConfigurationArrayInput is an input type that accepts VrackPlanOptionConfigurationArray and VrackPlanOptionConfigurationArrayOutput values. +// You can construct a concrete instance of `VrackPlanOptionConfigurationArrayInput` via: +// +// VrackPlanOptionConfigurationArray{ VrackPlanOptionConfigurationArgs{...} } +type VrackPlanOptionConfigurationArrayInput interface { + pulumi.Input + + ToVrackPlanOptionConfigurationArrayOutput() VrackPlanOptionConfigurationArrayOutput + ToVrackPlanOptionConfigurationArrayOutputWithContext(context.Context) VrackPlanOptionConfigurationArrayOutput +} + +type VrackPlanOptionConfigurationArray []VrackPlanOptionConfigurationInput + +func (VrackPlanOptionConfigurationArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]VrackPlanOptionConfiguration)(nil)).Elem() +} + +func (i VrackPlanOptionConfigurationArray) ToVrackPlanOptionConfigurationArrayOutput() VrackPlanOptionConfigurationArrayOutput { + return i.ToVrackPlanOptionConfigurationArrayOutputWithContext(context.Background()) +} + +func (i VrackPlanOptionConfigurationArray) ToVrackPlanOptionConfigurationArrayOutputWithContext(ctx context.Context) VrackPlanOptionConfigurationArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(VrackPlanOptionConfigurationArrayOutput) +} + +type VrackPlanOptionConfigurationOutput struct{ *pulumi.OutputState } + +func (VrackPlanOptionConfigurationOutput) ElementType() reflect.Type { + return reflect.TypeOf((*VrackPlanOptionConfiguration)(nil)).Elem() +} + +func (o VrackPlanOptionConfigurationOutput) ToVrackPlanOptionConfigurationOutput() VrackPlanOptionConfigurationOutput { + return o +} + +func (o VrackPlanOptionConfigurationOutput) ToVrackPlanOptionConfigurationOutputWithContext(ctx context.Context) VrackPlanOptionConfigurationOutput { + return o +} + +// Identifier of the resource +func (o VrackPlanOptionConfigurationOutput) Label() pulumi.StringOutput { + return o.ApplyT(func(v VrackPlanOptionConfiguration) string { return v.Label }).(pulumi.StringOutput) +} + +// Path to the resource in API.OVH.COM +func (o VrackPlanOptionConfigurationOutput) Value() pulumi.StringOutput { + return o.ApplyT(func(v VrackPlanOptionConfiguration) string { return v.Value }).(pulumi.StringOutput) +} + +type VrackPlanOptionConfigurationArrayOutput struct{ *pulumi.OutputState } + +func (VrackPlanOptionConfigurationArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]VrackPlanOptionConfiguration)(nil)).Elem() +} + +func (o VrackPlanOptionConfigurationArrayOutput) ToVrackPlanOptionConfigurationArrayOutput() VrackPlanOptionConfigurationArrayOutput { + return o +} + +func (o VrackPlanOptionConfigurationArrayOutput) ToVrackPlanOptionConfigurationArrayOutputWithContext(ctx context.Context) VrackPlanOptionConfigurationArrayOutput { + return o +} + +func (o VrackPlanOptionConfigurationArrayOutput) Index(i pulumi.IntInput) VrackPlanOptionConfigurationOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) VrackPlanOptionConfiguration { + return vs[0].([]VrackPlanOptionConfiguration)[vs[1].(int)] + }).(VrackPlanOptionConfigurationOutput) +} + +type GetCloudProjectCapabilitiesContainerregistryFilterFeature struct { + Vulnerability bool `pulumi:"vulnerability"` +} + +// GetCloudProjectCapabilitiesContainerregistryFilterFeatureInput is an input type that accepts GetCloudProjectCapabilitiesContainerregistryFilterFeatureArgs and GetCloudProjectCapabilitiesContainerregistryFilterFeatureOutput values. +// You can construct a concrete instance of `GetCloudProjectCapabilitiesContainerregistryFilterFeatureInput` via: +// +// GetCloudProjectCapabilitiesContainerregistryFilterFeatureArgs{...} +type GetCloudProjectCapabilitiesContainerregistryFilterFeatureInput interface { + pulumi.Input + + ToGetCloudProjectCapabilitiesContainerregistryFilterFeatureOutput() GetCloudProjectCapabilitiesContainerregistryFilterFeatureOutput + ToGetCloudProjectCapabilitiesContainerregistryFilterFeatureOutputWithContext(context.Context) GetCloudProjectCapabilitiesContainerregistryFilterFeatureOutput +} + +type GetCloudProjectCapabilitiesContainerregistryFilterFeatureArgs struct { + Vulnerability pulumi.BoolInput `pulumi:"vulnerability"` +} + +func (GetCloudProjectCapabilitiesContainerregistryFilterFeatureArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetCloudProjectCapabilitiesContainerregistryFilterFeature)(nil)).Elem() +} + +func (i GetCloudProjectCapabilitiesContainerregistryFilterFeatureArgs) ToGetCloudProjectCapabilitiesContainerregistryFilterFeatureOutput() GetCloudProjectCapabilitiesContainerregistryFilterFeatureOutput { + return i.ToGetCloudProjectCapabilitiesContainerregistryFilterFeatureOutputWithContext(context.Background()) +} + +func (i GetCloudProjectCapabilitiesContainerregistryFilterFeatureArgs) ToGetCloudProjectCapabilitiesContainerregistryFilterFeatureOutputWithContext(ctx context.Context) GetCloudProjectCapabilitiesContainerregistryFilterFeatureOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetCloudProjectCapabilitiesContainerregistryFilterFeatureOutput) +} + +// GetCloudProjectCapabilitiesContainerregistryFilterFeatureArrayInput is an input type that accepts GetCloudProjectCapabilitiesContainerregistryFilterFeatureArray and GetCloudProjectCapabilitiesContainerregistryFilterFeatureArrayOutput values. +// You can construct a concrete instance of `GetCloudProjectCapabilitiesContainerregistryFilterFeatureArrayInput` via: +// +// GetCloudProjectCapabilitiesContainerregistryFilterFeatureArray{ GetCloudProjectCapabilitiesContainerregistryFilterFeatureArgs{...} } +type GetCloudProjectCapabilitiesContainerregistryFilterFeatureArrayInput interface { + pulumi.Input + + ToGetCloudProjectCapabilitiesContainerregistryFilterFeatureArrayOutput() GetCloudProjectCapabilitiesContainerregistryFilterFeatureArrayOutput + ToGetCloudProjectCapabilitiesContainerregistryFilterFeatureArrayOutputWithContext(context.Context) GetCloudProjectCapabilitiesContainerregistryFilterFeatureArrayOutput +} + +type GetCloudProjectCapabilitiesContainerregistryFilterFeatureArray []GetCloudProjectCapabilitiesContainerregistryFilterFeatureInput + +func (GetCloudProjectCapabilitiesContainerregistryFilterFeatureArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetCloudProjectCapabilitiesContainerregistryFilterFeature)(nil)).Elem() +} + +func (i GetCloudProjectCapabilitiesContainerregistryFilterFeatureArray) ToGetCloudProjectCapabilitiesContainerregistryFilterFeatureArrayOutput() GetCloudProjectCapabilitiesContainerregistryFilterFeatureArrayOutput { + return i.ToGetCloudProjectCapabilitiesContainerregistryFilterFeatureArrayOutputWithContext(context.Background()) +} + +func (i GetCloudProjectCapabilitiesContainerregistryFilterFeatureArray) ToGetCloudProjectCapabilitiesContainerregistryFilterFeatureArrayOutputWithContext(ctx context.Context) GetCloudProjectCapabilitiesContainerregistryFilterFeatureArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetCloudProjectCapabilitiesContainerregistryFilterFeatureArrayOutput) +} + +type GetCloudProjectCapabilitiesContainerregistryFilterFeatureOutput struct{ *pulumi.OutputState } + +func (GetCloudProjectCapabilitiesContainerregistryFilterFeatureOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetCloudProjectCapabilitiesContainerregistryFilterFeature)(nil)).Elem() +} + +func (o GetCloudProjectCapabilitiesContainerregistryFilterFeatureOutput) ToGetCloudProjectCapabilitiesContainerregistryFilterFeatureOutput() GetCloudProjectCapabilitiesContainerregistryFilterFeatureOutput { + return o +} + +func (o GetCloudProjectCapabilitiesContainerregistryFilterFeatureOutput) ToGetCloudProjectCapabilitiesContainerregistryFilterFeatureOutputWithContext(ctx context.Context) GetCloudProjectCapabilitiesContainerregistryFilterFeatureOutput { + return o +} + +func (o GetCloudProjectCapabilitiesContainerregistryFilterFeatureOutput) Vulnerability() pulumi.BoolOutput { + return o.ApplyT(func(v GetCloudProjectCapabilitiesContainerregistryFilterFeature) bool { return v.Vulnerability }).(pulumi.BoolOutput) +} + +type GetCloudProjectCapabilitiesContainerregistryFilterFeatureArrayOutput struct{ *pulumi.OutputState } + +func (GetCloudProjectCapabilitiesContainerregistryFilterFeatureArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetCloudProjectCapabilitiesContainerregistryFilterFeature)(nil)).Elem() +} + +func (o GetCloudProjectCapabilitiesContainerregistryFilterFeatureArrayOutput) ToGetCloudProjectCapabilitiesContainerregistryFilterFeatureArrayOutput() GetCloudProjectCapabilitiesContainerregistryFilterFeatureArrayOutput { + return o +} + +func (o GetCloudProjectCapabilitiesContainerregistryFilterFeatureArrayOutput) ToGetCloudProjectCapabilitiesContainerregistryFilterFeatureArrayOutputWithContext(ctx context.Context) GetCloudProjectCapabilitiesContainerregistryFilterFeatureArrayOutput { + return o +} + +func (o GetCloudProjectCapabilitiesContainerregistryFilterFeatureArrayOutput) Index(i pulumi.IntInput) GetCloudProjectCapabilitiesContainerregistryFilterFeatureOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetCloudProjectCapabilitiesContainerregistryFilterFeature { + return vs[0].([]GetCloudProjectCapabilitiesContainerregistryFilterFeature)[vs[1].(int)] + }).(GetCloudProjectCapabilitiesContainerregistryFilterFeatureOutput) +} + +type GetCloudProjectCapabilitiesContainerregistryFilterRegistryLimit struct { + ImageStorage float64 `pulumi:"imageStorage"` + ParallelRequest float64 `pulumi:"parallelRequest"` +} + +// GetCloudProjectCapabilitiesContainerregistryFilterRegistryLimitInput is an input type that accepts GetCloudProjectCapabilitiesContainerregistryFilterRegistryLimitArgs and GetCloudProjectCapabilitiesContainerregistryFilterRegistryLimitOutput values. +// You can construct a concrete instance of `GetCloudProjectCapabilitiesContainerregistryFilterRegistryLimitInput` via: +// +// GetCloudProjectCapabilitiesContainerregistryFilterRegistryLimitArgs{...} +type GetCloudProjectCapabilitiesContainerregistryFilterRegistryLimitInput interface { + pulumi.Input + + ToGetCloudProjectCapabilitiesContainerregistryFilterRegistryLimitOutput() GetCloudProjectCapabilitiesContainerregistryFilterRegistryLimitOutput + ToGetCloudProjectCapabilitiesContainerregistryFilterRegistryLimitOutputWithContext(context.Context) GetCloudProjectCapabilitiesContainerregistryFilterRegistryLimitOutput +} + +type GetCloudProjectCapabilitiesContainerregistryFilterRegistryLimitArgs struct { + ImageStorage pulumi.Float64Input `pulumi:"imageStorage"` + ParallelRequest pulumi.Float64Input `pulumi:"parallelRequest"` +} + +func (GetCloudProjectCapabilitiesContainerregistryFilterRegistryLimitArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetCloudProjectCapabilitiesContainerregistryFilterRegistryLimit)(nil)).Elem() +} + +func (i GetCloudProjectCapabilitiesContainerregistryFilterRegistryLimitArgs) ToGetCloudProjectCapabilitiesContainerregistryFilterRegistryLimitOutput() GetCloudProjectCapabilitiesContainerregistryFilterRegistryLimitOutput { + return i.ToGetCloudProjectCapabilitiesContainerregistryFilterRegistryLimitOutputWithContext(context.Background()) +} + +func (i GetCloudProjectCapabilitiesContainerregistryFilterRegistryLimitArgs) ToGetCloudProjectCapabilitiesContainerregistryFilterRegistryLimitOutputWithContext(ctx context.Context) GetCloudProjectCapabilitiesContainerregistryFilterRegistryLimitOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetCloudProjectCapabilitiesContainerregistryFilterRegistryLimitOutput) +} + +// GetCloudProjectCapabilitiesContainerregistryFilterRegistryLimitArrayInput is an input type that accepts GetCloudProjectCapabilitiesContainerregistryFilterRegistryLimitArray and GetCloudProjectCapabilitiesContainerregistryFilterRegistryLimitArrayOutput values. +// You can construct a concrete instance of `GetCloudProjectCapabilitiesContainerregistryFilterRegistryLimitArrayInput` via: +// +// GetCloudProjectCapabilitiesContainerregistryFilterRegistryLimitArray{ GetCloudProjectCapabilitiesContainerregistryFilterRegistryLimitArgs{...} } +type GetCloudProjectCapabilitiesContainerregistryFilterRegistryLimitArrayInput interface { + pulumi.Input + + ToGetCloudProjectCapabilitiesContainerregistryFilterRegistryLimitArrayOutput() GetCloudProjectCapabilitiesContainerregistryFilterRegistryLimitArrayOutput + ToGetCloudProjectCapabilitiesContainerregistryFilterRegistryLimitArrayOutputWithContext(context.Context) GetCloudProjectCapabilitiesContainerregistryFilterRegistryLimitArrayOutput +} + +type GetCloudProjectCapabilitiesContainerregistryFilterRegistryLimitArray []GetCloudProjectCapabilitiesContainerregistryFilterRegistryLimitInput + +func (GetCloudProjectCapabilitiesContainerregistryFilterRegistryLimitArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetCloudProjectCapabilitiesContainerregistryFilterRegistryLimit)(nil)).Elem() +} + +func (i GetCloudProjectCapabilitiesContainerregistryFilterRegistryLimitArray) ToGetCloudProjectCapabilitiesContainerregistryFilterRegistryLimitArrayOutput() GetCloudProjectCapabilitiesContainerregistryFilterRegistryLimitArrayOutput { + return i.ToGetCloudProjectCapabilitiesContainerregistryFilterRegistryLimitArrayOutputWithContext(context.Background()) +} + +func (i GetCloudProjectCapabilitiesContainerregistryFilterRegistryLimitArray) ToGetCloudProjectCapabilitiesContainerregistryFilterRegistryLimitArrayOutputWithContext(ctx context.Context) GetCloudProjectCapabilitiesContainerregistryFilterRegistryLimitArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetCloudProjectCapabilitiesContainerregistryFilterRegistryLimitArrayOutput) +} + +type GetCloudProjectCapabilitiesContainerregistryFilterRegistryLimitOutput struct{ *pulumi.OutputState } + +func (GetCloudProjectCapabilitiesContainerregistryFilterRegistryLimitOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetCloudProjectCapabilitiesContainerregistryFilterRegistryLimit)(nil)).Elem() +} + +func (o GetCloudProjectCapabilitiesContainerregistryFilterRegistryLimitOutput) ToGetCloudProjectCapabilitiesContainerregistryFilterRegistryLimitOutput() GetCloudProjectCapabilitiesContainerregistryFilterRegistryLimitOutput { + return o +} + +func (o GetCloudProjectCapabilitiesContainerregistryFilterRegistryLimitOutput) ToGetCloudProjectCapabilitiesContainerregistryFilterRegistryLimitOutputWithContext(ctx context.Context) GetCloudProjectCapabilitiesContainerregistryFilterRegistryLimitOutput { + return o +} + +func (o GetCloudProjectCapabilitiesContainerregistryFilterRegistryLimitOutput) ImageStorage() pulumi.Float64Output { + return o.ApplyT(func(v GetCloudProjectCapabilitiesContainerregistryFilterRegistryLimit) float64 { return v.ImageStorage }).(pulumi.Float64Output) +} + +func (o GetCloudProjectCapabilitiesContainerregistryFilterRegistryLimitOutput) ParallelRequest() pulumi.Float64Output { + return o.ApplyT(func(v GetCloudProjectCapabilitiesContainerregistryFilterRegistryLimit) float64 { + return v.ParallelRequest + }).(pulumi.Float64Output) +} + +type GetCloudProjectCapabilitiesContainerregistryFilterRegistryLimitArrayOutput struct{ *pulumi.OutputState } + +func (GetCloudProjectCapabilitiesContainerregistryFilterRegistryLimitArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetCloudProjectCapabilitiesContainerregistryFilterRegistryLimit)(nil)).Elem() +} + +func (o GetCloudProjectCapabilitiesContainerregistryFilterRegistryLimitArrayOutput) ToGetCloudProjectCapabilitiesContainerregistryFilterRegistryLimitArrayOutput() GetCloudProjectCapabilitiesContainerregistryFilterRegistryLimitArrayOutput { + return o +} + +func (o GetCloudProjectCapabilitiesContainerregistryFilterRegistryLimitArrayOutput) ToGetCloudProjectCapabilitiesContainerregistryFilterRegistryLimitArrayOutputWithContext(ctx context.Context) GetCloudProjectCapabilitiesContainerregistryFilterRegistryLimitArrayOutput { + return o +} + +func (o GetCloudProjectCapabilitiesContainerregistryFilterRegistryLimitArrayOutput) Index(i pulumi.IntInput) GetCloudProjectCapabilitiesContainerregistryFilterRegistryLimitOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetCloudProjectCapabilitiesContainerregistryFilterRegistryLimit { + return vs[0].([]GetCloudProjectCapabilitiesContainerregistryFilterRegistryLimit)[vs[1].(int)] + }).(GetCloudProjectCapabilitiesContainerregistryFilterRegistryLimitOutput) +} + +type GetCloudProjectCapabilitiesContainerregistryResult struct { + Plans []GetCloudProjectCapabilitiesContainerregistryResultPlan `pulumi:"plans"` + RegionName string `pulumi:"regionName"` +} + +// GetCloudProjectCapabilitiesContainerregistryResultInput is an input type that accepts GetCloudProjectCapabilitiesContainerregistryResultArgs and GetCloudProjectCapabilitiesContainerregistryResultOutput values. +// You can construct a concrete instance of `GetCloudProjectCapabilitiesContainerregistryResultInput` via: +// +// GetCloudProjectCapabilitiesContainerregistryResultArgs{...} +type GetCloudProjectCapabilitiesContainerregistryResultInput interface { + pulumi.Input + + ToGetCloudProjectCapabilitiesContainerregistryResultOutput() GetCloudProjectCapabilitiesContainerregistryResultOutput + ToGetCloudProjectCapabilitiesContainerregistryResultOutputWithContext(context.Context) GetCloudProjectCapabilitiesContainerregistryResultOutput +} + +type GetCloudProjectCapabilitiesContainerregistryResultArgs struct { + Plans GetCloudProjectCapabilitiesContainerregistryResultPlanArrayInput `pulumi:"plans"` + RegionName pulumi.StringInput `pulumi:"regionName"` +} + +func (GetCloudProjectCapabilitiesContainerregistryResultArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetCloudProjectCapabilitiesContainerregistryResult)(nil)).Elem() +} + +func (i GetCloudProjectCapabilitiesContainerregistryResultArgs) ToGetCloudProjectCapabilitiesContainerregistryResultOutput() GetCloudProjectCapabilitiesContainerregistryResultOutput { + return i.ToGetCloudProjectCapabilitiesContainerregistryResultOutputWithContext(context.Background()) +} + +func (i GetCloudProjectCapabilitiesContainerregistryResultArgs) ToGetCloudProjectCapabilitiesContainerregistryResultOutputWithContext(ctx context.Context) GetCloudProjectCapabilitiesContainerregistryResultOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetCloudProjectCapabilitiesContainerregistryResultOutput) +} + +// GetCloudProjectCapabilitiesContainerregistryResultArrayInput is an input type that accepts GetCloudProjectCapabilitiesContainerregistryResultArray and GetCloudProjectCapabilitiesContainerregistryResultArrayOutput values. +// You can construct a concrete instance of `GetCloudProjectCapabilitiesContainerregistryResultArrayInput` via: +// +// GetCloudProjectCapabilitiesContainerregistryResultArray{ GetCloudProjectCapabilitiesContainerregistryResultArgs{...} } +type GetCloudProjectCapabilitiesContainerregistryResultArrayInput interface { + pulumi.Input + + ToGetCloudProjectCapabilitiesContainerregistryResultArrayOutput() GetCloudProjectCapabilitiesContainerregistryResultArrayOutput + ToGetCloudProjectCapabilitiesContainerregistryResultArrayOutputWithContext(context.Context) GetCloudProjectCapabilitiesContainerregistryResultArrayOutput +} + +type GetCloudProjectCapabilitiesContainerregistryResultArray []GetCloudProjectCapabilitiesContainerregistryResultInput + +func (GetCloudProjectCapabilitiesContainerregistryResultArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetCloudProjectCapabilitiesContainerregistryResult)(nil)).Elem() +} + +func (i GetCloudProjectCapabilitiesContainerregistryResultArray) ToGetCloudProjectCapabilitiesContainerregistryResultArrayOutput() GetCloudProjectCapabilitiesContainerregistryResultArrayOutput { + return i.ToGetCloudProjectCapabilitiesContainerregistryResultArrayOutputWithContext(context.Background()) +} + +func (i GetCloudProjectCapabilitiesContainerregistryResultArray) ToGetCloudProjectCapabilitiesContainerregistryResultArrayOutputWithContext(ctx context.Context) GetCloudProjectCapabilitiesContainerregistryResultArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetCloudProjectCapabilitiesContainerregistryResultArrayOutput) +} + +type GetCloudProjectCapabilitiesContainerregistryResultOutput struct{ *pulumi.OutputState } + +func (GetCloudProjectCapabilitiesContainerregistryResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetCloudProjectCapabilitiesContainerregistryResult)(nil)).Elem() +} + +func (o GetCloudProjectCapabilitiesContainerregistryResultOutput) ToGetCloudProjectCapabilitiesContainerregistryResultOutput() GetCloudProjectCapabilitiesContainerregistryResultOutput { + return o +} + +func (o GetCloudProjectCapabilitiesContainerregistryResultOutput) ToGetCloudProjectCapabilitiesContainerregistryResultOutputWithContext(ctx context.Context) GetCloudProjectCapabilitiesContainerregistryResultOutput { + return o +} + +func (o GetCloudProjectCapabilitiesContainerregistryResultOutput) Plans() GetCloudProjectCapabilitiesContainerregistryResultPlanArrayOutput { + return o.ApplyT(func(v GetCloudProjectCapabilitiesContainerregistryResult) []GetCloudProjectCapabilitiesContainerregistryResultPlan { + return v.Plans + }).(GetCloudProjectCapabilitiesContainerregistryResultPlanArrayOutput) +} + +func (o GetCloudProjectCapabilitiesContainerregistryResultOutput) RegionName() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectCapabilitiesContainerregistryResult) string { return v.RegionName }).(pulumi.StringOutput) +} + +type GetCloudProjectCapabilitiesContainerregistryResultArrayOutput struct{ *pulumi.OutputState } + +func (GetCloudProjectCapabilitiesContainerregistryResultArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetCloudProjectCapabilitiesContainerregistryResult)(nil)).Elem() +} + +func (o GetCloudProjectCapabilitiesContainerregistryResultArrayOutput) ToGetCloudProjectCapabilitiesContainerregistryResultArrayOutput() GetCloudProjectCapabilitiesContainerregistryResultArrayOutput { + return o +} + +func (o GetCloudProjectCapabilitiesContainerregistryResultArrayOutput) ToGetCloudProjectCapabilitiesContainerregistryResultArrayOutputWithContext(ctx context.Context) GetCloudProjectCapabilitiesContainerregistryResultArrayOutput { + return o +} + +func (o GetCloudProjectCapabilitiesContainerregistryResultArrayOutput) Index(i pulumi.IntInput) GetCloudProjectCapabilitiesContainerregistryResultOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetCloudProjectCapabilitiesContainerregistryResult { + return vs[0].([]GetCloudProjectCapabilitiesContainerregistryResult)[vs[1].(int)] + }).(GetCloudProjectCapabilitiesContainerregistryResultOutput) +} + +type GetCloudProjectCapabilitiesContainerregistryResultPlan struct { + Code string `pulumi:"code"` + CreatedAt string `pulumi:"createdAt"` + Features []GetCloudProjectCapabilitiesContainerregistryResultPlanFeature `pulumi:"features"` + Id string `pulumi:"id"` + Name string `pulumi:"name"` + RegistryLimits []GetCloudProjectCapabilitiesContainerregistryResultPlanRegistryLimit `pulumi:"registryLimits"` + UpdatedAt string `pulumi:"updatedAt"` +} + +// GetCloudProjectCapabilitiesContainerregistryResultPlanInput is an input type that accepts GetCloudProjectCapabilitiesContainerregistryResultPlanArgs and GetCloudProjectCapabilitiesContainerregistryResultPlanOutput values. +// You can construct a concrete instance of `GetCloudProjectCapabilitiesContainerregistryResultPlanInput` via: +// +// GetCloudProjectCapabilitiesContainerregistryResultPlanArgs{...} +type GetCloudProjectCapabilitiesContainerregistryResultPlanInput interface { + pulumi.Input + + ToGetCloudProjectCapabilitiesContainerregistryResultPlanOutput() GetCloudProjectCapabilitiesContainerregistryResultPlanOutput + ToGetCloudProjectCapabilitiesContainerregistryResultPlanOutputWithContext(context.Context) GetCloudProjectCapabilitiesContainerregistryResultPlanOutput +} + +type GetCloudProjectCapabilitiesContainerregistryResultPlanArgs struct { + Code pulumi.StringInput `pulumi:"code"` + CreatedAt pulumi.StringInput `pulumi:"createdAt"` + Features GetCloudProjectCapabilitiesContainerregistryResultPlanFeatureArrayInput `pulumi:"features"` + Id pulumi.StringInput `pulumi:"id"` + Name pulumi.StringInput `pulumi:"name"` + RegistryLimits GetCloudProjectCapabilitiesContainerregistryResultPlanRegistryLimitArrayInput `pulumi:"registryLimits"` + UpdatedAt pulumi.StringInput `pulumi:"updatedAt"` +} + +func (GetCloudProjectCapabilitiesContainerregistryResultPlanArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetCloudProjectCapabilitiesContainerregistryResultPlan)(nil)).Elem() +} + +func (i GetCloudProjectCapabilitiesContainerregistryResultPlanArgs) ToGetCloudProjectCapabilitiesContainerregistryResultPlanOutput() GetCloudProjectCapabilitiesContainerregistryResultPlanOutput { + return i.ToGetCloudProjectCapabilitiesContainerregistryResultPlanOutputWithContext(context.Background()) +} + +func (i GetCloudProjectCapabilitiesContainerregistryResultPlanArgs) ToGetCloudProjectCapabilitiesContainerregistryResultPlanOutputWithContext(ctx context.Context) GetCloudProjectCapabilitiesContainerregistryResultPlanOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetCloudProjectCapabilitiesContainerregistryResultPlanOutput) +} + +// GetCloudProjectCapabilitiesContainerregistryResultPlanArrayInput is an input type that accepts GetCloudProjectCapabilitiesContainerregistryResultPlanArray and GetCloudProjectCapabilitiesContainerregistryResultPlanArrayOutput values. +// You can construct a concrete instance of `GetCloudProjectCapabilitiesContainerregistryResultPlanArrayInput` via: +// +// GetCloudProjectCapabilitiesContainerregistryResultPlanArray{ GetCloudProjectCapabilitiesContainerregistryResultPlanArgs{...} } +type GetCloudProjectCapabilitiesContainerregistryResultPlanArrayInput interface { + pulumi.Input + + ToGetCloudProjectCapabilitiesContainerregistryResultPlanArrayOutput() GetCloudProjectCapabilitiesContainerregistryResultPlanArrayOutput + ToGetCloudProjectCapabilitiesContainerregistryResultPlanArrayOutputWithContext(context.Context) GetCloudProjectCapabilitiesContainerregistryResultPlanArrayOutput +} + +type GetCloudProjectCapabilitiesContainerregistryResultPlanArray []GetCloudProjectCapabilitiesContainerregistryResultPlanInput + +func (GetCloudProjectCapabilitiesContainerregistryResultPlanArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetCloudProjectCapabilitiesContainerregistryResultPlan)(nil)).Elem() +} + +func (i GetCloudProjectCapabilitiesContainerregistryResultPlanArray) ToGetCloudProjectCapabilitiesContainerregistryResultPlanArrayOutput() GetCloudProjectCapabilitiesContainerregistryResultPlanArrayOutput { + return i.ToGetCloudProjectCapabilitiesContainerregistryResultPlanArrayOutputWithContext(context.Background()) +} + +func (i GetCloudProjectCapabilitiesContainerregistryResultPlanArray) ToGetCloudProjectCapabilitiesContainerregistryResultPlanArrayOutputWithContext(ctx context.Context) GetCloudProjectCapabilitiesContainerregistryResultPlanArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetCloudProjectCapabilitiesContainerregistryResultPlanArrayOutput) +} + +type GetCloudProjectCapabilitiesContainerregistryResultPlanOutput struct{ *pulumi.OutputState } + +func (GetCloudProjectCapabilitiesContainerregistryResultPlanOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetCloudProjectCapabilitiesContainerregistryResultPlan)(nil)).Elem() +} + +func (o GetCloudProjectCapabilitiesContainerregistryResultPlanOutput) ToGetCloudProjectCapabilitiesContainerregistryResultPlanOutput() GetCloudProjectCapabilitiesContainerregistryResultPlanOutput { + return o +} + +func (o GetCloudProjectCapabilitiesContainerregistryResultPlanOutput) ToGetCloudProjectCapabilitiesContainerregistryResultPlanOutputWithContext(ctx context.Context) GetCloudProjectCapabilitiesContainerregistryResultPlanOutput { + return o +} + +func (o GetCloudProjectCapabilitiesContainerregistryResultPlanOutput) Code() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectCapabilitiesContainerregistryResultPlan) string { return v.Code }).(pulumi.StringOutput) +} + +func (o GetCloudProjectCapabilitiesContainerregistryResultPlanOutput) CreatedAt() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectCapabilitiesContainerregistryResultPlan) string { return v.CreatedAt }).(pulumi.StringOutput) +} + +func (o GetCloudProjectCapabilitiesContainerregistryResultPlanOutput) Features() GetCloudProjectCapabilitiesContainerregistryResultPlanFeatureArrayOutput { + return o.ApplyT(func(v GetCloudProjectCapabilitiesContainerregistryResultPlan) []GetCloudProjectCapabilitiesContainerregistryResultPlanFeature { + return v.Features + }).(GetCloudProjectCapabilitiesContainerregistryResultPlanFeatureArrayOutput) +} + +func (o GetCloudProjectCapabilitiesContainerregistryResultPlanOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectCapabilitiesContainerregistryResultPlan) string { return v.Id }).(pulumi.StringOutput) +} + +func (o GetCloudProjectCapabilitiesContainerregistryResultPlanOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectCapabilitiesContainerregistryResultPlan) string { return v.Name }).(pulumi.StringOutput) +} + +func (o GetCloudProjectCapabilitiesContainerregistryResultPlanOutput) RegistryLimits() GetCloudProjectCapabilitiesContainerregistryResultPlanRegistryLimitArrayOutput { + return o.ApplyT(func(v GetCloudProjectCapabilitiesContainerregistryResultPlan) []GetCloudProjectCapabilitiesContainerregistryResultPlanRegistryLimit { + return v.RegistryLimits + }).(GetCloudProjectCapabilitiesContainerregistryResultPlanRegistryLimitArrayOutput) +} + +func (o GetCloudProjectCapabilitiesContainerregistryResultPlanOutput) UpdatedAt() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectCapabilitiesContainerregistryResultPlan) string { return v.UpdatedAt }).(pulumi.StringOutput) +} + +type GetCloudProjectCapabilitiesContainerregistryResultPlanArrayOutput struct{ *pulumi.OutputState } + +func (GetCloudProjectCapabilitiesContainerregistryResultPlanArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetCloudProjectCapabilitiesContainerregistryResultPlan)(nil)).Elem() +} + +func (o GetCloudProjectCapabilitiesContainerregistryResultPlanArrayOutput) ToGetCloudProjectCapabilitiesContainerregistryResultPlanArrayOutput() GetCloudProjectCapabilitiesContainerregistryResultPlanArrayOutput { + return o +} + +func (o GetCloudProjectCapabilitiesContainerregistryResultPlanArrayOutput) ToGetCloudProjectCapabilitiesContainerregistryResultPlanArrayOutputWithContext(ctx context.Context) GetCloudProjectCapabilitiesContainerregistryResultPlanArrayOutput { + return o +} + +func (o GetCloudProjectCapabilitiesContainerregistryResultPlanArrayOutput) Index(i pulumi.IntInput) GetCloudProjectCapabilitiesContainerregistryResultPlanOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetCloudProjectCapabilitiesContainerregistryResultPlan { + return vs[0].([]GetCloudProjectCapabilitiesContainerregistryResultPlan)[vs[1].(int)] + }).(GetCloudProjectCapabilitiesContainerregistryResultPlanOutput) +} + +type GetCloudProjectCapabilitiesContainerregistryResultPlanFeature struct { + Vulnerability bool `pulumi:"vulnerability"` +} + +// GetCloudProjectCapabilitiesContainerregistryResultPlanFeatureInput is an input type that accepts GetCloudProjectCapabilitiesContainerregistryResultPlanFeatureArgs and GetCloudProjectCapabilitiesContainerregistryResultPlanFeatureOutput values. +// You can construct a concrete instance of `GetCloudProjectCapabilitiesContainerregistryResultPlanFeatureInput` via: +// +// GetCloudProjectCapabilitiesContainerregistryResultPlanFeatureArgs{...} +type GetCloudProjectCapabilitiesContainerregistryResultPlanFeatureInput interface { + pulumi.Input + + ToGetCloudProjectCapabilitiesContainerregistryResultPlanFeatureOutput() GetCloudProjectCapabilitiesContainerregistryResultPlanFeatureOutput + ToGetCloudProjectCapabilitiesContainerregistryResultPlanFeatureOutputWithContext(context.Context) GetCloudProjectCapabilitiesContainerregistryResultPlanFeatureOutput +} + +type GetCloudProjectCapabilitiesContainerregistryResultPlanFeatureArgs struct { + Vulnerability pulumi.BoolInput `pulumi:"vulnerability"` +} + +func (GetCloudProjectCapabilitiesContainerregistryResultPlanFeatureArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetCloudProjectCapabilitiesContainerregistryResultPlanFeature)(nil)).Elem() +} + +func (i GetCloudProjectCapabilitiesContainerregistryResultPlanFeatureArgs) ToGetCloudProjectCapabilitiesContainerregistryResultPlanFeatureOutput() GetCloudProjectCapabilitiesContainerregistryResultPlanFeatureOutput { + return i.ToGetCloudProjectCapabilitiesContainerregistryResultPlanFeatureOutputWithContext(context.Background()) +} + +func (i GetCloudProjectCapabilitiesContainerregistryResultPlanFeatureArgs) ToGetCloudProjectCapabilitiesContainerregistryResultPlanFeatureOutputWithContext(ctx context.Context) GetCloudProjectCapabilitiesContainerregistryResultPlanFeatureOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetCloudProjectCapabilitiesContainerregistryResultPlanFeatureOutput) +} + +// GetCloudProjectCapabilitiesContainerregistryResultPlanFeatureArrayInput is an input type that accepts GetCloudProjectCapabilitiesContainerregistryResultPlanFeatureArray and GetCloudProjectCapabilitiesContainerregistryResultPlanFeatureArrayOutput values. +// You can construct a concrete instance of `GetCloudProjectCapabilitiesContainerregistryResultPlanFeatureArrayInput` via: +// +// GetCloudProjectCapabilitiesContainerregistryResultPlanFeatureArray{ GetCloudProjectCapabilitiesContainerregistryResultPlanFeatureArgs{...} } +type GetCloudProjectCapabilitiesContainerregistryResultPlanFeatureArrayInput interface { + pulumi.Input + + ToGetCloudProjectCapabilitiesContainerregistryResultPlanFeatureArrayOutput() GetCloudProjectCapabilitiesContainerregistryResultPlanFeatureArrayOutput + ToGetCloudProjectCapabilitiesContainerregistryResultPlanFeatureArrayOutputWithContext(context.Context) GetCloudProjectCapabilitiesContainerregistryResultPlanFeatureArrayOutput +} + +type GetCloudProjectCapabilitiesContainerregistryResultPlanFeatureArray []GetCloudProjectCapabilitiesContainerregistryResultPlanFeatureInput + +func (GetCloudProjectCapabilitiesContainerregistryResultPlanFeatureArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetCloudProjectCapabilitiesContainerregistryResultPlanFeature)(nil)).Elem() +} + +func (i GetCloudProjectCapabilitiesContainerregistryResultPlanFeatureArray) ToGetCloudProjectCapabilitiesContainerregistryResultPlanFeatureArrayOutput() GetCloudProjectCapabilitiesContainerregistryResultPlanFeatureArrayOutput { + return i.ToGetCloudProjectCapabilitiesContainerregistryResultPlanFeatureArrayOutputWithContext(context.Background()) +} + +func (i GetCloudProjectCapabilitiesContainerregistryResultPlanFeatureArray) ToGetCloudProjectCapabilitiesContainerregistryResultPlanFeatureArrayOutputWithContext(ctx context.Context) GetCloudProjectCapabilitiesContainerregistryResultPlanFeatureArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetCloudProjectCapabilitiesContainerregistryResultPlanFeatureArrayOutput) +} + +type GetCloudProjectCapabilitiesContainerregistryResultPlanFeatureOutput struct{ *pulumi.OutputState } + +func (GetCloudProjectCapabilitiesContainerregistryResultPlanFeatureOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetCloudProjectCapabilitiesContainerregistryResultPlanFeature)(nil)).Elem() +} + +func (o GetCloudProjectCapabilitiesContainerregistryResultPlanFeatureOutput) ToGetCloudProjectCapabilitiesContainerregistryResultPlanFeatureOutput() GetCloudProjectCapabilitiesContainerregistryResultPlanFeatureOutput { + return o +} + +func (o GetCloudProjectCapabilitiesContainerregistryResultPlanFeatureOutput) ToGetCloudProjectCapabilitiesContainerregistryResultPlanFeatureOutputWithContext(ctx context.Context) GetCloudProjectCapabilitiesContainerregistryResultPlanFeatureOutput { + return o +} + +func (o GetCloudProjectCapabilitiesContainerregistryResultPlanFeatureOutput) Vulnerability() pulumi.BoolOutput { + return o.ApplyT(func(v GetCloudProjectCapabilitiesContainerregistryResultPlanFeature) bool { return v.Vulnerability }).(pulumi.BoolOutput) +} + +type GetCloudProjectCapabilitiesContainerregistryResultPlanFeatureArrayOutput struct{ *pulumi.OutputState } + +func (GetCloudProjectCapabilitiesContainerregistryResultPlanFeatureArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetCloudProjectCapabilitiesContainerregistryResultPlanFeature)(nil)).Elem() +} + +func (o GetCloudProjectCapabilitiesContainerregistryResultPlanFeatureArrayOutput) ToGetCloudProjectCapabilitiesContainerregistryResultPlanFeatureArrayOutput() GetCloudProjectCapabilitiesContainerregistryResultPlanFeatureArrayOutput { + return o +} + +func (o GetCloudProjectCapabilitiesContainerregistryResultPlanFeatureArrayOutput) ToGetCloudProjectCapabilitiesContainerregistryResultPlanFeatureArrayOutputWithContext(ctx context.Context) GetCloudProjectCapabilitiesContainerregistryResultPlanFeatureArrayOutput { + return o +} + +func (o GetCloudProjectCapabilitiesContainerregistryResultPlanFeatureArrayOutput) Index(i pulumi.IntInput) GetCloudProjectCapabilitiesContainerregistryResultPlanFeatureOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetCloudProjectCapabilitiesContainerregistryResultPlanFeature { + return vs[0].([]GetCloudProjectCapabilitiesContainerregistryResultPlanFeature)[vs[1].(int)] + }).(GetCloudProjectCapabilitiesContainerregistryResultPlanFeatureOutput) +} + +type GetCloudProjectCapabilitiesContainerregistryResultPlanRegistryLimit struct { + ImageStorage float64 `pulumi:"imageStorage"` + ParallelRequest float64 `pulumi:"parallelRequest"` +} + +// GetCloudProjectCapabilitiesContainerregistryResultPlanRegistryLimitInput is an input type that accepts GetCloudProjectCapabilitiesContainerregistryResultPlanRegistryLimitArgs and GetCloudProjectCapabilitiesContainerregistryResultPlanRegistryLimitOutput values. +// You can construct a concrete instance of `GetCloudProjectCapabilitiesContainerregistryResultPlanRegistryLimitInput` via: +// +// GetCloudProjectCapabilitiesContainerregistryResultPlanRegistryLimitArgs{...} +type GetCloudProjectCapabilitiesContainerregistryResultPlanRegistryLimitInput interface { + pulumi.Input + + ToGetCloudProjectCapabilitiesContainerregistryResultPlanRegistryLimitOutput() GetCloudProjectCapabilitiesContainerregistryResultPlanRegistryLimitOutput + ToGetCloudProjectCapabilitiesContainerregistryResultPlanRegistryLimitOutputWithContext(context.Context) GetCloudProjectCapabilitiesContainerregistryResultPlanRegistryLimitOutput +} + +type GetCloudProjectCapabilitiesContainerregistryResultPlanRegistryLimitArgs struct { + ImageStorage pulumi.Float64Input `pulumi:"imageStorage"` + ParallelRequest pulumi.Float64Input `pulumi:"parallelRequest"` +} + +func (GetCloudProjectCapabilitiesContainerregistryResultPlanRegistryLimitArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetCloudProjectCapabilitiesContainerregistryResultPlanRegistryLimit)(nil)).Elem() +} + +func (i GetCloudProjectCapabilitiesContainerregistryResultPlanRegistryLimitArgs) ToGetCloudProjectCapabilitiesContainerregistryResultPlanRegistryLimitOutput() GetCloudProjectCapabilitiesContainerregistryResultPlanRegistryLimitOutput { + return i.ToGetCloudProjectCapabilitiesContainerregistryResultPlanRegistryLimitOutputWithContext(context.Background()) +} + +func (i GetCloudProjectCapabilitiesContainerregistryResultPlanRegistryLimitArgs) ToGetCloudProjectCapabilitiesContainerregistryResultPlanRegistryLimitOutputWithContext(ctx context.Context) GetCloudProjectCapabilitiesContainerregistryResultPlanRegistryLimitOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetCloudProjectCapabilitiesContainerregistryResultPlanRegistryLimitOutput) +} + +// GetCloudProjectCapabilitiesContainerregistryResultPlanRegistryLimitArrayInput is an input type that accepts GetCloudProjectCapabilitiesContainerregistryResultPlanRegistryLimitArray and GetCloudProjectCapabilitiesContainerregistryResultPlanRegistryLimitArrayOutput values. +// You can construct a concrete instance of `GetCloudProjectCapabilitiesContainerregistryResultPlanRegistryLimitArrayInput` via: +// +// GetCloudProjectCapabilitiesContainerregistryResultPlanRegistryLimitArray{ GetCloudProjectCapabilitiesContainerregistryResultPlanRegistryLimitArgs{...} } +type GetCloudProjectCapabilitiesContainerregistryResultPlanRegistryLimitArrayInput interface { + pulumi.Input + + ToGetCloudProjectCapabilitiesContainerregistryResultPlanRegistryLimitArrayOutput() GetCloudProjectCapabilitiesContainerregistryResultPlanRegistryLimitArrayOutput + ToGetCloudProjectCapabilitiesContainerregistryResultPlanRegistryLimitArrayOutputWithContext(context.Context) GetCloudProjectCapabilitiesContainerregistryResultPlanRegistryLimitArrayOutput +} + +type GetCloudProjectCapabilitiesContainerregistryResultPlanRegistryLimitArray []GetCloudProjectCapabilitiesContainerregistryResultPlanRegistryLimitInput + +func (GetCloudProjectCapabilitiesContainerregistryResultPlanRegistryLimitArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetCloudProjectCapabilitiesContainerregistryResultPlanRegistryLimit)(nil)).Elem() +} + +func (i GetCloudProjectCapabilitiesContainerregistryResultPlanRegistryLimitArray) ToGetCloudProjectCapabilitiesContainerregistryResultPlanRegistryLimitArrayOutput() GetCloudProjectCapabilitiesContainerregistryResultPlanRegistryLimitArrayOutput { + return i.ToGetCloudProjectCapabilitiesContainerregistryResultPlanRegistryLimitArrayOutputWithContext(context.Background()) +} + +func (i GetCloudProjectCapabilitiesContainerregistryResultPlanRegistryLimitArray) ToGetCloudProjectCapabilitiesContainerregistryResultPlanRegistryLimitArrayOutputWithContext(ctx context.Context) GetCloudProjectCapabilitiesContainerregistryResultPlanRegistryLimitArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetCloudProjectCapabilitiesContainerregistryResultPlanRegistryLimitArrayOutput) +} + +type GetCloudProjectCapabilitiesContainerregistryResultPlanRegistryLimitOutput struct{ *pulumi.OutputState } + +func (GetCloudProjectCapabilitiesContainerregistryResultPlanRegistryLimitOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetCloudProjectCapabilitiesContainerregistryResultPlanRegistryLimit)(nil)).Elem() +} + +func (o GetCloudProjectCapabilitiesContainerregistryResultPlanRegistryLimitOutput) ToGetCloudProjectCapabilitiesContainerregistryResultPlanRegistryLimitOutput() GetCloudProjectCapabilitiesContainerregistryResultPlanRegistryLimitOutput { + return o +} + +func (o GetCloudProjectCapabilitiesContainerregistryResultPlanRegistryLimitOutput) ToGetCloudProjectCapabilitiesContainerregistryResultPlanRegistryLimitOutputWithContext(ctx context.Context) GetCloudProjectCapabilitiesContainerregistryResultPlanRegistryLimitOutput { + return o +} + +func (o GetCloudProjectCapabilitiesContainerregistryResultPlanRegistryLimitOutput) ImageStorage() pulumi.Float64Output { + return o.ApplyT(func(v GetCloudProjectCapabilitiesContainerregistryResultPlanRegistryLimit) float64 { + return v.ImageStorage + }).(pulumi.Float64Output) +} + +func (o GetCloudProjectCapabilitiesContainerregistryResultPlanRegistryLimitOutput) ParallelRequest() pulumi.Float64Output { + return o.ApplyT(func(v GetCloudProjectCapabilitiesContainerregistryResultPlanRegistryLimit) float64 { + return v.ParallelRequest + }).(pulumi.Float64Output) +} + +type GetCloudProjectCapabilitiesContainerregistryResultPlanRegistryLimitArrayOutput struct{ *pulumi.OutputState } + +func (GetCloudProjectCapabilitiesContainerregistryResultPlanRegistryLimitArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetCloudProjectCapabilitiesContainerregistryResultPlanRegistryLimit)(nil)).Elem() +} + +func (o GetCloudProjectCapabilitiesContainerregistryResultPlanRegistryLimitArrayOutput) ToGetCloudProjectCapabilitiesContainerregistryResultPlanRegistryLimitArrayOutput() GetCloudProjectCapabilitiesContainerregistryResultPlanRegistryLimitArrayOutput { + return o +} + +func (o GetCloudProjectCapabilitiesContainerregistryResultPlanRegistryLimitArrayOutput) ToGetCloudProjectCapabilitiesContainerregistryResultPlanRegistryLimitArrayOutputWithContext(ctx context.Context) GetCloudProjectCapabilitiesContainerregistryResultPlanRegistryLimitArrayOutput { + return o +} + +func (o GetCloudProjectCapabilitiesContainerregistryResultPlanRegistryLimitArrayOutput) Index(i pulumi.IntInput) GetCloudProjectCapabilitiesContainerregistryResultPlanRegistryLimitOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetCloudProjectCapabilitiesContainerregistryResultPlanRegistryLimit { + return vs[0].([]GetCloudProjectCapabilitiesContainerregistryResultPlanRegistryLimit)[vs[1].(int)] + }).(GetCloudProjectCapabilitiesContainerregistryResultPlanRegistryLimitOutput) +} + +type GetCloudProjectContainerregistriesResult struct { + CreatedAt string `pulumi:"createdAt"` + Id string `pulumi:"id"` + Name string `pulumi:"name"` + ProjectId string `pulumi:"projectId"` + Region string `pulumi:"region"` + Size float64 `pulumi:"size"` + Status string `pulumi:"status"` + UpdatedAt string `pulumi:"updatedAt"` + Url string `pulumi:"url"` + Version string `pulumi:"version"` +} + +// GetCloudProjectContainerregistriesResultInput is an input type that accepts GetCloudProjectContainerregistriesResultArgs and GetCloudProjectContainerregistriesResultOutput values. +// You can construct a concrete instance of `GetCloudProjectContainerregistriesResultInput` via: +// +// GetCloudProjectContainerregistriesResultArgs{...} +type GetCloudProjectContainerregistriesResultInput interface { + pulumi.Input + + ToGetCloudProjectContainerregistriesResultOutput() GetCloudProjectContainerregistriesResultOutput + ToGetCloudProjectContainerregistriesResultOutputWithContext(context.Context) GetCloudProjectContainerregistriesResultOutput +} + +type GetCloudProjectContainerregistriesResultArgs struct { + CreatedAt pulumi.StringInput `pulumi:"createdAt"` + Id pulumi.StringInput `pulumi:"id"` + Name pulumi.StringInput `pulumi:"name"` + ProjectId pulumi.StringInput `pulumi:"projectId"` + Region pulumi.StringInput `pulumi:"region"` + Size pulumi.Float64Input `pulumi:"size"` + Status pulumi.StringInput `pulumi:"status"` + UpdatedAt pulumi.StringInput `pulumi:"updatedAt"` + Url pulumi.StringInput `pulumi:"url"` + Version pulumi.StringInput `pulumi:"version"` +} + +func (GetCloudProjectContainerregistriesResultArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetCloudProjectContainerregistriesResult)(nil)).Elem() +} + +func (i GetCloudProjectContainerregistriesResultArgs) ToGetCloudProjectContainerregistriesResultOutput() GetCloudProjectContainerregistriesResultOutput { + return i.ToGetCloudProjectContainerregistriesResultOutputWithContext(context.Background()) +} + +func (i GetCloudProjectContainerregistriesResultArgs) ToGetCloudProjectContainerregistriesResultOutputWithContext(ctx context.Context) GetCloudProjectContainerregistriesResultOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetCloudProjectContainerregistriesResultOutput) +} + +// GetCloudProjectContainerregistriesResultArrayInput is an input type that accepts GetCloudProjectContainerregistriesResultArray and GetCloudProjectContainerregistriesResultArrayOutput values. +// You can construct a concrete instance of `GetCloudProjectContainerregistriesResultArrayInput` via: +// +// GetCloudProjectContainerregistriesResultArray{ GetCloudProjectContainerregistriesResultArgs{...} } +type GetCloudProjectContainerregistriesResultArrayInput interface { + pulumi.Input + + ToGetCloudProjectContainerregistriesResultArrayOutput() GetCloudProjectContainerregistriesResultArrayOutput + ToGetCloudProjectContainerregistriesResultArrayOutputWithContext(context.Context) GetCloudProjectContainerregistriesResultArrayOutput +} + +type GetCloudProjectContainerregistriesResultArray []GetCloudProjectContainerregistriesResultInput + +func (GetCloudProjectContainerregistriesResultArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetCloudProjectContainerregistriesResult)(nil)).Elem() +} + +func (i GetCloudProjectContainerregistriesResultArray) ToGetCloudProjectContainerregistriesResultArrayOutput() GetCloudProjectContainerregistriesResultArrayOutput { + return i.ToGetCloudProjectContainerregistriesResultArrayOutputWithContext(context.Background()) +} + +func (i GetCloudProjectContainerregistriesResultArray) ToGetCloudProjectContainerregistriesResultArrayOutputWithContext(ctx context.Context) GetCloudProjectContainerregistriesResultArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetCloudProjectContainerregistriesResultArrayOutput) +} + +type GetCloudProjectContainerregistriesResultOutput struct{ *pulumi.OutputState } + +func (GetCloudProjectContainerregistriesResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetCloudProjectContainerregistriesResult)(nil)).Elem() +} + +func (o GetCloudProjectContainerregistriesResultOutput) ToGetCloudProjectContainerregistriesResultOutput() GetCloudProjectContainerregistriesResultOutput { + return o +} + +func (o GetCloudProjectContainerregistriesResultOutput) ToGetCloudProjectContainerregistriesResultOutputWithContext(ctx context.Context) GetCloudProjectContainerregistriesResultOutput { + return o +} + +func (o GetCloudProjectContainerregistriesResultOutput) CreatedAt() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectContainerregistriesResult) string { return v.CreatedAt }).(pulumi.StringOutput) +} + +func (o GetCloudProjectContainerregistriesResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectContainerregistriesResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o GetCloudProjectContainerregistriesResultOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectContainerregistriesResult) string { return v.Name }).(pulumi.StringOutput) +} + +func (o GetCloudProjectContainerregistriesResultOutput) ProjectId() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectContainerregistriesResult) string { return v.ProjectId }).(pulumi.StringOutput) +} + +func (o GetCloudProjectContainerregistriesResultOutput) Region() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectContainerregistriesResult) string { return v.Region }).(pulumi.StringOutput) +} + +func (o GetCloudProjectContainerregistriesResultOutput) Size() pulumi.Float64Output { + return o.ApplyT(func(v GetCloudProjectContainerregistriesResult) float64 { return v.Size }).(pulumi.Float64Output) +} + +func (o GetCloudProjectContainerregistriesResultOutput) Status() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectContainerregistriesResult) string { return v.Status }).(pulumi.StringOutput) +} + +func (o GetCloudProjectContainerregistriesResultOutput) UpdatedAt() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectContainerregistriesResult) string { return v.UpdatedAt }).(pulumi.StringOutput) +} + +func (o GetCloudProjectContainerregistriesResultOutput) Url() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectContainerregistriesResult) string { return v.Url }).(pulumi.StringOutput) +} + +func (o GetCloudProjectContainerregistriesResultOutput) Version() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectContainerregistriesResult) string { return v.Version }).(pulumi.StringOutput) +} + +type GetCloudProjectContainerregistriesResultArrayOutput struct{ *pulumi.OutputState } + +func (GetCloudProjectContainerregistriesResultArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetCloudProjectContainerregistriesResult)(nil)).Elem() +} + +func (o GetCloudProjectContainerregistriesResultArrayOutput) ToGetCloudProjectContainerregistriesResultArrayOutput() GetCloudProjectContainerregistriesResultArrayOutput { + return o +} + +func (o GetCloudProjectContainerregistriesResultArrayOutput) ToGetCloudProjectContainerregistriesResultArrayOutputWithContext(ctx context.Context) GetCloudProjectContainerregistriesResultArrayOutput { + return o +} + +func (o GetCloudProjectContainerregistriesResultArrayOutput) Index(i pulumi.IntInput) GetCloudProjectContainerregistriesResultOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetCloudProjectContainerregistriesResult { + return vs[0].([]GetCloudProjectContainerregistriesResult)[vs[1].(int)] + }).(GetCloudProjectContainerregistriesResultOutput) +} + +type GetCloudProjectContainerregistryUsersResult struct { + Email string `pulumi:"email"` + Id string `pulumi:"id"` + User string `pulumi:"user"` +} + +// GetCloudProjectContainerregistryUsersResultInput is an input type that accepts GetCloudProjectContainerregistryUsersResultArgs and GetCloudProjectContainerregistryUsersResultOutput values. +// You can construct a concrete instance of `GetCloudProjectContainerregistryUsersResultInput` via: +// +// GetCloudProjectContainerregistryUsersResultArgs{...} +type GetCloudProjectContainerregistryUsersResultInput interface { + pulumi.Input + + ToGetCloudProjectContainerregistryUsersResultOutput() GetCloudProjectContainerregistryUsersResultOutput + ToGetCloudProjectContainerregistryUsersResultOutputWithContext(context.Context) GetCloudProjectContainerregistryUsersResultOutput +} + +type GetCloudProjectContainerregistryUsersResultArgs struct { + Email pulumi.StringInput `pulumi:"email"` + Id pulumi.StringInput `pulumi:"id"` + User pulumi.StringInput `pulumi:"user"` +} + +func (GetCloudProjectContainerregistryUsersResultArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetCloudProjectContainerregistryUsersResult)(nil)).Elem() +} + +func (i GetCloudProjectContainerregistryUsersResultArgs) ToGetCloudProjectContainerregistryUsersResultOutput() GetCloudProjectContainerregistryUsersResultOutput { + return i.ToGetCloudProjectContainerregistryUsersResultOutputWithContext(context.Background()) +} + +func (i GetCloudProjectContainerregistryUsersResultArgs) ToGetCloudProjectContainerregistryUsersResultOutputWithContext(ctx context.Context) GetCloudProjectContainerregistryUsersResultOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetCloudProjectContainerregistryUsersResultOutput) +} + +// GetCloudProjectContainerregistryUsersResultArrayInput is an input type that accepts GetCloudProjectContainerregistryUsersResultArray and GetCloudProjectContainerregistryUsersResultArrayOutput values. +// You can construct a concrete instance of `GetCloudProjectContainerregistryUsersResultArrayInput` via: +// +// GetCloudProjectContainerregistryUsersResultArray{ GetCloudProjectContainerregistryUsersResultArgs{...} } +type GetCloudProjectContainerregistryUsersResultArrayInput interface { + pulumi.Input + + ToGetCloudProjectContainerregistryUsersResultArrayOutput() GetCloudProjectContainerregistryUsersResultArrayOutput + ToGetCloudProjectContainerregistryUsersResultArrayOutputWithContext(context.Context) GetCloudProjectContainerregistryUsersResultArrayOutput +} + +type GetCloudProjectContainerregistryUsersResultArray []GetCloudProjectContainerregistryUsersResultInput + +func (GetCloudProjectContainerregistryUsersResultArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetCloudProjectContainerregistryUsersResult)(nil)).Elem() +} + +func (i GetCloudProjectContainerregistryUsersResultArray) ToGetCloudProjectContainerregistryUsersResultArrayOutput() GetCloudProjectContainerregistryUsersResultArrayOutput { + return i.ToGetCloudProjectContainerregistryUsersResultArrayOutputWithContext(context.Background()) +} + +func (i GetCloudProjectContainerregistryUsersResultArray) ToGetCloudProjectContainerregistryUsersResultArrayOutputWithContext(ctx context.Context) GetCloudProjectContainerregistryUsersResultArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetCloudProjectContainerregistryUsersResultArrayOutput) +} + +type GetCloudProjectContainerregistryUsersResultOutput struct{ *pulumi.OutputState } + +func (GetCloudProjectContainerregistryUsersResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetCloudProjectContainerregistryUsersResult)(nil)).Elem() +} + +func (o GetCloudProjectContainerregistryUsersResultOutput) ToGetCloudProjectContainerregistryUsersResultOutput() GetCloudProjectContainerregistryUsersResultOutput { + return o +} + +func (o GetCloudProjectContainerregistryUsersResultOutput) ToGetCloudProjectContainerregistryUsersResultOutputWithContext(ctx context.Context) GetCloudProjectContainerregistryUsersResultOutput { + return o +} + +func (o GetCloudProjectContainerregistryUsersResultOutput) Email() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectContainerregistryUsersResult) string { return v.Email }).(pulumi.StringOutput) +} + +func (o GetCloudProjectContainerregistryUsersResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectContainerregistryUsersResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o GetCloudProjectContainerregistryUsersResultOutput) User() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectContainerregistryUsersResult) string { return v.User }).(pulumi.StringOutput) +} + +type GetCloudProjectContainerregistryUsersResultArrayOutput struct{ *pulumi.OutputState } + +func (GetCloudProjectContainerregistryUsersResultArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetCloudProjectContainerregistryUsersResult)(nil)).Elem() +} + +func (o GetCloudProjectContainerregistryUsersResultArrayOutput) ToGetCloudProjectContainerregistryUsersResultArrayOutput() GetCloudProjectContainerregistryUsersResultArrayOutput { + return o +} + +func (o GetCloudProjectContainerregistryUsersResultArrayOutput) ToGetCloudProjectContainerregistryUsersResultArrayOutputWithContext(ctx context.Context) GetCloudProjectContainerregistryUsersResultArrayOutput { + return o +} + +func (o GetCloudProjectContainerregistryUsersResultArrayOutput) Index(i pulumi.IntInput) GetCloudProjectContainerregistryUsersResultOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetCloudProjectContainerregistryUsersResult { + return vs[0].([]GetCloudProjectContainerregistryUsersResult)[vs[1].(int)] + }).(GetCloudProjectContainerregistryUsersResultOutput) +} + +type GetCloudProjectDatabaseCapabilitiesEngine struct { + DefaultVersion string `pulumi:"defaultVersion"` + Description string `pulumi:"description"` + Name string `pulumi:"name"` + SslModes []string `pulumi:"sslModes"` + Versions []string `pulumi:"versions"` +} + +// GetCloudProjectDatabaseCapabilitiesEngineInput is an input type that accepts GetCloudProjectDatabaseCapabilitiesEngineArgs and GetCloudProjectDatabaseCapabilitiesEngineOutput values. +// You can construct a concrete instance of `GetCloudProjectDatabaseCapabilitiesEngineInput` via: +// +// GetCloudProjectDatabaseCapabilitiesEngineArgs{...} +type GetCloudProjectDatabaseCapabilitiesEngineInput interface { + pulumi.Input + + ToGetCloudProjectDatabaseCapabilitiesEngineOutput() GetCloudProjectDatabaseCapabilitiesEngineOutput + ToGetCloudProjectDatabaseCapabilitiesEngineOutputWithContext(context.Context) GetCloudProjectDatabaseCapabilitiesEngineOutput +} + +type GetCloudProjectDatabaseCapabilitiesEngineArgs struct { + DefaultVersion pulumi.StringInput `pulumi:"defaultVersion"` + Description pulumi.StringInput `pulumi:"description"` + Name pulumi.StringInput `pulumi:"name"` + SslModes pulumi.StringArrayInput `pulumi:"sslModes"` + Versions pulumi.StringArrayInput `pulumi:"versions"` +} + +func (GetCloudProjectDatabaseCapabilitiesEngineArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetCloudProjectDatabaseCapabilitiesEngine)(nil)).Elem() +} + +func (i GetCloudProjectDatabaseCapabilitiesEngineArgs) ToGetCloudProjectDatabaseCapabilitiesEngineOutput() GetCloudProjectDatabaseCapabilitiesEngineOutput { + return i.ToGetCloudProjectDatabaseCapabilitiesEngineOutputWithContext(context.Background()) +} + +func (i GetCloudProjectDatabaseCapabilitiesEngineArgs) ToGetCloudProjectDatabaseCapabilitiesEngineOutputWithContext(ctx context.Context) GetCloudProjectDatabaseCapabilitiesEngineOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetCloudProjectDatabaseCapabilitiesEngineOutput) +} + +// GetCloudProjectDatabaseCapabilitiesEngineArrayInput is an input type that accepts GetCloudProjectDatabaseCapabilitiesEngineArray and GetCloudProjectDatabaseCapabilitiesEngineArrayOutput values. +// You can construct a concrete instance of `GetCloudProjectDatabaseCapabilitiesEngineArrayInput` via: +// +// GetCloudProjectDatabaseCapabilitiesEngineArray{ GetCloudProjectDatabaseCapabilitiesEngineArgs{...} } +type GetCloudProjectDatabaseCapabilitiesEngineArrayInput interface { + pulumi.Input + + ToGetCloudProjectDatabaseCapabilitiesEngineArrayOutput() GetCloudProjectDatabaseCapabilitiesEngineArrayOutput + ToGetCloudProjectDatabaseCapabilitiesEngineArrayOutputWithContext(context.Context) GetCloudProjectDatabaseCapabilitiesEngineArrayOutput +} + +type GetCloudProjectDatabaseCapabilitiesEngineArray []GetCloudProjectDatabaseCapabilitiesEngineInput + +func (GetCloudProjectDatabaseCapabilitiesEngineArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetCloudProjectDatabaseCapabilitiesEngine)(nil)).Elem() +} + +func (i GetCloudProjectDatabaseCapabilitiesEngineArray) ToGetCloudProjectDatabaseCapabilitiesEngineArrayOutput() GetCloudProjectDatabaseCapabilitiesEngineArrayOutput { + return i.ToGetCloudProjectDatabaseCapabilitiesEngineArrayOutputWithContext(context.Background()) +} + +func (i GetCloudProjectDatabaseCapabilitiesEngineArray) ToGetCloudProjectDatabaseCapabilitiesEngineArrayOutputWithContext(ctx context.Context) GetCloudProjectDatabaseCapabilitiesEngineArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetCloudProjectDatabaseCapabilitiesEngineArrayOutput) +} + +type GetCloudProjectDatabaseCapabilitiesEngineOutput struct{ *pulumi.OutputState } + +func (GetCloudProjectDatabaseCapabilitiesEngineOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetCloudProjectDatabaseCapabilitiesEngine)(nil)).Elem() +} + +func (o GetCloudProjectDatabaseCapabilitiesEngineOutput) ToGetCloudProjectDatabaseCapabilitiesEngineOutput() GetCloudProjectDatabaseCapabilitiesEngineOutput { + return o +} + +func (o GetCloudProjectDatabaseCapabilitiesEngineOutput) ToGetCloudProjectDatabaseCapabilitiesEngineOutputWithContext(ctx context.Context) GetCloudProjectDatabaseCapabilitiesEngineOutput { + return o +} + +func (o GetCloudProjectDatabaseCapabilitiesEngineOutput) DefaultVersion() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectDatabaseCapabilitiesEngine) string { return v.DefaultVersion }).(pulumi.StringOutput) +} + +func (o GetCloudProjectDatabaseCapabilitiesEngineOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectDatabaseCapabilitiesEngine) string { return v.Description }).(pulumi.StringOutput) +} + +func (o GetCloudProjectDatabaseCapabilitiesEngineOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectDatabaseCapabilitiesEngine) string { return v.Name }).(pulumi.StringOutput) +} + +func (o GetCloudProjectDatabaseCapabilitiesEngineOutput) SslModes() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetCloudProjectDatabaseCapabilitiesEngine) []string { return v.SslModes }).(pulumi.StringArrayOutput) +} + +func (o GetCloudProjectDatabaseCapabilitiesEngineOutput) Versions() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetCloudProjectDatabaseCapabilitiesEngine) []string { return v.Versions }).(pulumi.StringArrayOutput) +} + +type GetCloudProjectDatabaseCapabilitiesEngineArrayOutput struct{ *pulumi.OutputState } + +func (GetCloudProjectDatabaseCapabilitiesEngineArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetCloudProjectDatabaseCapabilitiesEngine)(nil)).Elem() +} + +func (o GetCloudProjectDatabaseCapabilitiesEngineArrayOutput) ToGetCloudProjectDatabaseCapabilitiesEngineArrayOutput() GetCloudProjectDatabaseCapabilitiesEngineArrayOutput { + return o +} + +func (o GetCloudProjectDatabaseCapabilitiesEngineArrayOutput) ToGetCloudProjectDatabaseCapabilitiesEngineArrayOutputWithContext(ctx context.Context) GetCloudProjectDatabaseCapabilitiesEngineArrayOutput { + return o +} + +func (o GetCloudProjectDatabaseCapabilitiesEngineArrayOutput) Index(i pulumi.IntInput) GetCloudProjectDatabaseCapabilitiesEngineOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetCloudProjectDatabaseCapabilitiesEngine { + return vs[0].([]GetCloudProjectDatabaseCapabilitiesEngine)[vs[1].(int)] + }).(GetCloudProjectDatabaseCapabilitiesEngineOutput) +} + +type GetCloudProjectDatabaseCapabilitiesFlavor struct { + Core float64 `pulumi:"core"` + Memory float64 `pulumi:"memory"` + Name string `pulumi:"name"` + Storage float64 `pulumi:"storage"` +} + +// GetCloudProjectDatabaseCapabilitiesFlavorInput is an input type that accepts GetCloudProjectDatabaseCapabilitiesFlavorArgs and GetCloudProjectDatabaseCapabilitiesFlavorOutput values. +// You can construct a concrete instance of `GetCloudProjectDatabaseCapabilitiesFlavorInput` via: +// +// GetCloudProjectDatabaseCapabilitiesFlavorArgs{...} +type GetCloudProjectDatabaseCapabilitiesFlavorInput interface { + pulumi.Input + + ToGetCloudProjectDatabaseCapabilitiesFlavorOutput() GetCloudProjectDatabaseCapabilitiesFlavorOutput + ToGetCloudProjectDatabaseCapabilitiesFlavorOutputWithContext(context.Context) GetCloudProjectDatabaseCapabilitiesFlavorOutput +} + +type GetCloudProjectDatabaseCapabilitiesFlavorArgs struct { + Core pulumi.Float64Input `pulumi:"core"` + Memory pulumi.Float64Input `pulumi:"memory"` + Name pulumi.StringInput `pulumi:"name"` + Storage pulumi.Float64Input `pulumi:"storage"` +} + +func (GetCloudProjectDatabaseCapabilitiesFlavorArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetCloudProjectDatabaseCapabilitiesFlavor)(nil)).Elem() +} + +func (i GetCloudProjectDatabaseCapabilitiesFlavorArgs) ToGetCloudProjectDatabaseCapabilitiesFlavorOutput() GetCloudProjectDatabaseCapabilitiesFlavorOutput { + return i.ToGetCloudProjectDatabaseCapabilitiesFlavorOutputWithContext(context.Background()) +} + +func (i GetCloudProjectDatabaseCapabilitiesFlavorArgs) ToGetCloudProjectDatabaseCapabilitiesFlavorOutputWithContext(ctx context.Context) GetCloudProjectDatabaseCapabilitiesFlavorOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetCloudProjectDatabaseCapabilitiesFlavorOutput) +} + +// GetCloudProjectDatabaseCapabilitiesFlavorArrayInput is an input type that accepts GetCloudProjectDatabaseCapabilitiesFlavorArray and GetCloudProjectDatabaseCapabilitiesFlavorArrayOutput values. +// You can construct a concrete instance of `GetCloudProjectDatabaseCapabilitiesFlavorArrayInput` via: +// +// GetCloudProjectDatabaseCapabilitiesFlavorArray{ GetCloudProjectDatabaseCapabilitiesFlavorArgs{...} } +type GetCloudProjectDatabaseCapabilitiesFlavorArrayInput interface { + pulumi.Input + + ToGetCloudProjectDatabaseCapabilitiesFlavorArrayOutput() GetCloudProjectDatabaseCapabilitiesFlavorArrayOutput + ToGetCloudProjectDatabaseCapabilitiesFlavorArrayOutputWithContext(context.Context) GetCloudProjectDatabaseCapabilitiesFlavorArrayOutput +} + +type GetCloudProjectDatabaseCapabilitiesFlavorArray []GetCloudProjectDatabaseCapabilitiesFlavorInput + +func (GetCloudProjectDatabaseCapabilitiesFlavorArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetCloudProjectDatabaseCapabilitiesFlavor)(nil)).Elem() +} + +func (i GetCloudProjectDatabaseCapabilitiesFlavorArray) ToGetCloudProjectDatabaseCapabilitiesFlavorArrayOutput() GetCloudProjectDatabaseCapabilitiesFlavorArrayOutput { + return i.ToGetCloudProjectDatabaseCapabilitiesFlavorArrayOutputWithContext(context.Background()) +} + +func (i GetCloudProjectDatabaseCapabilitiesFlavorArray) ToGetCloudProjectDatabaseCapabilitiesFlavorArrayOutputWithContext(ctx context.Context) GetCloudProjectDatabaseCapabilitiesFlavorArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetCloudProjectDatabaseCapabilitiesFlavorArrayOutput) +} + +type GetCloudProjectDatabaseCapabilitiesFlavorOutput struct{ *pulumi.OutputState } + +func (GetCloudProjectDatabaseCapabilitiesFlavorOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetCloudProjectDatabaseCapabilitiesFlavor)(nil)).Elem() +} + +func (o GetCloudProjectDatabaseCapabilitiesFlavorOutput) ToGetCloudProjectDatabaseCapabilitiesFlavorOutput() GetCloudProjectDatabaseCapabilitiesFlavorOutput { + return o +} + +func (o GetCloudProjectDatabaseCapabilitiesFlavorOutput) ToGetCloudProjectDatabaseCapabilitiesFlavorOutputWithContext(ctx context.Context) GetCloudProjectDatabaseCapabilitiesFlavorOutput { + return o +} + +func (o GetCloudProjectDatabaseCapabilitiesFlavorOutput) Core() pulumi.Float64Output { + return o.ApplyT(func(v GetCloudProjectDatabaseCapabilitiesFlavor) float64 { return v.Core }).(pulumi.Float64Output) +} + +func (o GetCloudProjectDatabaseCapabilitiesFlavorOutput) Memory() pulumi.Float64Output { + return o.ApplyT(func(v GetCloudProjectDatabaseCapabilitiesFlavor) float64 { return v.Memory }).(pulumi.Float64Output) +} + +func (o GetCloudProjectDatabaseCapabilitiesFlavorOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectDatabaseCapabilitiesFlavor) string { return v.Name }).(pulumi.StringOutput) +} + +func (o GetCloudProjectDatabaseCapabilitiesFlavorOutput) Storage() pulumi.Float64Output { + return o.ApplyT(func(v GetCloudProjectDatabaseCapabilitiesFlavor) float64 { return v.Storage }).(pulumi.Float64Output) +} + +type GetCloudProjectDatabaseCapabilitiesFlavorArrayOutput struct{ *pulumi.OutputState } + +func (GetCloudProjectDatabaseCapabilitiesFlavorArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetCloudProjectDatabaseCapabilitiesFlavor)(nil)).Elem() +} + +func (o GetCloudProjectDatabaseCapabilitiesFlavorArrayOutput) ToGetCloudProjectDatabaseCapabilitiesFlavorArrayOutput() GetCloudProjectDatabaseCapabilitiesFlavorArrayOutput { + return o +} + +func (o GetCloudProjectDatabaseCapabilitiesFlavorArrayOutput) ToGetCloudProjectDatabaseCapabilitiesFlavorArrayOutputWithContext(ctx context.Context) GetCloudProjectDatabaseCapabilitiesFlavorArrayOutput { + return o +} + +func (o GetCloudProjectDatabaseCapabilitiesFlavorArrayOutput) Index(i pulumi.IntInput) GetCloudProjectDatabaseCapabilitiesFlavorOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetCloudProjectDatabaseCapabilitiesFlavor { + return vs[0].([]GetCloudProjectDatabaseCapabilitiesFlavor)[vs[1].(int)] + }).(GetCloudProjectDatabaseCapabilitiesFlavorOutput) +} + +type GetCloudProjectDatabaseCapabilitiesOption struct { + Name string `pulumi:"name"` + Type string `pulumi:"type"` +} + +// GetCloudProjectDatabaseCapabilitiesOptionInput is an input type that accepts GetCloudProjectDatabaseCapabilitiesOptionArgs and GetCloudProjectDatabaseCapabilitiesOptionOutput values. +// You can construct a concrete instance of `GetCloudProjectDatabaseCapabilitiesOptionInput` via: +// +// GetCloudProjectDatabaseCapabilitiesOptionArgs{...} +type GetCloudProjectDatabaseCapabilitiesOptionInput interface { + pulumi.Input + + ToGetCloudProjectDatabaseCapabilitiesOptionOutput() GetCloudProjectDatabaseCapabilitiesOptionOutput + ToGetCloudProjectDatabaseCapabilitiesOptionOutputWithContext(context.Context) GetCloudProjectDatabaseCapabilitiesOptionOutput +} + +type GetCloudProjectDatabaseCapabilitiesOptionArgs struct { + Name pulumi.StringInput `pulumi:"name"` + Type pulumi.StringInput `pulumi:"type"` +} + +func (GetCloudProjectDatabaseCapabilitiesOptionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetCloudProjectDatabaseCapabilitiesOption)(nil)).Elem() +} + +func (i GetCloudProjectDatabaseCapabilitiesOptionArgs) ToGetCloudProjectDatabaseCapabilitiesOptionOutput() GetCloudProjectDatabaseCapabilitiesOptionOutput { + return i.ToGetCloudProjectDatabaseCapabilitiesOptionOutputWithContext(context.Background()) +} + +func (i GetCloudProjectDatabaseCapabilitiesOptionArgs) ToGetCloudProjectDatabaseCapabilitiesOptionOutputWithContext(ctx context.Context) GetCloudProjectDatabaseCapabilitiesOptionOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetCloudProjectDatabaseCapabilitiesOptionOutput) +} + +// GetCloudProjectDatabaseCapabilitiesOptionArrayInput is an input type that accepts GetCloudProjectDatabaseCapabilitiesOptionArray and GetCloudProjectDatabaseCapabilitiesOptionArrayOutput values. +// You can construct a concrete instance of `GetCloudProjectDatabaseCapabilitiesOptionArrayInput` via: +// +// GetCloudProjectDatabaseCapabilitiesOptionArray{ GetCloudProjectDatabaseCapabilitiesOptionArgs{...} } +type GetCloudProjectDatabaseCapabilitiesOptionArrayInput interface { + pulumi.Input + + ToGetCloudProjectDatabaseCapabilitiesOptionArrayOutput() GetCloudProjectDatabaseCapabilitiesOptionArrayOutput + ToGetCloudProjectDatabaseCapabilitiesOptionArrayOutputWithContext(context.Context) GetCloudProjectDatabaseCapabilitiesOptionArrayOutput +} + +type GetCloudProjectDatabaseCapabilitiesOptionArray []GetCloudProjectDatabaseCapabilitiesOptionInput + +func (GetCloudProjectDatabaseCapabilitiesOptionArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetCloudProjectDatabaseCapabilitiesOption)(nil)).Elem() +} + +func (i GetCloudProjectDatabaseCapabilitiesOptionArray) ToGetCloudProjectDatabaseCapabilitiesOptionArrayOutput() GetCloudProjectDatabaseCapabilitiesOptionArrayOutput { + return i.ToGetCloudProjectDatabaseCapabilitiesOptionArrayOutputWithContext(context.Background()) +} + +func (i GetCloudProjectDatabaseCapabilitiesOptionArray) ToGetCloudProjectDatabaseCapabilitiesOptionArrayOutputWithContext(ctx context.Context) GetCloudProjectDatabaseCapabilitiesOptionArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetCloudProjectDatabaseCapabilitiesOptionArrayOutput) +} + +type GetCloudProjectDatabaseCapabilitiesOptionOutput struct{ *pulumi.OutputState } + +func (GetCloudProjectDatabaseCapabilitiesOptionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetCloudProjectDatabaseCapabilitiesOption)(nil)).Elem() +} + +func (o GetCloudProjectDatabaseCapabilitiesOptionOutput) ToGetCloudProjectDatabaseCapabilitiesOptionOutput() GetCloudProjectDatabaseCapabilitiesOptionOutput { + return o +} + +func (o GetCloudProjectDatabaseCapabilitiesOptionOutput) ToGetCloudProjectDatabaseCapabilitiesOptionOutputWithContext(ctx context.Context) GetCloudProjectDatabaseCapabilitiesOptionOutput { + return o +} + +func (o GetCloudProjectDatabaseCapabilitiesOptionOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectDatabaseCapabilitiesOption) string { return v.Name }).(pulumi.StringOutput) +} + +func (o GetCloudProjectDatabaseCapabilitiesOptionOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectDatabaseCapabilitiesOption) string { return v.Type }).(pulumi.StringOutput) +} + +type GetCloudProjectDatabaseCapabilitiesOptionArrayOutput struct{ *pulumi.OutputState } + +func (GetCloudProjectDatabaseCapabilitiesOptionArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetCloudProjectDatabaseCapabilitiesOption)(nil)).Elem() +} + +func (o GetCloudProjectDatabaseCapabilitiesOptionArrayOutput) ToGetCloudProjectDatabaseCapabilitiesOptionArrayOutput() GetCloudProjectDatabaseCapabilitiesOptionArrayOutput { + return o +} + +func (o GetCloudProjectDatabaseCapabilitiesOptionArrayOutput) ToGetCloudProjectDatabaseCapabilitiesOptionArrayOutputWithContext(ctx context.Context) GetCloudProjectDatabaseCapabilitiesOptionArrayOutput { + return o +} + +func (o GetCloudProjectDatabaseCapabilitiesOptionArrayOutput) Index(i pulumi.IntInput) GetCloudProjectDatabaseCapabilitiesOptionOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetCloudProjectDatabaseCapabilitiesOption { + return vs[0].([]GetCloudProjectDatabaseCapabilitiesOption)[vs[1].(int)] + }).(GetCloudProjectDatabaseCapabilitiesOptionOutput) +} + +type GetCloudProjectDatabaseCapabilitiesPlan struct { + BackupRetention string `pulumi:"backupRetention"` + Description string `pulumi:"description"` + Name string `pulumi:"name"` +} + +// GetCloudProjectDatabaseCapabilitiesPlanInput is an input type that accepts GetCloudProjectDatabaseCapabilitiesPlanArgs and GetCloudProjectDatabaseCapabilitiesPlanOutput values. +// You can construct a concrete instance of `GetCloudProjectDatabaseCapabilitiesPlanInput` via: +// +// GetCloudProjectDatabaseCapabilitiesPlanArgs{...} +type GetCloudProjectDatabaseCapabilitiesPlanInput interface { + pulumi.Input + + ToGetCloudProjectDatabaseCapabilitiesPlanOutput() GetCloudProjectDatabaseCapabilitiesPlanOutput + ToGetCloudProjectDatabaseCapabilitiesPlanOutputWithContext(context.Context) GetCloudProjectDatabaseCapabilitiesPlanOutput +} + +type GetCloudProjectDatabaseCapabilitiesPlanArgs struct { + BackupRetention pulumi.StringInput `pulumi:"backupRetention"` + Description pulumi.StringInput `pulumi:"description"` + Name pulumi.StringInput `pulumi:"name"` +} + +func (GetCloudProjectDatabaseCapabilitiesPlanArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetCloudProjectDatabaseCapabilitiesPlan)(nil)).Elem() +} + +func (i GetCloudProjectDatabaseCapabilitiesPlanArgs) ToGetCloudProjectDatabaseCapabilitiesPlanOutput() GetCloudProjectDatabaseCapabilitiesPlanOutput { + return i.ToGetCloudProjectDatabaseCapabilitiesPlanOutputWithContext(context.Background()) +} + +func (i GetCloudProjectDatabaseCapabilitiesPlanArgs) ToGetCloudProjectDatabaseCapabilitiesPlanOutputWithContext(ctx context.Context) GetCloudProjectDatabaseCapabilitiesPlanOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetCloudProjectDatabaseCapabilitiesPlanOutput) +} + +// GetCloudProjectDatabaseCapabilitiesPlanArrayInput is an input type that accepts GetCloudProjectDatabaseCapabilitiesPlanArray and GetCloudProjectDatabaseCapabilitiesPlanArrayOutput values. +// You can construct a concrete instance of `GetCloudProjectDatabaseCapabilitiesPlanArrayInput` via: +// +// GetCloudProjectDatabaseCapabilitiesPlanArray{ GetCloudProjectDatabaseCapabilitiesPlanArgs{...} } +type GetCloudProjectDatabaseCapabilitiesPlanArrayInput interface { + pulumi.Input + + ToGetCloudProjectDatabaseCapabilitiesPlanArrayOutput() GetCloudProjectDatabaseCapabilitiesPlanArrayOutput + ToGetCloudProjectDatabaseCapabilitiesPlanArrayOutputWithContext(context.Context) GetCloudProjectDatabaseCapabilitiesPlanArrayOutput +} + +type GetCloudProjectDatabaseCapabilitiesPlanArray []GetCloudProjectDatabaseCapabilitiesPlanInput + +func (GetCloudProjectDatabaseCapabilitiesPlanArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetCloudProjectDatabaseCapabilitiesPlan)(nil)).Elem() +} + +func (i GetCloudProjectDatabaseCapabilitiesPlanArray) ToGetCloudProjectDatabaseCapabilitiesPlanArrayOutput() GetCloudProjectDatabaseCapabilitiesPlanArrayOutput { + return i.ToGetCloudProjectDatabaseCapabilitiesPlanArrayOutputWithContext(context.Background()) +} + +func (i GetCloudProjectDatabaseCapabilitiesPlanArray) ToGetCloudProjectDatabaseCapabilitiesPlanArrayOutputWithContext(ctx context.Context) GetCloudProjectDatabaseCapabilitiesPlanArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetCloudProjectDatabaseCapabilitiesPlanArrayOutput) +} + +type GetCloudProjectDatabaseCapabilitiesPlanOutput struct{ *pulumi.OutputState } + +func (GetCloudProjectDatabaseCapabilitiesPlanOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetCloudProjectDatabaseCapabilitiesPlan)(nil)).Elem() +} + +func (o GetCloudProjectDatabaseCapabilitiesPlanOutput) ToGetCloudProjectDatabaseCapabilitiesPlanOutput() GetCloudProjectDatabaseCapabilitiesPlanOutput { + return o +} + +func (o GetCloudProjectDatabaseCapabilitiesPlanOutput) ToGetCloudProjectDatabaseCapabilitiesPlanOutputWithContext(ctx context.Context) GetCloudProjectDatabaseCapabilitiesPlanOutput { + return o +} + +func (o GetCloudProjectDatabaseCapabilitiesPlanOutput) BackupRetention() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectDatabaseCapabilitiesPlan) string { return v.BackupRetention }).(pulumi.StringOutput) +} + +func (o GetCloudProjectDatabaseCapabilitiesPlanOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectDatabaseCapabilitiesPlan) string { return v.Description }).(pulumi.StringOutput) +} + +func (o GetCloudProjectDatabaseCapabilitiesPlanOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectDatabaseCapabilitiesPlan) string { return v.Name }).(pulumi.StringOutput) +} + +type GetCloudProjectDatabaseCapabilitiesPlanArrayOutput struct{ *pulumi.OutputState } + +func (GetCloudProjectDatabaseCapabilitiesPlanArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetCloudProjectDatabaseCapabilitiesPlan)(nil)).Elem() +} + +func (o GetCloudProjectDatabaseCapabilitiesPlanArrayOutput) ToGetCloudProjectDatabaseCapabilitiesPlanArrayOutput() GetCloudProjectDatabaseCapabilitiesPlanArrayOutput { + return o +} + +func (o GetCloudProjectDatabaseCapabilitiesPlanArrayOutput) ToGetCloudProjectDatabaseCapabilitiesPlanArrayOutputWithContext(ctx context.Context) GetCloudProjectDatabaseCapabilitiesPlanArrayOutput { + return o +} + +func (o GetCloudProjectDatabaseCapabilitiesPlanArrayOutput) Index(i pulumi.IntInput) GetCloudProjectDatabaseCapabilitiesPlanOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetCloudProjectDatabaseCapabilitiesPlan { + return vs[0].([]GetCloudProjectDatabaseCapabilitiesPlan)[vs[1].(int)] + }).(GetCloudProjectDatabaseCapabilitiesPlanOutput) +} + +type GetCloudProjectDatabaseEndpoint struct { + Component string `pulumi:"component"` + Domain string `pulumi:"domain"` + Path string `pulumi:"path"` + Port float64 `pulumi:"port"` + Scheme string `pulumi:"scheme"` + Ssl bool `pulumi:"ssl"` + SslMode string `pulumi:"sslMode"` + Uri string `pulumi:"uri"` +} + +// GetCloudProjectDatabaseEndpointInput is an input type that accepts GetCloudProjectDatabaseEndpointArgs and GetCloudProjectDatabaseEndpointOutput values. +// You can construct a concrete instance of `GetCloudProjectDatabaseEndpointInput` via: +// +// GetCloudProjectDatabaseEndpointArgs{...} +type GetCloudProjectDatabaseEndpointInput interface { + pulumi.Input + + ToGetCloudProjectDatabaseEndpointOutput() GetCloudProjectDatabaseEndpointOutput + ToGetCloudProjectDatabaseEndpointOutputWithContext(context.Context) GetCloudProjectDatabaseEndpointOutput +} + +type GetCloudProjectDatabaseEndpointArgs struct { + Component pulumi.StringInput `pulumi:"component"` + Domain pulumi.StringInput `pulumi:"domain"` + Path pulumi.StringInput `pulumi:"path"` + Port pulumi.Float64Input `pulumi:"port"` + Scheme pulumi.StringInput `pulumi:"scheme"` + Ssl pulumi.BoolInput `pulumi:"ssl"` + SslMode pulumi.StringInput `pulumi:"sslMode"` + Uri pulumi.StringInput `pulumi:"uri"` +} + +func (GetCloudProjectDatabaseEndpointArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetCloudProjectDatabaseEndpoint)(nil)).Elem() +} + +func (i GetCloudProjectDatabaseEndpointArgs) ToGetCloudProjectDatabaseEndpointOutput() GetCloudProjectDatabaseEndpointOutput { + return i.ToGetCloudProjectDatabaseEndpointOutputWithContext(context.Background()) +} + +func (i GetCloudProjectDatabaseEndpointArgs) ToGetCloudProjectDatabaseEndpointOutputWithContext(ctx context.Context) GetCloudProjectDatabaseEndpointOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetCloudProjectDatabaseEndpointOutput) +} + +// GetCloudProjectDatabaseEndpointArrayInput is an input type that accepts GetCloudProjectDatabaseEndpointArray and GetCloudProjectDatabaseEndpointArrayOutput values. +// You can construct a concrete instance of `GetCloudProjectDatabaseEndpointArrayInput` via: +// +// GetCloudProjectDatabaseEndpointArray{ GetCloudProjectDatabaseEndpointArgs{...} } +type GetCloudProjectDatabaseEndpointArrayInput interface { + pulumi.Input + + ToGetCloudProjectDatabaseEndpointArrayOutput() GetCloudProjectDatabaseEndpointArrayOutput + ToGetCloudProjectDatabaseEndpointArrayOutputWithContext(context.Context) GetCloudProjectDatabaseEndpointArrayOutput +} + +type GetCloudProjectDatabaseEndpointArray []GetCloudProjectDatabaseEndpointInput + +func (GetCloudProjectDatabaseEndpointArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetCloudProjectDatabaseEndpoint)(nil)).Elem() +} + +func (i GetCloudProjectDatabaseEndpointArray) ToGetCloudProjectDatabaseEndpointArrayOutput() GetCloudProjectDatabaseEndpointArrayOutput { + return i.ToGetCloudProjectDatabaseEndpointArrayOutputWithContext(context.Background()) +} + +func (i GetCloudProjectDatabaseEndpointArray) ToGetCloudProjectDatabaseEndpointArrayOutputWithContext(ctx context.Context) GetCloudProjectDatabaseEndpointArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetCloudProjectDatabaseEndpointArrayOutput) +} + +type GetCloudProjectDatabaseEndpointOutput struct{ *pulumi.OutputState } + +func (GetCloudProjectDatabaseEndpointOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetCloudProjectDatabaseEndpoint)(nil)).Elem() +} + +func (o GetCloudProjectDatabaseEndpointOutput) ToGetCloudProjectDatabaseEndpointOutput() GetCloudProjectDatabaseEndpointOutput { + return o +} + +func (o GetCloudProjectDatabaseEndpointOutput) ToGetCloudProjectDatabaseEndpointOutputWithContext(ctx context.Context) GetCloudProjectDatabaseEndpointOutput { + return o +} + +func (o GetCloudProjectDatabaseEndpointOutput) Component() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectDatabaseEndpoint) string { return v.Component }).(pulumi.StringOutput) +} + +func (o GetCloudProjectDatabaseEndpointOutput) Domain() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectDatabaseEndpoint) string { return v.Domain }).(pulumi.StringOutput) +} + +func (o GetCloudProjectDatabaseEndpointOutput) Path() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectDatabaseEndpoint) string { return v.Path }).(pulumi.StringOutput) +} + +func (o GetCloudProjectDatabaseEndpointOutput) Port() pulumi.Float64Output { + return o.ApplyT(func(v GetCloudProjectDatabaseEndpoint) float64 { return v.Port }).(pulumi.Float64Output) +} + +func (o GetCloudProjectDatabaseEndpointOutput) Scheme() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectDatabaseEndpoint) string { return v.Scheme }).(pulumi.StringOutput) +} + +func (o GetCloudProjectDatabaseEndpointOutput) Ssl() pulumi.BoolOutput { + return o.ApplyT(func(v GetCloudProjectDatabaseEndpoint) bool { return v.Ssl }).(pulumi.BoolOutput) +} + +func (o GetCloudProjectDatabaseEndpointOutput) SslMode() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectDatabaseEndpoint) string { return v.SslMode }).(pulumi.StringOutput) +} + +func (o GetCloudProjectDatabaseEndpointOutput) Uri() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectDatabaseEndpoint) string { return v.Uri }).(pulumi.StringOutput) +} + +type GetCloudProjectDatabaseEndpointArrayOutput struct{ *pulumi.OutputState } + +func (GetCloudProjectDatabaseEndpointArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetCloudProjectDatabaseEndpoint)(nil)).Elem() +} + +func (o GetCloudProjectDatabaseEndpointArrayOutput) ToGetCloudProjectDatabaseEndpointArrayOutput() GetCloudProjectDatabaseEndpointArrayOutput { + return o +} + +func (o GetCloudProjectDatabaseEndpointArrayOutput) ToGetCloudProjectDatabaseEndpointArrayOutputWithContext(ctx context.Context) GetCloudProjectDatabaseEndpointArrayOutput { + return o +} + +func (o GetCloudProjectDatabaseEndpointArrayOutput) Index(i pulumi.IntInput) GetCloudProjectDatabaseEndpointOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetCloudProjectDatabaseEndpoint { + return vs[0].([]GetCloudProjectDatabaseEndpoint)[vs[1].(int)] + }).(GetCloudProjectDatabaseEndpointOutput) +} + +type GetCloudProjectDatabaseIpRestrictionType struct { + Description string `pulumi:"description"` + Ip string `pulumi:"ip"` + Status string `pulumi:"status"` +} + +// GetCloudProjectDatabaseIpRestrictionTypeInput is an input type that accepts GetCloudProjectDatabaseIpRestrictionTypeArgs and GetCloudProjectDatabaseIpRestrictionTypeOutput values. +// You can construct a concrete instance of `GetCloudProjectDatabaseIpRestrictionTypeInput` via: +// +// GetCloudProjectDatabaseIpRestrictionTypeArgs{...} +type GetCloudProjectDatabaseIpRestrictionTypeInput interface { + pulumi.Input + + ToGetCloudProjectDatabaseIpRestrictionTypeOutput() GetCloudProjectDatabaseIpRestrictionTypeOutput + ToGetCloudProjectDatabaseIpRestrictionTypeOutputWithContext(context.Context) GetCloudProjectDatabaseIpRestrictionTypeOutput +} + +type GetCloudProjectDatabaseIpRestrictionTypeArgs struct { + Description pulumi.StringInput `pulumi:"description"` + Ip pulumi.StringInput `pulumi:"ip"` + Status pulumi.StringInput `pulumi:"status"` +} + +func (GetCloudProjectDatabaseIpRestrictionTypeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetCloudProjectDatabaseIpRestrictionType)(nil)).Elem() +} + +func (i GetCloudProjectDatabaseIpRestrictionTypeArgs) ToGetCloudProjectDatabaseIpRestrictionTypeOutput() GetCloudProjectDatabaseIpRestrictionTypeOutput { + return i.ToGetCloudProjectDatabaseIpRestrictionTypeOutputWithContext(context.Background()) +} + +func (i GetCloudProjectDatabaseIpRestrictionTypeArgs) ToGetCloudProjectDatabaseIpRestrictionTypeOutputWithContext(ctx context.Context) GetCloudProjectDatabaseIpRestrictionTypeOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetCloudProjectDatabaseIpRestrictionTypeOutput) +} + +// GetCloudProjectDatabaseIpRestrictionTypeArrayInput is an input type that accepts GetCloudProjectDatabaseIpRestrictionTypeArray and GetCloudProjectDatabaseIpRestrictionTypeArrayOutput values. +// You can construct a concrete instance of `GetCloudProjectDatabaseIpRestrictionTypeArrayInput` via: +// +// GetCloudProjectDatabaseIpRestrictionTypeArray{ GetCloudProjectDatabaseIpRestrictionTypeArgs{...} } +type GetCloudProjectDatabaseIpRestrictionTypeArrayInput interface { + pulumi.Input + + ToGetCloudProjectDatabaseIpRestrictionTypeArrayOutput() GetCloudProjectDatabaseIpRestrictionTypeArrayOutput + ToGetCloudProjectDatabaseIpRestrictionTypeArrayOutputWithContext(context.Context) GetCloudProjectDatabaseIpRestrictionTypeArrayOutput +} + +type GetCloudProjectDatabaseIpRestrictionTypeArray []GetCloudProjectDatabaseIpRestrictionTypeInput + +func (GetCloudProjectDatabaseIpRestrictionTypeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetCloudProjectDatabaseIpRestrictionType)(nil)).Elem() +} + +func (i GetCloudProjectDatabaseIpRestrictionTypeArray) ToGetCloudProjectDatabaseIpRestrictionTypeArrayOutput() GetCloudProjectDatabaseIpRestrictionTypeArrayOutput { + return i.ToGetCloudProjectDatabaseIpRestrictionTypeArrayOutputWithContext(context.Background()) +} + +func (i GetCloudProjectDatabaseIpRestrictionTypeArray) ToGetCloudProjectDatabaseIpRestrictionTypeArrayOutputWithContext(ctx context.Context) GetCloudProjectDatabaseIpRestrictionTypeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetCloudProjectDatabaseIpRestrictionTypeArrayOutput) +} + +type GetCloudProjectDatabaseIpRestrictionTypeOutput struct{ *pulumi.OutputState } + +func (GetCloudProjectDatabaseIpRestrictionTypeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetCloudProjectDatabaseIpRestrictionType)(nil)).Elem() +} + +func (o GetCloudProjectDatabaseIpRestrictionTypeOutput) ToGetCloudProjectDatabaseIpRestrictionTypeOutput() GetCloudProjectDatabaseIpRestrictionTypeOutput { + return o +} + +func (o GetCloudProjectDatabaseIpRestrictionTypeOutput) ToGetCloudProjectDatabaseIpRestrictionTypeOutputWithContext(ctx context.Context) GetCloudProjectDatabaseIpRestrictionTypeOutput { + return o +} + +func (o GetCloudProjectDatabaseIpRestrictionTypeOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectDatabaseIpRestrictionType) string { return v.Description }).(pulumi.StringOutput) +} + +func (o GetCloudProjectDatabaseIpRestrictionTypeOutput) Ip() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectDatabaseIpRestrictionType) string { return v.Ip }).(pulumi.StringOutput) +} + +func (o GetCloudProjectDatabaseIpRestrictionTypeOutput) Status() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectDatabaseIpRestrictionType) string { return v.Status }).(pulumi.StringOutput) +} + +type GetCloudProjectDatabaseIpRestrictionTypeArrayOutput struct{ *pulumi.OutputState } + +func (GetCloudProjectDatabaseIpRestrictionTypeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetCloudProjectDatabaseIpRestrictionType)(nil)).Elem() +} + +func (o GetCloudProjectDatabaseIpRestrictionTypeArrayOutput) ToGetCloudProjectDatabaseIpRestrictionTypeArrayOutput() GetCloudProjectDatabaseIpRestrictionTypeArrayOutput { + return o +} + +func (o GetCloudProjectDatabaseIpRestrictionTypeArrayOutput) ToGetCloudProjectDatabaseIpRestrictionTypeArrayOutputWithContext(ctx context.Context) GetCloudProjectDatabaseIpRestrictionTypeArrayOutput { + return o +} + +func (o GetCloudProjectDatabaseIpRestrictionTypeArrayOutput) Index(i pulumi.IntInput) GetCloudProjectDatabaseIpRestrictionTypeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetCloudProjectDatabaseIpRestrictionType { + return vs[0].([]GetCloudProjectDatabaseIpRestrictionType)[vs[1].(int)] + }).(GetCloudProjectDatabaseIpRestrictionTypeOutput) +} + +type GetCloudProjectDatabaseNode struct { + NetworkId string `pulumi:"networkId"` + Region string `pulumi:"region"` + SubnetId string `pulumi:"subnetId"` +} + +// GetCloudProjectDatabaseNodeInput is an input type that accepts GetCloudProjectDatabaseNodeArgs and GetCloudProjectDatabaseNodeOutput values. +// You can construct a concrete instance of `GetCloudProjectDatabaseNodeInput` via: +// +// GetCloudProjectDatabaseNodeArgs{...} +type GetCloudProjectDatabaseNodeInput interface { + pulumi.Input + + ToGetCloudProjectDatabaseNodeOutput() GetCloudProjectDatabaseNodeOutput + ToGetCloudProjectDatabaseNodeOutputWithContext(context.Context) GetCloudProjectDatabaseNodeOutput +} + +type GetCloudProjectDatabaseNodeArgs struct { + NetworkId pulumi.StringInput `pulumi:"networkId"` + Region pulumi.StringInput `pulumi:"region"` + SubnetId pulumi.StringInput `pulumi:"subnetId"` +} + +func (GetCloudProjectDatabaseNodeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetCloudProjectDatabaseNode)(nil)).Elem() +} + +func (i GetCloudProjectDatabaseNodeArgs) ToGetCloudProjectDatabaseNodeOutput() GetCloudProjectDatabaseNodeOutput { + return i.ToGetCloudProjectDatabaseNodeOutputWithContext(context.Background()) +} + +func (i GetCloudProjectDatabaseNodeArgs) ToGetCloudProjectDatabaseNodeOutputWithContext(ctx context.Context) GetCloudProjectDatabaseNodeOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetCloudProjectDatabaseNodeOutput) +} + +// GetCloudProjectDatabaseNodeArrayInput is an input type that accepts GetCloudProjectDatabaseNodeArray and GetCloudProjectDatabaseNodeArrayOutput values. +// You can construct a concrete instance of `GetCloudProjectDatabaseNodeArrayInput` via: +// +// GetCloudProjectDatabaseNodeArray{ GetCloudProjectDatabaseNodeArgs{...} } +type GetCloudProjectDatabaseNodeArrayInput interface { + pulumi.Input + + ToGetCloudProjectDatabaseNodeArrayOutput() GetCloudProjectDatabaseNodeArrayOutput + ToGetCloudProjectDatabaseNodeArrayOutputWithContext(context.Context) GetCloudProjectDatabaseNodeArrayOutput +} + +type GetCloudProjectDatabaseNodeArray []GetCloudProjectDatabaseNodeInput + +func (GetCloudProjectDatabaseNodeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetCloudProjectDatabaseNode)(nil)).Elem() +} + +func (i GetCloudProjectDatabaseNodeArray) ToGetCloudProjectDatabaseNodeArrayOutput() GetCloudProjectDatabaseNodeArrayOutput { + return i.ToGetCloudProjectDatabaseNodeArrayOutputWithContext(context.Background()) +} + +func (i GetCloudProjectDatabaseNodeArray) ToGetCloudProjectDatabaseNodeArrayOutputWithContext(ctx context.Context) GetCloudProjectDatabaseNodeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetCloudProjectDatabaseNodeArrayOutput) +} + +type GetCloudProjectDatabaseNodeOutput struct{ *pulumi.OutputState } + +func (GetCloudProjectDatabaseNodeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetCloudProjectDatabaseNode)(nil)).Elem() +} + +func (o GetCloudProjectDatabaseNodeOutput) ToGetCloudProjectDatabaseNodeOutput() GetCloudProjectDatabaseNodeOutput { + return o +} + +func (o GetCloudProjectDatabaseNodeOutput) ToGetCloudProjectDatabaseNodeOutputWithContext(ctx context.Context) GetCloudProjectDatabaseNodeOutput { + return o +} + +func (o GetCloudProjectDatabaseNodeOutput) NetworkId() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectDatabaseNode) string { return v.NetworkId }).(pulumi.StringOutput) +} + +func (o GetCloudProjectDatabaseNodeOutput) Region() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectDatabaseNode) string { return v.Region }).(pulumi.StringOutput) +} + +func (o GetCloudProjectDatabaseNodeOutput) SubnetId() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectDatabaseNode) string { return v.SubnetId }).(pulumi.StringOutput) +} + +type GetCloudProjectDatabaseNodeArrayOutput struct{ *pulumi.OutputState } + +func (GetCloudProjectDatabaseNodeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetCloudProjectDatabaseNode)(nil)).Elem() +} + +func (o GetCloudProjectDatabaseNodeArrayOutput) ToGetCloudProjectDatabaseNodeArrayOutput() GetCloudProjectDatabaseNodeArrayOutput { + return o +} + +func (o GetCloudProjectDatabaseNodeArrayOutput) ToGetCloudProjectDatabaseNodeArrayOutputWithContext(ctx context.Context) GetCloudProjectDatabaseNodeArrayOutput { + return o +} + +func (o GetCloudProjectDatabaseNodeArrayOutput) Index(i pulumi.IntInput) GetCloudProjectDatabaseNodeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetCloudProjectDatabaseNode { + return vs[0].([]GetCloudProjectDatabaseNode)[vs[1].(int)] + }).(GetCloudProjectDatabaseNodeOutput) +} + +type GetCloudProjectDatabaseOpensearchUserAcl struct { + Pattern string `pulumi:"pattern"` + Permission string `pulumi:"permission"` +} + +// GetCloudProjectDatabaseOpensearchUserAclInput is an input type that accepts GetCloudProjectDatabaseOpensearchUserAclArgs and GetCloudProjectDatabaseOpensearchUserAclOutput values. +// You can construct a concrete instance of `GetCloudProjectDatabaseOpensearchUserAclInput` via: +// +// GetCloudProjectDatabaseOpensearchUserAclArgs{...} +type GetCloudProjectDatabaseOpensearchUserAclInput interface { + pulumi.Input + + ToGetCloudProjectDatabaseOpensearchUserAclOutput() GetCloudProjectDatabaseOpensearchUserAclOutput + ToGetCloudProjectDatabaseOpensearchUserAclOutputWithContext(context.Context) GetCloudProjectDatabaseOpensearchUserAclOutput +} + +type GetCloudProjectDatabaseOpensearchUserAclArgs struct { + Pattern pulumi.StringInput `pulumi:"pattern"` + Permission pulumi.StringInput `pulumi:"permission"` +} + +func (GetCloudProjectDatabaseOpensearchUserAclArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetCloudProjectDatabaseOpensearchUserAcl)(nil)).Elem() +} + +func (i GetCloudProjectDatabaseOpensearchUserAclArgs) ToGetCloudProjectDatabaseOpensearchUserAclOutput() GetCloudProjectDatabaseOpensearchUserAclOutput { + return i.ToGetCloudProjectDatabaseOpensearchUserAclOutputWithContext(context.Background()) +} + +func (i GetCloudProjectDatabaseOpensearchUserAclArgs) ToGetCloudProjectDatabaseOpensearchUserAclOutputWithContext(ctx context.Context) GetCloudProjectDatabaseOpensearchUserAclOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetCloudProjectDatabaseOpensearchUserAclOutput) +} + +// GetCloudProjectDatabaseOpensearchUserAclArrayInput is an input type that accepts GetCloudProjectDatabaseOpensearchUserAclArray and GetCloudProjectDatabaseOpensearchUserAclArrayOutput values. +// You can construct a concrete instance of `GetCloudProjectDatabaseOpensearchUserAclArrayInput` via: +// +// GetCloudProjectDatabaseOpensearchUserAclArray{ GetCloudProjectDatabaseOpensearchUserAclArgs{...} } +type GetCloudProjectDatabaseOpensearchUserAclArrayInput interface { + pulumi.Input + + ToGetCloudProjectDatabaseOpensearchUserAclArrayOutput() GetCloudProjectDatabaseOpensearchUserAclArrayOutput + ToGetCloudProjectDatabaseOpensearchUserAclArrayOutputWithContext(context.Context) GetCloudProjectDatabaseOpensearchUserAclArrayOutput +} + +type GetCloudProjectDatabaseOpensearchUserAclArray []GetCloudProjectDatabaseOpensearchUserAclInput + +func (GetCloudProjectDatabaseOpensearchUserAclArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetCloudProjectDatabaseOpensearchUserAcl)(nil)).Elem() +} + +func (i GetCloudProjectDatabaseOpensearchUserAclArray) ToGetCloudProjectDatabaseOpensearchUserAclArrayOutput() GetCloudProjectDatabaseOpensearchUserAclArrayOutput { + return i.ToGetCloudProjectDatabaseOpensearchUserAclArrayOutputWithContext(context.Background()) +} + +func (i GetCloudProjectDatabaseOpensearchUserAclArray) ToGetCloudProjectDatabaseOpensearchUserAclArrayOutputWithContext(ctx context.Context) GetCloudProjectDatabaseOpensearchUserAclArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetCloudProjectDatabaseOpensearchUserAclArrayOutput) +} + +type GetCloudProjectDatabaseOpensearchUserAclOutput struct{ *pulumi.OutputState } + +func (GetCloudProjectDatabaseOpensearchUserAclOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetCloudProjectDatabaseOpensearchUserAcl)(nil)).Elem() +} + +func (o GetCloudProjectDatabaseOpensearchUserAclOutput) ToGetCloudProjectDatabaseOpensearchUserAclOutput() GetCloudProjectDatabaseOpensearchUserAclOutput { + return o +} + +func (o GetCloudProjectDatabaseOpensearchUserAclOutput) ToGetCloudProjectDatabaseOpensearchUserAclOutputWithContext(ctx context.Context) GetCloudProjectDatabaseOpensearchUserAclOutput { + return o +} + +func (o GetCloudProjectDatabaseOpensearchUserAclOutput) Pattern() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectDatabaseOpensearchUserAcl) string { return v.Pattern }).(pulumi.StringOutput) +} + +func (o GetCloudProjectDatabaseOpensearchUserAclOutput) Permission() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectDatabaseOpensearchUserAcl) string { return v.Permission }).(pulumi.StringOutput) +} + +type GetCloudProjectDatabaseOpensearchUserAclArrayOutput struct{ *pulumi.OutputState } + +func (GetCloudProjectDatabaseOpensearchUserAclArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetCloudProjectDatabaseOpensearchUserAcl)(nil)).Elem() +} + +func (o GetCloudProjectDatabaseOpensearchUserAclArrayOutput) ToGetCloudProjectDatabaseOpensearchUserAclArrayOutput() GetCloudProjectDatabaseOpensearchUserAclArrayOutput { + return o +} + +func (o GetCloudProjectDatabaseOpensearchUserAclArrayOutput) ToGetCloudProjectDatabaseOpensearchUserAclArrayOutputWithContext(ctx context.Context) GetCloudProjectDatabaseOpensearchUserAclArrayOutput { + return o +} + +func (o GetCloudProjectDatabaseOpensearchUserAclArrayOutput) Index(i pulumi.IntInput) GetCloudProjectDatabaseOpensearchUserAclOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetCloudProjectDatabaseOpensearchUserAcl { + return vs[0].([]GetCloudProjectDatabaseOpensearchUserAcl)[vs[1].(int)] + }).(GetCloudProjectDatabaseOpensearchUserAclOutput) +} + +type GetCloudProjectIam struct { + // Resource display name + DisplayName string `pulumi:"displayName"` + // Unique identifier of the resource + Id string `pulumi:"id"` + // Resource tags. Tags that were internally computed are prefixed with ovh: + Tags map[string]string `pulumi:"tags"` + // Unique resource name used in policies + Urn string `pulumi:"urn"` +} + +// GetCloudProjectIamInput is an input type that accepts GetCloudProjectIamArgs and GetCloudProjectIamOutput values. +// You can construct a concrete instance of `GetCloudProjectIamInput` via: +// +// GetCloudProjectIamArgs{...} +type GetCloudProjectIamInput interface { + pulumi.Input + + ToGetCloudProjectIamOutput() GetCloudProjectIamOutput + ToGetCloudProjectIamOutputWithContext(context.Context) GetCloudProjectIamOutput +} + +type GetCloudProjectIamArgs struct { + // Resource display name + DisplayName pulumi.StringInput `pulumi:"displayName"` + // Unique identifier of the resource + Id pulumi.StringInput `pulumi:"id"` + // Resource tags. Tags that were internally computed are prefixed with ovh: + Tags pulumi.StringMapInput `pulumi:"tags"` + // Unique resource name used in policies + Urn pulumi.StringInput `pulumi:"urn"` +} + +func (GetCloudProjectIamArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetCloudProjectIam)(nil)).Elem() +} + +func (i GetCloudProjectIamArgs) ToGetCloudProjectIamOutput() GetCloudProjectIamOutput { + return i.ToGetCloudProjectIamOutputWithContext(context.Background()) +} + +func (i GetCloudProjectIamArgs) ToGetCloudProjectIamOutputWithContext(ctx context.Context) GetCloudProjectIamOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetCloudProjectIamOutput) +} + +type GetCloudProjectIamOutput struct{ *pulumi.OutputState } + +func (GetCloudProjectIamOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetCloudProjectIam)(nil)).Elem() +} + +func (o GetCloudProjectIamOutput) ToGetCloudProjectIamOutput() GetCloudProjectIamOutput { + return o +} + +func (o GetCloudProjectIamOutput) ToGetCloudProjectIamOutputWithContext(ctx context.Context) GetCloudProjectIamOutput { + return o +} + +// Resource display name +func (o GetCloudProjectIamOutput) DisplayName() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectIam) string { return v.DisplayName }).(pulumi.StringOutput) +} + +// Unique identifier of the resource +func (o GetCloudProjectIamOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectIam) string { return v.Id }).(pulumi.StringOutput) +} + +// Resource tags. Tags that were internally computed are prefixed with ovh: +func (o GetCloudProjectIamOutput) Tags() pulumi.StringMapOutput { + return o.ApplyT(func(v GetCloudProjectIam) map[string]string { return v.Tags }).(pulumi.StringMapOutput) +} + +// Unique resource name used in policies +func (o GetCloudProjectIamOutput) Urn() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectIam) string { return v.Urn }).(pulumi.StringOutput) +} + +type GetCloudProjectKubeCustomization struct { + // Deprecated: Deprecated + Apiservers []GetCloudProjectKubeCustomizationApiserver `pulumi:"apiservers"` +} + +// GetCloudProjectKubeCustomizationInput is an input type that accepts GetCloudProjectKubeCustomizationArgs and GetCloudProjectKubeCustomizationOutput values. +// You can construct a concrete instance of `GetCloudProjectKubeCustomizationInput` via: +// +// GetCloudProjectKubeCustomizationArgs{...} +type GetCloudProjectKubeCustomizationInput interface { + pulumi.Input + + ToGetCloudProjectKubeCustomizationOutput() GetCloudProjectKubeCustomizationOutput + ToGetCloudProjectKubeCustomizationOutputWithContext(context.Context) GetCloudProjectKubeCustomizationOutput +} + +type GetCloudProjectKubeCustomizationArgs struct { + // Deprecated: Deprecated + Apiservers GetCloudProjectKubeCustomizationApiserverArrayInput `pulumi:"apiservers"` +} + +func (GetCloudProjectKubeCustomizationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetCloudProjectKubeCustomization)(nil)).Elem() +} + +func (i GetCloudProjectKubeCustomizationArgs) ToGetCloudProjectKubeCustomizationOutput() GetCloudProjectKubeCustomizationOutput { + return i.ToGetCloudProjectKubeCustomizationOutputWithContext(context.Background()) +} + +func (i GetCloudProjectKubeCustomizationArgs) ToGetCloudProjectKubeCustomizationOutputWithContext(ctx context.Context) GetCloudProjectKubeCustomizationOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetCloudProjectKubeCustomizationOutput) +} + +// GetCloudProjectKubeCustomizationArrayInput is an input type that accepts GetCloudProjectKubeCustomizationArray and GetCloudProjectKubeCustomizationArrayOutput values. +// You can construct a concrete instance of `GetCloudProjectKubeCustomizationArrayInput` via: +// +// GetCloudProjectKubeCustomizationArray{ GetCloudProjectKubeCustomizationArgs{...} } +type GetCloudProjectKubeCustomizationArrayInput interface { + pulumi.Input + + ToGetCloudProjectKubeCustomizationArrayOutput() GetCloudProjectKubeCustomizationArrayOutput + ToGetCloudProjectKubeCustomizationArrayOutputWithContext(context.Context) GetCloudProjectKubeCustomizationArrayOutput +} + +type GetCloudProjectKubeCustomizationArray []GetCloudProjectKubeCustomizationInput + +func (GetCloudProjectKubeCustomizationArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetCloudProjectKubeCustomization)(nil)).Elem() +} + +func (i GetCloudProjectKubeCustomizationArray) ToGetCloudProjectKubeCustomizationArrayOutput() GetCloudProjectKubeCustomizationArrayOutput { + return i.ToGetCloudProjectKubeCustomizationArrayOutputWithContext(context.Background()) +} + +func (i GetCloudProjectKubeCustomizationArray) ToGetCloudProjectKubeCustomizationArrayOutputWithContext(ctx context.Context) GetCloudProjectKubeCustomizationArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetCloudProjectKubeCustomizationArrayOutput) +} + +type GetCloudProjectKubeCustomizationOutput struct{ *pulumi.OutputState } + +func (GetCloudProjectKubeCustomizationOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetCloudProjectKubeCustomization)(nil)).Elem() +} + +func (o GetCloudProjectKubeCustomizationOutput) ToGetCloudProjectKubeCustomizationOutput() GetCloudProjectKubeCustomizationOutput { + return o +} + +func (o GetCloudProjectKubeCustomizationOutput) ToGetCloudProjectKubeCustomizationOutputWithContext(ctx context.Context) GetCloudProjectKubeCustomizationOutput { + return o +} + +// Deprecated: Deprecated +func (o GetCloudProjectKubeCustomizationOutput) Apiservers() GetCloudProjectKubeCustomizationApiserverArrayOutput { + return o.ApplyT(func(v GetCloudProjectKubeCustomization) []GetCloudProjectKubeCustomizationApiserver { + return v.Apiservers + }).(GetCloudProjectKubeCustomizationApiserverArrayOutput) +} + +type GetCloudProjectKubeCustomizationArrayOutput struct{ *pulumi.OutputState } + +func (GetCloudProjectKubeCustomizationArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetCloudProjectKubeCustomization)(nil)).Elem() +} + +func (o GetCloudProjectKubeCustomizationArrayOutput) ToGetCloudProjectKubeCustomizationArrayOutput() GetCloudProjectKubeCustomizationArrayOutput { + return o +} + +func (o GetCloudProjectKubeCustomizationArrayOutput) ToGetCloudProjectKubeCustomizationArrayOutputWithContext(ctx context.Context) GetCloudProjectKubeCustomizationArrayOutput { + return o +} + +func (o GetCloudProjectKubeCustomizationArrayOutput) Index(i pulumi.IntInput) GetCloudProjectKubeCustomizationOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetCloudProjectKubeCustomization { + return vs[0].([]GetCloudProjectKubeCustomization)[vs[1].(int)] + }).(GetCloudProjectKubeCustomizationOutput) +} + +type GetCloudProjectKubeCustomizationApiserver struct { + Admissionplugins []GetCloudProjectKubeCustomizationApiserverAdmissionplugin `pulumi:"admissionplugins"` +} + +// GetCloudProjectKubeCustomizationApiserverInput is an input type that accepts GetCloudProjectKubeCustomizationApiserverArgs and GetCloudProjectKubeCustomizationApiserverOutput values. +// You can construct a concrete instance of `GetCloudProjectKubeCustomizationApiserverInput` via: +// +// GetCloudProjectKubeCustomizationApiserverArgs{...} +type GetCloudProjectKubeCustomizationApiserverInput interface { + pulumi.Input + + ToGetCloudProjectKubeCustomizationApiserverOutput() GetCloudProjectKubeCustomizationApiserverOutput + ToGetCloudProjectKubeCustomizationApiserverOutputWithContext(context.Context) GetCloudProjectKubeCustomizationApiserverOutput +} + +type GetCloudProjectKubeCustomizationApiserverArgs struct { + Admissionplugins GetCloudProjectKubeCustomizationApiserverAdmissionpluginArrayInput `pulumi:"admissionplugins"` +} + +func (GetCloudProjectKubeCustomizationApiserverArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetCloudProjectKubeCustomizationApiserver)(nil)).Elem() +} + +func (i GetCloudProjectKubeCustomizationApiserverArgs) ToGetCloudProjectKubeCustomizationApiserverOutput() GetCloudProjectKubeCustomizationApiserverOutput { + return i.ToGetCloudProjectKubeCustomizationApiserverOutputWithContext(context.Background()) +} + +func (i GetCloudProjectKubeCustomizationApiserverArgs) ToGetCloudProjectKubeCustomizationApiserverOutputWithContext(ctx context.Context) GetCloudProjectKubeCustomizationApiserverOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetCloudProjectKubeCustomizationApiserverOutput) +} + +// GetCloudProjectKubeCustomizationApiserverArrayInput is an input type that accepts GetCloudProjectKubeCustomizationApiserverArray and GetCloudProjectKubeCustomizationApiserverArrayOutput values. +// You can construct a concrete instance of `GetCloudProjectKubeCustomizationApiserverArrayInput` via: +// +// GetCloudProjectKubeCustomizationApiserverArray{ GetCloudProjectKubeCustomizationApiserverArgs{...} } +type GetCloudProjectKubeCustomizationApiserverArrayInput interface { + pulumi.Input + + ToGetCloudProjectKubeCustomizationApiserverArrayOutput() GetCloudProjectKubeCustomizationApiserverArrayOutput + ToGetCloudProjectKubeCustomizationApiserverArrayOutputWithContext(context.Context) GetCloudProjectKubeCustomizationApiserverArrayOutput +} + +type GetCloudProjectKubeCustomizationApiserverArray []GetCloudProjectKubeCustomizationApiserverInput + +func (GetCloudProjectKubeCustomizationApiserverArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetCloudProjectKubeCustomizationApiserver)(nil)).Elem() +} + +func (i GetCloudProjectKubeCustomizationApiserverArray) ToGetCloudProjectKubeCustomizationApiserverArrayOutput() GetCloudProjectKubeCustomizationApiserverArrayOutput { + return i.ToGetCloudProjectKubeCustomizationApiserverArrayOutputWithContext(context.Background()) +} + +func (i GetCloudProjectKubeCustomizationApiserverArray) ToGetCloudProjectKubeCustomizationApiserverArrayOutputWithContext(ctx context.Context) GetCloudProjectKubeCustomizationApiserverArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetCloudProjectKubeCustomizationApiserverArrayOutput) +} + +type GetCloudProjectKubeCustomizationApiserverOutput struct{ *pulumi.OutputState } + +func (GetCloudProjectKubeCustomizationApiserverOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetCloudProjectKubeCustomizationApiserver)(nil)).Elem() +} + +func (o GetCloudProjectKubeCustomizationApiserverOutput) ToGetCloudProjectKubeCustomizationApiserverOutput() GetCloudProjectKubeCustomizationApiserverOutput { + return o +} + +func (o GetCloudProjectKubeCustomizationApiserverOutput) ToGetCloudProjectKubeCustomizationApiserverOutputWithContext(ctx context.Context) GetCloudProjectKubeCustomizationApiserverOutput { + return o +} + +func (o GetCloudProjectKubeCustomizationApiserverOutput) Admissionplugins() GetCloudProjectKubeCustomizationApiserverAdmissionpluginArrayOutput { + return o.ApplyT(func(v GetCloudProjectKubeCustomizationApiserver) []GetCloudProjectKubeCustomizationApiserverAdmissionplugin { + return v.Admissionplugins + }).(GetCloudProjectKubeCustomizationApiserverAdmissionpluginArrayOutput) +} + +type GetCloudProjectKubeCustomizationApiserverArrayOutput struct{ *pulumi.OutputState } + +func (GetCloudProjectKubeCustomizationApiserverArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetCloudProjectKubeCustomizationApiserver)(nil)).Elem() +} + +func (o GetCloudProjectKubeCustomizationApiserverArrayOutput) ToGetCloudProjectKubeCustomizationApiserverArrayOutput() GetCloudProjectKubeCustomizationApiserverArrayOutput { + return o +} + +func (o GetCloudProjectKubeCustomizationApiserverArrayOutput) ToGetCloudProjectKubeCustomizationApiserverArrayOutputWithContext(ctx context.Context) GetCloudProjectKubeCustomizationApiserverArrayOutput { + return o +} + +func (o GetCloudProjectKubeCustomizationApiserverArrayOutput) Index(i pulumi.IntInput) GetCloudProjectKubeCustomizationApiserverOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetCloudProjectKubeCustomizationApiserver { + return vs[0].([]GetCloudProjectKubeCustomizationApiserver)[vs[1].(int)] + }).(GetCloudProjectKubeCustomizationApiserverOutput) +} + +type GetCloudProjectKubeCustomizationApiserverAdmissionplugin struct { + Disableds []string `pulumi:"disableds"` + Enableds []string `pulumi:"enableds"` +} + +// GetCloudProjectKubeCustomizationApiserverAdmissionpluginInput is an input type that accepts GetCloudProjectKubeCustomizationApiserverAdmissionpluginArgs and GetCloudProjectKubeCustomizationApiserverAdmissionpluginOutput values. +// You can construct a concrete instance of `GetCloudProjectKubeCustomizationApiserverAdmissionpluginInput` via: +// +// GetCloudProjectKubeCustomizationApiserverAdmissionpluginArgs{...} +type GetCloudProjectKubeCustomizationApiserverAdmissionpluginInput interface { + pulumi.Input + + ToGetCloudProjectKubeCustomizationApiserverAdmissionpluginOutput() GetCloudProjectKubeCustomizationApiserverAdmissionpluginOutput + ToGetCloudProjectKubeCustomizationApiserverAdmissionpluginOutputWithContext(context.Context) GetCloudProjectKubeCustomizationApiserverAdmissionpluginOutput +} + +type GetCloudProjectKubeCustomizationApiserverAdmissionpluginArgs struct { + Disableds pulumi.StringArrayInput `pulumi:"disableds"` + Enableds pulumi.StringArrayInput `pulumi:"enableds"` +} + +func (GetCloudProjectKubeCustomizationApiserverAdmissionpluginArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetCloudProjectKubeCustomizationApiserverAdmissionplugin)(nil)).Elem() +} + +func (i GetCloudProjectKubeCustomizationApiserverAdmissionpluginArgs) ToGetCloudProjectKubeCustomizationApiserverAdmissionpluginOutput() GetCloudProjectKubeCustomizationApiserverAdmissionpluginOutput { + return i.ToGetCloudProjectKubeCustomizationApiserverAdmissionpluginOutputWithContext(context.Background()) +} + +func (i GetCloudProjectKubeCustomizationApiserverAdmissionpluginArgs) ToGetCloudProjectKubeCustomizationApiserverAdmissionpluginOutputWithContext(ctx context.Context) GetCloudProjectKubeCustomizationApiserverAdmissionpluginOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetCloudProjectKubeCustomizationApiserverAdmissionpluginOutput) +} + +// GetCloudProjectKubeCustomizationApiserverAdmissionpluginArrayInput is an input type that accepts GetCloudProjectKubeCustomizationApiserverAdmissionpluginArray and GetCloudProjectKubeCustomizationApiserverAdmissionpluginArrayOutput values. +// You can construct a concrete instance of `GetCloudProjectKubeCustomizationApiserverAdmissionpluginArrayInput` via: +// +// GetCloudProjectKubeCustomizationApiserverAdmissionpluginArray{ GetCloudProjectKubeCustomizationApiserverAdmissionpluginArgs{...} } +type GetCloudProjectKubeCustomizationApiserverAdmissionpluginArrayInput interface { + pulumi.Input + + ToGetCloudProjectKubeCustomizationApiserverAdmissionpluginArrayOutput() GetCloudProjectKubeCustomizationApiserverAdmissionpluginArrayOutput + ToGetCloudProjectKubeCustomizationApiserverAdmissionpluginArrayOutputWithContext(context.Context) GetCloudProjectKubeCustomizationApiserverAdmissionpluginArrayOutput +} + +type GetCloudProjectKubeCustomizationApiserverAdmissionpluginArray []GetCloudProjectKubeCustomizationApiserverAdmissionpluginInput + +func (GetCloudProjectKubeCustomizationApiserverAdmissionpluginArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetCloudProjectKubeCustomizationApiserverAdmissionplugin)(nil)).Elem() +} + +func (i GetCloudProjectKubeCustomizationApiserverAdmissionpluginArray) ToGetCloudProjectKubeCustomizationApiserverAdmissionpluginArrayOutput() GetCloudProjectKubeCustomizationApiserverAdmissionpluginArrayOutput { + return i.ToGetCloudProjectKubeCustomizationApiserverAdmissionpluginArrayOutputWithContext(context.Background()) +} + +func (i GetCloudProjectKubeCustomizationApiserverAdmissionpluginArray) ToGetCloudProjectKubeCustomizationApiserverAdmissionpluginArrayOutputWithContext(ctx context.Context) GetCloudProjectKubeCustomizationApiserverAdmissionpluginArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetCloudProjectKubeCustomizationApiserverAdmissionpluginArrayOutput) +} + +type GetCloudProjectKubeCustomizationApiserverAdmissionpluginOutput struct{ *pulumi.OutputState } + +func (GetCloudProjectKubeCustomizationApiserverAdmissionpluginOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetCloudProjectKubeCustomizationApiserverAdmissionplugin)(nil)).Elem() +} + +func (o GetCloudProjectKubeCustomizationApiserverAdmissionpluginOutput) ToGetCloudProjectKubeCustomizationApiserverAdmissionpluginOutput() GetCloudProjectKubeCustomizationApiserverAdmissionpluginOutput { + return o +} + +func (o GetCloudProjectKubeCustomizationApiserverAdmissionpluginOutput) ToGetCloudProjectKubeCustomizationApiserverAdmissionpluginOutputWithContext(ctx context.Context) GetCloudProjectKubeCustomizationApiserverAdmissionpluginOutput { + return o +} + +func (o GetCloudProjectKubeCustomizationApiserverAdmissionpluginOutput) Disableds() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetCloudProjectKubeCustomizationApiserverAdmissionplugin) []string { return v.Disableds }).(pulumi.StringArrayOutput) +} + +func (o GetCloudProjectKubeCustomizationApiserverAdmissionpluginOutput) Enableds() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetCloudProjectKubeCustomizationApiserverAdmissionplugin) []string { return v.Enableds }).(pulumi.StringArrayOutput) +} + +type GetCloudProjectKubeCustomizationApiserverAdmissionpluginArrayOutput struct{ *pulumi.OutputState } + +func (GetCloudProjectKubeCustomizationApiserverAdmissionpluginArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetCloudProjectKubeCustomizationApiserverAdmissionplugin)(nil)).Elem() +} + +func (o GetCloudProjectKubeCustomizationApiserverAdmissionpluginArrayOutput) ToGetCloudProjectKubeCustomizationApiserverAdmissionpluginArrayOutput() GetCloudProjectKubeCustomizationApiserverAdmissionpluginArrayOutput { + return o +} + +func (o GetCloudProjectKubeCustomizationApiserverAdmissionpluginArrayOutput) ToGetCloudProjectKubeCustomizationApiserverAdmissionpluginArrayOutputWithContext(ctx context.Context) GetCloudProjectKubeCustomizationApiserverAdmissionpluginArrayOutput { + return o +} + +func (o GetCloudProjectKubeCustomizationApiserverAdmissionpluginArrayOutput) Index(i pulumi.IntInput) GetCloudProjectKubeCustomizationApiserverAdmissionpluginOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetCloudProjectKubeCustomizationApiserverAdmissionplugin { + return vs[0].([]GetCloudProjectKubeCustomizationApiserverAdmissionplugin)[vs[1].(int)] + }).(GetCloudProjectKubeCustomizationApiserverAdmissionpluginOutput) +} + +type GetCloudProjectKubeCustomizationKubeProxy struct { + Iptables *GetCloudProjectKubeCustomizationKubeProxyIptables `pulumi:"iptables"` + Ipvs *GetCloudProjectKubeCustomizationKubeProxyIpvs `pulumi:"ipvs"` +} + +// GetCloudProjectKubeCustomizationKubeProxyInput is an input type that accepts GetCloudProjectKubeCustomizationKubeProxyArgs and GetCloudProjectKubeCustomizationKubeProxyOutput values. +// You can construct a concrete instance of `GetCloudProjectKubeCustomizationKubeProxyInput` via: +// +// GetCloudProjectKubeCustomizationKubeProxyArgs{...} +type GetCloudProjectKubeCustomizationKubeProxyInput interface { + pulumi.Input + + ToGetCloudProjectKubeCustomizationKubeProxyOutput() GetCloudProjectKubeCustomizationKubeProxyOutput + ToGetCloudProjectKubeCustomizationKubeProxyOutputWithContext(context.Context) GetCloudProjectKubeCustomizationKubeProxyOutput +} + +type GetCloudProjectKubeCustomizationKubeProxyArgs struct { + Iptables GetCloudProjectKubeCustomizationKubeProxyIptablesPtrInput `pulumi:"iptables"` + Ipvs GetCloudProjectKubeCustomizationKubeProxyIpvsPtrInput `pulumi:"ipvs"` +} + +func (GetCloudProjectKubeCustomizationKubeProxyArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetCloudProjectKubeCustomizationKubeProxy)(nil)).Elem() +} + +func (i GetCloudProjectKubeCustomizationKubeProxyArgs) ToGetCloudProjectKubeCustomizationKubeProxyOutput() GetCloudProjectKubeCustomizationKubeProxyOutput { + return i.ToGetCloudProjectKubeCustomizationKubeProxyOutputWithContext(context.Background()) +} + +func (i GetCloudProjectKubeCustomizationKubeProxyArgs) ToGetCloudProjectKubeCustomizationKubeProxyOutputWithContext(ctx context.Context) GetCloudProjectKubeCustomizationKubeProxyOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetCloudProjectKubeCustomizationKubeProxyOutput) +} + +func (i GetCloudProjectKubeCustomizationKubeProxyArgs) ToGetCloudProjectKubeCustomizationKubeProxyPtrOutput() GetCloudProjectKubeCustomizationKubeProxyPtrOutput { + return i.ToGetCloudProjectKubeCustomizationKubeProxyPtrOutputWithContext(context.Background()) +} + +func (i GetCloudProjectKubeCustomizationKubeProxyArgs) ToGetCloudProjectKubeCustomizationKubeProxyPtrOutputWithContext(ctx context.Context) GetCloudProjectKubeCustomizationKubeProxyPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetCloudProjectKubeCustomizationKubeProxyOutput).ToGetCloudProjectKubeCustomizationKubeProxyPtrOutputWithContext(ctx) +} + +// GetCloudProjectKubeCustomizationKubeProxyPtrInput is an input type that accepts GetCloudProjectKubeCustomizationKubeProxyArgs, GetCloudProjectKubeCustomizationKubeProxyPtr and GetCloudProjectKubeCustomizationKubeProxyPtrOutput values. +// You can construct a concrete instance of `GetCloudProjectKubeCustomizationKubeProxyPtrInput` via: +// +// GetCloudProjectKubeCustomizationKubeProxyArgs{...} +// +// or: +// +// nil +type GetCloudProjectKubeCustomizationKubeProxyPtrInput interface { + pulumi.Input + + ToGetCloudProjectKubeCustomizationKubeProxyPtrOutput() GetCloudProjectKubeCustomizationKubeProxyPtrOutput + ToGetCloudProjectKubeCustomizationKubeProxyPtrOutputWithContext(context.Context) GetCloudProjectKubeCustomizationKubeProxyPtrOutput +} + +type getCloudProjectKubeCustomizationKubeProxyPtrType GetCloudProjectKubeCustomizationKubeProxyArgs + +func GetCloudProjectKubeCustomizationKubeProxyPtr(v *GetCloudProjectKubeCustomizationKubeProxyArgs) GetCloudProjectKubeCustomizationKubeProxyPtrInput { + return (*getCloudProjectKubeCustomizationKubeProxyPtrType)(v) +} + +func (*getCloudProjectKubeCustomizationKubeProxyPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetCloudProjectKubeCustomizationKubeProxy)(nil)).Elem() +} + +func (i *getCloudProjectKubeCustomizationKubeProxyPtrType) ToGetCloudProjectKubeCustomizationKubeProxyPtrOutput() GetCloudProjectKubeCustomizationKubeProxyPtrOutput { + return i.ToGetCloudProjectKubeCustomizationKubeProxyPtrOutputWithContext(context.Background()) +} + +func (i *getCloudProjectKubeCustomizationKubeProxyPtrType) ToGetCloudProjectKubeCustomizationKubeProxyPtrOutputWithContext(ctx context.Context) GetCloudProjectKubeCustomizationKubeProxyPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetCloudProjectKubeCustomizationKubeProxyPtrOutput) +} + +type GetCloudProjectKubeCustomizationKubeProxyOutput struct{ *pulumi.OutputState } + +func (GetCloudProjectKubeCustomizationKubeProxyOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetCloudProjectKubeCustomizationKubeProxy)(nil)).Elem() +} + +func (o GetCloudProjectKubeCustomizationKubeProxyOutput) ToGetCloudProjectKubeCustomizationKubeProxyOutput() GetCloudProjectKubeCustomizationKubeProxyOutput { + return o +} + +func (o GetCloudProjectKubeCustomizationKubeProxyOutput) ToGetCloudProjectKubeCustomizationKubeProxyOutputWithContext(ctx context.Context) GetCloudProjectKubeCustomizationKubeProxyOutput { + return o +} + +func (o GetCloudProjectKubeCustomizationKubeProxyOutput) ToGetCloudProjectKubeCustomizationKubeProxyPtrOutput() GetCloudProjectKubeCustomizationKubeProxyPtrOutput { + return o.ToGetCloudProjectKubeCustomizationKubeProxyPtrOutputWithContext(context.Background()) +} + +func (o GetCloudProjectKubeCustomizationKubeProxyOutput) ToGetCloudProjectKubeCustomizationKubeProxyPtrOutputWithContext(ctx context.Context) GetCloudProjectKubeCustomizationKubeProxyPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetCloudProjectKubeCustomizationKubeProxy) *GetCloudProjectKubeCustomizationKubeProxy { + return &v + }).(GetCloudProjectKubeCustomizationKubeProxyPtrOutput) +} + +func (o GetCloudProjectKubeCustomizationKubeProxyOutput) Iptables() GetCloudProjectKubeCustomizationKubeProxyIptablesPtrOutput { + return o.ApplyT(func(v GetCloudProjectKubeCustomizationKubeProxy) *GetCloudProjectKubeCustomizationKubeProxyIptables { + return v.Iptables + }).(GetCloudProjectKubeCustomizationKubeProxyIptablesPtrOutput) +} + +func (o GetCloudProjectKubeCustomizationKubeProxyOutput) Ipvs() GetCloudProjectKubeCustomizationKubeProxyIpvsPtrOutput { + return o.ApplyT(func(v GetCloudProjectKubeCustomizationKubeProxy) *GetCloudProjectKubeCustomizationKubeProxyIpvs { + return v.Ipvs + }).(GetCloudProjectKubeCustomizationKubeProxyIpvsPtrOutput) +} + +type GetCloudProjectKubeCustomizationKubeProxyPtrOutput struct{ *pulumi.OutputState } + +func (GetCloudProjectKubeCustomizationKubeProxyPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetCloudProjectKubeCustomizationKubeProxy)(nil)).Elem() +} + +func (o GetCloudProjectKubeCustomizationKubeProxyPtrOutput) ToGetCloudProjectKubeCustomizationKubeProxyPtrOutput() GetCloudProjectKubeCustomizationKubeProxyPtrOutput { + return o +} + +func (o GetCloudProjectKubeCustomizationKubeProxyPtrOutput) ToGetCloudProjectKubeCustomizationKubeProxyPtrOutputWithContext(ctx context.Context) GetCloudProjectKubeCustomizationKubeProxyPtrOutput { + return o +} + +func (o GetCloudProjectKubeCustomizationKubeProxyPtrOutput) Elem() GetCloudProjectKubeCustomizationKubeProxyOutput { + return o.ApplyT(func(v *GetCloudProjectKubeCustomizationKubeProxy) GetCloudProjectKubeCustomizationKubeProxy { + if v != nil { + return *v + } + var ret GetCloudProjectKubeCustomizationKubeProxy + return ret + }).(GetCloudProjectKubeCustomizationKubeProxyOutput) +} + +func (o GetCloudProjectKubeCustomizationKubeProxyPtrOutput) Iptables() GetCloudProjectKubeCustomizationKubeProxyIptablesPtrOutput { + return o.ApplyT(func(v *GetCloudProjectKubeCustomizationKubeProxy) *GetCloudProjectKubeCustomizationKubeProxyIptables { + if v == nil { + return nil + } + return v.Iptables + }).(GetCloudProjectKubeCustomizationKubeProxyIptablesPtrOutput) +} + +func (o GetCloudProjectKubeCustomizationKubeProxyPtrOutput) Ipvs() GetCloudProjectKubeCustomizationKubeProxyIpvsPtrOutput { + return o.ApplyT(func(v *GetCloudProjectKubeCustomizationKubeProxy) *GetCloudProjectKubeCustomizationKubeProxyIpvs { + if v == nil { + return nil + } + return v.Ipvs + }).(GetCloudProjectKubeCustomizationKubeProxyIpvsPtrOutput) +} + +type GetCloudProjectKubeCustomizationKubeProxyIptables struct { + MinSyncPeriod *string `pulumi:"minSyncPeriod"` + SyncPeriod *string `pulumi:"syncPeriod"` +} + +// GetCloudProjectKubeCustomizationKubeProxyIptablesInput is an input type that accepts GetCloudProjectKubeCustomizationKubeProxyIptablesArgs and GetCloudProjectKubeCustomizationKubeProxyIptablesOutput values. +// You can construct a concrete instance of `GetCloudProjectKubeCustomizationKubeProxyIptablesInput` via: +// +// GetCloudProjectKubeCustomizationKubeProxyIptablesArgs{...} +type GetCloudProjectKubeCustomizationKubeProxyIptablesInput interface { + pulumi.Input + + ToGetCloudProjectKubeCustomizationKubeProxyIptablesOutput() GetCloudProjectKubeCustomizationKubeProxyIptablesOutput + ToGetCloudProjectKubeCustomizationKubeProxyIptablesOutputWithContext(context.Context) GetCloudProjectKubeCustomizationKubeProxyIptablesOutput +} + +type GetCloudProjectKubeCustomizationKubeProxyIptablesArgs struct { + MinSyncPeriod pulumi.StringPtrInput `pulumi:"minSyncPeriod"` + SyncPeriod pulumi.StringPtrInput `pulumi:"syncPeriod"` +} + +func (GetCloudProjectKubeCustomizationKubeProxyIptablesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetCloudProjectKubeCustomizationKubeProxyIptables)(nil)).Elem() +} + +func (i GetCloudProjectKubeCustomizationKubeProxyIptablesArgs) ToGetCloudProjectKubeCustomizationKubeProxyIptablesOutput() GetCloudProjectKubeCustomizationKubeProxyIptablesOutput { + return i.ToGetCloudProjectKubeCustomizationKubeProxyIptablesOutputWithContext(context.Background()) +} + +func (i GetCloudProjectKubeCustomizationKubeProxyIptablesArgs) ToGetCloudProjectKubeCustomizationKubeProxyIptablesOutputWithContext(ctx context.Context) GetCloudProjectKubeCustomizationKubeProxyIptablesOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetCloudProjectKubeCustomizationKubeProxyIptablesOutput) +} + +func (i GetCloudProjectKubeCustomizationKubeProxyIptablesArgs) ToGetCloudProjectKubeCustomizationKubeProxyIptablesPtrOutput() GetCloudProjectKubeCustomizationKubeProxyIptablesPtrOutput { + return i.ToGetCloudProjectKubeCustomizationKubeProxyIptablesPtrOutputWithContext(context.Background()) +} + +func (i GetCloudProjectKubeCustomizationKubeProxyIptablesArgs) ToGetCloudProjectKubeCustomizationKubeProxyIptablesPtrOutputWithContext(ctx context.Context) GetCloudProjectKubeCustomizationKubeProxyIptablesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetCloudProjectKubeCustomizationKubeProxyIptablesOutput).ToGetCloudProjectKubeCustomizationKubeProxyIptablesPtrOutputWithContext(ctx) +} + +// GetCloudProjectKubeCustomizationKubeProxyIptablesPtrInput is an input type that accepts GetCloudProjectKubeCustomizationKubeProxyIptablesArgs, GetCloudProjectKubeCustomizationKubeProxyIptablesPtr and GetCloudProjectKubeCustomizationKubeProxyIptablesPtrOutput values. +// You can construct a concrete instance of `GetCloudProjectKubeCustomizationKubeProxyIptablesPtrInput` via: +// +// GetCloudProjectKubeCustomizationKubeProxyIptablesArgs{...} +// +// or: +// +// nil +type GetCloudProjectKubeCustomizationKubeProxyIptablesPtrInput interface { + pulumi.Input + + ToGetCloudProjectKubeCustomizationKubeProxyIptablesPtrOutput() GetCloudProjectKubeCustomizationKubeProxyIptablesPtrOutput + ToGetCloudProjectKubeCustomizationKubeProxyIptablesPtrOutputWithContext(context.Context) GetCloudProjectKubeCustomizationKubeProxyIptablesPtrOutput +} + +type getCloudProjectKubeCustomizationKubeProxyIptablesPtrType GetCloudProjectKubeCustomizationKubeProxyIptablesArgs + +func GetCloudProjectKubeCustomizationKubeProxyIptablesPtr(v *GetCloudProjectKubeCustomizationKubeProxyIptablesArgs) GetCloudProjectKubeCustomizationKubeProxyIptablesPtrInput { + return (*getCloudProjectKubeCustomizationKubeProxyIptablesPtrType)(v) +} + +func (*getCloudProjectKubeCustomizationKubeProxyIptablesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetCloudProjectKubeCustomizationKubeProxyIptables)(nil)).Elem() +} + +func (i *getCloudProjectKubeCustomizationKubeProxyIptablesPtrType) ToGetCloudProjectKubeCustomizationKubeProxyIptablesPtrOutput() GetCloudProjectKubeCustomizationKubeProxyIptablesPtrOutput { + return i.ToGetCloudProjectKubeCustomizationKubeProxyIptablesPtrOutputWithContext(context.Background()) +} + +func (i *getCloudProjectKubeCustomizationKubeProxyIptablesPtrType) ToGetCloudProjectKubeCustomizationKubeProxyIptablesPtrOutputWithContext(ctx context.Context) GetCloudProjectKubeCustomizationKubeProxyIptablesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetCloudProjectKubeCustomizationKubeProxyIptablesPtrOutput) +} + +type GetCloudProjectKubeCustomizationKubeProxyIptablesOutput struct{ *pulumi.OutputState } + +func (GetCloudProjectKubeCustomizationKubeProxyIptablesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetCloudProjectKubeCustomizationKubeProxyIptables)(nil)).Elem() +} + +func (o GetCloudProjectKubeCustomizationKubeProxyIptablesOutput) ToGetCloudProjectKubeCustomizationKubeProxyIptablesOutput() GetCloudProjectKubeCustomizationKubeProxyIptablesOutput { + return o +} + +func (o GetCloudProjectKubeCustomizationKubeProxyIptablesOutput) ToGetCloudProjectKubeCustomizationKubeProxyIptablesOutputWithContext(ctx context.Context) GetCloudProjectKubeCustomizationKubeProxyIptablesOutput { + return o +} + +func (o GetCloudProjectKubeCustomizationKubeProxyIptablesOutput) ToGetCloudProjectKubeCustomizationKubeProxyIptablesPtrOutput() GetCloudProjectKubeCustomizationKubeProxyIptablesPtrOutput { + return o.ToGetCloudProjectKubeCustomizationKubeProxyIptablesPtrOutputWithContext(context.Background()) +} + +func (o GetCloudProjectKubeCustomizationKubeProxyIptablesOutput) ToGetCloudProjectKubeCustomizationKubeProxyIptablesPtrOutputWithContext(ctx context.Context) GetCloudProjectKubeCustomizationKubeProxyIptablesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetCloudProjectKubeCustomizationKubeProxyIptables) *GetCloudProjectKubeCustomizationKubeProxyIptables { + return &v + }).(GetCloudProjectKubeCustomizationKubeProxyIptablesPtrOutput) +} + +func (o GetCloudProjectKubeCustomizationKubeProxyIptablesOutput) MinSyncPeriod() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetCloudProjectKubeCustomizationKubeProxyIptables) *string { return v.MinSyncPeriod }).(pulumi.StringPtrOutput) +} + +func (o GetCloudProjectKubeCustomizationKubeProxyIptablesOutput) SyncPeriod() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetCloudProjectKubeCustomizationKubeProxyIptables) *string { return v.SyncPeriod }).(pulumi.StringPtrOutput) +} + +type GetCloudProjectKubeCustomizationKubeProxyIptablesPtrOutput struct{ *pulumi.OutputState } + +func (GetCloudProjectKubeCustomizationKubeProxyIptablesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetCloudProjectKubeCustomizationKubeProxyIptables)(nil)).Elem() +} + +func (o GetCloudProjectKubeCustomizationKubeProxyIptablesPtrOutput) ToGetCloudProjectKubeCustomizationKubeProxyIptablesPtrOutput() GetCloudProjectKubeCustomizationKubeProxyIptablesPtrOutput { + return o +} + +func (o GetCloudProjectKubeCustomizationKubeProxyIptablesPtrOutput) ToGetCloudProjectKubeCustomizationKubeProxyIptablesPtrOutputWithContext(ctx context.Context) GetCloudProjectKubeCustomizationKubeProxyIptablesPtrOutput { + return o +} + +func (o GetCloudProjectKubeCustomizationKubeProxyIptablesPtrOutput) Elem() GetCloudProjectKubeCustomizationKubeProxyIptablesOutput { + return o.ApplyT(func(v *GetCloudProjectKubeCustomizationKubeProxyIptables) GetCloudProjectKubeCustomizationKubeProxyIptables { + if v != nil { + return *v + } + var ret GetCloudProjectKubeCustomizationKubeProxyIptables + return ret + }).(GetCloudProjectKubeCustomizationKubeProxyIptablesOutput) +} + +func (o GetCloudProjectKubeCustomizationKubeProxyIptablesPtrOutput) MinSyncPeriod() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetCloudProjectKubeCustomizationKubeProxyIptables) *string { + if v == nil { + return nil + } + return v.MinSyncPeriod + }).(pulumi.StringPtrOutput) +} + +func (o GetCloudProjectKubeCustomizationKubeProxyIptablesPtrOutput) SyncPeriod() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetCloudProjectKubeCustomizationKubeProxyIptables) *string { + if v == nil { + return nil + } + return v.SyncPeriod + }).(pulumi.StringPtrOutput) +} + +type GetCloudProjectKubeCustomizationKubeProxyIpvs struct { + MinSyncPeriod *string `pulumi:"minSyncPeriod"` + Scheduler *string `pulumi:"scheduler"` + SyncPeriod *string `pulumi:"syncPeriod"` + TcpFinTimeout *string `pulumi:"tcpFinTimeout"` + TcpTimeout *string `pulumi:"tcpTimeout"` + UdpTimeout *string `pulumi:"udpTimeout"` +} + +// GetCloudProjectKubeCustomizationKubeProxyIpvsInput is an input type that accepts GetCloudProjectKubeCustomizationKubeProxyIpvsArgs and GetCloudProjectKubeCustomizationKubeProxyIpvsOutput values. +// You can construct a concrete instance of `GetCloudProjectKubeCustomizationKubeProxyIpvsInput` via: +// +// GetCloudProjectKubeCustomizationKubeProxyIpvsArgs{...} +type GetCloudProjectKubeCustomizationKubeProxyIpvsInput interface { + pulumi.Input + + ToGetCloudProjectKubeCustomizationKubeProxyIpvsOutput() GetCloudProjectKubeCustomizationKubeProxyIpvsOutput + ToGetCloudProjectKubeCustomizationKubeProxyIpvsOutputWithContext(context.Context) GetCloudProjectKubeCustomizationKubeProxyIpvsOutput +} + +type GetCloudProjectKubeCustomizationKubeProxyIpvsArgs struct { + MinSyncPeriod pulumi.StringPtrInput `pulumi:"minSyncPeriod"` + Scheduler pulumi.StringPtrInput `pulumi:"scheduler"` + SyncPeriod pulumi.StringPtrInput `pulumi:"syncPeriod"` + TcpFinTimeout pulumi.StringPtrInput `pulumi:"tcpFinTimeout"` + TcpTimeout pulumi.StringPtrInput `pulumi:"tcpTimeout"` + UdpTimeout pulumi.StringPtrInput `pulumi:"udpTimeout"` +} + +func (GetCloudProjectKubeCustomizationKubeProxyIpvsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetCloudProjectKubeCustomizationKubeProxyIpvs)(nil)).Elem() +} + +func (i GetCloudProjectKubeCustomizationKubeProxyIpvsArgs) ToGetCloudProjectKubeCustomizationKubeProxyIpvsOutput() GetCloudProjectKubeCustomizationKubeProxyIpvsOutput { + return i.ToGetCloudProjectKubeCustomizationKubeProxyIpvsOutputWithContext(context.Background()) +} + +func (i GetCloudProjectKubeCustomizationKubeProxyIpvsArgs) ToGetCloudProjectKubeCustomizationKubeProxyIpvsOutputWithContext(ctx context.Context) GetCloudProjectKubeCustomizationKubeProxyIpvsOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetCloudProjectKubeCustomizationKubeProxyIpvsOutput) +} + +func (i GetCloudProjectKubeCustomizationKubeProxyIpvsArgs) ToGetCloudProjectKubeCustomizationKubeProxyIpvsPtrOutput() GetCloudProjectKubeCustomizationKubeProxyIpvsPtrOutput { + return i.ToGetCloudProjectKubeCustomizationKubeProxyIpvsPtrOutputWithContext(context.Background()) +} + +func (i GetCloudProjectKubeCustomizationKubeProxyIpvsArgs) ToGetCloudProjectKubeCustomizationKubeProxyIpvsPtrOutputWithContext(ctx context.Context) GetCloudProjectKubeCustomizationKubeProxyIpvsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetCloudProjectKubeCustomizationKubeProxyIpvsOutput).ToGetCloudProjectKubeCustomizationKubeProxyIpvsPtrOutputWithContext(ctx) +} + +// GetCloudProjectKubeCustomizationKubeProxyIpvsPtrInput is an input type that accepts GetCloudProjectKubeCustomizationKubeProxyIpvsArgs, GetCloudProjectKubeCustomizationKubeProxyIpvsPtr and GetCloudProjectKubeCustomizationKubeProxyIpvsPtrOutput values. +// You can construct a concrete instance of `GetCloudProjectKubeCustomizationKubeProxyIpvsPtrInput` via: +// +// GetCloudProjectKubeCustomizationKubeProxyIpvsArgs{...} +// +// or: +// +// nil +type GetCloudProjectKubeCustomizationKubeProxyIpvsPtrInput interface { + pulumi.Input + + ToGetCloudProjectKubeCustomizationKubeProxyIpvsPtrOutput() GetCloudProjectKubeCustomizationKubeProxyIpvsPtrOutput + ToGetCloudProjectKubeCustomizationKubeProxyIpvsPtrOutputWithContext(context.Context) GetCloudProjectKubeCustomizationKubeProxyIpvsPtrOutput +} + +type getCloudProjectKubeCustomizationKubeProxyIpvsPtrType GetCloudProjectKubeCustomizationKubeProxyIpvsArgs + +func GetCloudProjectKubeCustomizationKubeProxyIpvsPtr(v *GetCloudProjectKubeCustomizationKubeProxyIpvsArgs) GetCloudProjectKubeCustomizationKubeProxyIpvsPtrInput { + return (*getCloudProjectKubeCustomizationKubeProxyIpvsPtrType)(v) +} + +func (*getCloudProjectKubeCustomizationKubeProxyIpvsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetCloudProjectKubeCustomizationKubeProxyIpvs)(nil)).Elem() +} + +func (i *getCloudProjectKubeCustomizationKubeProxyIpvsPtrType) ToGetCloudProjectKubeCustomizationKubeProxyIpvsPtrOutput() GetCloudProjectKubeCustomizationKubeProxyIpvsPtrOutput { + return i.ToGetCloudProjectKubeCustomizationKubeProxyIpvsPtrOutputWithContext(context.Background()) +} + +func (i *getCloudProjectKubeCustomizationKubeProxyIpvsPtrType) ToGetCloudProjectKubeCustomizationKubeProxyIpvsPtrOutputWithContext(ctx context.Context) GetCloudProjectKubeCustomizationKubeProxyIpvsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetCloudProjectKubeCustomizationKubeProxyIpvsPtrOutput) +} + +type GetCloudProjectKubeCustomizationKubeProxyIpvsOutput struct{ *pulumi.OutputState } + +func (GetCloudProjectKubeCustomizationKubeProxyIpvsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetCloudProjectKubeCustomizationKubeProxyIpvs)(nil)).Elem() +} + +func (o GetCloudProjectKubeCustomizationKubeProxyIpvsOutput) ToGetCloudProjectKubeCustomizationKubeProxyIpvsOutput() GetCloudProjectKubeCustomizationKubeProxyIpvsOutput { + return o +} + +func (o GetCloudProjectKubeCustomizationKubeProxyIpvsOutput) ToGetCloudProjectKubeCustomizationKubeProxyIpvsOutputWithContext(ctx context.Context) GetCloudProjectKubeCustomizationKubeProxyIpvsOutput { + return o +} + +func (o GetCloudProjectKubeCustomizationKubeProxyIpvsOutput) ToGetCloudProjectKubeCustomizationKubeProxyIpvsPtrOutput() GetCloudProjectKubeCustomizationKubeProxyIpvsPtrOutput { + return o.ToGetCloudProjectKubeCustomizationKubeProxyIpvsPtrOutputWithContext(context.Background()) +} + +func (o GetCloudProjectKubeCustomizationKubeProxyIpvsOutput) ToGetCloudProjectKubeCustomizationKubeProxyIpvsPtrOutputWithContext(ctx context.Context) GetCloudProjectKubeCustomizationKubeProxyIpvsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetCloudProjectKubeCustomizationKubeProxyIpvs) *GetCloudProjectKubeCustomizationKubeProxyIpvs { + return &v + }).(GetCloudProjectKubeCustomizationKubeProxyIpvsPtrOutput) +} + +func (o GetCloudProjectKubeCustomizationKubeProxyIpvsOutput) MinSyncPeriod() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetCloudProjectKubeCustomizationKubeProxyIpvs) *string { return v.MinSyncPeriod }).(pulumi.StringPtrOutput) +} + +func (o GetCloudProjectKubeCustomizationKubeProxyIpvsOutput) Scheduler() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetCloudProjectKubeCustomizationKubeProxyIpvs) *string { return v.Scheduler }).(pulumi.StringPtrOutput) +} + +func (o GetCloudProjectKubeCustomizationKubeProxyIpvsOutput) SyncPeriod() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetCloudProjectKubeCustomizationKubeProxyIpvs) *string { return v.SyncPeriod }).(pulumi.StringPtrOutput) +} + +func (o GetCloudProjectKubeCustomizationKubeProxyIpvsOutput) TcpFinTimeout() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetCloudProjectKubeCustomizationKubeProxyIpvs) *string { return v.TcpFinTimeout }).(pulumi.StringPtrOutput) +} + +func (o GetCloudProjectKubeCustomizationKubeProxyIpvsOutput) TcpTimeout() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetCloudProjectKubeCustomizationKubeProxyIpvs) *string { return v.TcpTimeout }).(pulumi.StringPtrOutput) +} + +func (o GetCloudProjectKubeCustomizationKubeProxyIpvsOutput) UdpTimeout() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetCloudProjectKubeCustomizationKubeProxyIpvs) *string { return v.UdpTimeout }).(pulumi.StringPtrOutput) +} + +type GetCloudProjectKubeCustomizationKubeProxyIpvsPtrOutput struct{ *pulumi.OutputState } + +func (GetCloudProjectKubeCustomizationKubeProxyIpvsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetCloudProjectKubeCustomizationKubeProxyIpvs)(nil)).Elem() +} + +func (o GetCloudProjectKubeCustomizationKubeProxyIpvsPtrOutput) ToGetCloudProjectKubeCustomizationKubeProxyIpvsPtrOutput() GetCloudProjectKubeCustomizationKubeProxyIpvsPtrOutput { + return o +} + +func (o GetCloudProjectKubeCustomizationKubeProxyIpvsPtrOutput) ToGetCloudProjectKubeCustomizationKubeProxyIpvsPtrOutputWithContext(ctx context.Context) GetCloudProjectKubeCustomizationKubeProxyIpvsPtrOutput { + return o +} + +func (o GetCloudProjectKubeCustomizationKubeProxyIpvsPtrOutput) Elem() GetCloudProjectKubeCustomizationKubeProxyIpvsOutput { + return o.ApplyT(func(v *GetCloudProjectKubeCustomizationKubeProxyIpvs) GetCloudProjectKubeCustomizationKubeProxyIpvs { + if v != nil { + return *v + } + var ret GetCloudProjectKubeCustomizationKubeProxyIpvs + return ret + }).(GetCloudProjectKubeCustomizationKubeProxyIpvsOutput) +} + +func (o GetCloudProjectKubeCustomizationKubeProxyIpvsPtrOutput) MinSyncPeriod() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetCloudProjectKubeCustomizationKubeProxyIpvs) *string { + if v == nil { + return nil + } + return v.MinSyncPeriod + }).(pulumi.StringPtrOutput) +} + +func (o GetCloudProjectKubeCustomizationKubeProxyIpvsPtrOutput) Scheduler() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetCloudProjectKubeCustomizationKubeProxyIpvs) *string { + if v == nil { + return nil + } + return v.Scheduler + }).(pulumi.StringPtrOutput) +} + +func (o GetCloudProjectKubeCustomizationKubeProxyIpvsPtrOutput) SyncPeriod() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetCloudProjectKubeCustomizationKubeProxyIpvs) *string { + if v == nil { + return nil + } + return v.SyncPeriod + }).(pulumi.StringPtrOutput) +} + +func (o GetCloudProjectKubeCustomizationKubeProxyIpvsPtrOutput) TcpFinTimeout() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetCloudProjectKubeCustomizationKubeProxyIpvs) *string { + if v == nil { + return nil + } + return v.TcpFinTimeout + }).(pulumi.StringPtrOutput) +} + +func (o GetCloudProjectKubeCustomizationKubeProxyIpvsPtrOutput) TcpTimeout() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetCloudProjectKubeCustomizationKubeProxyIpvs) *string { + if v == nil { + return nil + } + return v.TcpTimeout + }).(pulumi.StringPtrOutput) +} + +func (o GetCloudProjectKubeCustomizationKubeProxyIpvsPtrOutput) UdpTimeout() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetCloudProjectKubeCustomizationKubeProxyIpvs) *string { + if v == nil { + return nil + } + return v.UdpTimeout + }).(pulumi.StringPtrOutput) +} + +type GetCloudProjectKubeNodepoolNodesNode struct { + CreatedAt string `pulumi:"createdAt"` + DeployedAt string `pulumi:"deployedAt"` + Flavor string `pulumi:"flavor"` + Id string `pulumi:"id"` + InstanceId string `pulumi:"instanceId"` + IsUpToDate bool `pulumi:"isUpToDate"` + Name string `pulumi:"name"` + NodePoolId string `pulumi:"nodePoolId"` + ProjectId string `pulumi:"projectId"` + Status string `pulumi:"status"` + UpdatedAt string `pulumi:"updatedAt"` + Version string `pulumi:"version"` +} + +// GetCloudProjectKubeNodepoolNodesNodeInput is an input type that accepts GetCloudProjectKubeNodepoolNodesNodeArgs and GetCloudProjectKubeNodepoolNodesNodeOutput values. +// You can construct a concrete instance of `GetCloudProjectKubeNodepoolNodesNodeInput` via: +// +// GetCloudProjectKubeNodepoolNodesNodeArgs{...} +type GetCloudProjectKubeNodepoolNodesNodeInput interface { + pulumi.Input + + ToGetCloudProjectKubeNodepoolNodesNodeOutput() GetCloudProjectKubeNodepoolNodesNodeOutput + ToGetCloudProjectKubeNodepoolNodesNodeOutputWithContext(context.Context) GetCloudProjectKubeNodepoolNodesNodeOutput +} + +type GetCloudProjectKubeNodepoolNodesNodeArgs struct { + CreatedAt pulumi.StringInput `pulumi:"createdAt"` + DeployedAt pulumi.StringInput `pulumi:"deployedAt"` + Flavor pulumi.StringInput `pulumi:"flavor"` + Id pulumi.StringInput `pulumi:"id"` + InstanceId pulumi.StringInput `pulumi:"instanceId"` + IsUpToDate pulumi.BoolInput `pulumi:"isUpToDate"` + Name pulumi.StringInput `pulumi:"name"` + NodePoolId pulumi.StringInput `pulumi:"nodePoolId"` + ProjectId pulumi.StringInput `pulumi:"projectId"` + Status pulumi.StringInput `pulumi:"status"` + UpdatedAt pulumi.StringInput `pulumi:"updatedAt"` + Version pulumi.StringInput `pulumi:"version"` +} + +func (GetCloudProjectKubeNodepoolNodesNodeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetCloudProjectKubeNodepoolNodesNode)(nil)).Elem() +} + +func (i GetCloudProjectKubeNodepoolNodesNodeArgs) ToGetCloudProjectKubeNodepoolNodesNodeOutput() GetCloudProjectKubeNodepoolNodesNodeOutput { + return i.ToGetCloudProjectKubeNodepoolNodesNodeOutputWithContext(context.Background()) +} + +func (i GetCloudProjectKubeNodepoolNodesNodeArgs) ToGetCloudProjectKubeNodepoolNodesNodeOutputWithContext(ctx context.Context) GetCloudProjectKubeNodepoolNodesNodeOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetCloudProjectKubeNodepoolNodesNodeOutput) +} + +// GetCloudProjectKubeNodepoolNodesNodeArrayInput is an input type that accepts GetCloudProjectKubeNodepoolNodesNodeArray and GetCloudProjectKubeNodepoolNodesNodeArrayOutput values. +// You can construct a concrete instance of `GetCloudProjectKubeNodepoolNodesNodeArrayInput` via: +// +// GetCloudProjectKubeNodepoolNodesNodeArray{ GetCloudProjectKubeNodepoolNodesNodeArgs{...} } +type GetCloudProjectKubeNodepoolNodesNodeArrayInput interface { + pulumi.Input + + ToGetCloudProjectKubeNodepoolNodesNodeArrayOutput() GetCloudProjectKubeNodepoolNodesNodeArrayOutput + ToGetCloudProjectKubeNodepoolNodesNodeArrayOutputWithContext(context.Context) GetCloudProjectKubeNodepoolNodesNodeArrayOutput +} + +type GetCloudProjectKubeNodepoolNodesNodeArray []GetCloudProjectKubeNodepoolNodesNodeInput + +func (GetCloudProjectKubeNodepoolNodesNodeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetCloudProjectKubeNodepoolNodesNode)(nil)).Elem() +} + +func (i GetCloudProjectKubeNodepoolNodesNodeArray) ToGetCloudProjectKubeNodepoolNodesNodeArrayOutput() GetCloudProjectKubeNodepoolNodesNodeArrayOutput { + return i.ToGetCloudProjectKubeNodepoolNodesNodeArrayOutputWithContext(context.Background()) +} + +func (i GetCloudProjectKubeNodepoolNodesNodeArray) ToGetCloudProjectKubeNodepoolNodesNodeArrayOutputWithContext(ctx context.Context) GetCloudProjectKubeNodepoolNodesNodeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetCloudProjectKubeNodepoolNodesNodeArrayOutput) +} + +type GetCloudProjectKubeNodepoolNodesNodeOutput struct{ *pulumi.OutputState } + +func (GetCloudProjectKubeNodepoolNodesNodeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetCloudProjectKubeNodepoolNodesNode)(nil)).Elem() +} + +func (o GetCloudProjectKubeNodepoolNodesNodeOutput) ToGetCloudProjectKubeNodepoolNodesNodeOutput() GetCloudProjectKubeNodepoolNodesNodeOutput { + return o +} + +func (o GetCloudProjectKubeNodepoolNodesNodeOutput) ToGetCloudProjectKubeNodepoolNodesNodeOutputWithContext(ctx context.Context) GetCloudProjectKubeNodepoolNodesNodeOutput { + return o +} + +func (o GetCloudProjectKubeNodepoolNodesNodeOutput) CreatedAt() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectKubeNodepoolNodesNode) string { return v.CreatedAt }).(pulumi.StringOutput) +} + +func (o GetCloudProjectKubeNodepoolNodesNodeOutput) DeployedAt() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectKubeNodepoolNodesNode) string { return v.DeployedAt }).(pulumi.StringOutput) +} + +func (o GetCloudProjectKubeNodepoolNodesNodeOutput) Flavor() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectKubeNodepoolNodesNode) string { return v.Flavor }).(pulumi.StringOutput) +} + +func (o GetCloudProjectKubeNodepoolNodesNodeOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectKubeNodepoolNodesNode) string { return v.Id }).(pulumi.StringOutput) +} + +func (o GetCloudProjectKubeNodepoolNodesNodeOutput) InstanceId() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectKubeNodepoolNodesNode) string { return v.InstanceId }).(pulumi.StringOutput) +} + +func (o GetCloudProjectKubeNodepoolNodesNodeOutput) IsUpToDate() pulumi.BoolOutput { + return o.ApplyT(func(v GetCloudProjectKubeNodepoolNodesNode) bool { return v.IsUpToDate }).(pulumi.BoolOutput) +} + +func (o GetCloudProjectKubeNodepoolNodesNodeOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectKubeNodepoolNodesNode) string { return v.Name }).(pulumi.StringOutput) +} + +func (o GetCloudProjectKubeNodepoolNodesNodeOutput) NodePoolId() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectKubeNodepoolNodesNode) string { return v.NodePoolId }).(pulumi.StringOutput) +} + +func (o GetCloudProjectKubeNodepoolNodesNodeOutput) ProjectId() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectKubeNodepoolNodesNode) string { return v.ProjectId }).(pulumi.StringOutput) +} + +func (o GetCloudProjectKubeNodepoolNodesNodeOutput) Status() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectKubeNodepoolNodesNode) string { return v.Status }).(pulumi.StringOutput) +} + +func (o GetCloudProjectKubeNodepoolNodesNodeOutput) UpdatedAt() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectKubeNodepoolNodesNode) string { return v.UpdatedAt }).(pulumi.StringOutput) +} + +func (o GetCloudProjectKubeNodepoolNodesNodeOutput) Version() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectKubeNodepoolNodesNode) string { return v.Version }).(pulumi.StringOutput) +} + +type GetCloudProjectKubeNodepoolNodesNodeArrayOutput struct{ *pulumi.OutputState } + +func (GetCloudProjectKubeNodepoolNodesNodeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetCloudProjectKubeNodepoolNodesNode)(nil)).Elem() +} + +func (o GetCloudProjectKubeNodepoolNodesNodeArrayOutput) ToGetCloudProjectKubeNodepoolNodesNodeArrayOutput() GetCloudProjectKubeNodepoolNodesNodeArrayOutput { + return o +} + +func (o GetCloudProjectKubeNodepoolNodesNodeArrayOutput) ToGetCloudProjectKubeNodepoolNodesNodeArrayOutputWithContext(ctx context.Context) GetCloudProjectKubeNodepoolNodesNodeArrayOutput { + return o +} + +func (o GetCloudProjectKubeNodepoolNodesNodeArrayOutput) Index(i pulumi.IntInput) GetCloudProjectKubeNodepoolNodesNodeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetCloudProjectKubeNodepoolNodesNode { + return vs[0].([]GetCloudProjectKubeNodepoolNodesNode)[vs[1].(int)] + }).(GetCloudProjectKubeNodepoolNodesNodeOutput) +} + +type GetCloudProjectKubeNodepoolTemplate struct { + // metadata + Metadata *GetCloudProjectKubeNodepoolTemplateMetadata `pulumi:"metadata"` + // spec + Spec *GetCloudProjectKubeNodepoolTemplateSpec `pulumi:"spec"` +} + +// GetCloudProjectKubeNodepoolTemplateInput is an input type that accepts GetCloudProjectKubeNodepoolTemplateArgs and GetCloudProjectKubeNodepoolTemplateOutput values. +// You can construct a concrete instance of `GetCloudProjectKubeNodepoolTemplateInput` via: +// +// GetCloudProjectKubeNodepoolTemplateArgs{...} +type GetCloudProjectKubeNodepoolTemplateInput interface { + pulumi.Input + + ToGetCloudProjectKubeNodepoolTemplateOutput() GetCloudProjectKubeNodepoolTemplateOutput + ToGetCloudProjectKubeNodepoolTemplateOutputWithContext(context.Context) GetCloudProjectKubeNodepoolTemplateOutput +} + +type GetCloudProjectKubeNodepoolTemplateArgs struct { + // metadata + Metadata GetCloudProjectKubeNodepoolTemplateMetadataPtrInput `pulumi:"metadata"` + // spec + Spec GetCloudProjectKubeNodepoolTemplateSpecPtrInput `pulumi:"spec"` +} + +func (GetCloudProjectKubeNodepoolTemplateArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetCloudProjectKubeNodepoolTemplate)(nil)).Elem() +} + +func (i GetCloudProjectKubeNodepoolTemplateArgs) ToGetCloudProjectKubeNodepoolTemplateOutput() GetCloudProjectKubeNodepoolTemplateOutput { + return i.ToGetCloudProjectKubeNodepoolTemplateOutputWithContext(context.Background()) +} + +func (i GetCloudProjectKubeNodepoolTemplateArgs) ToGetCloudProjectKubeNodepoolTemplateOutputWithContext(ctx context.Context) GetCloudProjectKubeNodepoolTemplateOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetCloudProjectKubeNodepoolTemplateOutput) +} + +func (i GetCloudProjectKubeNodepoolTemplateArgs) ToGetCloudProjectKubeNodepoolTemplatePtrOutput() GetCloudProjectKubeNodepoolTemplatePtrOutput { + return i.ToGetCloudProjectKubeNodepoolTemplatePtrOutputWithContext(context.Background()) +} + +func (i GetCloudProjectKubeNodepoolTemplateArgs) ToGetCloudProjectKubeNodepoolTemplatePtrOutputWithContext(ctx context.Context) GetCloudProjectKubeNodepoolTemplatePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetCloudProjectKubeNodepoolTemplateOutput).ToGetCloudProjectKubeNodepoolTemplatePtrOutputWithContext(ctx) +} + +// GetCloudProjectKubeNodepoolTemplatePtrInput is an input type that accepts GetCloudProjectKubeNodepoolTemplateArgs, GetCloudProjectKubeNodepoolTemplatePtr and GetCloudProjectKubeNodepoolTemplatePtrOutput values. +// You can construct a concrete instance of `GetCloudProjectKubeNodepoolTemplatePtrInput` via: +// +// GetCloudProjectKubeNodepoolTemplateArgs{...} +// +// or: +// +// nil +type GetCloudProjectKubeNodepoolTemplatePtrInput interface { + pulumi.Input + + ToGetCloudProjectKubeNodepoolTemplatePtrOutput() GetCloudProjectKubeNodepoolTemplatePtrOutput + ToGetCloudProjectKubeNodepoolTemplatePtrOutputWithContext(context.Context) GetCloudProjectKubeNodepoolTemplatePtrOutput +} + +type getCloudProjectKubeNodepoolTemplatePtrType GetCloudProjectKubeNodepoolTemplateArgs + +func GetCloudProjectKubeNodepoolTemplatePtr(v *GetCloudProjectKubeNodepoolTemplateArgs) GetCloudProjectKubeNodepoolTemplatePtrInput { + return (*getCloudProjectKubeNodepoolTemplatePtrType)(v) +} + +func (*getCloudProjectKubeNodepoolTemplatePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetCloudProjectKubeNodepoolTemplate)(nil)).Elem() +} + +func (i *getCloudProjectKubeNodepoolTemplatePtrType) ToGetCloudProjectKubeNodepoolTemplatePtrOutput() GetCloudProjectKubeNodepoolTemplatePtrOutput { + return i.ToGetCloudProjectKubeNodepoolTemplatePtrOutputWithContext(context.Background()) +} + +func (i *getCloudProjectKubeNodepoolTemplatePtrType) ToGetCloudProjectKubeNodepoolTemplatePtrOutputWithContext(ctx context.Context) GetCloudProjectKubeNodepoolTemplatePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetCloudProjectKubeNodepoolTemplatePtrOutput) +} + +type GetCloudProjectKubeNodepoolTemplateOutput struct{ *pulumi.OutputState } + +func (GetCloudProjectKubeNodepoolTemplateOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetCloudProjectKubeNodepoolTemplate)(nil)).Elem() +} + +func (o GetCloudProjectKubeNodepoolTemplateOutput) ToGetCloudProjectKubeNodepoolTemplateOutput() GetCloudProjectKubeNodepoolTemplateOutput { + return o +} + +func (o GetCloudProjectKubeNodepoolTemplateOutput) ToGetCloudProjectKubeNodepoolTemplateOutputWithContext(ctx context.Context) GetCloudProjectKubeNodepoolTemplateOutput { + return o +} + +func (o GetCloudProjectKubeNodepoolTemplateOutput) ToGetCloudProjectKubeNodepoolTemplatePtrOutput() GetCloudProjectKubeNodepoolTemplatePtrOutput { + return o.ToGetCloudProjectKubeNodepoolTemplatePtrOutputWithContext(context.Background()) +} + +func (o GetCloudProjectKubeNodepoolTemplateOutput) ToGetCloudProjectKubeNodepoolTemplatePtrOutputWithContext(ctx context.Context) GetCloudProjectKubeNodepoolTemplatePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetCloudProjectKubeNodepoolTemplate) *GetCloudProjectKubeNodepoolTemplate { + return &v + }).(GetCloudProjectKubeNodepoolTemplatePtrOutput) +} + +// metadata +func (o GetCloudProjectKubeNodepoolTemplateOutput) Metadata() GetCloudProjectKubeNodepoolTemplateMetadataPtrOutput { + return o.ApplyT(func(v GetCloudProjectKubeNodepoolTemplate) *GetCloudProjectKubeNodepoolTemplateMetadata { + return v.Metadata + }).(GetCloudProjectKubeNodepoolTemplateMetadataPtrOutput) +} + +// spec +func (o GetCloudProjectKubeNodepoolTemplateOutput) Spec() GetCloudProjectKubeNodepoolTemplateSpecPtrOutput { + return o.ApplyT(func(v GetCloudProjectKubeNodepoolTemplate) *GetCloudProjectKubeNodepoolTemplateSpec { return v.Spec }).(GetCloudProjectKubeNodepoolTemplateSpecPtrOutput) +} + +type GetCloudProjectKubeNodepoolTemplatePtrOutput struct{ *pulumi.OutputState } + +func (GetCloudProjectKubeNodepoolTemplatePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetCloudProjectKubeNodepoolTemplate)(nil)).Elem() +} + +func (o GetCloudProjectKubeNodepoolTemplatePtrOutput) ToGetCloudProjectKubeNodepoolTemplatePtrOutput() GetCloudProjectKubeNodepoolTemplatePtrOutput { + return o +} + +func (o GetCloudProjectKubeNodepoolTemplatePtrOutput) ToGetCloudProjectKubeNodepoolTemplatePtrOutputWithContext(ctx context.Context) GetCloudProjectKubeNodepoolTemplatePtrOutput { + return o +} + +func (o GetCloudProjectKubeNodepoolTemplatePtrOutput) Elem() GetCloudProjectKubeNodepoolTemplateOutput { + return o.ApplyT(func(v *GetCloudProjectKubeNodepoolTemplate) GetCloudProjectKubeNodepoolTemplate { + if v != nil { + return *v + } + var ret GetCloudProjectKubeNodepoolTemplate + return ret + }).(GetCloudProjectKubeNodepoolTemplateOutput) +} + +// metadata +func (o GetCloudProjectKubeNodepoolTemplatePtrOutput) Metadata() GetCloudProjectKubeNodepoolTemplateMetadataPtrOutput { + return o.ApplyT(func(v *GetCloudProjectKubeNodepoolTemplate) *GetCloudProjectKubeNodepoolTemplateMetadata { + if v == nil { + return nil + } + return v.Metadata + }).(GetCloudProjectKubeNodepoolTemplateMetadataPtrOutput) +} + +// spec +func (o GetCloudProjectKubeNodepoolTemplatePtrOutput) Spec() GetCloudProjectKubeNodepoolTemplateSpecPtrOutput { + return o.ApplyT(func(v *GetCloudProjectKubeNodepoolTemplate) *GetCloudProjectKubeNodepoolTemplateSpec { + if v == nil { + return nil + } + return v.Spec + }).(GetCloudProjectKubeNodepoolTemplateSpecPtrOutput) +} + +type GetCloudProjectKubeNodepoolTemplateMetadata struct { + // annotations + Annotations map[string]string `pulumi:"annotations"` + // finalizers + Finalizers []string `pulumi:"finalizers"` + // labels + Labels map[string]string `pulumi:"labels"` +} + +// GetCloudProjectKubeNodepoolTemplateMetadataInput is an input type that accepts GetCloudProjectKubeNodepoolTemplateMetadataArgs and GetCloudProjectKubeNodepoolTemplateMetadataOutput values. +// You can construct a concrete instance of `GetCloudProjectKubeNodepoolTemplateMetadataInput` via: +// +// GetCloudProjectKubeNodepoolTemplateMetadataArgs{...} +type GetCloudProjectKubeNodepoolTemplateMetadataInput interface { + pulumi.Input + + ToGetCloudProjectKubeNodepoolTemplateMetadataOutput() GetCloudProjectKubeNodepoolTemplateMetadataOutput + ToGetCloudProjectKubeNodepoolTemplateMetadataOutputWithContext(context.Context) GetCloudProjectKubeNodepoolTemplateMetadataOutput +} + +type GetCloudProjectKubeNodepoolTemplateMetadataArgs struct { + // annotations + Annotations pulumi.StringMapInput `pulumi:"annotations"` + // finalizers + Finalizers pulumi.StringArrayInput `pulumi:"finalizers"` + // labels + Labels pulumi.StringMapInput `pulumi:"labels"` +} + +func (GetCloudProjectKubeNodepoolTemplateMetadataArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetCloudProjectKubeNodepoolTemplateMetadata)(nil)).Elem() +} + +func (i GetCloudProjectKubeNodepoolTemplateMetadataArgs) ToGetCloudProjectKubeNodepoolTemplateMetadataOutput() GetCloudProjectKubeNodepoolTemplateMetadataOutput { + return i.ToGetCloudProjectKubeNodepoolTemplateMetadataOutputWithContext(context.Background()) +} + +func (i GetCloudProjectKubeNodepoolTemplateMetadataArgs) ToGetCloudProjectKubeNodepoolTemplateMetadataOutputWithContext(ctx context.Context) GetCloudProjectKubeNodepoolTemplateMetadataOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetCloudProjectKubeNodepoolTemplateMetadataOutput) +} + +func (i GetCloudProjectKubeNodepoolTemplateMetadataArgs) ToGetCloudProjectKubeNodepoolTemplateMetadataPtrOutput() GetCloudProjectKubeNodepoolTemplateMetadataPtrOutput { + return i.ToGetCloudProjectKubeNodepoolTemplateMetadataPtrOutputWithContext(context.Background()) +} + +func (i GetCloudProjectKubeNodepoolTemplateMetadataArgs) ToGetCloudProjectKubeNodepoolTemplateMetadataPtrOutputWithContext(ctx context.Context) GetCloudProjectKubeNodepoolTemplateMetadataPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetCloudProjectKubeNodepoolTemplateMetadataOutput).ToGetCloudProjectKubeNodepoolTemplateMetadataPtrOutputWithContext(ctx) +} + +// GetCloudProjectKubeNodepoolTemplateMetadataPtrInput is an input type that accepts GetCloudProjectKubeNodepoolTemplateMetadataArgs, GetCloudProjectKubeNodepoolTemplateMetadataPtr and GetCloudProjectKubeNodepoolTemplateMetadataPtrOutput values. +// You can construct a concrete instance of `GetCloudProjectKubeNodepoolTemplateMetadataPtrInput` via: +// +// GetCloudProjectKubeNodepoolTemplateMetadataArgs{...} +// +// or: +// +// nil +type GetCloudProjectKubeNodepoolTemplateMetadataPtrInput interface { + pulumi.Input + + ToGetCloudProjectKubeNodepoolTemplateMetadataPtrOutput() GetCloudProjectKubeNodepoolTemplateMetadataPtrOutput + ToGetCloudProjectKubeNodepoolTemplateMetadataPtrOutputWithContext(context.Context) GetCloudProjectKubeNodepoolTemplateMetadataPtrOutput +} + +type getCloudProjectKubeNodepoolTemplateMetadataPtrType GetCloudProjectKubeNodepoolTemplateMetadataArgs + +func GetCloudProjectKubeNodepoolTemplateMetadataPtr(v *GetCloudProjectKubeNodepoolTemplateMetadataArgs) GetCloudProjectKubeNodepoolTemplateMetadataPtrInput { + return (*getCloudProjectKubeNodepoolTemplateMetadataPtrType)(v) +} + +func (*getCloudProjectKubeNodepoolTemplateMetadataPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetCloudProjectKubeNodepoolTemplateMetadata)(nil)).Elem() +} + +func (i *getCloudProjectKubeNodepoolTemplateMetadataPtrType) ToGetCloudProjectKubeNodepoolTemplateMetadataPtrOutput() GetCloudProjectKubeNodepoolTemplateMetadataPtrOutput { + return i.ToGetCloudProjectKubeNodepoolTemplateMetadataPtrOutputWithContext(context.Background()) +} + +func (i *getCloudProjectKubeNodepoolTemplateMetadataPtrType) ToGetCloudProjectKubeNodepoolTemplateMetadataPtrOutputWithContext(ctx context.Context) GetCloudProjectKubeNodepoolTemplateMetadataPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetCloudProjectKubeNodepoolTemplateMetadataPtrOutput) +} + +type GetCloudProjectKubeNodepoolTemplateMetadataOutput struct{ *pulumi.OutputState } + +func (GetCloudProjectKubeNodepoolTemplateMetadataOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetCloudProjectKubeNodepoolTemplateMetadata)(nil)).Elem() +} + +func (o GetCloudProjectKubeNodepoolTemplateMetadataOutput) ToGetCloudProjectKubeNodepoolTemplateMetadataOutput() GetCloudProjectKubeNodepoolTemplateMetadataOutput { + return o +} + +func (o GetCloudProjectKubeNodepoolTemplateMetadataOutput) ToGetCloudProjectKubeNodepoolTemplateMetadataOutputWithContext(ctx context.Context) GetCloudProjectKubeNodepoolTemplateMetadataOutput { + return o +} + +func (o GetCloudProjectKubeNodepoolTemplateMetadataOutput) ToGetCloudProjectKubeNodepoolTemplateMetadataPtrOutput() GetCloudProjectKubeNodepoolTemplateMetadataPtrOutput { + return o.ToGetCloudProjectKubeNodepoolTemplateMetadataPtrOutputWithContext(context.Background()) +} + +func (o GetCloudProjectKubeNodepoolTemplateMetadataOutput) ToGetCloudProjectKubeNodepoolTemplateMetadataPtrOutputWithContext(ctx context.Context) GetCloudProjectKubeNodepoolTemplateMetadataPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetCloudProjectKubeNodepoolTemplateMetadata) *GetCloudProjectKubeNodepoolTemplateMetadata { + return &v + }).(GetCloudProjectKubeNodepoolTemplateMetadataPtrOutput) +} + +// annotations +func (o GetCloudProjectKubeNodepoolTemplateMetadataOutput) Annotations() pulumi.StringMapOutput { + return o.ApplyT(func(v GetCloudProjectKubeNodepoolTemplateMetadata) map[string]string { return v.Annotations }).(pulumi.StringMapOutput) +} + +// finalizers +func (o GetCloudProjectKubeNodepoolTemplateMetadataOutput) Finalizers() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetCloudProjectKubeNodepoolTemplateMetadata) []string { return v.Finalizers }).(pulumi.StringArrayOutput) +} + +// labels +func (o GetCloudProjectKubeNodepoolTemplateMetadataOutput) Labels() pulumi.StringMapOutput { + return o.ApplyT(func(v GetCloudProjectKubeNodepoolTemplateMetadata) map[string]string { return v.Labels }).(pulumi.StringMapOutput) +} + +type GetCloudProjectKubeNodepoolTemplateMetadataPtrOutput struct{ *pulumi.OutputState } + +func (GetCloudProjectKubeNodepoolTemplateMetadataPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetCloudProjectKubeNodepoolTemplateMetadata)(nil)).Elem() +} + +func (o GetCloudProjectKubeNodepoolTemplateMetadataPtrOutput) ToGetCloudProjectKubeNodepoolTemplateMetadataPtrOutput() GetCloudProjectKubeNodepoolTemplateMetadataPtrOutput { + return o +} + +func (o GetCloudProjectKubeNodepoolTemplateMetadataPtrOutput) ToGetCloudProjectKubeNodepoolTemplateMetadataPtrOutputWithContext(ctx context.Context) GetCloudProjectKubeNodepoolTemplateMetadataPtrOutput { + return o +} + +func (o GetCloudProjectKubeNodepoolTemplateMetadataPtrOutput) Elem() GetCloudProjectKubeNodepoolTemplateMetadataOutput { + return o.ApplyT(func(v *GetCloudProjectKubeNodepoolTemplateMetadata) GetCloudProjectKubeNodepoolTemplateMetadata { + if v != nil { + return *v + } + var ret GetCloudProjectKubeNodepoolTemplateMetadata + return ret + }).(GetCloudProjectKubeNodepoolTemplateMetadataOutput) +} + +// annotations +func (o GetCloudProjectKubeNodepoolTemplateMetadataPtrOutput) Annotations() pulumi.StringMapOutput { + return o.ApplyT(func(v *GetCloudProjectKubeNodepoolTemplateMetadata) map[string]string { + if v == nil { + return nil + } + return v.Annotations + }).(pulumi.StringMapOutput) +} + +// finalizers +func (o GetCloudProjectKubeNodepoolTemplateMetadataPtrOutput) Finalizers() pulumi.StringArrayOutput { + return o.ApplyT(func(v *GetCloudProjectKubeNodepoolTemplateMetadata) []string { + if v == nil { + return nil + } + return v.Finalizers + }).(pulumi.StringArrayOutput) +} + +// labels +func (o GetCloudProjectKubeNodepoolTemplateMetadataPtrOutput) Labels() pulumi.StringMapOutput { + return o.ApplyT(func(v *GetCloudProjectKubeNodepoolTemplateMetadata) map[string]string { + if v == nil { + return nil + } + return v.Labels + }).(pulumi.StringMapOutput) +} + +type GetCloudProjectKubeNodepoolTemplateSpec struct { + // taints + Taints []map[string]string `pulumi:"taints"` + // unschedulable + Unschedulable *bool `pulumi:"unschedulable"` +} + +// GetCloudProjectKubeNodepoolTemplateSpecInput is an input type that accepts GetCloudProjectKubeNodepoolTemplateSpecArgs and GetCloudProjectKubeNodepoolTemplateSpecOutput values. +// You can construct a concrete instance of `GetCloudProjectKubeNodepoolTemplateSpecInput` via: +// +// GetCloudProjectKubeNodepoolTemplateSpecArgs{...} +type GetCloudProjectKubeNodepoolTemplateSpecInput interface { + pulumi.Input + + ToGetCloudProjectKubeNodepoolTemplateSpecOutput() GetCloudProjectKubeNodepoolTemplateSpecOutput + ToGetCloudProjectKubeNodepoolTemplateSpecOutputWithContext(context.Context) GetCloudProjectKubeNodepoolTemplateSpecOutput +} + +type GetCloudProjectKubeNodepoolTemplateSpecArgs struct { + // taints + Taints pulumi.StringMapArrayInput `pulumi:"taints"` + // unschedulable + Unschedulable pulumi.BoolPtrInput `pulumi:"unschedulable"` +} + +func (GetCloudProjectKubeNodepoolTemplateSpecArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetCloudProjectKubeNodepoolTemplateSpec)(nil)).Elem() +} + +func (i GetCloudProjectKubeNodepoolTemplateSpecArgs) ToGetCloudProjectKubeNodepoolTemplateSpecOutput() GetCloudProjectKubeNodepoolTemplateSpecOutput { + return i.ToGetCloudProjectKubeNodepoolTemplateSpecOutputWithContext(context.Background()) +} + +func (i GetCloudProjectKubeNodepoolTemplateSpecArgs) ToGetCloudProjectKubeNodepoolTemplateSpecOutputWithContext(ctx context.Context) GetCloudProjectKubeNodepoolTemplateSpecOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetCloudProjectKubeNodepoolTemplateSpecOutput) +} + +func (i GetCloudProjectKubeNodepoolTemplateSpecArgs) ToGetCloudProjectKubeNodepoolTemplateSpecPtrOutput() GetCloudProjectKubeNodepoolTemplateSpecPtrOutput { + return i.ToGetCloudProjectKubeNodepoolTemplateSpecPtrOutputWithContext(context.Background()) +} + +func (i GetCloudProjectKubeNodepoolTemplateSpecArgs) ToGetCloudProjectKubeNodepoolTemplateSpecPtrOutputWithContext(ctx context.Context) GetCloudProjectKubeNodepoolTemplateSpecPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetCloudProjectKubeNodepoolTemplateSpecOutput).ToGetCloudProjectKubeNodepoolTemplateSpecPtrOutputWithContext(ctx) +} + +// GetCloudProjectKubeNodepoolTemplateSpecPtrInput is an input type that accepts GetCloudProjectKubeNodepoolTemplateSpecArgs, GetCloudProjectKubeNodepoolTemplateSpecPtr and GetCloudProjectKubeNodepoolTemplateSpecPtrOutput values. +// You can construct a concrete instance of `GetCloudProjectKubeNodepoolTemplateSpecPtrInput` via: +// +// GetCloudProjectKubeNodepoolTemplateSpecArgs{...} +// +// or: +// +// nil +type GetCloudProjectKubeNodepoolTemplateSpecPtrInput interface { + pulumi.Input + + ToGetCloudProjectKubeNodepoolTemplateSpecPtrOutput() GetCloudProjectKubeNodepoolTemplateSpecPtrOutput + ToGetCloudProjectKubeNodepoolTemplateSpecPtrOutputWithContext(context.Context) GetCloudProjectKubeNodepoolTemplateSpecPtrOutput +} + +type getCloudProjectKubeNodepoolTemplateSpecPtrType GetCloudProjectKubeNodepoolTemplateSpecArgs + +func GetCloudProjectKubeNodepoolTemplateSpecPtr(v *GetCloudProjectKubeNodepoolTemplateSpecArgs) GetCloudProjectKubeNodepoolTemplateSpecPtrInput { + return (*getCloudProjectKubeNodepoolTemplateSpecPtrType)(v) +} + +func (*getCloudProjectKubeNodepoolTemplateSpecPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetCloudProjectKubeNodepoolTemplateSpec)(nil)).Elem() +} + +func (i *getCloudProjectKubeNodepoolTemplateSpecPtrType) ToGetCloudProjectKubeNodepoolTemplateSpecPtrOutput() GetCloudProjectKubeNodepoolTemplateSpecPtrOutput { + return i.ToGetCloudProjectKubeNodepoolTemplateSpecPtrOutputWithContext(context.Background()) +} + +func (i *getCloudProjectKubeNodepoolTemplateSpecPtrType) ToGetCloudProjectKubeNodepoolTemplateSpecPtrOutputWithContext(ctx context.Context) GetCloudProjectKubeNodepoolTemplateSpecPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetCloudProjectKubeNodepoolTemplateSpecPtrOutput) +} + +type GetCloudProjectKubeNodepoolTemplateSpecOutput struct{ *pulumi.OutputState } + +func (GetCloudProjectKubeNodepoolTemplateSpecOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetCloudProjectKubeNodepoolTemplateSpec)(nil)).Elem() +} + +func (o GetCloudProjectKubeNodepoolTemplateSpecOutput) ToGetCloudProjectKubeNodepoolTemplateSpecOutput() GetCloudProjectKubeNodepoolTemplateSpecOutput { + return o +} + +func (o GetCloudProjectKubeNodepoolTemplateSpecOutput) ToGetCloudProjectKubeNodepoolTemplateSpecOutputWithContext(ctx context.Context) GetCloudProjectKubeNodepoolTemplateSpecOutput { + return o +} + +func (o GetCloudProjectKubeNodepoolTemplateSpecOutput) ToGetCloudProjectKubeNodepoolTemplateSpecPtrOutput() GetCloudProjectKubeNodepoolTemplateSpecPtrOutput { + return o.ToGetCloudProjectKubeNodepoolTemplateSpecPtrOutputWithContext(context.Background()) +} + +func (o GetCloudProjectKubeNodepoolTemplateSpecOutput) ToGetCloudProjectKubeNodepoolTemplateSpecPtrOutputWithContext(ctx context.Context) GetCloudProjectKubeNodepoolTemplateSpecPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetCloudProjectKubeNodepoolTemplateSpec) *GetCloudProjectKubeNodepoolTemplateSpec { + return &v + }).(GetCloudProjectKubeNodepoolTemplateSpecPtrOutput) +} + +// taints +func (o GetCloudProjectKubeNodepoolTemplateSpecOutput) Taints() pulumi.StringMapArrayOutput { + return o.ApplyT(func(v GetCloudProjectKubeNodepoolTemplateSpec) []map[string]string { return v.Taints }).(pulumi.StringMapArrayOutput) +} + +// unschedulable +func (o GetCloudProjectKubeNodepoolTemplateSpecOutput) Unschedulable() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetCloudProjectKubeNodepoolTemplateSpec) *bool { return v.Unschedulable }).(pulumi.BoolPtrOutput) +} + +type GetCloudProjectKubeNodepoolTemplateSpecPtrOutput struct{ *pulumi.OutputState } + +func (GetCloudProjectKubeNodepoolTemplateSpecPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetCloudProjectKubeNodepoolTemplateSpec)(nil)).Elem() +} + +func (o GetCloudProjectKubeNodepoolTemplateSpecPtrOutput) ToGetCloudProjectKubeNodepoolTemplateSpecPtrOutput() GetCloudProjectKubeNodepoolTemplateSpecPtrOutput { + return o +} + +func (o GetCloudProjectKubeNodepoolTemplateSpecPtrOutput) ToGetCloudProjectKubeNodepoolTemplateSpecPtrOutputWithContext(ctx context.Context) GetCloudProjectKubeNodepoolTemplateSpecPtrOutput { + return o +} + +func (o GetCloudProjectKubeNodepoolTemplateSpecPtrOutput) Elem() GetCloudProjectKubeNodepoolTemplateSpecOutput { + return o.ApplyT(func(v *GetCloudProjectKubeNodepoolTemplateSpec) GetCloudProjectKubeNodepoolTemplateSpec { + if v != nil { + return *v + } + var ret GetCloudProjectKubeNodepoolTemplateSpec + return ret + }).(GetCloudProjectKubeNodepoolTemplateSpecOutput) +} + +// taints +func (o GetCloudProjectKubeNodepoolTemplateSpecPtrOutput) Taints() pulumi.StringMapArrayOutput { + return o.ApplyT(func(v *GetCloudProjectKubeNodepoolTemplateSpec) []map[string]string { + if v == nil { + return nil + } + return v.Taints + }).(pulumi.StringMapArrayOutput) +} + +// unschedulable +func (o GetCloudProjectKubeNodepoolTemplateSpecPtrOutput) Unschedulable() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetCloudProjectKubeNodepoolTemplateSpec) *bool { + if v == nil { + return nil + } + return v.Unschedulable + }).(pulumi.BoolPtrOutput) +} + +type GetCloudProjectKubeNodesNode struct { + CreatedAt string `pulumi:"createdAt"` + DeployedAt string `pulumi:"deployedAt"` + Flavor string `pulumi:"flavor"` + Id string `pulumi:"id"` + InstanceId string `pulumi:"instanceId"` + IsUpToDate bool `pulumi:"isUpToDate"` + Name string `pulumi:"name"` + NodePoolId string `pulumi:"nodePoolId"` + ProjectId string `pulumi:"projectId"` + Status string `pulumi:"status"` + UpdatedAt string `pulumi:"updatedAt"` + Version string `pulumi:"version"` +} + +// GetCloudProjectKubeNodesNodeInput is an input type that accepts GetCloudProjectKubeNodesNodeArgs and GetCloudProjectKubeNodesNodeOutput values. +// You can construct a concrete instance of `GetCloudProjectKubeNodesNodeInput` via: +// +// GetCloudProjectKubeNodesNodeArgs{...} +type GetCloudProjectKubeNodesNodeInput interface { + pulumi.Input + + ToGetCloudProjectKubeNodesNodeOutput() GetCloudProjectKubeNodesNodeOutput + ToGetCloudProjectKubeNodesNodeOutputWithContext(context.Context) GetCloudProjectKubeNodesNodeOutput +} + +type GetCloudProjectKubeNodesNodeArgs struct { + CreatedAt pulumi.StringInput `pulumi:"createdAt"` + DeployedAt pulumi.StringInput `pulumi:"deployedAt"` + Flavor pulumi.StringInput `pulumi:"flavor"` + Id pulumi.StringInput `pulumi:"id"` + InstanceId pulumi.StringInput `pulumi:"instanceId"` + IsUpToDate pulumi.BoolInput `pulumi:"isUpToDate"` + Name pulumi.StringInput `pulumi:"name"` + NodePoolId pulumi.StringInput `pulumi:"nodePoolId"` + ProjectId pulumi.StringInput `pulumi:"projectId"` + Status pulumi.StringInput `pulumi:"status"` + UpdatedAt pulumi.StringInput `pulumi:"updatedAt"` + Version pulumi.StringInput `pulumi:"version"` +} + +func (GetCloudProjectKubeNodesNodeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetCloudProjectKubeNodesNode)(nil)).Elem() +} + +func (i GetCloudProjectKubeNodesNodeArgs) ToGetCloudProjectKubeNodesNodeOutput() GetCloudProjectKubeNodesNodeOutput { + return i.ToGetCloudProjectKubeNodesNodeOutputWithContext(context.Background()) +} + +func (i GetCloudProjectKubeNodesNodeArgs) ToGetCloudProjectKubeNodesNodeOutputWithContext(ctx context.Context) GetCloudProjectKubeNodesNodeOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetCloudProjectKubeNodesNodeOutput) +} + +// GetCloudProjectKubeNodesNodeArrayInput is an input type that accepts GetCloudProjectKubeNodesNodeArray and GetCloudProjectKubeNodesNodeArrayOutput values. +// You can construct a concrete instance of `GetCloudProjectKubeNodesNodeArrayInput` via: +// +// GetCloudProjectKubeNodesNodeArray{ GetCloudProjectKubeNodesNodeArgs{...} } +type GetCloudProjectKubeNodesNodeArrayInput interface { + pulumi.Input + + ToGetCloudProjectKubeNodesNodeArrayOutput() GetCloudProjectKubeNodesNodeArrayOutput + ToGetCloudProjectKubeNodesNodeArrayOutputWithContext(context.Context) GetCloudProjectKubeNodesNodeArrayOutput +} + +type GetCloudProjectKubeNodesNodeArray []GetCloudProjectKubeNodesNodeInput + +func (GetCloudProjectKubeNodesNodeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetCloudProjectKubeNodesNode)(nil)).Elem() +} + +func (i GetCloudProjectKubeNodesNodeArray) ToGetCloudProjectKubeNodesNodeArrayOutput() GetCloudProjectKubeNodesNodeArrayOutput { + return i.ToGetCloudProjectKubeNodesNodeArrayOutputWithContext(context.Background()) +} + +func (i GetCloudProjectKubeNodesNodeArray) ToGetCloudProjectKubeNodesNodeArrayOutputWithContext(ctx context.Context) GetCloudProjectKubeNodesNodeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetCloudProjectKubeNodesNodeArrayOutput) +} + +type GetCloudProjectKubeNodesNodeOutput struct{ *pulumi.OutputState } + +func (GetCloudProjectKubeNodesNodeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetCloudProjectKubeNodesNode)(nil)).Elem() +} + +func (o GetCloudProjectKubeNodesNodeOutput) ToGetCloudProjectKubeNodesNodeOutput() GetCloudProjectKubeNodesNodeOutput { + return o +} + +func (o GetCloudProjectKubeNodesNodeOutput) ToGetCloudProjectKubeNodesNodeOutputWithContext(ctx context.Context) GetCloudProjectKubeNodesNodeOutput { + return o +} + +func (o GetCloudProjectKubeNodesNodeOutput) CreatedAt() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectKubeNodesNode) string { return v.CreatedAt }).(pulumi.StringOutput) +} + +func (o GetCloudProjectKubeNodesNodeOutput) DeployedAt() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectKubeNodesNode) string { return v.DeployedAt }).(pulumi.StringOutput) +} + +func (o GetCloudProjectKubeNodesNodeOutput) Flavor() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectKubeNodesNode) string { return v.Flavor }).(pulumi.StringOutput) +} + +func (o GetCloudProjectKubeNodesNodeOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectKubeNodesNode) string { return v.Id }).(pulumi.StringOutput) +} + +func (o GetCloudProjectKubeNodesNodeOutput) InstanceId() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectKubeNodesNode) string { return v.InstanceId }).(pulumi.StringOutput) +} + +func (o GetCloudProjectKubeNodesNodeOutput) IsUpToDate() pulumi.BoolOutput { + return o.ApplyT(func(v GetCloudProjectKubeNodesNode) bool { return v.IsUpToDate }).(pulumi.BoolOutput) +} + +func (o GetCloudProjectKubeNodesNodeOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectKubeNodesNode) string { return v.Name }).(pulumi.StringOutput) +} + +func (o GetCloudProjectKubeNodesNodeOutput) NodePoolId() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectKubeNodesNode) string { return v.NodePoolId }).(pulumi.StringOutput) +} + +func (o GetCloudProjectKubeNodesNodeOutput) ProjectId() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectKubeNodesNode) string { return v.ProjectId }).(pulumi.StringOutput) +} + +func (o GetCloudProjectKubeNodesNodeOutput) Status() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectKubeNodesNode) string { return v.Status }).(pulumi.StringOutput) +} + +func (o GetCloudProjectKubeNodesNodeOutput) UpdatedAt() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectKubeNodesNode) string { return v.UpdatedAt }).(pulumi.StringOutput) +} + +func (o GetCloudProjectKubeNodesNodeOutput) Version() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectKubeNodesNode) string { return v.Version }).(pulumi.StringOutput) +} + +type GetCloudProjectKubeNodesNodeArrayOutput struct{ *pulumi.OutputState } + +func (GetCloudProjectKubeNodesNodeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetCloudProjectKubeNodesNode)(nil)).Elem() +} + +func (o GetCloudProjectKubeNodesNodeArrayOutput) ToGetCloudProjectKubeNodesNodeArrayOutput() GetCloudProjectKubeNodesNodeArrayOutput { + return o +} + +func (o GetCloudProjectKubeNodesNodeArrayOutput) ToGetCloudProjectKubeNodesNodeArrayOutputWithContext(ctx context.Context) GetCloudProjectKubeNodesNodeArrayOutput { + return o +} + +func (o GetCloudProjectKubeNodesNodeArrayOutput) Index(i pulumi.IntInput) GetCloudProjectKubeNodesNodeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetCloudProjectKubeNodesNode { + return vs[0].([]GetCloudProjectKubeNodesNode)[vs[1].(int)] + }).(GetCloudProjectKubeNodesNodeOutput) +} + +type GetCloudProjectLoadbalancerFloatingIp struct { + // ID of the floating IP + Id string `pulumi:"id"` + // IP Address of the floating IP + Ip string `pulumi:"ip"` +} + +// GetCloudProjectLoadbalancerFloatingIpInput is an input type that accepts GetCloudProjectLoadbalancerFloatingIpArgs and GetCloudProjectLoadbalancerFloatingIpOutput values. +// You can construct a concrete instance of `GetCloudProjectLoadbalancerFloatingIpInput` via: +// +// GetCloudProjectLoadbalancerFloatingIpArgs{...} +type GetCloudProjectLoadbalancerFloatingIpInput interface { + pulumi.Input + + ToGetCloudProjectLoadbalancerFloatingIpOutput() GetCloudProjectLoadbalancerFloatingIpOutput + ToGetCloudProjectLoadbalancerFloatingIpOutputWithContext(context.Context) GetCloudProjectLoadbalancerFloatingIpOutput +} + +type GetCloudProjectLoadbalancerFloatingIpArgs struct { + // ID of the floating IP + Id pulumi.StringInput `pulumi:"id"` + // IP Address of the floating IP + Ip pulumi.StringInput `pulumi:"ip"` +} + +func (GetCloudProjectLoadbalancerFloatingIpArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetCloudProjectLoadbalancerFloatingIp)(nil)).Elem() +} + +func (i GetCloudProjectLoadbalancerFloatingIpArgs) ToGetCloudProjectLoadbalancerFloatingIpOutput() GetCloudProjectLoadbalancerFloatingIpOutput { + return i.ToGetCloudProjectLoadbalancerFloatingIpOutputWithContext(context.Background()) +} + +func (i GetCloudProjectLoadbalancerFloatingIpArgs) ToGetCloudProjectLoadbalancerFloatingIpOutputWithContext(ctx context.Context) GetCloudProjectLoadbalancerFloatingIpOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetCloudProjectLoadbalancerFloatingIpOutput) +} + +type GetCloudProjectLoadbalancerFloatingIpOutput struct{ *pulumi.OutputState } + +func (GetCloudProjectLoadbalancerFloatingIpOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetCloudProjectLoadbalancerFloatingIp)(nil)).Elem() +} + +func (o GetCloudProjectLoadbalancerFloatingIpOutput) ToGetCloudProjectLoadbalancerFloatingIpOutput() GetCloudProjectLoadbalancerFloatingIpOutput { + return o +} + +func (o GetCloudProjectLoadbalancerFloatingIpOutput) ToGetCloudProjectLoadbalancerFloatingIpOutputWithContext(ctx context.Context) GetCloudProjectLoadbalancerFloatingIpOutput { + return o +} + +// ID of the floating IP +func (o GetCloudProjectLoadbalancerFloatingIpOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectLoadbalancerFloatingIp) string { return v.Id }).(pulumi.StringOutput) +} + +// IP Address of the floating IP +func (o GetCloudProjectLoadbalancerFloatingIpOutput) Ip() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectLoadbalancerFloatingIp) string { return v.Ip }).(pulumi.StringOutput) +} + +type GetCloudProjectLoadbalancersLoadbalancer struct { + // The UTC date and timestamp when the loadbalancer was created + CreatedAt string `pulumi:"createdAt"` + // ID of the flavor + FlavorId string `pulumi:"flavorId"` + // Information about floating IP + FloatingIp GetCloudProjectLoadbalancersLoadbalancerFloatingIp `pulumi:"floatingIp"` + // ID of the loadbalancer + Id string `pulumi:"id"` + // Name of the loadbalancer + Name string `pulumi:"name"` + // Operating status of the loadbalancer + OperatingStatus string `pulumi:"operatingStatus"` + // Provisioning status of the loadbalancer + ProvisioningStatus string `pulumi:"provisioningStatus"` + // Region of the loadbalancer + Region string `pulumi:"region"` + // UTC date and timestamp when the loadbalancer was updated + UpdatedAt string `pulumi:"updatedAt"` + // IP address of the Virtual IP + VipAddress string `pulumi:"vipAddress"` + // Openstack ID of the network for the Virtual IP + VipNetworkId string `pulumi:"vipNetworkId"` + // ID of the subnet for the Virtual IP + VipSubnetId string `pulumi:"vipSubnetId"` +} + +// GetCloudProjectLoadbalancersLoadbalancerInput is an input type that accepts GetCloudProjectLoadbalancersLoadbalancerArgs and GetCloudProjectLoadbalancersLoadbalancerOutput values. +// You can construct a concrete instance of `GetCloudProjectLoadbalancersLoadbalancerInput` via: +// +// GetCloudProjectLoadbalancersLoadbalancerArgs{...} +type GetCloudProjectLoadbalancersLoadbalancerInput interface { + pulumi.Input + + ToGetCloudProjectLoadbalancersLoadbalancerOutput() GetCloudProjectLoadbalancersLoadbalancerOutput + ToGetCloudProjectLoadbalancersLoadbalancerOutputWithContext(context.Context) GetCloudProjectLoadbalancersLoadbalancerOutput +} + +type GetCloudProjectLoadbalancersLoadbalancerArgs struct { + // The UTC date and timestamp when the loadbalancer was created + CreatedAt pulumi.StringInput `pulumi:"createdAt"` + // ID of the flavor + FlavorId pulumi.StringInput `pulumi:"flavorId"` + // Information about floating IP + FloatingIp GetCloudProjectLoadbalancersLoadbalancerFloatingIpInput `pulumi:"floatingIp"` + // ID of the loadbalancer + Id pulumi.StringInput `pulumi:"id"` + // Name of the loadbalancer + Name pulumi.StringInput `pulumi:"name"` + // Operating status of the loadbalancer + OperatingStatus pulumi.StringInput `pulumi:"operatingStatus"` + // Provisioning status of the loadbalancer + ProvisioningStatus pulumi.StringInput `pulumi:"provisioningStatus"` + // Region of the loadbalancer + Region pulumi.StringInput `pulumi:"region"` + // UTC date and timestamp when the loadbalancer was updated + UpdatedAt pulumi.StringInput `pulumi:"updatedAt"` + // IP address of the Virtual IP + VipAddress pulumi.StringInput `pulumi:"vipAddress"` + // Openstack ID of the network for the Virtual IP + VipNetworkId pulumi.StringInput `pulumi:"vipNetworkId"` + // ID of the subnet for the Virtual IP + VipSubnetId pulumi.StringInput `pulumi:"vipSubnetId"` +} + +func (GetCloudProjectLoadbalancersLoadbalancerArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetCloudProjectLoadbalancersLoadbalancer)(nil)).Elem() +} + +func (i GetCloudProjectLoadbalancersLoadbalancerArgs) ToGetCloudProjectLoadbalancersLoadbalancerOutput() GetCloudProjectLoadbalancersLoadbalancerOutput { + return i.ToGetCloudProjectLoadbalancersLoadbalancerOutputWithContext(context.Background()) +} + +func (i GetCloudProjectLoadbalancersLoadbalancerArgs) ToGetCloudProjectLoadbalancersLoadbalancerOutputWithContext(ctx context.Context) GetCloudProjectLoadbalancersLoadbalancerOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetCloudProjectLoadbalancersLoadbalancerOutput) +} + +// GetCloudProjectLoadbalancersLoadbalancerArrayInput is an input type that accepts GetCloudProjectLoadbalancersLoadbalancerArray and GetCloudProjectLoadbalancersLoadbalancerArrayOutput values. +// You can construct a concrete instance of `GetCloudProjectLoadbalancersLoadbalancerArrayInput` via: +// +// GetCloudProjectLoadbalancersLoadbalancerArray{ GetCloudProjectLoadbalancersLoadbalancerArgs{...} } +type GetCloudProjectLoadbalancersLoadbalancerArrayInput interface { + pulumi.Input + + ToGetCloudProjectLoadbalancersLoadbalancerArrayOutput() GetCloudProjectLoadbalancersLoadbalancerArrayOutput + ToGetCloudProjectLoadbalancersLoadbalancerArrayOutputWithContext(context.Context) GetCloudProjectLoadbalancersLoadbalancerArrayOutput +} + +type GetCloudProjectLoadbalancersLoadbalancerArray []GetCloudProjectLoadbalancersLoadbalancerInput + +func (GetCloudProjectLoadbalancersLoadbalancerArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetCloudProjectLoadbalancersLoadbalancer)(nil)).Elem() +} + +func (i GetCloudProjectLoadbalancersLoadbalancerArray) ToGetCloudProjectLoadbalancersLoadbalancerArrayOutput() GetCloudProjectLoadbalancersLoadbalancerArrayOutput { + return i.ToGetCloudProjectLoadbalancersLoadbalancerArrayOutputWithContext(context.Background()) +} + +func (i GetCloudProjectLoadbalancersLoadbalancerArray) ToGetCloudProjectLoadbalancersLoadbalancerArrayOutputWithContext(ctx context.Context) GetCloudProjectLoadbalancersLoadbalancerArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetCloudProjectLoadbalancersLoadbalancerArrayOutput) +} + +type GetCloudProjectLoadbalancersLoadbalancerOutput struct{ *pulumi.OutputState } + +func (GetCloudProjectLoadbalancersLoadbalancerOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetCloudProjectLoadbalancersLoadbalancer)(nil)).Elem() +} + +func (o GetCloudProjectLoadbalancersLoadbalancerOutput) ToGetCloudProjectLoadbalancersLoadbalancerOutput() GetCloudProjectLoadbalancersLoadbalancerOutput { + return o +} + +func (o GetCloudProjectLoadbalancersLoadbalancerOutput) ToGetCloudProjectLoadbalancersLoadbalancerOutputWithContext(ctx context.Context) GetCloudProjectLoadbalancersLoadbalancerOutput { + return o +} + +// The UTC date and timestamp when the loadbalancer was created +func (o GetCloudProjectLoadbalancersLoadbalancerOutput) CreatedAt() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectLoadbalancersLoadbalancer) string { return v.CreatedAt }).(pulumi.StringOutput) +} + +// ID of the flavor +func (o GetCloudProjectLoadbalancersLoadbalancerOutput) FlavorId() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectLoadbalancersLoadbalancer) string { return v.FlavorId }).(pulumi.StringOutput) +} + +// Information about floating IP +func (o GetCloudProjectLoadbalancersLoadbalancerOutput) FloatingIp() GetCloudProjectLoadbalancersLoadbalancerFloatingIpOutput { + return o.ApplyT(func(v GetCloudProjectLoadbalancersLoadbalancer) GetCloudProjectLoadbalancersLoadbalancerFloatingIp { + return v.FloatingIp + }).(GetCloudProjectLoadbalancersLoadbalancerFloatingIpOutput) +} + +// ID of the loadbalancer +func (o GetCloudProjectLoadbalancersLoadbalancerOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectLoadbalancersLoadbalancer) string { return v.Id }).(pulumi.StringOutput) +} + +// Name of the loadbalancer +func (o GetCloudProjectLoadbalancersLoadbalancerOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectLoadbalancersLoadbalancer) string { return v.Name }).(pulumi.StringOutput) +} + +// Operating status of the loadbalancer +func (o GetCloudProjectLoadbalancersLoadbalancerOutput) OperatingStatus() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectLoadbalancersLoadbalancer) string { return v.OperatingStatus }).(pulumi.StringOutput) +} + +// Provisioning status of the loadbalancer +func (o GetCloudProjectLoadbalancersLoadbalancerOutput) ProvisioningStatus() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectLoadbalancersLoadbalancer) string { return v.ProvisioningStatus }).(pulumi.StringOutput) +} + +// Region of the loadbalancer +func (o GetCloudProjectLoadbalancersLoadbalancerOutput) Region() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectLoadbalancersLoadbalancer) string { return v.Region }).(pulumi.StringOutput) +} + +// UTC date and timestamp when the loadbalancer was updated +func (o GetCloudProjectLoadbalancersLoadbalancerOutput) UpdatedAt() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectLoadbalancersLoadbalancer) string { return v.UpdatedAt }).(pulumi.StringOutput) +} + +// IP address of the Virtual IP +func (o GetCloudProjectLoadbalancersLoadbalancerOutput) VipAddress() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectLoadbalancersLoadbalancer) string { return v.VipAddress }).(pulumi.StringOutput) +} + +// Openstack ID of the network for the Virtual IP +func (o GetCloudProjectLoadbalancersLoadbalancerOutput) VipNetworkId() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectLoadbalancersLoadbalancer) string { return v.VipNetworkId }).(pulumi.StringOutput) +} + +// ID of the subnet for the Virtual IP +func (o GetCloudProjectLoadbalancersLoadbalancerOutput) VipSubnetId() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectLoadbalancersLoadbalancer) string { return v.VipSubnetId }).(pulumi.StringOutput) +} + +type GetCloudProjectLoadbalancersLoadbalancerArrayOutput struct{ *pulumi.OutputState } + +func (GetCloudProjectLoadbalancersLoadbalancerArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetCloudProjectLoadbalancersLoadbalancer)(nil)).Elem() +} + +func (o GetCloudProjectLoadbalancersLoadbalancerArrayOutput) ToGetCloudProjectLoadbalancersLoadbalancerArrayOutput() GetCloudProjectLoadbalancersLoadbalancerArrayOutput { + return o +} + +func (o GetCloudProjectLoadbalancersLoadbalancerArrayOutput) ToGetCloudProjectLoadbalancersLoadbalancerArrayOutputWithContext(ctx context.Context) GetCloudProjectLoadbalancersLoadbalancerArrayOutput { + return o +} + +func (o GetCloudProjectLoadbalancersLoadbalancerArrayOutput) Index(i pulumi.IntInput) GetCloudProjectLoadbalancersLoadbalancerOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetCloudProjectLoadbalancersLoadbalancer { + return vs[0].([]GetCloudProjectLoadbalancersLoadbalancer)[vs[1].(int)] + }).(GetCloudProjectLoadbalancersLoadbalancerOutput) +} + +type GetCloudProjectLoadbalancersLoadbalancerFloatingIp struct { + // ID of the floating IP + Id string `pulumi:"id"` + // IP Address of the floating IP + Ip string `pulumi:"ip"` +} + +// GetCloudProjectLoadbalancersLoadbalancerFloatingIpInput is an input type that accepts GetCloudProjectLoadbalancersLoadbalancerFloatingIpArgs and GetCloudProjectLoadbalancersLoadbalancerFloatingIpOutput values. +// You can construct a concrete instance of `GetCloudProjectLoadbalancersLoadbalancerFloatingIpInput` via: +// +// GetCloudProjectLoadbalancersLoadbalancerFloatingIpArgs{...} +type GetCloudProjectLoadbalancersLoadbalancerFloatingIpInput interface { + pulumi.Input + + ToGetCloudProjectLoadbalancersLoadbalancerFloatingIpOutput() GetCloudProjectLoadbalancersLoadbalancerFloatingIpOutput + ToGetCloudProjectLoadbalancersLoadbalancerFloatingIpOutputWithContext(context.Context) GetCloudProjectLoadbalancersLoadbalancerFloatingIpOutput +} + +type GetCloudProjectLoadbalancersLoadbalancerFloatingIpArgs struct { + // ID of the floating IP + Id pulumi.StringInput `pulumi:"id"` + // IP Address of the floating IP + Ip pulumi.StringInput `pulumi:"ip"` +} + +func (GetCloudProjectLoadbalancersLoadbalancerFloatingIpArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetCloudProjectLoadbalancersLoadbalancerFloatingIp)(nil)).Elem() +} + +func (i GetCloudProjectLoadbalancersLoadbalancerFloatingIpArgs) ToGetCloudProjectLoadbalancersLoadbalancerFloatingIpOutput() GetCloudProjectLoadbalancersLoadbalancerFloatingIpOutput { + return i.ToGetCloudProjectLoadbalancersLoadbalancerFloatingIpOutputWithContext(context.Background()) +} + +func (i GetCloudProjectLoadbalancersLoadbalancerFloatingIpArgs) ToGetCloudProjectLoadbalancersLoadbalancerFloatingIpOutputWithContext(ctx context.Context) GetCloudProjectLoadbalancersLoadbalancerFloatingIpOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetCloudProjectLoadbalancersLoadbalancerFloatingIpOutput) +} + +type GetCloudProjectLoadbalancersLoadbalancerFloatingIpOutput struct{ *pulumi.OutputState } + +func (GetCloudProjectLoadbalancersLoadbalancerFloatingIpOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetCloudProjectLoadbalancersLoadbalancerFloatingIp)(nil)).Elem() +} + +func (o GetCloudProjectLoadbalancersLoadbalancerFloatingIpOutput) ToGetCloudProjectLoadbalancersLoadbalancerFloatingIpOutput() GetCloudProjectLoadbalancersLoadbalancerFloatingIpOutput { + return o +} + +func (o GetCloudProjectLoadbalancersLoadbalancerFloatingIpOutput) ToGetCloudProjectLoadbalancersLoadbalancerFloatingIpOutputWithContext(ctx context.Context) GetCloudProjectLoadbalancersLoadbalancerFloatingIpOutput { + return o +} + +// ID of the floating IP +func (o GetCloudProjectLoadbalancersLoadbalancerFloatingIpOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectLoadbalancersLoadbalancerFloatingIp) string { return v.Id }).(pulumi.StringOutput) +} + +// IP Address of the floating IP +func (o GetCloudProjectLoadbalancersLoadbalancerFloatingIpOutput) Ip() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectLoadbalancersLoadbalancerFloatingIp) string { return v.Ip }).(pulumi.StringOutput) +} + +type GetCloudProjectRegionService struct { + Name string `pulumi:"name"` + Status string `pulumi:"status"` +} + +// GetCloudProjectRegionServiceInput is an input type that accepts GetCloudProjectRegionServiceArgs and GetCloudProjectRegionServiceOutput values. +// You can construct a concrete instance of `GetCloudProjectRegionServiceInput` via: +// +// GetCloudProjectRegionServiceArgs{...} +type GetCloudProjectRegionServiceInput interface { + pulumi.Input + + ToGetCloudProjectRegionServiceOutput() GetCloudProjectRegionServiceOutput + ToGetCloudProjectRegionServiceOutputWithContext(context.Context) GetCloudProjectRegionServiceOutput +} + +type GetCloudProjectRegionServiceArgs struct { + Name pulumi.StringInput `pulumi:"name"` + Status pulumi.StringInput `pulumi:"status"` +} + +func (GetCloudProjectRegionServiceArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetCloudProjectRegionService)(nil)).Elem() +} + +func (i GetCloudProjectRegionServiceArgs) ToGetCloudProjectRegionServiceOutput() GetCloudProjectRegionServiceOutput { + return i.ToGetCloudProjectRegionServiceOutputWithContext(context.Background()) +} + +func (i GetCloudProjectRegionServiceArgs) ToGetCloudProjectRegionServiceOutputWithContext(ctx context.Context) GetCloudProjectRegionServiceOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetCloudProjectRegionServiceOutput) +} + +// GetCloudProjectRegionServiceArrayInput is an input type that accepts GetCloudProjectRegionServiceArray and GetCloudProjectRegionServiceArrayOutput values. +// You can construct a concrete instance of `GetCloudProjectRegionServiceArrayInput` via: +// +// GetCloudProjectRegionServiceArray{ GetCloudProjectRegionServiceArgs{...} } +type GetCloudProjectRegionServiceArrayInput interface { + pulumi.Input + + ToGetCloudProjectRegionServiceArrayOutput() GetCloudProjectRegionServiceArrayOutput + ToGetCloudProjectRegionServiceArrayOutputWithContext(context.Context) GetCloudProjectRegionServiceArrayOutput +} + +type GetCloudProjectRegionServiceArray []GetCloudProjectRegionServiceInput + +func (GetCloudProjectRegionServiceArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetCloudProjectRegionService)(nil)).Elem() +} + +func (i GetCloudProjectRegionServiceArray) ToGetCloudProjectRegionServiceArrayOutput() GetCloudProjectRegionServiceArrayOutput { + return i.ToGetCloudProjectRegionServiceArrayOutputWithContext(context.Background()) +} + +func (i GetCloudProjectRegionServiceArray) ToGetCloudProjectRegionServiceArrayOutputWithContext(ctx context.Context) GetCloudProjectRegionServiceArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetCloudProjectRegionServiceArrayOutput) +} + +type GetCloudProjectRegionServiceOutput struct{ *pulumi.OutputState } + +func (GetCloudProjectRegionServiceOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetCloudProjectRegionService)(nil)).Elem() +} + +func (o GetCloudProjectRegionServiceOutput) ToGetCloudProjectRegionServiceOutput() GetCloudProjectRegionServiceOutput { + return o +} + +func (o GetCloudProjectRegionServiceOutput) ToGetCloudProjectRegionServiceOutputWithContext(ctx context.Context) GetCloudProjectRegionServiceOutput { + return o +} + +func (o GetCloudProjectRegionServiceOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectRegionService) string { return v.Name }).(pulumi.StringOutput) +} + +func (o GetCloudProjectRegionServiceOutput) Status() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectRegionService) string { return v.Status }).(pulumi.StringOutput) +} + +type GetCloudProjectRegionServiceArrayOutput struct{ *pulumi.OutputState } + +func (GetCloudProjectRegionServiceArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetCloudProjectRegionService)(nil)).Elem() +} + +func (o GetCloudProjectRegionServiceArrayOutput) ToGetCloudProjectRegionServiceArrayOutput() GetCloudProjectRegionServiceArrayOutput { + return o +} + +func (o GetCloudProjectRegionServiceArrayOutput) ToGetCloudProjectRegionServiceArrayOutputWithContext(ctx context.Context) GetCloudProjectRegionServiceArrayOutput { + return o +} + +func (o GetCloudProjectRegionServiceArrayOutput) Index(i pulumi.IntInput) GetCloudProjectRegionServiceOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetCloudProjectRegionService { + return vs[0].([]GetCloudProjectRegionService)[vs[1].(int)] + }).(GetCloudProjectRegionServiceOutput) +} + +type GetCloudProjectUserRole struct { + Description string `pulumi:"description"` + Id string `pulumi:"id"` + Name string `pulumi:"name"` + Permissions []string `pulumi:"permissions"` +} + +// GetCloudProjectUserRoleInput is an input type that accepts GetCloudProjectUserRoleArgs and GetCloudProjectUserRoleOutput values. +// You can construct a concrete instance of `GetCloudProjectUserRoleInput` via: +// +// GetCloudProjectUserRoleArgs{...} +type GetCloudProjectUserRoleInput interface { + pulumi.Input + + ToGetCloudProjectUserRoleOutput() GetCloudProjectUserRoleOutput + ToGetCloudProjectUserRoleOutputWithContext(context.Context) GetCloudProjectUserRoleOutput +} + +type GetCloudProjectUserRoleArgs struct { + Description pulumi.StringInput `pulumi:"description"` + Id pulumi.StringInput `pulumi:"id"` + Name pulumi.StringInput `pulumi:"name"` + Permissions pulumi.StringArrayInput `pulumi:"permissions"` +} + +func (GetCloudProjectUserRoleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetCloudProjectUserRole)(nil)).Elem() +} + +func (i GetCloudProjectUserRoleArgs) ToGetCloudProjectUserRoleOutput() GetCloudProjectUserRoleOutput { + return i.ToGetCloudProjectUserRoleOutputWithContext(context.Background()) +} + +func (i GetCloudProjectUserRoleArgs) ToGetCloudProjectUserRoleOutputWithContext(ctx context.Context) GetCloudProjectUserRoleOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetCloudProjectUserRoleOutput) +} + +// GetCloudProjectUserRoleArrayInput is an input type that accepts GetCloudProjectUserRoleArray and GetCloudProjectUserRoleArrayOutput values. +// You can construct a concrete instance of `GetCloudProjectUserRoleArrayInput` via: +// +// GetCloudProjectUserRoleArray{ GetCloudProjectUserRoleArgs{...} } +type GetCloudProjectUserRoleArrayInput interface { + pulumi.Input + + ToGetCloudProjectUserRoleArrayOutput() GetCloudProjectUserRoleArrayOutput + ToGetCloudProjectUserRoleArrayOutputWithContext(context.Context) GetCloudProjectUserRoleArrayOutput +} + +type GetCloudProjectUserRoleArray []GetCloudProjectUserRoleInput + +func (GetCloudProjectUserRoleArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetCloudProjectUserRole)(nil)).Elem() +} + +func (i GetCloudProjectUserRoleArray) ToGetCloudProjectUserRoleArrayOutput() GetCloudProjectUserRoleArrayOutput { + return i.ToGetCloudProjectUserRoleArrayOutputWithContext(context.Background()) +} + +func (i GetCloudProjectUserRoleArray) ToGetCloudProjectUserRoleArrayOutputWithContext(ctx context.Context) GetCloudProjectUserRoleArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetCloudProjectUserRoleArrayOutput) +} + +type GetCloudProjectUserRoleOutput struct{ *pulumi.OutputState } + +func (GetCloudProjectUserRoleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetCloudProjectUserRole)(nil)).Elem() +} + +func (o GetCloudProjectUserRoleOutput) ToGetCloudProjectUserRoleOutput() GetCloudProjectUserRoleOutput { + return o +} + +func (o GetCloudProjectUserRoleOutput) ToGetCloudProjectUserRoleOutputWithContext(ctx context.Context) GetCloudProjectUserRoleOutput { + return o +} + +func (o GetCloudProjectUserRoleOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectUserRole) string { return v.Description }).(pulumi.StringOutput) +} + +func (o GetCloudProjectUserRoleOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectUserRole) string { return v.Id }).(pulumi.StringOutput) +} + +func (o GetCloudProjectUserRoleOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectUserRole) string { return v.Name }).(pulumi.StringOutput) +} + +func (o GetCloudProjectUserRoleOutput) Permissions() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetCloudProjectUserRole) []string { return v.Permissions }).(pulumi.StringArrayOutput) +} + +type GetCloudProjectUserRoleArrayOutput struct{ *pulumi.OutputState } + +func (GetCloudProjectUserRoleArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetCloudProjectUserRole)(nil)).Elem() +} + +func (o GetCloudProjectUserRoleArrayOutput) ToGetCloudProjectUserRoleArrayOutput() GetCloudProjectUserRoleArrayOutput { + return o +} + +func (o GetCloudProjectUserRoleArrayOutput) ToGetCloudProjectUserRoleArrayOutputWithContext(ctx context.Context) GetCloudProjectUserRoleArrayOutput { + return o +} + +func (o GetCloudProjectUserRoleArrayOutput) Index(i pulumi.IntInput) GetCloudProjectUserRoleOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetCloudProjectUserRole { + return vs[0].([]GetCloudProjectUserRole)[vs[1].(int)] + }).(GetCloudProjectUserRoleOutput) +} + +type GetCloudProjectUsersUser struct { + CreationDate string `pulumi:"creationDate"` + Description string `pulumi:"description"` + Roles []GetCloudProjectUsersUserRole `pulumi:"roles"` + Status string `pulumi:"status"` + UserId string `pulumi:"userId"` + Username string `pulumi:"username"` +} + +// GetCloudProjectUsersUserInput is an input type that accepts GetCloudProjectUsersUserArgs and GetCloudProjectUsersUserOutput values. +// You can construct a concrete instance of `GetCloudProjectUsersUserInput` via: +// +// GetCloudProjectUsersUserArgs{...} +type GetCloudProjectUsersUserInput interface { + pulumi.Input + + ToGetCloudProjectUsersUserOutput() GetCloudProjectUsersUserOutput + ToGetCloudProjectUsersUserOutputWithContext(context.Context) GetCloudProjectUsersUserOutput +} + +type GetCloudProjectUsersUserArgs struct { + CreationDate pulumi.StringInput `pulumi:"creationDate"` + Description pulumi.StringInput `pulumi:"description"` + Roles GetCloudProjectUsersUserRoleArrayInput `pulumi:"roles"` + Status pulumi.StringInput `pulumi:"status"` + UserId pulumi.StringInput `pulumi:"userId"` + Username pulumi.StringInput `pulumi:"username"` +} + +func (GetCloudProjectUsersUserArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetCloudProjectUsersUser)(nil)).Elem() +} + +func (i GetCloudProjectUsersUserArgs) ToGetCloudProjectUsersUserOutput() GetCloudProjectUsersUserOutput { + return i.ToGetCloudProjectUsersUserOutputWithContext(context.Background()) +} + +func (i GetCloudProjectUsersUserArgs) ToGetCloudProjectUsersUserOutputWithContext(ctx context.Context) GetCloudProjectUsersUserOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetCloudProjectUsersUserOutput) +} + +// GetCloudProjectUsersUserArrayInput is an input type that accepts GetCloudProjectUsersUserArray and GetCloudProjectUsersUserArrayOutput values. +// You can construct a concrete instance of `GetCloudProjectUsersUserArrayInput` via: +// +// GetCloudProjectUsersUserArray{ GetCloudProjectUsersUserArgs{...} } +type GetCloudProjectUsersUserArrayInput interface { + pulumi.Input + + ToGetCloudProjectUsersUserArrayOutput() GetCloudProjectUsersUserArrayOutput + ToGetCloudProjectUsersUserArrayOutputWithContext(context.Context) GetCloudProjectUsersUserArrayOutput +} + +type GetCloudProjectUsersUserArray []GetCloudProjectUsersUserInput + +func (GetCloudProjectUsersUserArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetCloudProjectUsersUser)(nil)).Elem() +} + +func (i GetCloudProjectUsersUserArray) ToGetCloudProjectUsersUserArrayOutput() GetCloudProjectUsersUserArrayOutput { + return i.ToGetCloudProjectUsersUserArrayOutputWithContext(context.Background()) +} + +func (i GetCloudProjectUsersUserArray) ToGetCloudProjectUsersUserArrayOutputWithContext(ctx context.Context) GetCloudProjectUsersUserArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetCloudProjectUsersUserArrayOutput) +} + +type GetCloudProjectUsersUserOutput struct{ *pulumi.OutputState } + +func (GetCloudProjectUsersUserOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetCloudProjectUsersUser)(nil)).Elem() +} + +func (o GetCloudProjectUsersUserOutput) ToGetCloudProjectUsersUserOutput() GetCloudProjectUsersUserOutput { + return o +} + +func (o GetCloudProjectUsersUserOutput) ToGetCloudProjectUsersUserOutputWithContext(ctx context.Context) GetCloudProjectUsersUserOutput { + return o +} + +func (o GetCloudProjectUsersUserOutput) CreationDate() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectUsersUser) string { return v.CreationDate }).(pulumi.StringOutput) +} + +func (o GetCloudProjectUsersUserOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectUsersUser) string { return v.Description }).(pulumi.StringOutput) +} + +func (o GetCloudProjectUsersUserOutput) Roles() GetCloudProjectUsersUserRoleArrayOutput { + return o.ApplyT(func(v GetCloudProjectUsersUser) []GetCloudProjectUsersUserRole { return v.Roles }).(GetCloudProjectUsersUserRoleArrayOutput) +} + +func (o GetCloudProjectUsersUserOutput) Status() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectUsersUser) string { return v.Status }).(pulumi.StringOutput) +} + +func (o GetCloudProjectUsersUserOutput) UserId() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectUsersUser) string { return v.UserId }).(pulumi.StringOutput) +} + +func (o GetCloudProjectUsersUserOutput) Username() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectUsersUser) string { return v.Username }).(pulumi.StringOutput) +} + +type GetCloudProjectUsersUserArrayOutput struct{ *pulumi.OutputState } + +func (GetCloudProjectUsersUserArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetCloudProjectUsersUser)(nil)).Elem() +} + +func (o GetCloudProjectUsersUserArrayOutput) ToGetCloudProjectUsersUserArrayOutput() GetCloudProjectUsersUserArrayOutput { + return o +} + +func (o GetCloudProjectUsersUserArrayOutput) ToGetCloudProjectUsersUserArrayOutputWithContext(ctx context.Context) GetCloudProjectUsersUserArrayOutput { + return o +} + +func (o GetCloudProjectUsersUserArrayOutput) Index(i pulumi.IntInput) GetCloudProjectUsersUserOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetCloudProjectUsersUser { + return vs[0].([]GetCloudProjectUsersUser)[vs[1].(int)] + }).(GetCloudProjectUsersUserOutput) +} + +type GetCloudProjectUsersUserRole struct { + Description string `pulumi:"description"` + Id string `pulumi:"id"` + Name string `pulumi:"name"` + Permissions []string `pulumi:"permissions"` +} + +// GetCloudProjectUsersUserRoleInput is an input type that accepts GetCloudProjectUsersUserRoleArgs and GetCloudProjectUsersUserRoleOutput values. +// You can construct a concrete instance of `GetCloudProjectUsersUserRoleInput` via: +// +// GetCloudProjectUsersUserRoleArgs{...} +type GetCloudProjectUsersUserRoleInput interface { + pulumi.Input + + ToGetCloudProjectUsersUserRoleOutput() GetCloudProjectUsersUserRoleOutput + ToGetCloudProjectUsersUserRoleOutputWithContext(context.Context) GetCloudProjectUsersUserRoleOutput +} + +type GetCloudProjectUsersUserRoleArgs struct { + Description pulumi.StringInput `pulumi:"description"` + Id pulumi.StringInput `pulumi:"id"` + Name pulumi.StringInput `pulumi:"name"` + Permissions pulumi.StringArrayInput `pulumi:"permissions"` +} + +func (GetCloudProjectUsersUserRoleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetCloudProjectUsersUserRole)(nil)).Elem() +} + +func (i GetCloudProjectUsersUserRoleArgs) ToGetCloudProjectUsersUserRoleOutput() GetCloudProjectUsersUserRoleOutput { + return i.ToGetCloudProjectUsersUserRoleOutputWithContext(context.Background()) +} + +func (i GetCloudProjectUsersUserRoleArgs) ToGetCloudProjectUsersUserRoleOutputWithContext(ctx context.Context) GetCloudProjectUsersUserRoleOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetCloudProjectUsersUserRoleOutput) +} + +// GetCloudProjectUsersUserRoleArrayInput is an input type that accepts GetCloudProjectUsersUserRoleArray and GetCloudProjectUsersUserRoleArrayOutput values. +// You can construct a concrete instance of `GetCloudProjectUsersUserRoleArrayInput` via: +// +// GetCloudProjectUsersUserRoleArray{ GetCloudProjectUsersUserRoleArgs{...} } +type GetCloudProjectUsersUserRoleArrayInput interface { + pulumi.Input + + ToGetCloudProjectUsersUserRoleArrayOutput() GetCloudProjectUsersUserRoleArrayOutput + ToGetCloudProjectUsersUserRoleArrayOutputWithContext(context.Context) GetCloudProjectUsersUserRoleArrayOutput +} + +type GetCloudProjectUsersUserRoleArray []GetCloudProjectUsersUserRoleInput + +func (GetCloudProjectUsersUserRoleArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetCloudProjectUsersUserRole)(nil)).Elem() +} + +func (i GetCloudProjectUsersUserRoleArray) ToGetCloudProjectUsersUserRoleArrayOutput() GetCloudProjectUsersUserRoleArrayOutput { + return i.ToGetCloudProjectUsersUserRoleArrayOutputWithContext(context.Background()) +} + +func (i GetCloudProjectUsersUserRoleArray) ToGetCloudProjectUsersUserRoleArrayOutputWithContext(ctx context.Context) GetCloudProjectUsersUserRoleArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetCloudProjectUsersUserRoleArrayOutput) +} + +type GetCloudProjectUsersUserRoleOutput struct{ *pulumi.OutputState } + +func (GetCloudProjectUsersUserRoleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetCloudProjectUsersUserRole)(nil)).Elem() +} + +func (o GetCloudProjectUsersUserRoleOutput) ToGetCloudProjectUsersUserRoleOutput() GetCloudProjectUsersUserRoleOutput { + return o +} + +func (o GetCloudProjectUsersUserRoleOutput) ToGetCloudProjectUsersUserRoleOutputWithContext(ctx context.Context) GetCloudProjectUsersUserRoleOutput { + return o +} + +func (o GetCloudProjectUsersUserRoleOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectUsersUserRole) string { return v.Description }).(pulumi.StringOutput) +} + +func (o GetCloudProjectUsersUserRoleOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectUsersUserRole) string { return v.Id }).(pulumi.StringOutput) +} + +func (o GetCloudProjectUsersUserRoleOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectUsersUserRole) string { return v.Name }).(pulumi.StringOutput) +} + +func (o GetCloudProjectUsersUserRoleOutput) Permissions() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetCloudProjectUsersUserRole) []string { return v.Permissions }).(pulumi.StringArrayOutput) +} + +type GetCloudProjectUsersUserRoleArrayOutput struct{ *pulumi.OutputState } + +func (GetCloudProjectUsersUserRoleArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetCloudProjectUsersUserRole)(nil)).Elem() +} + +func (o GetCloudProjectUsersUserRoleArrayOutput) ToGetCloudProjectUsersUserRoleArrayOutput() GetCloudProjectUsersUserRoleArrayOutput { + return o +} + +func (o GetCloudProjectUsersUserRoleArrayOutput) ToGetCloudProjectUsersUserRoleArrayOutputWithContext(ctx context.Context) GetCloudProjectUsersUserRoleArrayOutput { + return o +} + +func (o GetCloudProjectUsersUserRoleArrayOutput) Index(i pulumi.IntInput) GetCloudProjectUsersUserRoleOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetCloudProjectUsersUserRole { + return vs[0].([]GetCloudProjectUsersUserRole)[vs[1].(int)] + }).(GetCloudProjectUsersUserRoleOutput) +} + +type GetCloudProjectsProject struct { + // Project access + Access string `pulumi:"access"` + // Project creation date + CreationDate string `pulumi:"creationDate"` + // Description of your project + Description string `pulumi:"description"` + // Expiration date of your project. After this date, your project will be deleted + Expiration string `pulumi:"expiration"` + // IAM resource metadata + Iam GetCloudProjectsProjectIam `pulumi:"iam"` + // Manual quota prevent automatic quota upgrade + ManualQuota bool `pulumi:"manualQuota"` + // Project order id + OrderId float64 `pulumi:"orderId"` + // Order plan code + PlanCode string `pulumi:"planCode"` + // Project id + ProjectId string `pulumi:"projectId"` + // Project name + ProjectName string `pulumi:"projectName"` + // Service name + ServiceName string `pulumi:"serviceName"` + // Current status + Status string `pulumi:"status"` + // Project unleashed + Unleash bool `pulumi:"unleash"` +} + +// GetCloudProjectsProjectInput is an input type that accepts GetCloudProjectsProjectArgs and GetCloudProjectsProjectOutput values. +// You can construct a concrete instance of `GetCloudProjectsProjectInput` via: +// +// GetCloudProjectsProjectArgs{...} +type GetCloudProjectsProjectInput interface { + pulumi.Input + + ToGetCloudProjectsProjectOutput() GetCloudProjectsProjectOutput + ToGetCloudProjectsProjectOutputWithContext(context.Context) GetCloudProjectsProjectOutput +} + +type GetCloudProjectsProjectArgs struct { + // Project access + Access pulumi.StringInput `pulumi:"access"` + // Project creation date + CreationDate pulumi.StringInput `pulumi:"creationDate"` + // Description of your project + Description pulumi.StringInput `pulumi:"description"` + // Expiration date of your project. After this date, your project will be deleted + Expiration pulumi.StringInput `pulumi:"expiration"` + // IAM resource metadata + Iam GetCloudProjectsProjectIamInput `pulumi:"iam"` + // Manual quota prevent automatic quota upgrade + ManualQuota pulumi.BoolInput `pulumi:"manualQuota"` + // Project order id + OrderId pulumi.Float64Input `pulumi:"orderId"` + // Order plan code + PlanCode pulumi.StringInput `pulumi:"planCode"` + // Project id + ProjectId pulumi.StringInput `pulumi:"projectId"` + // Project name + ProjectName pulumi.StringInput `pulumi:"projectName"` + // Service name + ServiceName pulumi.StringInput `pulumi:"serviceName"` + // Current status + Status pulumi.StringInput `pulumi:"status"` + // Project unleashed + Unleash pulumi.BoolInput `pulumi:"unleash"` +} + +func (GetCloudProjectsProjectArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetCloudProjectsProject)(nil)).Elem() +} + +func (i GetCloudProjectsProjectArgs) ToGetCloudProjectsProjectOutput() GetCloudProjectsProjectOutput { + return i.ToGetCloudProjectsProjectOutputWithContext(context.Background()) +} + +func (i GetCloudProjectsProjectArgs) ToGetCloudProjectsProjectOutputWithContext(ctx context.Context) GetCloudProjectsProjectOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetCloudProjectsProjectOutput) +} + +// GetCloudProjectsProjectArrayInput is an input type that accepts GetCloudProjectsProjectArray and GetCloudProjectsProjectArrayOutput values. +// You can construct a concrete instance of `GetCloudProjectsProjectArrayInput` via: +// +// GetCloudProjectsProjectArray{ GetCloudProjectsProjectArgs{...} } +type GetCloudProjectsProjectArrayInput interface { + pulumi.Input + + ToGetCloudProjectsProjectArrayOutput() GetCloudProjectsProjectArrayOutput + ToGetCloudProjectsProjectArrayOutputWithContext(context.Context) GetCloudProjectsProjectArrayOutput +} + +type GetCloudProjectsProjectArray []GetCloudProjectsProjectInput + +func (GetCloudProjectsProjectArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetCloudProjectsProject)(nil)).Elem() +} + +func (i GetCloudProjectsProjectArray) ToGetCloudProjectsProjectArrayOutput() GetCloudProjectsProjectArrayOutput { + return i.ToGetCloudProjectsProjectArrayOutputWithContext(context.Background()) +} + +func (i GetCloudProjectsProjectArray) ToGetCloudProjectsProjectArrayOutputWithContext(ctx context.Context) GetCloudProjectsProjectArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetCloudProjectsProjectArrayOutput) +} + +type GetCloudProjectsProjectOutput struct{ *pulumi.OutputState } + +func (GetCloudProjectsProjectOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetCloudProjectsProject)(nil)).Elem() +} + +func (o GetCloudProjectsProjectOutput) ToGetCloudProjectsProjectOutput() GetCloudProjectsProjectOutput { + return o +} + +func (o GetCloudProjectsProjectOutput) ToGetCloudProjectsProjectOutputWithContext(ctx context.Context) GetCloudProjectsProjectOutput { + return o +} + +// Project access +func (o GetCloudProjectsProjectOutput) Access() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectsProject) string { return v.Access }).(pulumi.StringOutput) +} + +// Project creation date +func (o GetCloudProjectsProjectOutput) CreationDate() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectsProject) string { return v.CreationDate }).(pulumi.StringOutput) +} + +// Description of your project +func (o GetCloudProjectsProjectOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectsProject) string { return v.Description }).(pulumi.StringOutput) +} + +// Expiration date of your project. After this date, your project will be deleted +func (o GetCloudProjectsProjectOutput) Expiration() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectsProject) string { return v.Expiration }).(pulumi.StringOutput) +} + +// IAM resource metadata +func (o GetCloudProjectsProjectOutput) Iam() GetCloudProjectsProjectIamOutput { + return o.ApplyT(func(v GetCloudProjectsProject) GetCloudProjectsProjectIam { return v.Iam }).(GetCloudProjectsProjectIamOutput) +} + +// Manual quota prevent automatic quota upgrade +func (o GetCloudProjectsProjectOutput) ManualQuota() pulumi.BoolOutput { + return o.ApplyT(func(v GetCloudProjectsProject) bool { return v.ManualQuota }).(pulumi.BoolOutput) +} + +// Project order id +func (o GetCloudProjectsProjectOutput) OrderId() pulumi.Float64Output { + return o.ApplyT(func(v GetCloudProjectsProject) float64 { return v.OrderId }).(pulumi.Float64Output) +} + +// Order plan code +func (o GetCloudProjectsProjectOutput) PlanCode() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectsProject) string { return v.PlanCode }).(pulumi.StringOutput) +} + +// Project id +func (o GetCloudProjectsProjectOutput) ProjectId() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectsProject) string { return v.ProjectId }).(pulumi.StringOutput) +} + +// Project name +func (o GetCloudProjectsProjectOutput) ProjectName() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectsProject) string { return v.ProjectName }).(pulumi.StringOutput) +} + +// Service name +func (o GetCloudProjectsProjectOutput) ServiceName() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectsProject) string { return v.ServiceName }).(pulumi.StringOutput) +} + +// Current status +func (o GetCloudProjectsProjectOutput) Status() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectsProject) string { return v.Status }).(pulumi.StringOutput) +} + +// Project unleashed +func (o GetCloudProjectsProjectOutput) Unleash() pulumi.BoolOutput { + return o.ApplyT(func(v GetCloudProjectsProject) bool { return v.Unleash }).(pulumi.BoolOutput) +} + +type GetCloudProjectsProjectArrayOutput struct{ *pulumi.OutputState } + +func (GetCloudProjectsProjectArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetCloudProjectsProject)(nil)).Elem() +} + +func (o GetCloudProjectsProjectArrayOutput) ToGetCloudProjectsProjectArrayOutput() GetCloudProjectsProjectArrayOutput { + return o +} + +func (o GetCloudProjectsProjectArrayOutput) ToGetCloudProjectsProjectArrayOutputWithContext(ctx context.Context) GetCloudProjectsProjectArrayOutput { + return o +} + +func (o GetCloudProjectsProjectArrayOutput) Index(i pulumi.IntInput) GetCloudProjectsProjectOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetCloudProjectsProject { + return vs[0].([]GetCloudProjectsProject)[vs[1].(int)] + }).(GetCloudProjectsProjectOutput) +} + +type GetCloudProjectsProjectIam struct { + // Resource display name + DisplayName string `pulumi:"displayName"` + // Unique identifier of the resource + Id string `pulumi:"id"` + // Resource tags. Tags that were internally computed are prefixed with ovh: + Tags map[string]string `pulumi:"tags"` + // Unique resource name used in policies + Urn string `pulumi:"urn"` +} + +// GetCloudProjectsProjectIamInput is an input type that accepts GetCloudProjectsProjectIamArgs and GetCloudProjectsProjectIamOutput values. +// You can construct a concrete instance of `GetCloudProjectsProjectIamInput` via: +// +// GetCloudProjectsProjectIamArgs{...} +type GetCloudProjectsProjectIamInput interface { + pulumi.Input + + ToGetCloudProjectsProjectIamOutput() GetCloudProjectsProjectIamOutput + ToGetCloudProjectsProjectIamOutputWithContext(context.Context) GetCloudProjectsProjectIamOutput +} + +type GetCloudProjectsProjectIamArgs struct { + // Resource display name + DisplayName pulumi.StringInput `pulumi:"displayName"` + // Unique identifier of the resource + Id pulumi.StringInput `pulumi:"id"` + // Resource tags. Tags that were internally computed are prefixed with ovh: + Tags pulumi.StringMapInput `pulumi:"tags"` + // Unique resource name used in policies + Urn pulumi.StringInput `pulumi:"urn"` +} + +func (GetCloudProjectsProjectIamArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetCloudProjectsProjectIam)(nil)).Elem() +} + +func (i GetCloudProjectsProjectIamArgs) ToGetCloudProjectsProjectIamOutput() GetCloudProjectsProjectIamOutput { + return i.ToGetCloudProjectsProjectIamOutputWithContext(context.Background()) +} + +func (i GetCloudProjectsProjectIamArgs) ToGetCloudProjectsProjectIamOutputWithContext(ctx context.Context) GetCloudProjectsProjectIamOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetCloudProjectsProjectIamOutput) +} + +type GetCloudProjectsProjectIamOutput struct{ *pulumi.OutputState } + +func (GetCloudProjectsProjectIamOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetCloudProjectsProjectIam)(nil)).Elem() +} + +func (o GetCloudProjectsProjectIamOutput) ToGetCloudProjectsProjectIamOutput() GetCloudProjectsProjectIamOutput { + return o +} + +func (o GetCloudProjectsProjectIamOutput) ToGetCloudProjectsProjectIamOutputWithContext(ctx context.Context) GetCloudProjectsProjectIamOutput { + return o +} + +// Resource display name +func (o GetCloudProjectsProjectIamOutput) DisplayName() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectsProjectIam) string { return v.DisplayName }).(pulumi.StringOutput) +} + +// Unique identifier of the resource +func (o GetCloudProjectsProjectIamOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectsProjectIam) string { return v.Id }).(pulumi.StringOutput) +} + +// Resource tags. Tags that were internally computed are prefixed with ovh: +func (o GetCloudProjectsProjectIamOutput) Tags() pulumi.StringMapOutput { + return o.ApplyT(func(v GetCloudProjectsProjectIam) map[string]string { return v.Tags }).(pulumi.StringMapOutput) +} + +// Unique resource name used in policies +func (o GetCloudProjectsProjectIamOutput) Urn() pulumi.StringOutput { + return o.ApplyT(func(v GetCloudProjectsProjectIam) string { return v.Urn }).(pulumi.StringOutput) +} + +type GetDedicatedInstallationTemplateInput struct { + Default string `pulumi:"default"` + Description string `pulumi:"description"` + Enums []string `pulumi:"enums"` + Mandatory bool `pulumi:"mandatory"` + Name string `pulumi:"name"` + Type string `pulumi:"type"` +} + +// GetDedicatedInstallationTemplateInputInput is an input type that accepts GetDedicatedInstallationTemplateInputArgs and GetDedicatedInstallationTemplateInputOutput values. +// You can construct a concrete instance of `GetDedicatedInstallationTemplateInputInput` via: +// +// GetDedicatedInstallationTemplateInputArgs{...} +type GetDedicatedInstallationTemplateInputInput interface { + pulumi.Input + + ToGetDedicatedInstallationTemplateInputOutput() GetDedicatedInstallationTemplateInputOutput + ToGetDedicatedInstallationTemplateInputOutputWithContext(context.Context) GetDedicatedInstallationTemplateInputOutput +} + +type GetDedicatedInstallationTemplateInputArgs struct { + Default pulumi.StringInput `pulumi:"default"` + Description pulumi.StringInput `pulumi:"description"` + Enums pulumi.StringArrayInput `pulumi:"enums"` + Mandatory pulumi.BoolInput `pulumi:"mandatory"` + Name pulumi.StringInput `pulumi:"name"` + Type pulumi.StringInput `pulumi:"type"` +} + +func (GetDedicatedInstallationTemplateInputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDedicatedInstallationTemplateInput)(nil)).Elem() +} + +func (i GetDedicatedInstallationTemplateInputArgs) ToGetDedicatedInstallationTemplateInputOutput() GetDedicatedInstallationTemplateInputOutput { + return i.ToGetDedicatedInstallationTemplateInputOutputWithContext(context.Background()) +} + +func (i GetDedicatedInstallationTemplateInputArgs) ToGetDedicatedInstallationTemplateInputOutputWithContext(ctx context.Context) GetDedicatedInstallationTemplateInputOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDedicatedInstallationTemplateInputOutput) +} + +// GetDedicatedInstallationTemplateInputArrayInput is an input type that accepts GetDedicatedInstallationTemplateInputArray and GetDedicatedInstallationTemplateInputArrayOutput values. +// You can construct a concrete instance of `GetDedicatedInstallationTemplateInputArrayInput` via: +// +// GetDedicatedInstallationTemplateInputArray{ GetDedicatedInstallationTemplateInputArgs{...} } +type GetDedicatedInstallationTemplateInputArrayInput interface { + pulumi.Input + + ToGetDedicatedInstallationTemplateInputArrayOutput() GetDedicatedInstallationTemplateInputArrayOutput + ToGetDedicatedInstallationTemplateInputArrayOutputWithContext(context.Context) GetDedicatedInstallationTemplateInputArrayOutput +} + +type GetDedicatedInstallationTemplateInputArray []GetDedicatedInstallationTemplateInputInput + +func (GetDedicatedInstallationTemplateInputArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDedicatedInstallationTemplateInput)(nil)).Elem() +} + +func (i GetDedicatedInstallationTemplateInputArray) ToGetDedicatedInstallationTemplateInputArrayOutput() GetDedicatedInstallationTemplateInputArrayOutput { + return i.ToGetDedicatedInstallationTemplateInputArrayOutputWithContext(context.Background()) +} + +func (i GetDedicatedInstallationTemplateInputArray) ToGetDedicatedInstallationTemplateInputArrayOutputWithContext(ctx context.Context) GetDedicatedInstallationTemplateInputArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDedicatedInstallationTemplateInputArrayOutput) +} + +type GetDedicatedInstallationTemplateInputOutput struct{ *pulumi.OutputState } + +func (GetDedicatedInstallationTemplateInputOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDedicatedInstallationTemplateInput)(nil)).Elem() +} + +func (o GetDedicatedInstallationTemplateInputOutput) ToGetDedicatedInstallationTemplateInputOutput() GetDedicatedInstallationTemplateInputOutput { + return o +} + +func (o GetDedicatedInstallationTemplateInputOutput) ToGetDedicatedInstallationTemplateInputOutputWithContext(ctx context.Context) GetDedicatedInstallationTemplateInputOutput { + return o +} + +func (o GetDedicatedInstallationTemplateInputOutput) Default() pulumi.StringOutput { + return o.ApplyT(func(v GetDedicatedInstallationTemplateInput) string { return v.Default }).(pulumi.StringOutput) +} + +func (o GetDedicatedInstallationTemplateInputOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v GetDedicatedInstallationTemplateInput) string { return v.Description }).(pulumi.StringOutput) +} + +func (o GetDedicatedInstallationTemplateInputOutput) Enums() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetDedicatedInstallationTemplateInput) []string { return v.Enums }).(pulumi.StringArrayOutput) +} + +func (o GetDedicatedInstallationTemplateInputOutput) Mandatory() pulumi.BoolOutput { + return o.ApplyT(func(v GetDedicatedInstallationTemplateInput) bool { return v.Mandatory }).(pulumi.BoolOutput) +} + +func (o GetDedicatedInstallationTemplateInputOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetDedicatedInstallationTemplateInput) string { return v.Name }).(pulumi.StringOutput) +} + +func (o GetDedicatedInstallationTemplateInputOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v GetDedicatedInstallationTemplateInput) string { return v.Type }).(pulumi.StringOutput) +} + +type GetDedicatedInstallationTemplateInputArrayOutput struct{ *pulumi.OutputState } + +func (GetDedicatedInstallationTemplateInputArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDedicatedInstallationTemplateInput)(nil)).Elem() +} + +func (o GetDedicatedInstallationTemplateInputArrayOutput) ToGetDedicatedInstallationTemplateInputArrayOutput() GetDedicatedInstallationTemplateInputArrayOutput { + return o +} + +func (o GetDedicatedInstallationTemplateInputArrayOutput) ToGetDedicatedInstallationTemplateInputArrayOutputWithContext(ctx context.Context) GetDedicatedInstallationTemplateInputArrayOutput { + return o +} + +func (o GetDedicatedInstallationTemplateInputArrayOutput) Index(i pulumi.IntInput) GetDedicatedInstallationTemplateInputOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDedicatedInstallationTemplateInput { + return vs[0].([]GetDedicatedInstallationTemplateInput)[vs[1].(int)] + }).(GetDedicatedInstallationTemplateInputOutput) +} + +type GetDedicatedInstallationTemplateLicense struct { + Os []GetDedicatedInstallationTemplateLicenseO `pulumi:"os"` + Usages []GetDedicatedInstallationTemplateLicenseUsage `pulumi:"usages"` +} + +// GetDedicatedInstallationTemplateLicenseInput is an input type that accepts GetDedicatedInstallationTemplateLicenseArgs and GetDedicatedInstallationTemplateLicenseOutput values. +// You can construct a concrete instance of `GetDedicatedInstallationTemplateLicenseInput` via: +// +// GetDedicatedInstallationTemplateLicenseArgs{...} +type GetDedicatedInstallationTemplateLicenseInput interface { + pulumi.Input + + ToGetDedicatedInstallationTemplateLicenseOutput() GetDedicatedInstallationTemplateLicenseOutput + ToGetDedicatedInstallationTemplateLicenseOutputWithContext(context.Context) GetDedicatedInstallationTemplateLicenseOutput +} + +type GetDedicatedInstallationTemplateLicenseArgs struct { + Os GetDedicatedInstallationTemplateLicenseOArrayInput `pulumi:"os"` + Usages GetDedicatedInstallationTemplateLicenseUsageArrayInput `pulumi:"usages"` +} + +func (GetDedicatedInstallationTemplateLicenseArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDedicatedInstallationTemplateLicense)(nil)).Elem() +} + +func (i GetDedicatedInstallationTemplateLicenseArgs) ToGetDedicatedInstallationTemplateLicenseOutput() GetDedicatedInstallationTemplateLicenseOutput { + return i.ToGetDedicatedInstallationTemplateLicenseOutputWithContext(context.Background()) +} + +func (i GetDedicatedInstallationTemplateLicenseArgs) ToGetDedicatedInstallationTemplateLicenseOutputWithContext(ctx context.Context) GetDedicatedInstallationTemplateLicenseOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDedicatedInstallationTemplateLicenseOutput) +} + +// GetDedicatedInstallationTemplateLicenseArrayInput is an input type that accepts GetDedicatedInstallationTemplateLicenseArray and GetDedicatedInstallationTemplateLicenseArrayOutput values. +// You can construct a concrete instance of `GetDedicatedInstallationTemplateLicenseArrayInput` via: +// +// GetDedicatedInstallationTemplateLicenseArray{ GetDedicatedInstallationTemplateLicenseArgs{...} } +type GetDedicatedInstallationTemplateLicenseArrayInput interface { + pulumi.Input + + ToGetDedicatedInstallationTemplateLicenseArrayOutput() GetDedicatedInstallationTemplateLicenseArrayOutput + ToGetDedicatedInstallationTemplateLicenseArrayOutputWithContext(context.Context) GetDedicatedInstallationTemplateLicenseArrayOutput +} + +type GetDedicatedInstallationTemplateLicenseArray []GetDedicatedInstallationTemplateLicenseInput + +func (GetDedicatedInstallationTemplateLicenseArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDedicatedInstallationTemplateLicense)(nil)).Elem() +} + +func (i GetDedicatedInstallationTemplateLicenseArray) ToGetDedicatedInstallationTemplateLicenseArrayOutput() GetDedicatedInstallationTemplateLicenseArrayOutput { + return i.ToGetDedicatedInstallationTemplateLicenseArrayOutputWithContext(context.Background()) +} + +func (i GetDedicatedInstallationTemplateLicenseArray) ToGetDedicatedInstallationTemplateLicenseArrayOutputWithContext(ctx context.Context) GetDedicatedInstallationTemplateLicenseArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDedicatedInstallationTemplateLicenseArrayOutput) +} + +type GetDedicatedInstallationTemplateLicenseOutput struct{ *pulumi.OutputState } + +func (GetDedicatedInstallationTemplateLicenseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDedicatedInstallationTemplateLicense)(nil)).Elem() +} + +func (o GetDedicatedInstallationTemplateLicenseOutput) ToGetDedicatedInstallationTemplateLicenseOutput() GetDedicatedInstallationTemplateLicenseOutput { + return o +} + +func (o GetDedicatedInstallationTemplateLicenseOutput) ToGetDedicatedInstallationTemplateLicenseOutputWithContext(ctx context.Context) GetDedicatedInstallationTemplateLicenseOutput { + return o +} + +func (o GetDedicatedInstallationTemplateLicenseOutput) Os() GetDedicatedInstallationTemplateLicenseOArrayOutput { + return o.ApplyT(func(v GetDedicatedInstallationTemplateLicense) []GetDedicatedInstallationTemplateLicenseO { + return v.Os + }).(GetDedicatedInstallationTemplateLicenseOArrayOutput) +} + +func (o GetDedicatedInstallationTemplateLicenseOutput) Usages() GetDedicatedInstallationTemplateLicenseUsageArrayOutput { + return o.ApplyT(func(v GetDedicatedInstallationTemplateLicense) []GetDedicatedInstallationTemplateLicenseUsage { + return v.Usages + }).(GetDedicatedInstallationTemplateLicenseUsageArrayOutput) +} + +type GetDedicatedInstallationTemplateLicenseArrayOutput struct{ *pulumi.OutputState } + +func (GetDedicatedInstallationTemplateLicenseArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDedicatedInstallationTemplateLicense)(nil)).Elem() +} + +func (o GetDedicatedInstallationTemplateLicenseArrayOutput) ToGetDedicatedInstallationTemplateLicenseArrayOutput() GetDedicatedInstallationTemplateLicenseArrayOutput { + return o +} + +func (o GetDedicatedInstallationTemplateLicenseArrayOutput) ToGetDedicatedInstallationTemplateLicenseArrayOutputWithContext(ctx context.Context) GetDedicatedInstallationTemplateLicenseArrayOutput { + return o +} + +func (o GetDedicatedInstallationTemplateLicenseArrayOutput) Index(i pulumi.IntInput) GetDedicatedInstallationTemplateLicenseOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDedicatedInstallationTemplateLicense { + return vs[0].([]GetDedicatedInstallationTemplateLicense)[vs[1].(int)] + }).(GetDedicatedInstallationTemplateLicenseOutput) +} + +type GetDedicatedInstallationTemplateLicenseO struct { + Names []string `pulumi:"names"` + Url string `pulumi:"url"` +} + +// GetDedicatedInstallationTemplateLicenseOInput is an input type that accepts GetDedicatedInstallationTemplateLicenseOArgs and GetDedicatedInstallationTemplateLicenseOOutput values. +// You can construct a concrete instance of `GetDedicatedInstallationTemplateLicenseOInput` via: +// +// GetDedicatedInstallationTemplateLicenseOArgs{...} +type GetDedicatedInstallationTemplateLicenseOInput interface { + pulumi.Input + + ToGetDedicatedInstallationTemplateLicenseOOutput() GetDedicatedInstallationTemplateLicenseOOutput + ToGetDedicatedInstallationTemplateLicenseOOutputWithContext(context.Context) GetDedicatedInstallationTemplateLicenseOOutput +} + +type GetDedicatedInstallationTemplateLicenseOArgs struct { + Names pulumi.StringArrayInput `pulumi:"names"` + Url pulumi.StringInput `pulumi:"url"` +} + +func (GetDedicatedInstallationTemplateLicenseOArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDedicatedInstallationTemplateLicenseO)(nil)).Elem() +} + +func (i GetDedicatedInstallationTemplateLicenseOArgs) ToGetDedicatedInstallationTemplateLicenseOOutput() GetDedicatedInstallationTemplateLicenseOOutput { + return i.ToGetDedicatedInstallationTemplateLicenseOOutputWithContext(context.Background()) +} + +func (i GetDedicatedInstallationTemplateLicenseOArgs) ToGetDedicatedInstallationTemplateLicenseOOutputWithContext(ctx context.Context) GetDedicatedInstallationTemplateLicenseOOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDedicatedInstallationTemplateLicenseOOutput) +} + +// GetDedicatedInstallationTemplateLicenseOArrayInput is an input type that accepts GetDedicatedInstallationTemplateLicenseOArray and GetDedicatedInstallationTemplateLicenseOArrayOutput values. +// You can construct a concrete instance of `GetDedicatedInstallationTemplateLicenseOArrayInput` via: +// +// GetDedicatedInstallationTemplateLicenseOArray{ GetDedicatedInstallationTemplateLicenseOArgs{...} } +type GetDedicatedInstallationTemplateLicenseOArrayInput interface { + pulumi.Input + + ToGetDedicatedInstallationTemplateLicenseOArrayOutput() GetDedicatedInstallationTemplateLicenseOArrayOutput + ToGetDedicatedInstallationTemplateLicenseOArrayOutputWithContext(context.Context) GetDedicatedInstallationTemplateLicenseOArrayOutput +} + +type GetDedicatedInstallationTemplateLicenseOArray []GetDedicatedInstallationTemplateLicenseOInput + +func (GetDedicatedInstallationTemplateLicenseOArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDedicatedInstallationTemplateLicenseO)(nil)).Elem() +} + +func (i GetDedicatedInstallationTemplateLicenseOArray) ToGetDedicatedInstallationTemplateLicenseOArrayOutput() GetDedicatedInstallationTemplateLicenseOArrayOutput { + return i.ToGetDedicatedInstallationTemplateLicenseOArrayOutputWithContext(context.Background()) +} + +func (i GetDedicatedInstallationTemplateLicenseOArray) ToGetDedicatedInstallationTemplateLicenseOArrayOutputWithContext(ctx context.Context) GetDedicatedInstallationTemplateLicenseOArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDedicatedInstallationTemplateLicenseOArrayOutput) +} + +type GetDedicatedInstallationTemplateLicenseOOutput struct{ *pulumi.OutputState } + +func (GetDedicatedInstallationTemplateLicenseOOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDedicatedInstallationTemplateLicenseO)(nil)).Elem() +} + +func (o GetDedicatedInstallationTemplateLicenseOOutput) ToGetDedicatedInstallationTemplateLicenseOOutput() GetDedicatedInstallationTemplateLicenseOOutput { + return o +} + +func (o GetDedicatedInstallationTemplateLicenseOOutput) ToGetDedicatedInstallationTemplateLicenseOOutputWithContext(ctx context.Context) GetDedicatedInstallationTemplateLicenseOOutput { + return o +} + +func (o GetDedicatedInstallationTemplateLicenseOOutput) Names() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetDedicatedInstallationTemplateLicenseO) []string { return v.Names }).(pulumi.StringArrayOutput) +} + +func (o GetDedicatedInstallationTemplateLicenseOOutput) Url() pulumi.StringOutput { + return o.ApplyT(func(v GetDedicatedInstallationTemplateLicenseO) string { return v.Url }).(pulumi.StringOutput) +} + +type GetDedicatedInstallationTemplateLicenseOArrayOutput struct{ *pulumi.OutputState } + +func (GetDedicatedInstallationTemplateLicenseOArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDedicatedInstallationTemplateLicenseO)(nil)).Elem() +} + +func (o GetDedicatedInstallationTemplateLicenseOArrayOutput) ToGetDedicatedInstallationTemplateLicenseOArrayOutput() GetDedicatedInstallationTemplateLicenseOArrayOutput { + return o +} + +func (o GetDedicatedInstallationTemplateLicenseOArrayOutput) ToGetDedicatedInstallationTemplateLicenseOArrayOutputWithContext(ctx context.Context) GetDedicatedInstallationTemplateLicenseOArrayOutput { + return o +} + +func (o GetDedicatedInstallationTemplateLicenseOArrayOutput) Index(i pulumi.IntInput) GetDedicatedInstallationTemplateLicenseOOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDedicatedInstallationTemplateLicenseO { + return vs[0].([]GetDedicatedInstallationTemplateLicenseO)[vs[1].(int)] + }).(GetDedicatedInstallationTemplateLicenseOOutput) +} + +type GetDedicatedInstallationTemplateLicenseUsage struct { + Names []string `pulumi:"names"` + Url string `pulumi:"url"` +} + +// GetDedicatedInstallationTemplateLicenseUsageInput is an input type that accepts GetDedicatedInstallationTemplateLicenseUsageArgs and GetDedicatedInstallationTemplateLicenseUsageOutput values. +// You can construct a concrete instance of `GetDedicatedInstallationTemplateLicenseUsageInput` via: +// +// GetDedicatedInstallationTemplateLicenseUsageArgs{...} +type GetDedicatedInstallationTemplateLicenseUsageInput interface { + pulumi.Input + + ToGetDedicatedInstallationTemplateLicenseUsageOutput() GetDedicatedInstallationTemplateLicenseUsageOutput + ToGetDedicatedInstallationTemplateLicenseUsageOutputWithContext(context.Context) GetDedicatedInstallationTemplateLicenseUsageOutput +} + +type GetDedicatedInstallationTemplateLicenseUsageArgs struct { + Names pulumi.StringArrayInput `pulumi:"names"` + Url pulumi.StringInput `pulumi:"url"` +} + +func (GetDedicatedInstallationTemplateLicenseUsageArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDedicatedInstallationTemplateLicenseUsage)(nil)).Elem() +} + +func (i GetDedicatedInstallationTemplateLicenseUsageArgs) ToGetDedicatedInstallationTemplateLicenseUsageOutput() GetDedicatedInstallationTemplateLicenseUsageOutput { + return i.ToGetDedicatedInstallationTemplateLicenseUsageOutputWithContext(context.Background()) +} + +func (i GetDedicatedInstallationTemplateLicenseUsageArgs) ToGetDedicatedInstallationTemplateLicenseUsageOutputWithContext(ctx context.Context) GetDedicatedInstallationTemplateLicenseUsageOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDedicatedInstallationTemplateLicenseUsageOutput) +} + +// GetDedicatedInstallationTemplateLicenseUsageArrayInput is an input type that accepts GetDedicatedInstallationTemplateLicenseUsageArray and GetDedicatedInstallationTemplateLicenseUsageArrayOutput values. +// You can construct a concrete instance of `GetDedicatedInstallationTemplateLicenseUsageArrayInput` via: +// +// GetDedicatedInstallationTemplateLicenseUsageArray{ GetDedicatedInstallationTemplateLicenseUsageArgs{...} } +type GetDedicatedInstallationTemplateLicenseUsageArrayInput interface { + pulumi.Input + + ToGetDedicatedInstallationTemplateLicenseUsageArrayOutput() GetDedicatedInstallationTemplateLicenseUsageArrayOutput + ToGetDedicatedInstallationTemplateLicenseUsageArrayOutputWithContext(context.Context) GetDedicatedInstallationTemplateLicenseUsageArrayOutput +} + +type GetDedicatedInstallationTemplateLicenseUsageArray []GetDedicatedInstallationTemplateLicenseUsageInput + +func (GetDedicatedInstallationTemplateLicenseUsageArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDedicatedInstallationTemplateLicenseUsage)(nil)).Elem() +} + +func (i GetDedicatedInstallationTemplateLicenseUsageArray) ToGetDedicatedInstallationTemplateLicenseUsageArrayOutput() GetDedicatedInstallationTemplateLicenseUsageArrayOutput { + return i.ToGetDedicatedInstallationTemplateLicenseUsageArrayOutputWithContext(context.Background()) +} + +func (i GetDedicatedInstallationTemplateLicenseUsageArray) ToGetDedicatedInstallationTemplateLicenseUsageArrayOutputWithContext(ctx context.Context) GetDedicatedInstallationTemplateLicenseUsageArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDedicatedInstallationTemplateLicenseUsageArrayOutput) +} + +type GetDedicatedInstallationTemplateLicenseUsageOutput struct{ *pulumi.OutputState } + +func (GetDedicatedInstallationTemplateLicenseUsageOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDedicatedInstallationTemplateLicenseUsage)(nil)).Elem() +} + +func (o GetDedicatedInstallationTemplateLicenseUsageOutput) ToGetDedicatedInstallationTemplateLicenseUsageOutput() GetDedicatedInstallationTemplateLicenseUsageOutput { + return o +} + +func (o GetDedicatedInstallationTemplateLicenseUsageOutput) ToGetDedicatedInstallationTemplateLicenseUsageOutputWithContext(ctx context.Context) GetDedicatedInstallationTemplateLicenseUsageOutput { + return o +} + +func (o GetDedicatedInstallationTemplateLicenseUsageOutput) Names() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetDedicatedInstallationTemplateLicenseUsage) []string { return v.Names }).(pulumi.StringArrayOutput) +} + +func (o GetDedicatedInstallationTemplateLicenseUsageOutput) Url() pulumi.StringOutput { + return o.ApplyT(func(v GetDedicatedInstallationTemplateLicenseUsage) string { return v.Url }).(pulumi.StringOutput) +} + +type GetDedicatedInstallationTemplateLicenseUsageArrayOutput struct{ *pulumi.OutputState } + +func (GetDedicatedInstallationTemplateLicenseUsageArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDedicatedInstallationTemplateLicenseUsage)(nil)).Elem() +} + +func (o GetDedicatedInstallationTemplateLicenseUsageArrayOutput) ToGetDedicatedInstallationTemplateLicenseUsageArrayOutput() GetDedicatedInstallationTemplateLicenseUsageArrayOutput { + return o +} + +func (o GetDedicatedInstallationTemplateLicenseUsageArrayOutput) ToGetDedicatedInstallationTemplateLicenseUsageArrayOutputWithContext(ctx context.Context) GetDedicatedInstallationTemplateLicenseUsageArrayOutput { + return o +} + +func (o GetDedicatedInstallationTemplateLicenseUsageArrayOutput) Index(i pulumi.IntInput) GetDedicatedInstallationTemplateLicenseUsageOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDedicatedInstallationTemplateLicenseUsage { + return vs[0].([]GetDedicatedInstallationTemplateLicenseUsage)[vs[1].(int)] + }).(GetDedicatedInstallationTemplateLicenseUsageOutput) +} + +type GetDedicatedInstallationTemplateProject struct { + Os []GetDedicatedInstallationTemplateProjectO `pulumi:"os"` + Usages []GetDedicatedInstallationTemplateProjectUsage `pulumi:"usages"` +} + +// GetDedicatedInstallationTemplateProjectInput is an input type that accepts GetDedicatedInstallationTemplateProjectArgs and GetDedicatedInstallationTemplateProjectOutput values. +// You can construct a concrete instance of `GetDedicatedInstallationTemplateProjectInput` via: +// +// GetDedicatedInstallationTemplateProjectArgs{...} +type GetDedicatedInstallationTemplateProjectInput interface { + pulumi.Input + + ToGetDedicatedInstallationTemplateProjectOutput() GetDedicatedInstallationTemplateProjectOutput + ToGetDedicatedInstallationTemplateProjectOutputWithContext(context.Context) GetDedicatedInstallationTemplateProjectOutput +} + +type GetDedicatedInstallationTemplateProjectArgs struct { + Os GetDedicatedInstallationTemplateProjectOArrayInput `pulumi:"os"` + Usages GetDedicatedInstallationTemplateProjectUsageArrayInput `pulumi:"usages"` +} + +func (GetDedicatedInstallationTemplateProjectArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDedicatedInstallationTemplateProject)(nil)).Elem() +} + +func (i GetDedicatedInstallationTemplateProjectArgs) ToGetDedicatedInstallationTemplateProjectOutput() GetDedicatedInstallationTemplateProjectOutput { + return i.ToGetDedicatedInstallationTemplateProjectOutputWithContext(context.Background()) +} + +func (i GetDedicatedInstallationTemplateProjectArgs) ToGetDedicatedInstallationTemplateProjectOutputWithContext(ctx context.Context) GetDedicatedInstallationTemplateProjectOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDedicatedInstallationTemplateProjectOutput) +} + +// GetDedicatedInstallationTemplateProjectArrayInput is an input type that accepts GetDedicatedInstallationTemplateProjectArray and GetDedicatedInstallationTemplateProjectArrayOutput values. +// You can construct a concrete instance of `GetDedicatedInstallationTemplateProjectArrayInput` via: +// +// GetDedicatedInstallationTemplateProjectArray{ GetDedicatedInstallationTemplateProjectArgs{...} } +type GetDedicatedInstallationTemplateProjectArrayInput interface { + pulumi.Input + + ToGetDedicatedInstallationTemplateProjectArrayOutput() GetDedicatedInstallationTemplateProjectArrayOutput + ToGetDedicatedInstallationTemplateProjectArrayOutputWithContext(context.Context) GetDedicatedInstallationTemplateProjectArrayOutput +} + +type GetDedicatedInstallationTemplateProjectArray []GetDedicatedInstallationTemplateProjectInput + +func (GetDedicatedInstallationTemplateProjectArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDedicatedInstallationTemplateProject)(nil)).Elem() +} + +func (i GetDedicatedInstallationTemplateProjectArray) ToGetDedicatedInstallationTemplateProjectArrayOutput() GetDedicatedInstallationTemplateProjectArrayOutput { + return i.ToGetDedicatedInstallationTemplateProjectArrayOutputWithContext(context.Background()) +} + +func (i GetDedicatedInstallationTemplateProjectArray) ToGetDedicatedInstallationTemplateProjectArrayOutputWithContext(ctx context.Context) GetDedicatedInstallationTemplateProjectArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDedicatedInstallationTemplateProjectArrayOutput) +} + +type GetDedicatedInstallationTemplateProjectOutput struct{ *pulumi.OutputState } + +func (GetDedicatedInstallationTemplateProjectOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDedicatedInstallationTemplateProject)(nil)).Elem() +} + +func (o GetDedicatedInstallationTemplateProjectOutput) ToGetDedicatedInstallationTemplateProjectOutput() GetDedicatedInstallationTemplateProjectOutput { + return o +} + +func (o GetDedicatedInstallationTemplateProjectOutput) ToGetDedicatedInstallationTemplateProjectOutputWithContext(ctx context.Context) GetDedicatedInstallationTemplateProjectOutput { + return o +} + +func (o GetDedicatedInstallationTemplateProjectOutput) Os() GetDedicatedInstallationTemplateProjectOArrayOutput { + return o.ApplyT(func(v GetDedicatedInstallationTemplateProject) []GetDedicatedInstallationTemplateProjectO { + return v.Os + }).(GetDedicatedInstallationTemplateProjectOArrayOutput) +} + +func (o GetDedicatedInstallationTemplateProjectOutput) Usages() GetDedicatedInstallationTemplateProjectUsageArrayOutput { + return o.ApplyT(func(v GetDedicatedInstallationTemplateProject) []GetDedicatedInstallationTemplateProjectUsage { + return v.Usages + }).(GetDedicatedInstallationTemplateProjectUsageArrayOutput) +} + +type GetDedicatedInstallationTemplateProjectArrayOutput struct{ *pulumi.OutputState } + +func (GetDedicatedInstallationTemplateProjectArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDedicatedInstallationTemplateProject)(nil)).Elem() +} + +func (o GetDedicatedInstallationTemplateProjectArrayOutput) ToGetDedicatedInstallationTemplateProjectArrayOutput() GetDedicatedInstallationTemplateProjectArrayOutput { + return o +} + +func (o GetDedicatedInstallationTemplateProjectArrayOutput) ToGetDedicatedInstallationTemplateProjectArrayOutputWithContext(ctx context.Context) GetDedicatedInstallationTemplateProjectArrayOutput { + return o +} + +func (o GetDedicatedInstallationTemplateProjectArrayOutput) Index(i pulumi.IntInput) GetDedicatedInstallationTemplateProjectOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDedicatedInstallationTemplateProject { + return vs[0].([]GetDedicatedInstallationTemplateProject)[vs[1].(int)] + }).(GetDedicatedInstallationTemplateProjectOutput) +} + +type GetDedicatedInstallationTemplateProjectO struct { + Governances []string `pulumi:"governances"` + Name string `pulumi:"name"` + ReleaseNotes string `pulumi:"releaseNotes"` + Url string `pulumi:"url"` + Version string `pulumi:"version"` +} + +// GetDedicatedInstallationTemplateProjectOInput is an input type that accepts GetDedicatedInstallationTemplateProjectOArgs and GetDedicatedInstallationTemplateProjectOOutput values. +// You can construct a concrete instance of `GetDedicatedInstallationTemplateProjectOInput` via: +// +// GetDedicatedInstallationTemplateProjectOArgs{...} +type GetDedicatedInstallationTemplateProjectOInput interface { + pulumi.Input + + ToGetDedicatedInstallationTemplateProjectOOutput() GetDedicatedInstallationTemplateProjectOOutput + ToGetDedicatedInstallationTemplateProjectOOutputWithContext(context.Context) GetDedicatedInstallationTemplateProjectOOutput +} + +type GetDedicatedInstallationTemplateProjectOArgs struct { + Governances pulumi.StringArrayInput `pulumi:"governances"` + Name pulumi.StringInput `pulumi:"name"` + ReleaseNotes pulumi.StringInput `pulumi:"releaseNotes"` + Url pulumi.StringInput `pulumi:"url"` + Version pulumi.StringInput `pulumi:"version"` +} + +func (GetDedicatedInstallationTemplateProjectOArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDedicatedInstallationTemplateProjectO)(nil)).Elem() +} + +func (i GetDedicatedInstallationTemplateProjectOArgs) ToGetDedicatedInstallationTemplateProjectOOutput() GetDedicatedInstallationTemplateProjectOOutput { + return i.ToGetDedicatedInstallationTemplateProjectOOutputWithContext(context.Background()) +} + +func (i GetDedicatedInstallationTemplateProjectOArgs) ToGetDedicatedInstallationTemplateProjectOOutputWithContext(ctx context.Context) GetDedicatedInstallationTemplateProjectOOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDedicatedInstallationTemplateProjectOOutput) +} + +// GetDedicatedInstallationTemplateProjectOArrayInput is an input type that accepts GetDedicatedInstallationTemplateProjectOArray and GetDedicatedInstallationTemplateProjectOArrayOutput values. +// You can construct a concrete instance of `GetDedicatedInstallationTemplateProjectOArrayInput` via: +// +// GetDedicatedInstallationTemplateProjectOArray{ GetDedicatedInstallationTemplateProjectOArgs{...} } +type GetDedicatedInstallationTemplateProjectOArrayInput interface { + pulumi.Input + + ToGetDedicatedInstallationTemplateProjectOArrayOutput() GetDedicatedInstallationTemplateProjectOArrayOutput + ToGetDedicatedInstallationTemplateProjectOArrayOutputWithContext(context.Context) GetDedicatedInstallationTemplateProjectOArrayOutput +} + +type GetDedicatedInstallationTemplateProjectOArray []GetDedicatedInstallationTemplateProjectOInput + +func (GetDedicatedInstallationTemplateProjectOArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDedicatedInstallationTemplateProjectO)(nil)).Elem() +} + +func (i GetDedicatedInstallationTemplateProjectOArray) ToGetDedicatedInstallationTemplateProjectOArrayOutput() GetDedicatedInstallationTemplateProjectOArrayOutput { + return i.ToGetDedicatedInstallationTemplateProjectOArrayOutputWithContext(context.Background()) +} + +func (i GetDedicatedInstallationTemplateProjectOArray) ToGetDedicatedInstallationTemplateProjectOArrayOutputWithContext(ctx context.Context) GetDedicatedInstallationTemplateProjectOArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDedicatedInstallationTemplateProjectOArrayOutput) +} + +type GetDedicatedInstallationTemplateProjectOOutput struct{ *pulumi.OutputState } + +func (GetDedicatedInstallationTemplateProjectOOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDedicatedInstallationTemplateProjectO)(nil)).Elem() +} + +func (o GetDedicatedInstallationTemplateProjectOOutput) ToGetDedicatedInstallationTemplateProjectOOutput() GetDedicatedInstallationTemplateProjectOOutput { + return o +} + +func (o GetDedicatedInstallationTemplateProjectOOutput) ToGetDedicatedInstallationTemplateProjectOOutputWithContext(ctx context.Context) GetDedicatedInstallationTemplateProjectOOutput { + return o +} + +func (o GetDedicatedInstallationTemplateProjectOOutput) Governances() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetDedicatedInstallationTemplateProjectO) []string { return v.Governances }).(pulumi.StringArrayOutput) +} + +func (o GetDedicatedInstallationTemplateProjectOOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetDedicatedInstallationTemplateProjectO) string { return v.Name }).(pulumi.StringOutput) +} + +func (o GetDedicatedInstallationTemplateProjectOOutput) ReleaseNotes() pulumi.StringOutput { + return o.ApplyT(func(v GetDedicatedInstallationTemplateProjectO) string { return v.ReleaseNotes }).(pulumi.StringOutput) +} + +func (o GetDedicatedInstallationTemplateProjectOOutput) Url() pulumi.StringOutput { + return o.ApplyT(func(v GetDedicatedInstallationTemplateProjectO) string { return v.Url }).(pulumi.StringOutput) +} + +func (o GetDedicatedInstallationTemplateProjectOOutput) Version() pulumi.StringOutput { + return o.ApplyT(func(v GetDedicatedInstallationTemplateProjectO) string { return v.Version }).(pulumi.StringOutput) +} + +type GetDedicatedInstallationTemplateProjectOArrayOutput struct{ *pulumi.OutputState } + +func (GetDedicatedInstallationTemplateProjectOArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDedicatedInstallationTemplateProjectO)(nil)).Elem() +} + +func (o GetDedicatedInstallationTemplateProjectOArrayOutput) ToGetDedicatedInstallationTemplateProjectOArrayOutput() GetDedicatedInstallationTemplateProjectOArrayOutput { + return o +} + +func (o GetDedicatedInstallationTemplateProjectOArrayOutput) ToGetDedicatedInstallationTemplateProjectOArrayOutputWithContext(ctx context.Context) GetDedicatedInstallationTemplateProjectOArrayOutput { + return o +} + +func (o GetDedicatedInstallationTemplateProjectOArrayOutput) Index(i pulumi.IntInput) GetDedicatedInstallationTemplateProjectOOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDedicatedInstallationTemplateProjectO { + return vs[0].([]GetDedicatedInstallationTemplateProjectO)[vs[1].(int)] + }).(GetDedicatedInstallationTemplateProjectOOutput) +} + +type GetDedicatedInstallationTemplateProjectUsage struct { + Governances []string `pulumi:"governances"` + Name string `pulumi:"name"` + ReleaseNotes string `pulumi:"releaseNotes"` + Url string `pulumi:"url"` + Version string `pulumi:"version"` +} + +// GetDedicatedInstallationTemplateProjectUsageInput is an input type that accepts GetDedicatedInstallationTemplateProjectUsageArgs and GetDedicatedInstallationTemplateProjectUsageOutput values. +// You can construct a concrete instance of `GetDedicatedInstallationTemplateProjectUsageInput` via: +// +// GetDedicatedInstallationTemplateProjectUsageArgs{...} +type GetDedicatedInstallationTemplateProjectUsageInput interface { + pulumi.Input + + ToGetDedicatedInstallationTemplateProjectUsageOutput() GetDedicatedInstallationTemplateProjectUsageOutput + ToGetDedicatedInstallationTemplateProjectUsageOutputWithContext(context.Context) GetDedicatedInstallationTemplateProjectUsageOutput +} + +type GetDedicatedInstallationTemplateProjectUsageArgs struct { + Governances pulumi.StringArrayInput `pulumi:"governances"` + Name pulumi.StringInput `pulumi:"name"` + ReleaseNotes pulumi.StringInput `pulumi:"releaseNotes"` + Url pulumi.StringInput `pulumi:"url"` + Version pulumi.StringInput `pulumi:"version"` +} + +func (GetDedicatedInstallationTemplateProjectUsageArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDedicatedInstallationTemplateProjectUsage)(nil)).Elem() +} + +func (i GetDedicatedInstallationTemplateProjectUsageArgs) ToGetDedicatedInstallationTemplateProjectUsageOutput() GetDedicatedInstallationTemplateProjectUsageOutput { + return i.ToGetDedicatedInstallationTemplateProjectUsageOutputWithContext(context.Background()) +} + +func (i GetDedicatedInstallationTemplateProjectUsageArgs) ToGetDedicatedInstallationTemplateProjectUsageOutputWithContext(ctx context.Context) GetDedicatedInstallationTemplateProjectUsageOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDedicatedInstallationTemplateProjectUsageOutput) +} + +// GetDedicatedInstallationTemplateProjectUsageArrayInput is an input type that accepts GetDedicatedInstallationTemplateProjectUsageArray and GetDedicatedInstallationTemplateProjectUsageArrayOutput values. +// You can construct a concrete instance of `GetDedicatedInstallationTemplateProjectUsageArrayInput` via: +// +// GetDedicatedInstallationTemplateProjectUsageArray{ GetDedicatedInstallationTemplateProjectUsageArgs{...} } +type GetDedicatedInstallationTemplateProjectUsageArrayInput interface { + pulumi.Input + + ToGetDedicatedInstallationTemplateProjectUsageArrayOutput() GetDedicatedInstallationTemplateProjectUsageArrayOutput + ToGetDedicatedInstallationTemplateProjectUsageArrayOutputWithContext(context.Context) GetDedicatedInstallationTemplateProjectUsageArrayOutput +} + +type GetDedicatedInstallationTemplateProjectUsageArray []GetDedicatedInstallationTemplateProjectUsageInput + +func (GetDedicatedInstallationTemplateProjectUsageArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDedicatedInstallationTemplateProjectUsage)(nil)).Elem() +} + +func (i GetDedicatedInstallationTemplateProjectUsageArray) ToGetDedicatedInstallationTemplateProjectUsageArrayOutput() GetDedicatedInstallationTemplateProjectUsageArrayOutput { + return i.ToGetDedicatedInstallationTemplateProjectUsageArrayOutputWithContext(context.Background()) +} + +func (i GetDedicatedInstallationTemplateProjectUsageArray) ToGetDedicatedInstallationTemplateProjectUsageArrayOutputWithContext(ctx context.Context) GetDedicatedInstallationTemplateProjectUsageArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDedicatedInstallationTemplateProjectUsageArrayOutput) +} + +type GetDedicatedInstallationTemplateProjectUsageOutput struct{ *pulumi.OutputState } + +func (GetDedicatedInstallationTemplateProjectUsageOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDedicatedInstallationTemplateProjectUsage)(nil)).Elem() +} + +func (o GetDedicatedInstallationTemplateProjectUsageOutput) ToGetDedicatedInstallationTemplateProjectUsageOutput() GetDedicatedInstallationTemplateProjectUsageOutput { + return o +} + +func (o GetDedicatedInstallationTemplateProjectUsageOutput) ToGetDedicatedInstallationTemplateProjectUsageOutputWithContext(ctx context.Context) GetDedicatedInstallationTemplateProjectUsageOutput { + return o +} + +func (o GetDedicatedInstallationTemplateProjectUsageOutput) Governances() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetDedicatedInstallationTemplateProjectUsage) []string { return v.Governances }).(pulumi.StringArrayOutput) +} + +func (o GetDedicatedInstallationTemplateProjectUsageOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetDedicatedInstallationTemplateProjectUsage) string { return v.Name }).(pulumi.StringOutput) +} + +func (o GetDedicatedInstallationTemplateProjectUsageOutput) ReleaseNotes() pulumi.StringOutput { + return o.ApplyT(func(v GetDedicatedInstallationTemplateProjectUsage) string { return v.ReleaseNotes }).(pulumi.StringOutput) +} + +func (o GetDedicatedInstallationTemplateProjectUsageOutput) Url() pulumi.StringOutput { + return o.ApplyT(func(v GetDedicatedInstallationTemplateProjectUsage) string { return v.Url }).(pulumi.StringOutput) +} + +func (o GetDedicatedInstallationTemplateProjectUsageOutput) Version() pulumi.StringOutput { + return o.ApplyT(func(v GetDedicatedInstallationTemplateProjectUsage) string { return v.Version }).(pulumi.StringOutput) +} + +type GetDedicatedInstallationTemplateProjectUsageArrayOutput struct{ *pulumi.OutputState } + +func (GetDedicatedInstallationTemplateProjectUsageArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDedicatedInstallationTemplateProjectUsage)(nil)).Elem() +} + +func (o GetDedicatedInstallationTemplateProjectUsageArrayOutput) ToGetDedicatedInstallationTemplateProjectUsageArrayOutput() GetDedicatedInstallationTemplateProjectUsageArrayOutput { + return o +} + +func (o GetDedicatedInstallationTemplateProjectUsageArrayOutput) ToGetDedicatedInstallationTemplateProjectUsageArrayOutputWithContext(ctx context.Context) GetDedicatedInstallationTemplateProjectUsageArrayOutput { + return o +} + +func (o GetDedicatedInstallationTemplateProjectUsageArrayOutput) Index(i pulumi.IntInput) GetDedicatedInstallationTemplateProjectUsageOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDedicatedInstallationTemplateProjectUsage { + return vs[0].([]GetDedicatedInstallationTemplateProjectUsage)[vs[1].(int)] + }).(GetDedicatedInstallationTemplateProjectUsageOutput) +} + +type GetDedicatedServerSpecificationsHardwareDefaultHardwareRaidSize struct { + Unit string `pulumi:"unit"` + Value float64 `pulumi:"value"` +} + +// GetDedicatedServerSpecificationsHardwareDefaultHardwareRaidSizeInput is an input type that accepts GetDedicatedServerSpecificationsHardwareDefaultHardwareRaidSizeArgs and GetDedicatedServerSpecificationsHardwareDefaultHardwareRaidSizeOutput values. +// You can construct a concrete instance of `GetDedicatedServerSpecificationsHardwareDefaultHardwareRaidSizeInput` via: +// +// GetDedicatedServerSpecificationsHardwareDefaultHardwareRaidSizeArgs{...} +type GetDedicatedServerSpecificationsHardwareDefaultHardwareRaidSizeInput interface { + pulumi.Input + + ToGetDedicatedServerSpecificationsHardwareDefaultHardwareRaidSizeOutput() GetDedicatedServerSpecificationsHardwareDefaultHardwareRaidSizeOutput + ToGetDedicatedServerSpecificationsHardwareDefaultHardwareRaidSizeOutputWithContext(context.Context) GetDedicatedServerSpecificationsHardwareDefaultHardwareRaidSizeOutput +} + +type GetDedicatedServerSpecificationsHardwareDefaultHardwareRaidSizeArgs struct { + Unit pulumi.StringInput `pulumi:"unit"` + Value pulumi.Float64Input `pulumi:"value"` +} + +func (GetDedicatedServerSpecificationsHardwareDefaultHardwareRaidSizeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDedicatedServerSpecificationsHardwareDefaultHardwareRaidSize)(nil)).Elem() +} + +func (i GetDedicatedServerSpecificationsHardwareDefaultHardwareRaidSizeArgs) ToGetDedicatedServerSpecificationsHardwareDefaultHardwareRaidSizeOutput() GetDedicatedServerSpecificationsHardwareDefaultHardwareRaidSizeOutput { + return i.ToGetDedicatedServerSpecificationsHardwareDefaultHardwareRaidSizeOutputWithContext(context.Background()) +} + +func (i GetDedicatedServerSpecificationsHardwareDefaultHardwareRaidSizeArgs) ToGetDedicatedServerSpecificationsHardwareDefaultHardwareRaidSizeOutputWithContext(ctx context.Context) GetDedicatedServerSpecificationsHardwareDefaultHardwareRaidSizeOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDedicatedServerSpecificationsHardwareDefaultHardwareRaidSizeOutput) +} + +type GetDedicatedServerSpecificationsHardwareDefaultHardwareRaidSizeOutput struct{ *pulumi.OutputState } + +func (GetDedicatedServerSpecificationsHardwareDefaultHardwareRaidSizeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDedicatedServerSpecificationsHardwareDefaultHardwareRaidSize)(nil)).Elem() +} + +func (o GetDedicatedServerSpecificationsHardwareDefaultHardwareRaidSizeOutput) ToGetDedicatedServerSpecificationsHardwareDefaultHardwareRaidSizeOutput() GetDedicatedServerSpecificationsHardwareDefaultHardwareRaidSizeOutput { + return o +} + +func (o GetDedicatedServerSpecificationsHardwareDefaultHardwareRaidSizeOutput) ToGetDedicatedServerSpecificationsHardwareDefaultHardwareRaidSizeOutputWithContext(ctx context.Context) GetDedicatedServerSpecificationsHardwareDefaultHardwareRaidSizeOutput { + return o +} + +func (o GetDedicatedServerSpecificationsHardwareDefaultHardwareRaidSizeOutput) Unit() pulumi.StringOutput { + return o.ApplyT(func(v GetDedicatedServerSpecificationsHardwareDefaultHardwareRaidSize) string { return v.Unit }).(pulumi.StringOutput) +} + +func (o GetDedicatedServerSpecificationsHardwareDefaultHardwareRaidSizeOutput) Value() pulumi.Float64Output { + return o.ApplyT(func(v GetDedicatedServerSpecificationsHardwareDefaultHardwareRaidSize) float64 { return v.Value }).(pulumi.Float64Output) +} + +type GetDedicatedServerSpecificationsHardwareDiskGroup struct { + // default hardware raid size for this disk group + DefaultHardwareRaidSize GetDedicatedServerSpecificationsHardwareDiskGroupDefaultHardwareRaidSize `pulumi:"defaultHardwareRaidSize"` + // default hardware raid type for this disk group + DefaultHardwareRaidType string `pulumi:"defaultHardwareRaidType"` + // human readable description of this disk group + Description string `pulumi:"description"` + // identifier of this disk group + DiskGroupId float64 `pulumi:"diskGroupId"` + // disk capacity + DiskSize GetDedicatedServerSpecificationsHardwareDiskGroupDiskSize `pulumi:"diskSize"` + // type of the disk (SSD, SATA, SAS, ...) + DiskType string `pulumi:"diskType"` + // number of disks in this group + NumberOfDisks float64 `pulumi:"numberOfDisks"` + // raid controller, if any, managing this group of disks + RaidController string `pulumi:"raidController"` +} + +// GetDedicatedServerSpecificationsHardwareDiskGroupInput is an input type that accepts GetDedicatedServerSpecificationsHardwareDiskGroupArgs and GetDedicatedServerSpecificationsHardwareDiskGroupOutput values. +// You can construct a concrete instance of `GetDedicatedServerSpecificationsHardwareDiskGroupInput` via: +// +// GetDedicatedServerSpecificationsHardwareDiskGroupArgs{...} +type GetDedicatedServerSpecificationsHardwareDiskGroupInput interface { + pulumi.Input + + ToGetDedicatedServerSpecificationsHardwareDiskGroupOutput() GetDedicatedServerSpecificationsHardwareDiskGroupOutput + ToGetDedicatedServerSpecificationsHardwareDiskGroupOutputWithContext(context.Context) GetDedicatedServerSpecificationsHardwareDiskGroupOutput +} + +type GetDedicatedServerSpecificationsHardwareDiskGroupArgs struct { + // default hardware raid size for this disk group + DefaultHardwareRaidSize GetDedicatedServerSpecificationsHardwareDiskGroupDefaultHardwareRaidSizeInput `pulumi:"defaultHardwareRaidSize"` + // default hardware raid type for this disk group + DefaultHardwareRaidType pulumi.StringInput `pulumi:"defaultHardwareRaidType"` + // human readable description of this disk group + Description pulumi.StringInput `pulumi:"description"` + // identifier of this disk group + DiskGroupId pulumi.Float64Input `pulumi:"diskGroupId"` + // disk capacity + DiskSize GetDedicatedServerSpecificationsHardwareDiskGroupDiskSizeInput `pulumi:"diskSize"` + // type of the disk (SSD, SATA, SAS, ...) + DiskType pulumi.StringInput `pulumi:"diskType"` + // number of disks in this group + NumberOfDisks pulumi.Float64Input `pulumi:"numberOfDisks"` + // raid controller, if any, managing this group of disks + RaidController pulumi.StringInput `pulumi:"raidController"` +} + +func (GetDedicatedServerSpecificationsHardwareDiskGroupArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDedicatedServerSpecificationsHardwareDiskGroup)(nil)).Elem() +} + +func (i GetDedicatedServerSpecificationsHardwareDiskGroupArgs) ToGetDedicatedServerSpecificationsHardwareDiskGroupOutput() GetDedicatedServerSpecificationsHardwareDiskGroupOutput { + return i.ToGetDedicatedServerSpecificationsHardwareDiskGroupOutputWithContext(context.Background()) +} + +func (i GetDedicatedServerSpecificationsHardwareDiskGroupArgs) ToGetDedicatedServerSpecificationsHardwareDiskGroupOutputWithContext(ctx context.Context) GetDedicatedServerSpecificationsHardwareDiskGroupOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDedicatedServerSpecificationsHardwareDiskGroupOutput) +} + +// GetDedicatedServerSpecificationsHardwareDiskGroupArrayInput is an input type that accepts GetDedicatedServerSpecificationsHardwareDiskGroupArray and GetDedicatedServerSpecificationsHardwareDiskGroupArrayOutput values. +// You can construct a concrete instance of `GetDedicatedServerSpecificationsHardwareDiskGroupArrayInput` via: +// +// GetDedicatedServerSpecificationsHardwareDiskGroupArray{ GetDedicatedServerSpecificationsHardwareDiskGroupArgs{...} } +type GetDedicatedServerSpecificationsHardwareDiskGroupArrayInput interface { + pulumi.Input + + ToGetDedicatedServerSpecificationsHardwareDiskGroupArrayOutput() GetDedicatedServerSpecificationsHardwareDiskGroupArrayOutput + ToGetDedicatedServerSpecificationsHardwareDiskGroupArrayOutputWithContext(context.Context) GetDedicatedServerSpecificationsHardwareDiskGroupArrayOutput +} + +type GetDedicatedServerSpecificationsHardwareDiskGroupArray []GetDedicatedServerSpecificationsHardwareDiskGroupInput + +func (GetDedicatedServerSpecificationsHardwareDiskGroupArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDedicatedServerSpecificationsHardwareDiskGroup)(nil)).Elem() +} + +func (i GetDedicatedServerSpecificationsHardwareDiskGroupArray) ToGetDedicatedServerSpecificationsHardwareDiskGroupArrayOutput() GetDedicatedServerSpecificationsHardwareDiskGroupArrayOutput { + return i.ToGetDedicatedServerSpecificationsHardwareDiskGroupArrayOutputWithContext(context.Background()) +} + +func (i GetDedicatedServerSpecificationsHardwareDiskGroupArray) ToGetDedicatedServerSpecificationsHardwareDiskGroupArrayOutputWithContext(ctx context.Context) GetDedicatedServerSpecificationsHardwareDiskGroupArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDedicatedServerSpecificationsHardwareDiskGroupArrayOutput) +} + +type GetDedicatedServerSpecificationsHardwareDiskGroupOutput struct{ *pulumi.OutputState } + +func (GetDedicatedServerSpecificationsHardwareDiskGroupOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDedicatedServerSpecificationsHardwareDiskGroup)(nil)).Elem() +} + +func (o GetDedicatedServerSpecificationsHardwareDiskGroupOutput) ToGetDedicatedServerSpecificationsHardwareDiskGroupOutput() GetDedicatedServerSpecificationsHardwareDiskGroupOutput { + return o +} + +func (o GetDedicatedServerSpecificationsHardwareDiskGroupOutput) ToGetDedicatedServerSpecificationsHardwareDiskGroupOutputWithContext(ctx context.Context) GetDedicatedServerSpecificationsHardwareDiskGroupOutput { + return o +} + +// default hardware raid size for this disk group +func (o GetDedicatedServerSpecificationsHardwareDiskGroupOutput) DefaultHardwareRaidSize() GetDedicatedServerSpecificationsHardwareDiskGroupDefaultHardwareRaidSizeOutput { + return o.ApplyT(func(v GetDedicatedServerSpecificationsHardwareDiskGroup) GetDedicatedServerSpecificationsHardwareDiskGroupDefaultHardwareRaidSize { + return v.DefaultHardwareRaidSize + }).(GetDedicatedServerSpecificationsHardwareDiskGroupDefaultHardwareRaidSizeOutput) +} + +// default hardware raid type for this disk group +func (o GetDedicatedServerSpecificationsHardwareDiskGroupOutput) DefaultHardwareRaidType() pulumi.StringOutput { + return o.ApplyT(func(v GetDedicatedServerSpecificationsHardwareDiskGroup) string { return v.DefaultHardwareRaidType }).(pulumi.StringOutput) +} + +// human readable description of this disk group +func (o GetDedicatedServerSpecificationsHardwareDiskGroupOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v GetDedicatedServerSpecificationsHardwareDiskGroup) string { return v.Description }).(pulumi.StringOutput) +} + +// identifier of this disk group +func (o GetDedicatedServerSpecificationsHardwareDiskGroupOutput) DiskGroupId() pulumi.Float64Output { + return o.ApplyT(func(v GetDedicatedServerSpecificationsHardwareDiskGroup) float64 { return v.DiskGroupId }).(pulumi.Float64Output) +} + +// disk capacity +func (o GetDedicatedServerSpecificationsHardwareDiskGroupOutput) DiskSize() GetDedicatedServerSpecificationsHardwareDiskGroupDiskSizeOutput { + return o.ApplyT(func(v GetDedicatedServerSpecificationsHardwareDiskGroup) GetDedicatedServerSpecificationsHardwareDiskGroupDiskSize { + return v.DiskSize + }).(GetDedicatedServerSpecificationsHardwareDiskGroupDiskSizeOutput) +} + +// type of the disk (SSD, SATA, SAS, ...) +func (o GetDedicatedServerSpecificationsHardwareDiskGroupOutput) DiskType() pulumi.StringOutput { + return o.ApplyT(func(v GetDedicatedServerSpecificationsHardwareDiskGroup) string { return v.DiskType }).(pulumi.StringOutput) +} + +// number of disks in this group +func (o GetDedicatedServerSpecificationsHardwareDiskGroupOutput) NumberOfDisks() pulumi.Float64Output { + return o.ApplyT(func(v GetDedicatedServerSpecificationsHardwareDiskGroup) float64 { return v.NumberOfDisks }).(pulumi.Float64Output) +} + +// raid controller, if any, managing this group of disks +func (o GetDedicatedServerSpecificationsHardwareDiskGroupOutput) RaidController() pulumi.StringOutput { + return o.ApplyT(func(v GetDedicatedServerSpecificationsHardwareDiskGroup) string { return v.RaidController }).(pulumi.StringOutput) +} + +type GetDedicatedServerSpecificationsHardwareDiskGroupArrayOutput struct{ *pulumi.OutputState } + +func (GetDedicatedServerSpecificationsHardwareDiskGroupArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDedicatedServerSpecificationsHardwareDiskGroup)(nil)).Elem() +} + +func (o GetDedicatedServerSpecificationsHardwareDiskGroupArrayOutput) ToGetDedicatedServerSpecificationsHardwareDiskGroupArrayOutput() GetDedicatedServerSpecificationsHardwareDiskGroupArrayOutput { + return o +} + +func (o GetDedicatedServerSpecificationsHardwareDiskGroupArrayOutput) ToGetDedicatedServerSpecificationsHardwareDiskGroupArrayOutputWithContext(ctx context.Context) GetDedicatedServerSpecificationsHardwareDiskGroupArrayOutput { + return o +} + +func (o GetDedicatedServerSpecificationsHardwareDiskGroupArrayOutput) Index(i pulumi.IntInput) GetDedicatedServerSpecificationsHardwareDiskGroupOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDedicatedServerSpecificationsHardwareDiskGroup { + return vs[0].([]GetDedicatedServerSpecificationsHardwareDiskGroup)[vs[1].(int)] + }).(GetDedicatedServerSpecificationsHardwareDiskGroupOutput) +} + +type GetDedicatedServerSpecificationsHardwareDiskGroupDefaultHardwareRaidSize struct { + Unit string `pulumi:"unit"` + Value float64 `pulumi:"value"` +} + +// GetDedicatedServerSpecificationsHardwareDiskGroupDefaultHardwareRaidSizeInput is an input type that accepts GetDedicatedServerSpecificationsHardwareDiskGroupDefaultHardwareRaidSizeArgs and GetDedicatedServerSpecificationsHardwareDiskGroupDefaultHardwareRaidSizeOutput values. +// You can construct a concrete instance of `GetDedicatedServerSpecificationsHardwareDiskGroupDefaultHardwareRaidSizeInput` via: +// +// GetDedicatedServerSpecificationsHardwareDiskGroupDefaultHardwareRaidSizeArgs{...} +type GetDedicatedServerSpecificationsHardwareDiskGroupDefaultHardwareRaidSizeInput interface { + pulumi.Input + + ToGetDedicatedServerSpecificationsHardwareDiskGroupDefaultHardwareRaidSizeOutput() GetDedicatedServerSpecificationsHardwareDiskGroupDefaultHardwareRaidSizeOutput + ToGetDedicatedServerSpecificationsHardwareDiskGroupDefaultHardwareRaidSizeOutputWithContext(context.Context) GetDedicatedServerSpecificationsHardwareDiskGroupDefaultHardwareRaidSizeOutput +} + +type GetDedicatedServerSpecificationsHardwareDiskGroupDefaultHardwareRaidSizeArgs struct { + Unit pulumi.StringInput `pulumi:"unit"` + Value pulumi.Float64Input `pulumi:"value"` +} + +func (GetDedicatedServerSpecificationsHardwareDiskGroupDefaultHardwareRaidSizeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDedicatedServerSpecificationsHardwareDiskGroupDefaultHardwareRaidSize)(nil)).Elem() +} + +func (i GetDedicatedServerSpecificationsHardwareDiskGroupDefaultHardwareRaidSizeArgs) ToGetDedicatedServerSpecificationsHardwareDiskGroupDefaultHardwareRaidSizeOutput() GetDedicatedServerSpecificationsHardwareDiskGroupDefaultHardwareRaidSizeOutput { + return i.ToGetDedicatedServerSpecificationsHardwareDiskGroupDefaultHardwareRaidSizeOutputWithContext(context.Background()) +} + +func (i GetDedicatedServerSpecificationsHardwareDiskGroupDefaultHardwareRaidSizeArgs) ToGetDedicatedServerSpecificationsHardwareDiskGroupDefaultHardwareRaidSizeOutputWithContext(ctx context.Context) GetDedicatedServerSpecificationsHardwareDiskGroupDefaultHardwareRaidSizeOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDedicatedServerSpecificationsHardwareDiskGroupDefaultHardwareRaidSizeOutput) +} + +type GetDedicatedServerSpecificationsHardwareDiskGroupDefaultHardwareRaidSizeOutput struct{ *pulumi.OutputState } + +func (GetDedicatedServerSpecificationsHardwareDiskGroupDefaultHardwareRaidSizeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDedicatedServerSpecificationsHardwareDiskGroupDefaultHardwareRaidSize)(nil)).Elem() +} + +func (o GetDedicatedServerSpecificationsHardwareDiskGroupDefaultHardwareRaidSizeOutput) ToGetDedicatedServerSpecificationsHardwareDiskGroupDefaultHardwareRaidSizeOutput() GetDedicatedServerSpecificationsHardwareDiskGroupDefaultHardwareRaidSizeOutput { + return o +} + +func (o GetDedicatedServerSpecificationsHardwareDiskGroupDefaultHardwareRaidSizeOutput) ToGetDedicatedServerSpecificationsHardwareDiskGroupDefaultHardwareRaidSizeOutputWithContext(ctx context.Context) GetDedicatedServerSpecificationsHardwareDiskGroupDefaultHardwareRaidSizeOutput { + return o +} + +func (o GetDedicatedServerSpecificationsHardwareDiskGroupDefaultHardwareRaidSizeOutput) Unit() pulumi.StringOutput { + return o.ApplyT(func(v GetDedicatedServerSpecificationsHardwareDiskGroupDefaultHardwareRaidSize) string { return v.Unit }).(pulumi.StringOutput) +} + +func (o GetDedicatedServerSpecificationsHardwareDiskGroupDefaultHardwareRaidSizeOutput) Value() pulumi.Float64Output { + return o.ApplyT(func(v GetDedicatedServerSpecificationsHardwareDiskGroupDefaultHardwareRaidSize) float64 { + return v.Value + }).(pulumi.Float64Output) +} + +type GetDedicatedServerSpecificationsHardwareDiskGroupDiskSize struct { + Unit string `pulumi:"unit"` + Value float64 `pulumi:"value"` +} + +// GetDedicatedServerSpecificationsHardwareDiskGroupDiskSizeInput is an input type that accepts GetDedicatedServerSpecificationsHardwareDiskGroupDiskSizeArgs and GetDedicatedServerSpecificationsHardwareDiskGroupDiskSizeOutput values. +// You can construct a concrete instance of `GetDedicatedServerSpecificationsHardwareDiskGroupDiskSizeInput` via: +// +// GetDedicatedServerSpecificationsHardwareDiskGroupDiskSizeArgs{...} +type GetDedicatedServerSpecificationsHardwareDiskGroupDiskSizeInput interface { + pulumi.Input + + ToGetDedicatedServerSpecificationsHardwareDiskGroupDiskSizeOutput() GetDedicatedServerSpecificationsHardwareDiskGroupDiskSizeOutput + ToGetDedicatedServerSpecificationsHardwareDiskGroupDiskSizeOutputWithContext(context.Context) GetDedicatedServerSpecificationsHardwareDiskGroupDiskSizeOutput +} + +type GetDedicatedServerSpecificationsHardwareDiskGroupDiskSizeArgs struct { + Unit pulumi.StringInput `pulumi:"unit"` + Value pulumi.Float64Input `pulumi:"value"` +} + +func (GetDedicatedServerSpecificationsHardwareDiskGroupDiskSizeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDedicatedServerSpecificationsHardwareDiskGroupDiskSize)(nil)).Elem() +} + +func (i GetDedicatedServerSpecificationsHardwareDiskGroupDiskSizeArgs) ToGetDedicatedServerSpecificationsHardwareDiskGroupDiskSizeOutput() GetDedicatedServerSpecificationsHardwareDiskGroupDiskSizeOutput { + return i.ToGetDedicatedServerSpecificationsHardwareDiskGroupDiskSizeOutputWithContext(context.Background()) +} + +func (i GetDedicatedServerSpecificationsHardwareDiskGroupDiskSizeArgs) ToGetDedicatedServerSpecificationsHardwareDiskGroupDiskSizeOutputWithContext(ctx context.Context) GetDedicatedServerSpecificationsHardwareDiskGroupDiskSizeOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDedicatedServerSpecificationsHardwareDiskGroupDiskSizeOutput) +} + +type GetDedicatedServerSpecificationsHardwareDiskGroupDiskSizeOutput struct{ *pulumi.OutputState } + +func (GetDedicatedServerSpecificationsHardwareDiskGroupDiskSizeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDedicatedServerSpecificationsHardwareDiskGroupDiskSize)(nil)).Elem() +} + +func (o GetDedicatedServerSpecificationsHardwareDiskGroupDiskSizeOutput) ToGetDedicatedServerSpecificationsHardwareDiskGroupDiskSizeOutput() GetDedicatedServerSpecificationsHardwareDiskGroupDiskSizeOutput { + return o +} + +func (o GetDedicatedServerSpecificationsHardwareDiskGroupDiskSizeOutput) ToGetDedicatedServerSpecificationsHardwareDiskGroupDiskSizeOutputWithContext(ctx context.Context) GetDedicatedServerSpecificationsHardwareDiskGroupDiskSizeOutput { + return o +} + +func (o GetDedicatedServerSpecificationsHardwareDiskGroupDiskSizeOutput) Unit() pulumi.StringOutput { + return o.ApplyT(func(v GetDedicatedServerSpecificationsHardwareDiskGroupDiskSize) string { return v.Unit }).(pulumi.StringOutput) +} + +func (o GetDedicatedServerSpecificationsHardwareDiskGroupDiskSizeOutput) Value() pulumi.Float64Output { + return o.ApplyT(func(v GetDedicatedServerSpecificationsHardwareDiskGroupDiskSize) float64 { return v.Value }).(pulumi.Float64Output) +} + +type GetDedicatedServerSpecificationsHardwareExpansionCard struct { + // expansion card description + Description string `pulumi:"description"` + // Expansion card type enum + Type string `pulumi:"type"` +} + +// GetDedicatedServerSpecificationsHardwareExpansionCardInput is an input type that accepts GetDedicatedServerSpecificationsHardwareExpansionCardArgs and GetDedicatedServerSpecificationsHardwareExpansionCardOutput values. +// You can construct a concrete instance of `GetDedicatedServerSpecificationsHardwareExpansionCardInput` via: +// +// GetDedicatedServerSpecificationsHardwareExpansionCardArgs{...} +type GetDedicatedServerSpecificationsHardwareExpansionCardInput interface { + pulumi.Input + + ToGetDedicatedServerSpecificationsHardwareExpansionCardOutput() GetDedicatedServerSpecificationsHardwareExpansionCardOutput + ToGetDedicatedServerSpecificationsHardwareExpansionCardOutputWithContext(context.Context) GetDedicatedServerSpecificationsHardwareExpansionCardOutput +} + +type GetDedicatedServerSpecificationsHardwareExpansionCardArgs struct { + // expansion card description + Description pulumi.StringInput `pulumi:"description"` + // Expansion card type enum + Type pulumi.StringInput `pulumi:"type"` +} + +func (GetDedicatedServerSpecificationsHardwareExpansionCardArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDedicatedServerSpecificationsHardwareExpansionCard)(nil)).Elem() +} + +func (i GetDedicatedServerSpecificationsHardwareExpansionCardArgs) ToGetDedicatedServerSpecificationsHardwareExpansionCardOutput() GetDedicatedServerSpecificationsHardwareExpansionCardOutput { + return i.ToGetDedicatedServerSpecificationsHardwareExpansionCardOutputWithContext(context.Background()) +} + +func (i GetDedicatedServerSpecificationsHardwareExpansionCardArgs) ToGetDedicatedServerSpecificationsHardwareExpansionCardOutputWithContext(ctx context.Context) GetDedicatedServerSpecificationsHardwareExpansionCardOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDedicatedServerSpecificationsHardwareExpansionCardOutput) +} + +// GetDedicatedServerSpecificationsHardwareExpansionCardArrayInput is an input type that accepts GetDedicatedServerSpecificationsHardwareExpansionCardArray and GetDedicatedServerSpecificationsHardwareExpansionCardArrayOutput values. +// You can construct a concrete instance of `GetDedicatedServerSpecificationsHardwareExpansionCardArrayInput` via: +// +// GetDedicatedServerSpecificationsHardwareExpansionCardArray{ GetDedicatedServerSpecificationsHardwareExpansionCardArgs{...} } +type GetDedicatedServerSpecificationsHardwareExpansionCardArrayInput interface { + pulumi.Input + + ToGetDedicatedServerSpecificationsHardwareExpansionCardArrayOutput() GetDedicatedServerSpecificationsHardwareExpansionCardArrayOutput + ToGetDedicatedServerSpecificationsHardwareExpansionCardArrayOutputWithContext(context.Context) GetDedicatedServerSpecificationsHardwareExpansionCardArrayOutput +} + +type GetDedicatedServerSpecificationsHardwareExpansionCardArray []GetDedicatedServerSpecificationsHardwareExpansionCardInput + +func (GetDedicatedServerSpecificationsHardwareExpansionCardArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDedicatedServerSpecificationsHardwareExpansionCard)(nil)).Elem() +} + +func (i GetDedicatedServerSpecificationsHardwareExpansionCardArray) ToGetDedicatedServerSpecificationsHardwareExpansionCardArrayOutput() GetDedicatedServerSpecificationsHardwareExpansionCardArrayOutput { + return i.ToGetDedicatedServerSpecificationsHardwareExpansionCardArrayOutputWithContext(context.Background()) +} + +func (i GetDedicatedServerSpecificationsHardwareExpansionCardArray) ToGetDedicatedServerSpecificationsHardwareExpansionCardArrayOutputWithContext(ctx context.Context) GetDedicatedServerSpecificationsHardwareExpansionCardArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDedicatedServerSpecificationsHardwareExpansionCardArrayOutput) +} + +type GetDedicatedServerSpecificationsHardwareExpansionCardOutput struct{ *pulumi.OutputState } + +func (GetDedicatedServerSpecificationsHardwareExpansionCardOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDedicatedServerSpecificationsHardwareExpansionCard)(nil)).Elem() +} + +func (o GetDedicatedServerSpecificationsHardwareExpansionCardOutput) ToGetDedicatedServerSpecificationsHardwareExpansionCardOutput() GetDedicatedServerSpecificationsHardwareExpansionCardOutput { + return o +} + +func (o GetDedicatedServerSpecificationsHardwareExpansionCardOutput) ToGetDedicatedServerSpecificationsHardwareExpansionCardOutputWithContext(ctx context.Context) GetDedicatedServerSpecificationsHardwareExpansionCardOutput { + return o +} + +// expansion card description +func (o GetDedicatedServerSpecificationsHardwareExpansionCardOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v GetDedicatedServerSpecificationsHardwareExpansionCard) string { return v.Description }).(pulumi.StringOutput) +} + +// Expansion card type enum +func (o GetDedicatedServerSpecificationsHardwareExpansionCardOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v GetDedicatedServerSpecificationsHardwareExpansionCard) string { return v.Type }).(pulumi.StringOutput) +} + +type GetDedicatedServerSpecificationsHardwareExpansionCardArrayOutput struct{ *pulumi.OutputState } + +func (GetDedicatedServerSpecificationsHardwareExpansionCardArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDedicatedServerSpecificationsHardwareExpansionCard)(nil)).Elem() +} + +func (o GetDedicatedServerSpecificationsHardwareExpansionCardArrayOutput) ToGetDedicatedServerSpecificationsHardwareExpansionCardArrayOutput() GetDedicatedServerSpecificationsHardwareExpansionCardArrayOutput { + return o +} + +func (o GetDedicatedServerSpecificationsHardwareExpansionCardArrayOutput) ToGetDedicatedServerSpecificationsHardwareExpansionCardArrayOutputWithContext(ctx context.Context) GetDedicatedServerSpecificationsHardwareExpansionCardArrayOutput { + return o +} + +func (o GetDedicatedServerSpecificationsHardwareExpansionCardArrayOutput) Index(i pulumi.IntInput) GetDedicatedServerSpecificationsHardwareExpansionCardOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDedicatedServerSpecificationsHardwareExpansionCard { + return vs[0].([]GetDedicatedServerSpecificationsHardwareExpansionCard)[vs[1].(int)] + }).(GetDedicatedServerSpecificationsHardwareExpansionCardOutput) +} + +type GetDedicatedServerSpecificationsHardwareMemorySize struct { + Unit string `pulumi:"unit"` + Value float64 `pulumi:"value"` +} + +// GetDedicatedServerSpecificationsHardwareMemorySizeInput is an input type that accepts GetDedicatedServerSpecificationsHardwareMemorySizeArgs and GetDedicatedServerSpecificationsHardwareMemorySizeOutput values. +// You can construct a concrete instance of `GetDedicatedServerSpecificationsHardwareMemorySizeInput` via: +// +// GetDedicatedServerSpecificationsHardwareMemorySizeArgs{...} +type GetDedicatedServerSpecificationsHardwareMemorySizeInput interface { + pulumi.Input + + ToGetDedicatedServerSpecificationsHardwareMemorySizeOutput() GetDedicatedServerSpecificationsHardwareMemorySizeOutput + ToGetDedicatedServerSpecificationsHardwareMemorySizeOutputWithContext(context.Context) GetDedicatedServerSpecificationsHardwareMemorySizeOutput +} + +type GetDedicatedServerSpecificationsHardwareMemorySizeArgs struct { + Unit pulumi.StringInput `pulumi:"unit"` + Value pulumi.Float64Input `pulumi:"value"` +} + +func (GetDedicatedServerSpecificationsHardwareMemorySizeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDedicatedServerSpecificationsHardwareMemorySize)(nil)).Elem() +} + +func (i GetDedicatedServerSpecificationsHardwareMemorySizeArgs) ToGetDedicatedServerSpecificationsHardwareMemorySizeOutput() GetDedicatedServerSpecificationsHardwareMemorySizeOutput { + return i.ToGetDedicatedServerSpecificationsHardwareMemorySizeOutputWithContext(context.Background()) +} + +func (i GetDedicatedServerSpecificationsHardwareMemorySizeArgs) ToGetDedicatedServerSpecificationsHardwareMemorySizeOutputWithContext(ctx context.Context) GetDedicatedServerSpecificationsHardwareMemorySizeOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDedicatedServerSpecificationsHardwareMemorySizeOutput) +} + +type GetDedicatedServerSpecificationsHardwareMemorySizeOutput struct{ *pulumi.OutputState } + +func (GetDedicatedServerSpecificationsHardwareMemorySizeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDedicatedServerSpecificationsHardwareMemorySize)(nil)).Elem() +} + +func (o GetDedicatedServerSpecificationsHardwareMemorySizeOutput) ToGetDedicatedServerSpecificationsHardwareMemorySizeOutput() GetDedicatedServerSpecificationsHardwareMemorySizeOutput { + return o +} + +func (o GetDedicatedServerSpecificationsHardwareMemorySizeOutput) ToGetDedicatedServerSpecificationsHardwareMemorySizeOutputWithContext(ctx context.Context) GetDedicatedServerSpecificationsHardwareMemorySizeOutput { + return o +} + +func (o GetDedicatedServerSpecificationsHardwareMemorySizeOutput) Unit() pulumi.StringOutput { + return o.ApplyT(func(v GetDedicatedServerSpecificationsHardwareMemorySize) string { return v.Unit }).(pulumi.StringOutput) +} + +func (o GetDedicatedServerSpecificationsHardwareMemorySizeOutput) Value() pulumi.Float64Output { + return o.ApplyT(func(v GetDedicatedServerSpecificationsHardwareMemorySize) float64 { return v.Value }).(pulumi.Float64Output) +} + +type GetDedicatedServerSpecificationsHardwareUsbKey struct { + Unit string `pulumi:"unit"` + Value float64 `pulumi:"value"` +} + +// GetDedicatedServerSpecificationsHardwareUsbKeyInput is an input type that accepts GetDedicatedServerSpecificationsHardwareUsbKeyArgs and GetDedicatedServerSpecificationsHardwareUsbKeyOutput values. +// You can construct a concrete instance of `GetDedicatedServerSpecificationsHardwareUsbKeyInput` via: +// +// GetDedicatedServerSpecificationsHardwareUsbKeyArgs{...} +type GetDedicatedServerSpecificationsHardwareUsbKeyInput interface { + pulumi.Input + + ToGetDedicatedServerSpecificationsHardwareUsbKeyOutput() GetDedicatedServerSpecificationsHardwareUsbKeyOutput + ToGetDedicatedServerSpecificationsHardwareUsbKeyOutputWithContext(context.Context) GetDedicatedServerSpecificationsHardwareUsbKeyOutput +} + +type GetDedicatedServerSpecificationsHardwareUsbKeyArgs struct { + Unit pulumi.StringInput `pulumi:"unit"` + Value pulumi.Float64Input `pulumi:"value"` +} + +func (GetDedicatedServerSpecificationsHardwareUsbKeyArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDedicatedServerSpecificationsHardwareUsbKey)(nil)).Elem() +} + +func (i GetDedicatedServerSpecificationsHardwareUsbKeyArgs) ToGetDedicatedServerSpecificationsHardwareUsbKeyOutput() GetDedicatedServerSpecificationsHardwareUsbKeyOutput { + return i.ToGetDedicatedServerSpecificationsHardwareUsbKeyOutputWithContext(context.Background()) +} + +func (i GetDedicatedServerSpecificationsHardwareUsbKeyArgs) ToGetDedicatedServerSpecificationsHardwareUsbKeyOutputWithContext(ctx context.Context) GetDedicatedServerSpecificationsHardwareUsbKeyOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDedicatedServerSpecificationsHardwareUsbKeyOutput) +} + +// GetDedicatedServerSpecificationsHardwareUsbKeyArrayInput is an input type that accepts GetDedicatedServerSpecificationsHardwareUsbKeyArray and GetDedicatedServerSpecificationsHardwareUsbKeyArrayOutput values. +// You can construct a concrete instance of `GetDedicatedServerSpecificationsHardwareUsbKeyArrayInput` via: +// +// GetDedicatedServerSpecificationsHardwareUsbKeyArray{ GetDedicatedServerSpecificationsHardwareUsbKeyArgs{...} } +type GetDedicatedServerSpecificationsHardwareUsbKeyArrayInput interface { + pulumi.Input + + ToGetDedicatedServerSpecificationsHardwareUsbKeyArrayOutput() GetDedicatedServerSpecificationsHardwareUsbKeyArrayOutput + ToGetDedicatedServerSpecificationsHardwareUsbKeyArrayOutputWithContext(context.Context) GetDedicatedServerSpecificationsHardwareUsbKeyArrayOutput +} + +type GetDedicatedServerSpecificationsHardwareUsbKeyArray []GetDedicatedServerSpecificationsHardwareUsbKeyInput + +func (GetDedicatedServerSpecificationsHardwareUsbKeyArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDedicatedServerSpecificationsHardwareUsbKey)(nil)).Elem() +} + +func (i GetDedicatedServerSpecificationsHardwareUsbKeyArray) ToGetDedicatedServerSpecificationsHardwareUsbKeyArrayOutput() GetDedicatedServerSpecificationsHardwareUsbKeyArrayOutput { + return i.ToGetDedicatedServerSpecificationsHardwareUsbKeyArrayOutputWithContext(context.Background()) +} + +func (i GetDedicatedServerSpecificationsHardwareUsbKeyArray) ToGetDedicatedServerSpecificationsHardwareUsbKeyArrayOutputWithContext(ctx context.Context) GetDedicatedServerSpecificationsHardwareUsbKeyArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDedicatedServerSpecificationsHardwareUsbKeyArrayOutput) +} + +type GetDedicatedServerSpecificationsHardwareUsbKeyOutput struct{ *pulumi.OutputState } + +func (GetDedicatedServerSpecificationsHardwareUsbKeyOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDedicatedServerSpecificationsHardwareUsbKey)(nil)).Elem() +} + +func (o GetDedicatedServerSpecificationsHardwareUsbKeyOutput) ToGetDedicatedServerSpecificationsHardwareUsbKeyOutput() GetDedicatedServerSpecificationsHardwareUsbKeyOutput { + return o +} + +func (o GetDedicatedServerSpecificationsHardwareUsbKeyOutput) ToGetDedicatedServerSpecificationsHardwareUsbKeyOutputWithContext(ctx context.Context) GetDedicatedServerSpecificationsHardwareUsbKeyOutput { + return o +} + +func (o GetDedicatedServerSpecificationsHardwareUsbKeyOutput) Unit() pulumi.StringOutput { + return o.ApplyT(func(v GetDedicatedServerSpecificationsHardwareUsbKey) string { return v.Unit }).(pulumi.StringOutput) +} + +func (o GetDedicatedServerSpecificationsHardwareUsbKeyOutput) Value() pulumi.Float64Output { + return o.ApplyT(func(v GetDedicatedServerSpecificationsHardwareUsbKey) float64 { return v.Value }).(pulumi.Float64Output) +} + +type GetDedicatedServerSpecificationsHardwareUsbKeyArrayOutput struct{ *pulumi.OutputState } + +func (GetDedicatedServerSpecificationsHardwareUsbKeyArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDedicatedServerSpecificationsHardwareUsbKey)(nil)).Elem() +} + +func (o GetDedicatedServerSpecificationsHardwareUsbKeyArrayOutput) ToGetDedicatedServerSpecificationsHardwareUsbKeyArrayOutput() GetDedicatedServerSpecificationsHardwareUsbKeyArrayOutput { + return o +} + +func (o GetDedicatedServerSpecificationsHardwareUsbKeyArrayOutput) ToGetDedicatedServerSpecificationsHardwareUsbKeyArrayOutputWithContext(ctx context.Context) GetDedicatedServerSpecificationsHardwareUsbKeyArrayOutput { + return o +} + +func (o GetDedicatedServerSpecificationsHardwareUsbKeyArrayOutput) Index(i pulumi.IntInput) GetDedicatedServerSpecificationsHardwareUsbKeyOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDedicatedServerSpecificationsHardwareUsbKey { + return vs[0].([]GetDedicatedServerSpecificationsHardwareUsbKey)[vs[1].(int)] + }).(GetDedicatedServerSpecificationsHardwareUsbKeyOutput) +} + +type GetDedicatedServerSpecificationsNetworkBandwidth struct { + // bandwidth limitation Internet to OVH + InternetToOvh GetDedicatedServerSpecificationsNetworkBandwidthInternetToOvh `pulumi:"internetToOvh"` + // bandwidth limitation OVH to Internet + OvhToInternet GetDedicatedServerSpecificationsNetworkBandwidthOvhToInternet `pulumi:"ovhToInternet"` + // bandwidth limitation OVH to OVH + OvhToOvh GetDedicatedServerSpecificationsNetworkBandwidthOvhToOvh `pulumi:"ovhToOvh"` + // bandwidth offer type + Type string `pulumi:"type"` +} + +// GetDedicatedServerSpecificationsNetworkBandwidthInput is an input type that accepts GetDedicatedServerSpecificationsNetworkBandwidthArgs and GetDedicatedServerSpecificationsNetworkBandwidthOutput values. +// You can construct a concrete instance of `GetDedicatedServerSpecificationsNetworkBandwidthInput` via: +// +// GetDedicatedServerSpecificationsNetworkBandwidthArgs{...} +type GetDedicatedServerSpecificationsNetworkBandwidthInput interface { + pulumi.Input + + ToGetDedicatedServerSpecificationsNetworkBandwidthOutput() GetDedicatedServerSpecificationsNetworkBandwidthOutput + ToGetDedicatedServerSpecificationsNetworkBandwidthOutputWithContext(context.Context) GetDedicatedServerSpecificationsNetworkBandwidthOutput +} + +type GetDedicatedServerSpecificationsNetworkBandwidthArgs struct { + // bandwidth limitation Internet to OVH + InternetToOvh GetDedicatedServerSpecificationsNetworkBandwidthInternetToOvhInput `pulumi:"internetToOvh"` + // bandwidth limitation OVH to Internet + OvhToInternet GetDedicatedServerSpecificationsNetworkBandwidthOvhToInternetInput `pulumi:"ovhToInternet"` + // bandwidth limitation OVH to OVH + OvhToOvh GetDedicatedServerSpecificationsNetworkBandwidthOvhToOvhInput `pulumi:"ovhToOvh"` + // bandwidth offer type + Type pulumi.StringInput `pulumi:"type"` +} + +func (GetDedicatedServerSpecificationsNetworkBandwidthArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDedicatedServerSpecificationsNetworkBandwidth)(nil)).Elem() +} + +func (i GetDedicatedServerSpecificationsNetworkBandwidthArgs) ToGetDedicatedServerSpecificationsNetworkBandwidthOutput() GetDedicatedServerSpecificationsNetworkBandwidthOutput { + return i.ToGetDedicatedServerSpecificationsNetworkBandwidthOutputWithContext(context.Background()) +} + +func (i GetDedicatedServerSpecificationsNetworkBandwidthArgs) ToGetDedicatedServerSpecificationsNetworkBandwidthOutputWithContext(ctx context.Context) GetDedicatedServerSpecificationsNetworkBandwidthOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDedicatedServerSpecificationsNetworkBandwidthOutput) +} + +type GetDedicatedServerSpecificationsNetworkBandwidthOutput struct{ *pulumi.OutputState } + +func (GetDedicatedServerSpecificationsNetworkBandwidthOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDedicatedServerSpecificationsNetworkBandwidth)(nil)).Elem() +} + +func (o GetDedicatedServerSpecificationsNetworkBandwidthOutput) ToGetDedicatedServerSpecificationsNetworkBandwidthOutput() GetDedicatedServerSpecificationsNetworkBandwidthOutput { + return o +} + +func (o GetDedicatedServerSpecificationsNetworkBandwidthOutput) ToGetDedicatedServerSpecificationsNetworkBandwidthOutputWithContext(ctx context.Context) GetDedicatedServerSpecificationsNetworkBandwidthOutput { + return o +} + +// bandwidth limitation Internet to OVH +func (o GetDedicatedServerSpecificationsNetworkBandwidthOutput) InternetToOvh() GetDedicatedServerSpecificationsNetworkBandwidthInternetToOvhOutput { + return o.ApplyT(func(v GetDedicatedServerSpecificationsNetworkBandwidth) GetDedicatedServerSpecificationsNetworkBandwidthInternetToOvh { + return v.InternetToOvh + }).(GetDedicatedServerSpecificationsNetworkBandwidthInternetToOvhOutput) +} + +// bandwidth limitation OVH to Internet +func (o GetDedicatedServerSpecificationsNetworkBandwidthOutput) OvhToInternet() GetDedicatedServerSpecificationsNetworkBandwidthOvhToInternetOutput { + return o.ApplyT(func(v GetDedicatedServerSpecificationsNetworkBandwidth) GetDedicatedServerSpecificationsNetworkBandwidthOvhToInternet { + return v.OvhToInternet + }).(GetDedicatedServerSpecificationsNetworkBandwidthOvhToInternetOutput) +} + +// bandwidth limitation OVH to OVH +func (o GetDedicatedServerSpecificationsNetworkBandwidthOutput) OvhToOvh() GetDedicatedServerSpecificationsNetworkBandwidthOvhToOvhOutput { + return o.ApplyT(func(v GetDedicatedServerSpecificationsNetworkBandwidth) GetDedicatedServerSpecificationsNetworkBandwidthOvhToOvh { + return v.OvhToOvh + }).(GetDedicatedServerSpecificationsNetworkBandwidthOvhToOvhOutput) +} + +// bandwidth offer type +func (o GetDedicatedServerSpecificationsNetworkBandwidthOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v GetDedicatedServerSpecificationsNetworkBandwidth) string { return v.Type }).(pulumi.StringOutput) +} + +type GetDedicatedServerSpecificationsNetworkBandwidthInternetToOvh struct { + Unit string `pulumi:"unit"` + Value float64 `pulumi:"value"` +} + +// GetDedicatedServerSpecificationsNetworkBandwidthInternetToOvhInput is an input type that accepts GetDedicatedServerSpecificationsNetworkBandwidthInternetToOvhArgs and GetDedicatedServerSpecificationsNetworkBandwidthInternetToOvhOutput values. +// You can construct a concrete instance of `GetDedicatedServerSpecificationsNetworkBandwidthInternetToOvhInput` via: +// +// GetDedicatedServerSpecificationsNetworkBandwidthInternetToOvhArgs{...} +type GetDedicatedServerSpecificationsNetworkBandwidthInternetToOvhInput interface { + pulumi.Input + + ToGetDedicatedServerSpecificationsNetworkBandwidthInternetToOvhOutput() GetDedicatedServerSpecificationsNetworkBandwidthInternetToOvhOutput + ToGetDedicatedServerSpecificationsNetworkBandwidthInternetToOvhOutputWithContext(context.Context) GetDedicatedServerSpecificationsNetworkBandwidthInternetToOvhOutput +} + +type GetDedicatedServerSpecificationsNetworkBandwidthInternetToOvhArgs struct { + Unit pulumi.StringInput `pulumi:"unit"` + Value pulumi.Float64Input `pulumi:"value"` +} + +func (GetDedicatedServerSpecificationsNetworkBandwidthInternetToOvhArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDedicatedServerSpecificationsNetworkBandwidthInternetToOvh)(nil)).Elem() +} + +func (i GetDedicatedServerSpecificationsNetworkBandwidthInternetToOvhArgs) ToGetDedicatedServerSpecificationsNetworkBandwidthInternetToOvhOutput() GetDedicatedServerSpecificationsNetworkBandwidthInternetToOvhOutput { + return i.ToGetDedicatedServerSpecificationsNetworkBandwidthInternetToOvhOutputWithContext(context.Background()) +} + +func (i GetDedicatedServerSpecificationsNetworkBandwidthInternetToOvhArgs) ToGetDedicatedServerSpecificationsNetworkBandwidthInternetToOvhOutputWithContext(ctx context.Context) GetDedicatedServerSpecificationsNetworkBandwidthInternetToOvhOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDedicatedServerSpecificationsNetworkBandwidthInternetToOvhOutput) +} + +type GetDedicatedServerSpecificationsNetworkBandwidthInternetToOvhOutput struct{ *pulumi.OutputState } + +func (GetDedicatedServerSpecificationsNetworkBandwidthInternetToOvhOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDedicatedServerSpecificationsNetworkBandwidthInternetToOvh)(nil)).Elem() +} + +func (o GetDedicatedServerSpecificationsNetworkBandwidthInternetToOvhOutput) ToGetDedicatedServerSpecificationsNetworkBandwidthInternetToOvhOutput() GetDedicatedServerSpecificationsNetworkBandwidthInternetToOvhOutput { + return o +} + +func (o GetDedicatedServerSpecificationsNetworkBandwidthInternetToOvhOutput) ToGetDedicatedServerSpecificationsNetworkBandwidthInternetToOvhOutputWithContext(ctx context.Context) GetDedicatedServerSpecificationsNetworkBandwidthInternetToOvhOutput { + return o +} + +func (o GetDedicatedServerSpecificationsNetworkBandwidthInternetToOvhOutput) Unit() pulumi.StringOutput { + return o.ApplyT(func(v GetDedicatedServerSpecificationsNetworkBandwidthInternetToOvh) string { return v.Unit }).(pulumi.StringOutput) +} + +func (o GetDedicatedServerSpecificationsNetworkBandwidthInternetToOvhOutput) Value() pulumi.Float64Output { + return o.ApplyT(func(v GetDedicatedServerSpecificationsNetworkBandwidthInternetToOvh) float64 { return v.Value }).(pulumi.Float64Output) +} + +type GetDedicatedServerSpecificationsNetworkBandwidthOvhToInternet struct { + Unit string `pulumi:"unit"` + Value float64 `pulumi:"value"` +} + +// GetDedicatedServerSpecificationsNetworkBandwidthOvhToInternetInput is an input type that accepts GetDedicatedServerSpecificationsNetworkBandwidthOvhToInternetArgs and GetDedicatedServerSpecificationsNetworkBandwidthOvhToInternetOutput values. +// You can construct a concrete instance of `GetDedicatedServerSpecificationsNetworkBandwidthOvhToInternetInput` via: +// +// GetDedicatedServerSpecificationsNetworkBandwidthOvhToInternetArgs{...} +type GetDedicatedServerSpecificationsNetworkBandwidthOvhToInternetInput interface { + pulumi.Input + + ToGetDedicatedServerSpecificationsNetworkBandwidthOvhToInternetOutput() GetDedicatedServerSpecificationsNetworkBandwidthOvhToInternetOutput + ToGetDedicatedServerSpecificationsNetworkBandwidthOvhToInternetOutputWithContext(context.Context) GetDedicatedServerSpecificationsNetworkBandwidthOvhToInternetOutput +} + +type GetDedicatedServerSpecificationsNetworkBandwidthOvhToInternetArgs struct { + Unit pulumi.StringInput `pulumi:"unit"` + Value pulumi.Float64Input `pulumi:"value"` +} + +func (GetDedicatedServerSpecificationsNetworkBandwidthOvhToInternetArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDedicatedServerSpecificationsNetworkBandwidthOvhToInternet)(nil)).Elem() +} + +func (i GetDedicatedServerSpecificationsNetworkBandwidthOvhToInternetArgs) ToGetDedicatedServerSpecificationsNetworkBandwidthOvhToInternetOutput() GetDedicatedServerSpecificationsNetworkBandwidthOvhToInternetOutput { + return i.ToGetDedicatedServerSpecificationsNetworkBandwidthOvhToInternetOutputWithContext(context.Background()) +} + +func (i GetDedicatedServerSpecificationsNetworkBandwidthOvhToInternetArgs) ToGetDedicatedServerSpecificationsNetworkBandwidthOvhToInternetOutputWithContext(ctx context.Context) GetDedicatedServerSpecificationsNetworkBandwidthOvhToInternetOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDedicatedServerSpecificationsNetworkBandwidthOvhToInternetOutput) +} + +type GetDedicatedServerSpecificationsNetworkBandwidthOvhToInternetOutput struct{ *pulumi.OutputState } + +func (GetDedicatedServerSpecificationsNetworkBandwidthOvhToInternetOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDedicatedServerSpecificationsNetworkBandwidthOvhToInternet)(nil)).Elem() +} + +func (o GetDedicatedServerSpecificationsNetworkBandwidthOvhToInternetOutput) ToGetDedicatedServerSpecificationsNetworkBandwidthOvhToInternetOutput() GetDedicatedServerSpecificationsNetworkBandwidthOvhToInternetOutput { + return o +} + +func (o GetDedicatedServerSpecificationsNetworkBandwidthOvhToInternetOutput) ToGetDedicatedServerSpecificationsNetworkBandwidthOvhToInternetOutputWithContext(ctx context.Context) GetDedicatedServerSpecificationsNetworkBandwidthOvhToInternetOutput { + return o +} + +func (o GetDedicatedServerSpecificationsNetworkBandwidthOvhToInternetOutput) Unit() pulumi.StringOutput { + return o.ApplyT(func(v GetDedicatedServerSpecificationsNetworkBandwidthOvhToInternet) string { return v.Unit }).(pulumi.StringOutput) +} + +func (o GetDedicatedServerSpecificationsNetworkBandwidthOvhToInternetOutput) Value() pulumi.Float64Output { + return o.ApplyT(func(v GetDedicatedServerSpecificationsNetworkBandwidthOvhToInternet) float64 { return v.Value }).(pulumi.Float64Output) +} + +type GetDedicatedServerSpecificationsNetworkBandwidthOvhToOvh struct { + Unit string `pulumi:"unit"` + Value float64 `pulumi:"value"` +} + +// GetDedicatedServerSpecificationsNetworkBandwidthOvhToOvhInput is an input type that accepts GetDedicatedServerSpecificationsNetworkBandwidthOvhToOvhArgs and GetDedicatedServerSpecificationsNetworkBandwidthOvhToOvhOutput values. +// You can construct a concrete instance of `GetDedicatedServerSpecificationsNetworkBandwidthOvhToOvhInput` via: +// +// GetDedicatedServerSpecificationsNetworkBandwidthOvhToOvhArgs{...} +type GetDedicatedServerSpecificationsNetworkBandwidthOvhToOvhInput interface { + pulumi.Input + + ToGetDedicatedServerSpecificationsNetworkBandwidthOvhToOvhOutput() GetDedicatedServerSpecificationsNetworkBandwidthOvhToOvhOutput + ToGetDedicatedServerSpecificationsNetworkBandwidthOvhToOvhOutputWithContext(context.Context) GetDedicatedServerSpecificationsNetworkBandwidthOvhToOvhOutput +} + +type GetDedicatedServerSpecificationsNetworkBandwidthOvhToOvhArgs struct { + Unit pulumi.StringInput `pulumi:"unit"` + Value pulumi.Float64Input `pulumi:"value"` +} + +func (GetDedicatedServerSpecificationsNetworkBandwidthOvhToOvhArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDedicatedServerSpecificationsNetworkBandwidthOvhToOvh)(nil)).Elem() +} + +func (i GetDedicatedServerSpecificationsNetworkBandwidthOvhToOvhArgs) ToGetDedicatedServerSpecificationsNetworkBandwidthOvhToOvhOutput() GetDedicatedServerSpecificationsNetworkBandwidthOvhToOvhOutput { + return i.ToGetDedicatedServerSpecificationsNetworkBandwidthOvhToOvhOutputWithContext(context.Background()) +} + +func (i GetDedicatedServerSpecificationsNetworkBandwidthOvhToOvhArgs) ToGetDedicatedServerSpecificationsNetworkBandwidthOvhToOvhOutputWithContext(ctx context.Context) GetDedicatedServerSpecificationsNetworkBandwidthOvhToOvhOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDedicatedServerSpecificationsNetworkBandwidthOvhToOvhOutput) +} + +type GetDedicatedServerSpecificationsNetworkBandwidthOvhToOvhOutput struct{ *pulumi.OutputState } + +func (GetDedicatedServerSpecificationsNetworkBandwidthOvhToOvhOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDedicatedServerSpecificationsNetworkBandwidthOvhToOvh)(nil)).Elem() +} + +func (o GetDedicatedServerSpecificationsNetworkBandwidthOvhToOvhOutput) ToGetDedicatedServerSpecificationsNetworkBandwidthOvhToOvhOutput() GetDedicatedServerSpecificationsNetworkBandwidthOvhToOvhOutput { + return o +} + +func (o GetDedicatedServerSpecificationsNetworkBandwidthOvhToOvhOutput) ToGetDedicatedServerSpecificationsNetworkBandwidthOvhToOvhOutputWithContext(ctx context.Context) GetDedicatedServerSpecificationsNetworkBandwidthOvhToOvhOutput { + return o +} + +func (o GetDedicatedServerSpecificationsNetworkBandwidthOvhToOvhOutput) Unit() pulumi.StringOutput { + return o.ApplyT(func(v GetDedicatedServerSpecificationsNetworkBandwidthOvhToOvh) string { return v.Unit }).(pulumi.StringOutput) +} + +func (o GetDedicatedServerSpecificationsNetworkBandwidthOvhToOvhOutput) Value() pulumi.Float64Output { + return o.ApplyT(func(v GetDedicatedServerSpecificationsNetworkBandwidthOvhToOvh) float64 { return v.Value }).(pulumi.Float64Output) +} + +type GetDedicatedServerSpecificationsNetworkConnectionVal struct { + Unit string `pulumi:"unit"` + Value float64 `pulumi:"value"` +} + +// GetDedicatedServerSpecificationsNetworkConnectionValInput is an input type that accepts GetDedicatedServerSpecificationsNetworkConnectionValArgs and GetDedicatedServerSpecificationsNetworkConnectionValOutput values. +// You can construct a concrete instance of `GetDedicatedServerSpecificationsNetworkConnectionValInput` via: +// +// GetDedicatedServerSpecificationsNetworkConnectionValArgs{...} +type GetDedicatedServerSpecificationsNetworkConnectionValInput interface { + pulumi.Input + + ToGetDedicatedServerSpecificationsNetworkConnectionValOutput() GetDedicatedServerSpecificationsNetworkConnectionValOutput + ToGetDedicatedServerSpecificationsNetworkConnectionValOutputWithContext(context.Context) GetDedicatedServerSpecificationsNetworkConnectionValOutput +} + +type GetDedicatedServerSpecificationsNetworkConnectionValArgs struct { + Unit pulumi.StringInput `pulumi:"unit"` + Value pulumi.Float64Input `pulumi:"value"` +} + +func (GetDedicatedServerSpecificationsNetworkConnectionValArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDedicatedServerSpecificationsNetworkConnectionVal)(nil)).Elem() +} + +func (i GetDedicatedServerSpecificationsNetworkConnectionValArgs) ToGetDedicatedServerSpecificationsNetworkConnectionValOutput() GetDedicatedServerSpecificationsNetworkConnectionValOutput { + return i.ToGetDedicatedServerSpecificationsNetworkConnectionValOutputWithContext(context.Background()) +} + +func (i GetDedicatedServerSpecificationsNetworkConnectionValArgs) ToGetDedicatedServerSpecificationsNetworkConnectionValOutputWithContext(ctx context.Context) GetDedicatedServerSpecificationsNetworkConnectionValOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDedicatedServerSpecificationsNetworkConnectionValOutput) +} + +type GetDedicatedServerSpecificationsNetworkConnectionValOutput struct{ *pulumi.OutputState } + +func (GetDedicatedServerSpecificationsNetworkConnectionValOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDedicatedServerSpecificationsNetworkConnectionVal)(nil)).Elem() +} + +func (o GetDedicatedServerSpecificationsNetworkConnectionValOutput) ToGetDedicatedServerSpecificationsNetworkConnectionValOutput() GetDedicatedServerSpecificationsNetworkConnectionValOutput { + return o +} + +func (o GetDedicatedServerSpecificationsNetworkConnectionValOutput) ToGetDedicatedServerSpecificationsNetworkConnectionValOutputWithContext(ctx context.Context) GetDedicatedServerSpecificationsNetworkConnectionValOutput { + return o +} + +func (o GetDedicatedServerSpecificationsNetworkConnectionValOutput) Unit() pulumi.StringOutput { + return o.ApplyT(func(v GetDedicatedServerSpecificationsNetworkConnectionVal) string { return v.Unit }).(pulumi.StringOutput) +} + +func (o GetDedicatedServerSpecificationsNetworkConnectionValOutput) Value() pulumi.Float64Output { + return o.ApplyT(func(v GetDedicatedServerSpecificationsNetworkConnectionVal) float64 { return v.Value }).(pulumi.Float64Output) +} + +type GetDedicatedServerSpecificationsNetworkOla struct { + // Is the OLA feature available + Available bool `pulumi:"available"` + // What modes are supported + AvailableModes []GetDedicatedServerSpecificationsNetworkOlaAvailableMode `pulumi:"availableModes"` + // (DEPRECATED) What modes are supported + SupportedModes []string `pulumi:"supportedModes"` +} + +// GetDedicatedServerSpecificationsNetworkOlaInput is an input type that accepts GetDedicatedServerSpecificationsNetworkOlaArgs and GetDedicatedServerSpecificationsNetworkOlaOutput values. +// You can construct a concrete instance of `GetDedicatedServerSpecificationsNetworkOlaInput` via: +// +// GetDedicatedServerSpecificationsNetworkOlaArgs{...} +type GetDedicatedServerSpecificationsNetworkOlaInput interface { + pulumi.Input + + ToGetDedicatedServerSpecificationsNetworkOlaOutput() GetDedicatedServerSpecificationsNetworkOlaOutput + ToGetDedicatedServerSpecificationsNetworkOlaOutputWithContext(context.Context) GetDedicatedServerSpecificationsNetworkOlaOutput +} + +type GetDedicatedServerSpecificationsNetworkOlaArgs struct { + // Is the OLA feature available + Available pulumi.BoolInput `pulumi:"available"` + // What modes are supported + AvailableModes GetDedicatedServerSpecificationsNetworkOlaAvailableModeArrayInput `pulumi:"availableModes"` + // (DEPRECATED) What modes are supported + SupportedModes pulumi.StringArrayInput `pulumi:"supportedModes"` +} + +func (GetDedicatedServerSpecificationsNetworkOlaArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDedicatedServerSpecificationsNetworkOla)(nil)).Elem() +} + +func (i GetDedicatedServerSpecificationsNetworkOlaArgs) ToGetDedicatedServerSpecificationsNetworkOlaOutput() GetDedicatedServerSpecificationsNetworkOlaOutput { + return i.ToGetDedicatedServerSpecificationsNetworkOlaOutputWithContext(context.Background()) +} + +func (i GetDedicatedServerSpecificationsNetworkOlaArgs) ToGetDedicatedServerSpecificationsNetworkOlaOutputWithContext(ctx context.Context) GetDedicatedServerSpecificationsNetworkOlaOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDedicatedServerSpecificationsNetworkOlaOutput) +} + +type GetDedicatedServerSpecificationsNetworkOlaOutput struct{ *pulumi.OutputState } + +func (GetDedicatedServerSpecificationsNetworkOlaOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDedicatedServerSpecificationsNetworkOla)(nil)).Elem() +} + +func (o GetDedicatedServerSpecificationsNetworkOlaOutput) ToGetDedicatedServerSpecificationsNetworkOlaOutput() GetDedicatedServerSpecificationsNetworkOlaOutput { + return o +} + +func (o GetDedicatedServerSpecificationsNetworkOlaOutput) ToGetDedicatedServerSpecificationsNetworkOlaOutputWithContext(ctx context.Context) GetDedicatedServerSpecificationsNetworkOlaOutput { + return o +} + +// Is the OLA feature available +func (o GetDedicatedServerSpecificationsNetworkOlaOutput) Available() pulumi.BoolOutput { + return o.ApplyT(func(v GetDedicatedServerSpecificationsNetworkOla) bool { return v.Available }).(pulumi.BoolOutput) +} + +// What modes are supported +func (o GetDedicatedServerSpecificationsNetworkOlaOutput) AvailableModes() GetDedicatedServerSpecificationsNetworkOlaAvailableModeArrayOutput { + return o.ApplyT(func(v GetDedicatedServerSpecificationsNetworkOla) []GetDedicatedServerSpecificationsNetworkOlaAvailableMode { + return v.AvailableModes + }).(GetDedicatedServerSpecificationsNetworkOlaAvailableModeArrayOutput) +} + +// (DEPRECATED) What modes are supported +func (o GetDedicatedServerSpecificationsNetworkOlaOutput) SupportedModes() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetDedicatedServerSpecificationsNetworkOla) []string { return v.SupportedModes }).(pulumi.StringArrayOutput) +} + +type GetDedicatedServerSpecificationsNetworkOlaAvailableMode struct { + // Is it the default configuration of the server + Default bool `pulumi:"default"` + // Interface layout + Interfaces []GetDedicatedServerSpecificationsNetworkOlaAvailableModeInterface `pulumi:"interfaces"` + // Mode name + Name string `pulumi:"name"` +} + +// GetDedicatedServerSpecificationsNetworkOlaAvailableModeInput is an input type that accepts GetDedicatedServerSpecificationsNetworkOlaAvailableModeArgs and GetDedicatedServerSpecificationsNetworkOlaAvailableModeOutput values. +// You can construct a concrete instance of `GetDedicatedServerSpecificationsNetworkOlaAvailableModeInput` via: +// +// GetDedicatedServerSpecificationsNetworkOlaAvailableModeArgs{...} +type GetDedicatedServerSpecificationsNetworkOlaAvailableModeInput interface { + pulumi.Input + + ToGetDedicatedServerSpecificationsNetworkOlaAvailableModeOutput() GetDedicatedServerSpecificationsNetworkOlaAvailableModeOutput + ToGetDedicatedServerSpecificationsNetworkOlaAvailableModeOutputWithContext(context.Context) GetDedicatedServerSpecificationsNetworkOlaAvailableModeOutput +} + +type GetDedicatedServerSpecificationsNetworkOlaAvailableModeArgs struct { + // Is it the default configuration of the server + Default pulumi.BoolInput `pulumi:"default"` + // Interface layout + Interfaces GetDedicatedServerSpecificationsNetworkOlaAvailableModeInterfaceArrayInput `pulumi:"interfaces"` + // Mode name + Name pulumi.StringInput `pulumi:"name"` +} + +func (GetDedicatedServerSpecificationsNetworkOlaAvailableModeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDedicatedServerSpecificationsNetworkOlaAvailableMode)(nil)).Elem() +} + +func (i GetDedicatedServerSpecificationsNetworkOlaAvailableModeArgs) ToGetDedicatedServerSpecificationsNetworkOlaAvailableModeOutput() GetDedicatedServerSpecificationsNetworkOlaAvailableModeOutput { + return i.ToGetDedicatedServerSpecificationsNetworkOlaAvailableModeOutputWithContext(context.Background()) +} + +func (i GetDedicatedServerSpecificationsNetworkOlaAvailableModeArgs) ToGetDedicatedServerSpecificationsNetworkOlaAvailableModeOutputWithContext(ctx context.Context) GetDedicatedServerSpecificationsNetworkOlaAvailableModeOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDedicatedServerSpecificationsNetworkOlaAvailableModeOutput) +} + +// GetDedicatedServerSpecificationsNetworkOlaAvailableModeArrayInput is an input type that accepts GetDedicatedServerSpecificationsNetworkOlaAvailableModeArray and GetDedicatedServerSpecificationsNetworkOlaAvailableModeArrayOutput values. +// You can construct a concrete instance of `GetDedicatedServerSpecificationsNetworkOlaAvailableModeArrayInput` via: +// +// GetDedicatedServerSpecificationsNetworkOlaAvailableModeArray{ GetDedicatedServerSpecificationsNetworkOlaAvailableModeArgs{...} } +type GetDedicatedServerSpecificationsNetworkOlaAvailableModeArrayInput interface { + pulumi.Input + + ToGetDedicatedServerSpecificationsNetworkOlaAvailableModeArrayOutput() GetDedicatedServerSpecificationsNetworkOlaAvailableModeArrayOutput + ToGetDedicatedServerSpecificationsNetworkOlaAvailableModeArrayOutputWithContext(context.Context) GetDedicatedServerSpecificationsNetworkOlaAvailableModeArrayOutput +} + +type GetDedicatedServerSpecificationsNetworkOlaAvailableModeArray []GetDedicatedServerSpecificationsNetworkOlaAvailableModeInput + +func (GetDedicatedServerSpecificationsNetworkOlaAvailableModeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDedicatedServerSpecificationsNetworkOlaAvailableMode)(nil)).Elem() +} + +func (i GetDedicatedServerSpecificationsNetworkOlaAvailableModeArray) ToGetDedicatedServerSpecificationsNetworkOlaAvailableModeArrayOutput() GetDedicatedServerSpecificationsNetworkOlaAvailableModeArrayOutput { + return i.ToGetDedicatedServerSpecificationsNetworkOlaAvailableModeArrayOutputWithContext(context.Background()) +} + +func (i GetDedicatedServerSpecificationsNetworkOlaAvailableModeArray) ToGetDedicatedServerSpecificationsNetworkOlaAvailableModeArrayOutputWithContext(ctx context.Context) GetDedicatedServerSpecificationsNetworkOlaAvailableModeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDedicatedServerSpecificationsNetworkOlaAvailableModeArrayOutput) +} + +type GetDedicatedServerSpecificationsNetworkOlaAvailableModeOutput struct{ *pulumi.OutputState } + +func (GetDedicatedServerSpecificationsNetworkOlaAvailableModeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDedicatedServerSpecificationsNetworkOlaAvailableMode)(nil)).Elem() +} + +func (o GetDedicatedServerSpecificationsNetworkOlaAvailableModeOutput) ToGetDedicatedServerSpecificationsNetworkOlaAvailableModeOutput() GetDedicatedServerSpecificationsNetworkOlaAvailableModeOutput { + return o +} + +func (o GetDedicatedServerSpecificationsNetworkOlaAvailableModeOutput) ToGetDedicatedServerSpecificationsNetworkOlaAvailableModeOutputWithContext(ctx context.Context) GetDedicatedServerSpecificationsNetworkOlaAvailableModeOutput { + return o +} + +// Is it the default configuration of the server +func (o GetDedicatedServerSpecificationsNetworkOlaAvailableModeOutput) Default() pulumi.BoolOutput { + return o.ApplyT(func(v GetDedicatedServerSpecificationsNetworkOlaAvailableMode) bool { return v.Default }).(pulumi.BoolOutput) +} + +// Interface layout +func (o GetDedicatedServerSpecificationsNetworkOlaAvailableModeOutput) Interfaces() GetDedicatedServerSpecificationsNetworkOlaAvailableModeInterfaceArrayOutput { + return o.ApplyT(func(v GetDedicatedServerSpecificationsNetworkOlaAvailableMode) []GetDedicatedServerSpecificationsNetworkOlaAvailableModeInterface { + return v.Interfaces + }).(GetDedicatedServerSpecificationsNetworkOlaAvailableModeInterfaceArrayOutput) +} + +// Mode name +func (o GetDedicatedServerSpecificationsNetworkOlaAvailableModeOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetDedicatedServerSpecificationsNetworkOlaAvailableMode) string { return v.Name }).(pulumi.StringOutput) +} + +type GetDedicatedServerSpecificationsNetworkOlaAvailableModeArrayOutput struct{ *pulumi.OutputState } + +func (GetDedicatedServerSpecificationsNetworkOlaAvailableModeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDedicatedServerSpecificationsNetworkOlaAvailableMode)(nil)).Elem() +} + +func (o GetDedicatedServerSpecificationsNetworkOlaAvailableModeArrayOutput) ToGetDedicatedServerSpecificationsNetworkOlaAvailableModeArrayOutput() GetDedicatedServerSpecificationsNetworkOlaAvailableModeArrayOutput { + return o +} + +func (o GetDedicatedServerSpecificationsNetworkOlaAvailableModeArrayOutput) ToGetDedicatedServerSpecificationsNetworkOlaAvailableModeArrayOutputWithContext(ctx context.Context) GetDedicatedServerSpecificationsNetworkOlaAvailableModeArrayOutput { + return o +} + +func (o GetDedicatedServerSpecificationsNetworkOlaAvailableModeArrayOutput) Index(i pulumi.IntInput) GetDedicatedServerSpecificationsNetworkOlaAvailableModeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDedicatedServerSpecificationsNetworkOlaAvailableMode { + return vs[0].([]GetDedicatedServerSpecificationsNetworkOlaAvailableMode)[vs[1].(int)] + }).(GetDedicatedServerSpecificationsNetworkOlaAvailableModeOutput) +} + +type GetDedicatedServerSpecificationsNetworkOlaAvailableModeInterface struct { + // Interface aggregation status + Aggregation bool `pulumi:"aggregation"` + // Interface count + Count float64 `pulumi:"count"` + // An enum describing OVH Link Aggregation interface types + Type string `pulumi:"type"` +} + +// GetDedicatedServerSpecificationsNetworkOlaAvailableModeInterfaceInput is an input type that accepts GetDedicatedServerSpecificationsNetworkOlaAvailableModeInterfaceArgs and GetDedicatedServerSpecificationsNetworkOlaAvailableModeInterfaceOutput values. +// You can construct a concrete instance of `GetDedicatedServerSpecificationsNetworkOlaAvailableModeInterfaceInput` via: +// +// GetDedicatedServerSpecificationsNetworkOlaAvailableModeInterfaceArgs{...} +type GetDedicatedServerSpecificationsNetworkOlaAvailableModeInterfaceInput interface { + pulumi.Input + + ToGetDedicatedServerSpecificationsNetworkOlaAvailableModeInterfaceOutput() GetDedicatedServerSpecificationsNetworkOlaAvailableModeInterfaceOutput + ToGetDedicatedServerSpecificationsNetworkOlaAvailableModeInterfaceOutputWithContext(context.Context) GetDedicatedServerSpecificationsNetworkOlaAvailableModeInterfaceOutput +} + +type GetDedicatedServerSpecificationsNetworkOlaAvailableModeInterfaceArgs struct { + // Interface aggregation status + Aggregation pulumi.BoolInput `pulumi:"aggregation"` + // Interface count + Count pulumi.Float64Input `pulumi:"count"` + // An enum describing OVH Link Aggregation interface types + Type pulumi.StringInput `pulumi:"type"` +} + +func (GetDedicatedServerSpecificationsNetworkOlaAvailableModeInterfaceArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDedicatedServerSpecificationsNetworkOlaAvailableModeInterface)(nil)).Elem() +} + +func (i GetDedicatedServerSpecificationsNetworkOlaAvailableModeInterfaceArgs) ToGetDedicatedServerSpecificationsNetworkOlaAvailableModeInterfaceOutput() GetDedicatedServerSpecificationsNetworkOlaAvailableModeInterfaceOutput { + return i.ToGetDedicatedServerSpecificationsNetworkOlaAvailableModeInterfaceOutputWithContext(context.Background()) +} + +func (i GetDedicatedServerSpecificationsNetworkOlaAvailableModeInterfaceArgs) ToGetDedicatedServerSpecificationsNetworkOlaAvailableModeInterfaceOutputWithContext(ctx context.Context) GetDedicatedServerSpecificationsNetworkOlaAvailableModeInterfaceOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDedicatedServerSpecificationsNetworkOlaAvailableModeInterfaceOutput) +} + +// GetDedicatedServerSpecificationsNetworkOlaAvailableModeInterfaceArrayInput is an input type that accepts GetDedicatedServerSpecificationsNetworkOlaAvailableModeInterfaceArray and GetDedicatedServerSpecificationsNetworkOlaAvailableModeInterfaceArrayOutput values. +// You can construct a concrete instance of `GetDedicatedServerSpecificationsNetworkOlaAvailableModeInterfaceArrayInput` via: +// +// GetDedicatedServerSpecificationsNetworkOlaAvailableModeInterfaceArray{ GetDedicatedServerSpecificationsNetworkOlaAvailableModeInterfaceArgs{...} } +type GetDedicatedServerSpecificationsNetworkOlaAvailableModeInterfaceArrayInput interface { + pulumi.Input + + ToGetDedicatedServerSpecificationsNetworkOlaAvailableModeInterfaceArrayOutput() GetDedicatedServerSpecificationsNetworkOlaAvailableModeInterfaceArrayOutput + ToGetDedicatedServerSpecificationsNetworkOlaAvailableModeInterfaceArrayOutputWithContext(context.Context) GetDedicatedServerSpecificationsNetworkOlaAvailableModeInterfaceArrayOutput +} + +type GetDedicatedServerSpecificationsNetworkOlaAvailableModeInterfaceArray []GetDedicatedServerSpecificationsNetworkOlaAvailableModeInterfaceInput + +func (GetDedicatedServerSpecificationsNetworkOlaAvailableModeInterfaceArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDedicatedServerSpecificationsNetworkOlaAvailableModeInterface)(nil)).Elem() +} + +func (i GetDedicatedServerSpecificationsNetworkOlaAvailableModeInterfaceArray) ToGetDedicatedServerSpecificationsNetworkOlaAvailableModeInterfaceArrayOutput() GetDedicatedServerSpecificationsNetworkOlaAvailableModeInterfaceArrayOutput { + return i.ToGetDedicatedServerSpecificationsNetworkOlaAvailableModeInterfaceArrayOutputWithContext(context.Background()) +} + +func (i GetDedicatedServerSpecificationsNetworkOlaAvailableModeInterfaceArray) ToGetDedicatedServerSpecificationsNetworkOlaAvailableModeInterfaceArrayOutputWithContext(ctx context.Context) GetDedicatedServerSpecificationsNetworkOlaAvailableModeInterfaceArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDedicatedServerSpecificationsNetworkOlaAvailableModeInterfaceArrayOutput) +} + +type GetDedicatedServerSpecificationsNetworkOlaAvailableModeInterfaceOutput struct{ *pulumi.OutputState } + +func (GetDedicatedServerSpecificationsNetworkOlaAvailableModeInterfaceOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDedicatedServerSpecificationsNetworkOlaAvailableModeInterface)(nil)).Elem() +} + +func (o GetDedicatedServerSpecificationsNetworkOlaAvailableModeInterfaceOutput) ToGetDedicatedServerSpecificationsNetworkOlaAvailableModeInterfaceOutput() GetDedicatedServerSpecificationsNetworkOlaAvailableModeInterfaceOutput { + return o +} + +func (o GetDedicatedServerSpecificationsNetworkOlaAvailableModeInterfaceOutput) ToGetDedicatedServerSpecificationsNetworkOlaAvailableModeInterfaceOutputWithContext(ctx context.Context) GetDedicatedServerSpecificationsNetworkOlaAvailableModeInterfaceOutput { + return o +} + +// Interface aggregation status +func (o GetDedicatedServerSpecificationsNetworkOlaAvailableModeInterfaceOutput) Aggregation() pulumi.BoolOutput { + return o.ApplyT(func(v GetDedicatedServerSpecificationsNetworkOlaAvailableModeInterface) bool { return v.Aggregation }).(pulumi.BoolOutput) +} + +// Interface count +func (o GetDedicatedServerSpecificationsNetworkOlaAvailableModeInterfaceOutput) Count() pulumi.Float64Output { + return o.ApplyT(func(v GetDedicatedServerSpecificationsNetworkOlaAvailableModeInterface) float64 { return v.Count }).(pulumi.Float64Output) +} + +// An enum describing OVH Link Aggregation interface types +func (o GetDedicatedServerSpecificationsNetworkOlaAvailableModeInterfaceOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v GetDedicatedServerSpecificationsNetworkOlaAvailableModeInterface) string { return v.Type }).(pulumi.StringOutput) +} + +type GetDedicatedServerSpecificationsNetworkOlaAvailableModeInterfaceArrayOutput struct{ *pulumi.OutputState } + +func (GetDedicatedServerSpecificationsNetworkOlaAvailableModeInterfaceArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDedicatedServerSpecificationsNetworkOlaAvailableModeInterface)(nil)).Elem() +} + +func (o GetDedicatedServerSpecificationsNetworkOlaAvailableModeInterfaceArrayOutput) ToGetDedicatedServerSpecificationsNetworkOlaAvailableModeInterfaceArrayOutput() GetDedicatedServerSpecificationsNetworkOlaAvailableModeInterfaceArrayOutput { + return o +} + +func (o GetDedicatedServerSpecificationsNetworkOlaAvailableModeInterfaceArrayOutput) ToGetDedicatedServerSpecificationsNetworkOlaAvailableModeInterfaceArrayOutputWithContext(ctx context.Context) GetDedicatedServerSpecificationsNetworkOlaAvailableModeInterfaceArrayOutput { + return o +} + +func (o GetDedicatedServerSpecificationsNetworkOlaAvailableModeInterfaceArrayOutput) Index(i pulumi.IntInput) GetDedicatedServerSpecificationsNetworkOlaAvailableModeInterfaceOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDedicatedServerSpecificationsNetworkOlaAvailableModeInterface { + return vs[0].([]GetDedicatedServerSpecificationsNetworkOlaAvailableModeInterface)[vs[1].(int)] + }).(GetDedicatedServerSpecificationsNetworkOlaAvailableModeInterfaceOutput) +} + +type GetDedicatedServerSpecificationsNetworkRouting struct { + // Ipv4 routing details + Ipv4 GetDedicatedServerSpecificationsNetworkRoutingIpv4 `pulumi:"ipv4"` + // Ipv6 routing details + Ipv6 GetDedicatedServerSpecificationsNetworkRoutingIpv6 `pulumi:"ipv6"` +} + +// GetDedicatedServerSpecificationsNetworkRoutingInput is an input type that accepts GetDedicatedServerSpecificationsNetworkRoutingArgs and GetDedicatedServerSpecificationsNetworkRoutingOutput values. +// You can construct a concrete instance of `GetDedicatedServerSpecificationsNetworkRoutingInput` via: +// +// GetDedicatedServerSpecificationsNetworkRoutingArgs{...} +type GetDedicatedServerSpecificationsNetworkRoutingInput interface { + pulumi.Input + + ToGetDedicatedServerSpecificationsNetworkRoutingOutput() GetDedicatedServerSpecificationsNetworkRoutingOutput + ToGetDedicatedServerSpecificationsNetworkRoutingOutputWithContext(context.Context) GetDedicatedServerSpecificationsNetworkRoutingOutput +} + +type GetDedicatedServerSpecificationsNetworkRoutingArgs struct { + // Ipv4 routing details + Ipv4 GetDedicatedServerSpecificationsNetworkRoutingIpv4Input `pulumi:"ipv4"` + // Ipv6 routing details + Ipv6 GetDedicatedServerSpecificationsNetworkRoutingIpv6Input `pulumi:"ipv6"` +} + +func (GetDedicatedServerSpecificationsNetworkRoutingArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDedicatedServerSpecificationsNetworkRouting)(nil)).Elem() +} + +func (i GetDedicatedServerSpecificationsNetworkRoutingArgs) ToGetDedicatedServerSpecificationsNetworkRoutingOutput() GetDedicatedServerSpecificationsNetworkRoutingOutput { + return i.ToGetDedicatedServerSpecificationsNetworkRoutingOutputWithContext(context.Background()) +} + +func (i GetDedicatedServerSpecificationsNetworkRoutingArgs) ToGetDedicatedServerSpecificationsNetworkRoutingOutputWithContext(ctx context.Context) GetDedicatedServerSpecificationsNetworkRoutingOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDedicatedServerSpecificationsNetworkRoutingOutput) +} + +type GetDedicatedServerSpecificationsNetworkRoutingOutput struct{ *pulumi.OutputState } + +func (GetDedicatedServerSpecificationsNetworkRoutingOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDedicatedServerSpecificationsNetworkRouting)(nil)).Elem() +} + +func (o GetDedicatedServerSpecificationsNetworkRoutingOutput) ToGetDedicatedServerSpecificationsNetworkRoutingOutput() GetDedicatedServerSpecificationsNetworkRoutingOutput { + return o +} + +func (o GetDedicatedServerSpecificationsNetworkRoutingOutput) ToGetDedicatedServerSpecificationsNetworkRoutingOutputWithContext(ctx context.Context) GetDedicatedServerSpecificationsNetworkRoutingOutput { + return o +} + +// Ipv4 routing details +func (o GetDedicatedServerSpecificationsNetworkRoutingOutput) Ipv4() GetDedicatedServerSpecificationsNetworkRoutingIpv4Output { + return o.ApplyT(func(v GetDedicatedServerSpecificationsNetworkRouting) GetDedicatedServerSpecificationsNetworkRoutingIpv4 { + return v.Ipv4 + }).(GetDedicatedServerSpecificationsNetworkRoutingIpv4Output) +} + +// Ipv6 routing details +func (o GetDedicatedServerSpecificationsNetworkRoutingOutput) Ipv6() GetDedicatedServerSpecificationsNetworkRoutingIpv6Output { + return o.ApplyT(func(v GetDedicatedServerSpecificationsNetworkRouting) GetDedicatedServerSpecificationsNetworkRoutingIpv6 { + return v.Ipv6 + }).(GetDedicatedServerSpecificationsNetworkRoutingIpv6Output) +} + +type GetDedicatedServerSpecificationsNetworkRoutingIpv4 struct { + // Server gateway + Gateway string `pulumi:"gateway"` + // Server main IP + Ip string `pulumi:"ip"` + // Server network + Network string `pulumi:"network"` +} + +// GetDedicatedServerSpecificationsNetworkRoutingIpv4Input is an input type that accepts GetDedicatedServerSpecificationsNetworkRoutingIpv4Args and GetDedicatedServerSpecificationsNetworkRoutingIpv4Output values. +// You can construct a concrete instance of `GetDedicatedServerSpecificationsNetworkRoutingIpv4Input` via: +// +// GetDedicatedServerSpecificationsNetworkRoutingIpv4Args{...} +type GetDedicatedServerSpecificationsNetworkRoutingIpv4Input interface { + pulumi.Input + + ToGetDedicatedServerSpecificationsNetworkRoutingIpv4Output() GetDedicatedServerSpecificationsNetworkRoutingIpv4Output + ToGetDedicatedServerSpecificationsNetworkRoutingIpv4OutputWithContext(context.Context) GetDedicatedServerSpecificationsNetworkRoutingIpv4Output +} + +type GetDedicatedServerSpecificationsNetworkRoutingIpv4Args struct { + // Server gateway + Gateway pulumi.StringInput `pulumi:"gateway"` + // Server main IP + Ip pulumi.StringInput `pulumi:"ip"` + // Server network + Network pulumi.StringInput `pulumi:"network"` +} + +func (GetDedicatedServerSpecificationsNetworkRoutingIpv4Args) ElementType() reflect.Type { + return reflect.TypeOf((*GetDedicatedServerSpecificationsNetworkRoutingIpv4)(nil)).Elem() +} + +func (i GetDedicatedServerSpecificationsNetworkRoutingIpv4Args) ToGetDedicatedServerSpecificationsNetworkRoutingIpv4Output() GetDedicatedServerSpecificationsNetworkRoutingIpv4Output { + return i.ToGetDedicatedServerSpecificationsNetworkRoutingIpv4OutputWithContext(context.Background()) +} + +func (i GetDedicatedServerSpecificationsNetworkRoutingIpv4Args) ToGetDedicatedServerSpecificationsNetworkRoutingIpv4OutputWithContext(ctx context.Context) GetDedicatedServerSpecificationsNetworkRoutingIpv4Output { + return pulumi.ToOutputWithContext(ctx, i).(GetDedicatedServerSpecificationsNetworkRoutingIpv4Output) +} + +type GetDedicatedServerSpecificationsNetworkRoutingIpv4Output struct{ *pulumi.OutputState } + +func (GetDedicatedServerSpecificationsNetworkRoutingIpv4Output) ElementType() reflect.Type { + return reflect.TypeOf((*GetDedicatedServerSpecificationsNetworkRoutingIpv4)(nil)).Elem() +} + +func (o GetDedicatedServerSpecificationsNetworkRoutingIpv4Output) ToGetDedicatedServerSpecificationsNetworkRoutingIpv4Output() GetDedicatedServerSpecificationsNetworkRoutingIpv4Output { + return o +} + +func (o GetDedicatedServerSpecificationsNetworkRoutingIpv4Output) ToGetDedicatedServerSpecificationsNetworkRoutingIpv4OutputWithContext(ctx context.Context) GetDedicatedServerSpecificationsNetworkRoutingIpv4Output { + return o +} + +// Server gateway +func (o GetDedicatedServerSpecificationsNetworkRoutingIpv4Output) Gateway() pulumi.StringOutput { + return o.ApplyT(func(v GetDedicatedServerSpecificationsNetworkRoutingIpv4) string { return v.Gateway }).(pulumi.StringOutput) +} + +// Server main IP +func (o GetDedicatedServerSpecificationsNetworkRoutingIpv4Output) Ip() pulumi.StringOutput { + return o.ApplyT(func(v GetDedicatedServerSpecificationsNetworkRoutingIpv4) string { return v.Ip }).(pulumi.StringOutput) +} + +// Server network +func (o GetDedicatedServerSpecificationsNetworkRoutingIpv4Output) Network() pulumi.StringOutput { + return o.ApplyT(func(v GetDedicatedServerSpecificationsNetworkRoutingIpv4) string { return v.Network }).(pulumi.StringOutput) +} + +type GetDedicatedServerSpecificationsNetworkRoutingIpv6 struct { + // Server gateway + Gateway string `pulumi:"gateway"` + // Server main IP + Ip string `pulumi:"ip"` + // Server network + Network string `pulumi:"network"` +} + +// GetDedicatedServerSpecificationsNetworkRoutingIpv6Input is an input type that accepts GetDedicatedServerSpecificationsNetworkRoutingIpv6Args and GetDedicatedServerSpecificationsNetworkRoutingIpv6Output values. +// You can construct a concrete instance of `GetDedicatedServerSpecificationsNetworkRoutingIpv6Input` via: +// +// GetDedicatedServerSpecificationsNetworkRoutingIpv6Args{...} +type GetDedicatedServerSpecificationsNetworkRoutingIpv6Input interface { + pulumi.Input + + ToGetDedicatedServerSpecificationsNetworkRoutingIpv6Output() GetDedicatedServerSpecificationsNetworkRoutingIpv6Output + ToGetDedicatedServerSpecificationsNetworkRoutingIpv6OutputWithContext(context.Context) GetDedicatedServerSpecificationsNetworkRoutingIpv6Output +} + +type GetDedicatedServerSpecificationsNetworkRoutingIpv6Args struct { + // Server gateway + Gateway pulumi.StringInput `pulumi:"gateway"` + // Server main IP + Ip pulumi.StringInput `pulumi:"ip"` + // Server network + Network pulumi.StringInput `pulumi:"network"` +} + +func (GetDedicatedServerSpecificationsNetworkRoutingIpv6Args) ElementType() reflect.Type { + return reflect.TypeOf((*GetDedicatedServerSpecificationsNetworkRoutingIpv6)(nil)).Elem() +} + +func (i GetDedicatedServerSpecificationsNetworkRoutingIpv6Args) ToGetDedicatedServerSpecificationsNetworkRoutingIpv6Output() GetDedicatedServerSpecificationsNetworkRoutingIpv6Output { + return i.ToGetDedicatedServerSpecificationsNetworkRoutingIpv6OutputWithContext(context.Background()) +} + +func (i GetDedicatedServerSpecificationsNetworkRoutingIpv6Args) ToGetDedicatedServerSpecificationsNetworkRoutingIpv6OutputWithContext(ctx context.Context) GetDedicatedServerSpecificationsNetworkRoutingIpv6Output { + return pulumi.ToOutputWithContext(ctx, i).(GetDedicatedServerSpecificationsNetworkRoutingIpv6Output) +} + +type GetDedicatedServerSpecificationsNetworkRoutingIpv6Output struct{ *pulumi.OutputState } + +func (GetDedicatedServerSpecificationsNetworkRoutingIpv6Output) ElementType() reflect.Type { + return reflect.TypeOf((*GetDedicatedServerSpecificationsNetworkRoutingIpv6)(nil)).Elem() +} + +func (o GetDedicatedServerSpecificationsNetworkRoutingIpv6Output) ToGetDedicatedServerSpecificationsNetworkRoutingIpv6Output() GetDedicatedServerSpecificationsNetworkRoutingIpv6Output { + return o +} + +func (o GetDedicatedServerSpecificationsNetworkRoutingIpv6Output) ToGetDedicatedServerSpecificationsNetworkRoutingIpv6OutputWithContext(ctx context.Context) GetDedicatedServerSpecificationsNetworkRoutingIpv6Output { + return o +} + +// Server gateway +func (o GetDedicatedServerSpecificationsNetworkRoutingIpv6Output) Gateway() pulumi.StringOutput { + return o.ApplyT(func(v GetDedicatedServerSpecificationsNetworkRoutingIpv6) string { return v.Gateway }).(pulumi.StringOutput) +} + +// Server main IP +func (o GetDedicatedServerSpecificationsNetworkRoutingIpv6Output) Ip() pulumi.StringOutput { + return o.ApplyT(func(v GetDedicatedServerSpecificationsNetworkRoutingIpv6) string { return v.Ip }).(pulumi.StringOutput) +} + +// Server network +func (o GetDedicatedServerSpecificationsNetworkRoutingIpv6Output) Network() pulumi.StringOutput { + return o.ApplyT(func(v GetDedicatedServerSpecificationsNetworkRoutingIpv6) string { return v.Network }).(pulumi.StringOutput) +} + +type GetDedicatedServerSpecificationsNetworkSwitching struct { + // Switch name + Name string `pulumi:"name"` +} + +// GetDedicatedServerSpecificationsNetworkSwitchingInput is an input type that accepts GetDedicatedServerSpecificationsNetworkSwitchingArgs and GetDedicatedServerSpecificationsNetworkSwitchingOutput values. +// You can construct a concrete instance of `GetDedicatedServerSpecificationsNetworkSwitchingInput` via: +// +// GetDedicatedServerSpecificationsNetworkSwitchingArgs{...} +type GetDedicatedServerSpecificationsNetworkSwitchingInput interface { + pulumi.Input + + ToGetDedicatedServerSpecificationsNetworkSwitchingOutput() GetDedicatedServerSpecificationsNetworkSwitchingOutput + ToGetDedicatedServerSpecificationsNetworkSwitchingOutputWithContext(context.Context) GetDedicatedServerSpecificationsNetworkSwitchingOutput +} + +type GetDedicatedServerSpecificationsNetworkSwitchingArgs struct { + // Switch name + Name pulumi.StringInput `pulumi:"name"` +} + +func (GetDedicatedServerSpecificationsNetworkSwitchingArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDedicatedServerSpecificationsNetworkSwitching)(nil)).Elem() +} + +func (i GetDedicatedServerSpecificationsNetworkSwitchingArgs) ToGetDedicatedServerSpecificationsNetworkSwitchingOutput() GetDedicatedServerSpecificationsNetworkSwitchingOutput { + return i.ToGetDedicatedServerSpecificationsNetworkSwitchingOutputWithContext(context.Background()) +} + +func (i GetDedicatedServerSpecificationsNetworkSwitchingArgs) ToGetDedicatedServerSpecificationsNetworkSwitchingOutputWithContext(ctx context.Context) GetDedicatedServerSpecificationsNetworkSwitchingOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDedicatedServerSpecificationsNetworkSwitchingOutput) +} + +type GetDedicatedServerSpecificationsNetworkSwitchingOutput struct{ *pulumi.OutputState } + +func (GetDedicatedServerSpecificationsNetworkSwitchingOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDedicatedServerSpecificationsNetworkSwitching)(nil)).Elem() +} + +func (o GetDedicatedServerSpecificationsNetworkSwitchingOutput) ToGetDedicatedServerSpecificationsNetworkSwitchingOutput() GetDedicatedServerSpecificationsNetworkSwitchingOutput { + return o +} + +func (o GetDedicatedServerSpecificationsNetworkSwitchingOutput) ToGetDedicatedServerSpecificationsNetworkSwitchingOutputWithContext(ctx context.Context) GetDedicatedServerSpecificationsNetworkSwitchingOutput { + return o +} + +// Switch name +func (o GetDedicatedServerSpecificationsNetworkSwitchingOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetDedicatedServerSpecificationsNetworkSwitching) string { return v.Name }).(pulumi.StringOutput) +} + +type GetDedicatedServerSpecificationsNetworkTraffic struct { + // Monthly input traffic quota allowed + InputQuotaSize GetDedicatedServerSpecificationsNetworkTrafficInputQuotaSize `pulumi:"inputQuotaSize"` + // Monthly input traffic consumed this month + InputQuotaUsed GetDedicatedServerSpecificationsNetworkTrafficInputQuotaUsed `pulumi:"inputQuotaUsed"` + // Is bandwidth throttleted for being over quota + IsThrottled bool `pulumi:"isThrottled"` + // Monthly output traffic quota allowed + OutputQuotaSize GetDedicatedServerSpecificationsNetworkTrafficOutputQuotaSize `pulumi:"outputQuotaSize"` + // Monthly output traffic consumed this month + OutputQuotaUsed GetDedicatedServerSpecificationsNetworkTrafficOutputQuotaUsed `pulumi:"outputQuotaUsed"` + // Next reset quota date for traffic counter + ResetQuotaDate string `pulumi:"resetQuotaDate"` +} + +// GetDedicatedServerSpecificationsNetworkTrafficInput is an input type that accepts GetDedicatedServerSpecificationsNetworkTrafficArgs and GetDedicatedServerSpecificationsNetworkTrafficOutput values. +// You can construct a concrete instance of `GetDedicatedServerSpecificationsNetworkTrafficInput` via: +// +// GetDedicatedServerSpecificationsNetworkTrafficArgs{...} +type GetDedicatedServerSpecificationsNetworkTrafficInput interface { + pulumi.Input + + ToGetDedicatedServerSpecificationsNetworkTrafficOutput() GetDedicatedServerSpecificationsNetworkTrafficOutput + ToGetDedicatedServerSpecificationsNetworkTrafficOutputWithContext(context.Context) GetDedicatedServerSpecificationsNetworkTrafficOutput +} + +type GetDedicatedServerSpecificationsNetworkTrafficArgs struct { + // Monthly input traffic quota allowed + InputQuotaSize GetDedicatedServerSpecificationsNetworkTrafficInputQuotaSizeInput `pulumi:"inputQuotaSize"` + // Monthly input traffic consumed this month + InputQuotaUsed GetDedicatedServerSpecificationsNetworkTrafficInputQuotaUsedInput `pulumi:"inputQuotaUsed"` + // Is bandwidth throttleted for being over quota + IsThrottled pulumi.BoolInput `pulumi:"isThrottled"` + // Monthly output traffic quota allowed + OutputQuotaSize GetDedicatedServerSpecificationsNetworkTrafficOutputQuotaSizeInput `pulumi:"outputQuotaSize"` + // Monthly output traffic consumed this month + OutputQuotaUsed GetDedicatedServerSpecificationsNetworkTrafficOutputQuotaUsedInput `pulumi:"outputQuotaUsed"` + // Next reset quota date for traffic counter + ResetQuotaDate pulumi.StringInput `pulumi:"resetQuotaDate"` +} + +func (GetDedicatedServerSpecificationsNetworkTrafficArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDedicatedServerSpecificationsNetworkTraffic)(nil)).Elem() +} + +func (i GetDedicatedServerSpecificationsNetworkTrafficArgs) ToGetDedicatedServerSpecificationsNetworkTrafficOutput() GetDedicatedServerSpecificationsNetworkTrafficOutput { + return i.ToGetDedicatedServerSpecificationsNetworkTrafficOutputWithContext(context.Background()) +} + +func (i GetDedicatedServerSpecificationsNetworkTrafficArgs) ToGetDedicatedServerSpecificationsNetworkTrafficOutputWithContext(ctx context.Context) GetDedicatedServerSpecificationsNetworkTrafficOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDedicatedServerSpecificationsNetworkTrafficOutput) +} + +type GetDedicatedServerSpecificationsNetworkTrafficOutput struct{ *pulumi.OutputState } + +func (GetDedicatedServerSpecificationsNetworkTrafficOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDedicatedServerSpecificationsNetworkTraffic)(nil)).Elem() +} + +func (o GetDedicatedServerSpecificationsNetworkTrafficOutput) ToGetDedicatedServerSpecificationsNetworkTrafficOutput() GetDedicatedServerSpecificationsNetworkTrafficOutput { + return o +} + +func (o GetDedicatedServerSpecificationsNetworkTrafficOutput) ToGetDedicatedServerSpecificationsNetworkTrafficOutputWithContext(ctx context.Context) GetDedicatedServerSpecificationsNetworkTrafficOutput { + return o +} + +// Monthly input traffic quota allowed +func (o GetDedicatedServerSpecificationsNetworkTrafficOutput) InputQuotaSize() GetDedicatedServerSpecificationsNetworkTrafficInputQuotaSizeOutput { + return o.ApplyT(func(v GetDedicatedServerSpecificationsNetworkTraffic) GetDedicatedServerSpecificationsNetworkTrafficInputQuotaSize { + return v.InputQuotaSize + }).(GetDedicatedServerSpecificationsNetworkTrafficInputQuotaSizeOutput) +} + +// Monthly input traffic consumed this month +func (o GetDedicatedServerSpecificationsNetworkTrafficOutput) InputQuotaUsed() GetDedicatedServerSpecificationsNetworkTrafficInputQuotaUsedOutput { + return o.ApplyT(func(v GetDedicatedServerSpecificationsNetworkTraffic) GetDedicatedServerSpecificationsNetworkTrafficInputQuotaUsed { + return v.InputQuotaUsed + }).(GetDedicatedServerSpecificationsNetworkTrafficInputQuotaUsedOutput) +} + +// Is bandwidth throttleted for being over quota +func (o GetDedicatedServerSpecificationsNetworkTrafficOutput) IsThrottled() pulumi.BoolOutput { + return o.ApplyT(func(v GetDedicatedServerSpecificationsNetworkTraffic) bool { return v.IsThrottled }).(pulumi.BoolOutput) +} + +// Monthly output traffic quota allowed +func (o GetDedicatedServerSpecificationsNetworkTrafficOutput) OutputQuotaSize() GetDedicatedServerSpecificationsNetworkTrafficOutputQuotaSizeOutput { + return o.ApplyT(func(v GetDedicatedServerSpecificationsNetworkTraffic) GetDedicatedServerSpecificationsNetworkTrafficOutputQuotaSize { + return v.OutputQuotaSize + }).(GetDedicatedServerSpecificationsNetworkTrafficOutputQuotaSizeOutput) +} + +// Monthly output traffic consumed this month +func (o GetDedicatedServerSpecificationsNetworkTrafficOutput) OutputQuotaUsed() GetDedicatedServerSpecificationsNetworkTrafficOutputQuotaUsedOutput { + return o.ApplyT(func(v GetDedicatedServerSpecificationsNetworkTraffic) GetDedicatedServerSpecificationsNetworkTrafficOutputQuotaUsed { + return v.OutputQuotaUsed + }).(GetDedicatedServerSpecificationsNetworkTrafficOutputQuotaUsedOutput) +} + +// Next reset quota date for traffic counter +func (o GetDedicatedServerSpecificationsNetworkTrafficOutput) ResetQuotaDate() pulumi.StringOutput { + return o.ApplyT(func(v GetDedicatedServerSpecificationsNetworkTraffic) string { return v.ResetQuotaDate }).(pulumi.StringOutput) +} + +type GetDedicatedServerSpecificationsNetworkTrafficInputQuotaSize struct { + Unit string `pulumi:"unit"` + Value float64 `pulumi:"value"` +} + +// GetDedicatedServerSpecificationsNetworkTrafficInputQuotaSizeInput is an input type that accepts GetDedicatedServerSpecificationsNetworkTrafficInputQuotaSizeArgs and GetDedicatedServerSpecificationsNetworkTrafficInputQuotaSizeOutput values. +// You can construct a concrete instance of `GetDedicatedServerSpecificationsNetworkTrafficInputQuotaSizeInput` via: +// +// GetDedicatedServerSpecificationsNetworkTrafficInputQuotaSizeArgs{...} +type GetDedicatedServerSpecificationsNetworkTrafficInputQuotaSizeInput interface { + pulumi.Input + + ToGetDedicatedServerSpecificationsNetworkTrafficInputQuotaSizeOutput() GetDedicatedServerSpecificationsNetworkTrafficInputQuotaSizeOutput + ToGetDedicatedServerSpecificationsNetworkTrafficInputQuotaSizeOutputWithContext(context.Context) GetDedicatedServerSpecificationsNetworkTrafficInputQuotaSizeOutput +} + +type GetDedicatedServerSpecificationsNetworkTrafficInputQuotaSizeArgs struct { + Unit pulumi.StringInput `pulumi:"unit"` + Value pulumi.Float64Input `pulumi:"value"` +} + +func (GetDedicatedServerSpecificationsNetworkTrafficInputQuotaSizeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDedicatedServerSpecificationsNetworkTrafficInputQuotaSize)(nil)).Elem() +} + +func (i GetDedicatedServerSpecificationsNetworkTrafficInputQuotaSizeArgs) ToGetDedicatedServerSpecificationsNetworkTrafficInputQuotaSizeOutput() GetDedicatedServerSpecificationsNetworkTrafficInputQuotaSizeOutput { + return i.ToGetDedicatedServerSpecificationsNetworkTrafficInputQuotaSizeOutputWithContext(context.Background()) +} + +func (i GetDedicatedServerSpecificationsNetworkTrafficInputQuotaSizeArgs) ToGetDedicatedServerSpecificationsNetworkTrafficInputQuotaSizeOutputWithContext(ctx context.Context) GetDedicatedServerSpecificationsNetworkTrafficInputQuotaSizeOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDedicatedServerSpecificationsNetworkTrafficInputQuotaSizeOutput) +} + +type GetDedicatedServerSpecificationsNetworkTrafficInputQuotaSizeOutput struct{ *pulumi.OutputState } + +func (GetDedicatedServerSpecificationsNetworkTrafficInputQuotaSizeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDedicatedServerSpecificationsNetworkTrafficInputQuotaSize)(nil)).Elem() +} + +func (o GetDedicatedServerSpecificationsNetworkTrafficInputQuotaSizeOutput) ToGetDedicatedServerSpecificationsNetworkTrafficInputQuotaSizeOutput() GetDedicatedServerSpecificationsNetworkTrafficInputQuotaSizeOutput { + return o +} + +func (o GetDedicatedServerSpecificationsNetworkTrafficInputQuotaSizeOutput) ToGetDedicatedServerSpecificationsNetworkTrafficInputQuotaSizeOutputWithContext(ctx context.Context) GetDedicatedServerSpecificationsNetworkTrafficInputQuotaSizeOutput { + return o +} + +func (o GetDedicatedServerSpecificationsNetworkTrafficInputQuotaSizeOutput) Unit() pulumi.StringOutput { + return o.ApplyT(func(v GetDedicatedServerSpecificationsNetworkTrafficInputQuotaSize) string { return v.Unit }).(pulumi.StringOutput) +} + +func (o GetDedicatedServerSpecificationsNetworkTrafficInputQuotaSizeOutput) Value() pulumi.Float64Output { + return o.ApplyT(func(v GetDedicatedServerSpecificationsNetworkTrafficInputQuotaSize) float64 { return v.Value }).(pulumi.Float64Output) +} + +type GetDedicatedServerSpecificationsNetworkTrafficInputQuotaUsed struct { + Unit string `pulumi:"unit"` + Value float64 `pulumi:"value"` +} + +// GetDedicatedServerSpecificationsNetworkTrafficInputQuotaUsedInput is an input type that accepts GetDedicatedServerSpecificationsNetworkTrafficInputQuotaUsedArgs and GetDedicatedServerSpecificationsNetworkTrafficInputQuotaUsedOutput values. +// You can construct a concrete instance of `GetDedicatedServerSpecificationsNetworkTrafficInputQuotaUsedInput` via: +// +// GetDedicatedServerSpecificationsNetworkTrafficInputQuotaUsedArgs{...} +type GetDedicatedServerSpecificationsNetworkTrafficInputQuotaUsedInput interface { + pulumi.Input + + ToGetDedicatedServerSpecificationsNetworkTrafficInputQuotaUsedOutput() GetDedicatedServerSpecificationsNetworkTrafficInputQuotaUsedOutput + ToGetDedicatedServerSpecificationsNetworkTrafficInputQuotaUsedOutputWithContext(context.Context) GetDedicatedServerSpecificationsNetworkTrafficInputQuotaUsedOutput +} + +type GetDedicatedServerSpecificationsNetworkTrafficInputQuotaUsedArgs struct { + Unit pulumi.StringInput `pulumi:"unit"` + Value pulumi.Float64Input `pulumi:"value"` +} + +func (GetDedicatedServerSpecificationsNetworkTrafficInputQuotaUsedArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDedicatedServerSpecificationsNetworkTrafficInputQuotaUsed)(nil)).Elem() +} + +func (i GetDedicatedServerSpecificationsNetworkTrafficInputQuotaUsedArgs) ToGetDedicatedServerSpecificationsNetworkTrafficInputQuotaUsedOutput() GetDedicatedServerSpecificationsNetworkTrafficInputQuotaUsedOutput { + return i.ToGetDedicatedServerSpecificationsNetworkTrafficInputQuotaUsedOutputWithContext(context.Background()) +} + +func (i GetDedicatedServerSpecificationsNetworkTrafficInputQuotaUsedArgs) ToGetDedicatedServerSpecificationsNetworkTrafficInputQuotaUsedOutputWithContext(ctx context.Context) GetDedicatedServerSpecificationsNetworkTrafficInputQuotaUsedOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDedicatedServerSpecificationsNetworkTrafficInputQuotaUsedOutput) +} + +type GetDedicatedServerSpecificationsNetworkTrafficInputQuotaUsedOutput struct{ *pulumi.OutputState } + +func (GetDedicatedServerSpecificationsNetworkTrafficInputQuotaUsedOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDedicatedServerSpecificationsNetworkTrafficInputQuotaUsed)(nil)).Elem() +} + +func (o GetDedicatedServerSpecificationsNetworkTrafficInputQuotaUsedOutput) ToGetDedicatedServerSpecificationsNetworkTrafficInputQuotaUsedOutput() GetDedicatedServerSpecificationsNetworkTrafficInputQuotaUsedOutput { + return o +} + +func (o GetDedicatedServerSpecificationsNetworkTrafficInputQuotaUsedOutput) ToGetDedicatedServerSpecificationsNetworkTrafficInputQuotaUsedOutputWithContext(ctx context.Context) GetDedicatedServerSpecificationsNetworkTrafficInputQuotaUsedOutput { + return o +} + +func (o GetDedicatedServerSpecificationsNetworkTrafficInputQuotaUsedOutput) Unit() pulumi.StringOutput { + return o.ApplyT(func(v GetDedicatedServerSpecificationsNetworkTrafficInputQuotaUsed) string { return v.Unit }).(pulumi.StringOutput) +} + +func (o GetDedicatedServerSpecificationsNetworkTrafficInputQuotaUsedOutput) Value() pulumi.Float64Output { + return o.ApplyT(func(v GetDedicatedServerSpecificationsNetworkTrafficInputQuotaUsed) float64 { return v.Value }).(pulumi.Float64Output) +} + +type GetDedicatedServerSpecificationsNetworkTrafficOutputQuotaSize struct { + Unit string `pulumi:"unit"` + Value float64 `pulumi:"value"` +} + +// GetDedicatedServerSpecificationsNetworkTrafficOutputQuotaSizeInput is an input type that accepts GetDedicatedServerSpecificationsNetworkTrafficOutputQuotaSizeArgs and GetDedicatedServerSpecificationsNetworkTrafficOutputQuotaSizeOutput values. +// You can construct a concrete instance of `GetDedicatedServerSpecificationsNetworkTrafficOutputQuotaSizeInput` via: +// +// GetDedicatedServerSpecificationsNetworkTrafficOutputQuotaSizeArgs{...} +type GetDedicatedServerSpecificationsNetworkTrafficOutputQuotaSizeInput interface { + pulumi.Input + + ToGetDedicatedServerSpecificationsNetworkTrafficOutputQuotaSizeOutput() GetDedicatedServerSpecificationsNetworkTrafficOutputQuotaSizeOutput + ToGetDedicatedServerSpecificationsNetworkTrafficOutputQuotaSizeOutputWithContext(context.Context) GetDedicatedServerSpecificationsNetworkTrafficOutputQuotaSizeOutput +} + +type GetDedicatedServerSpecificationsNetworkTrafficOutputQuotaSizeArgs struct { + Unit pulumi.StringInput `pulumi:"unit"` + Value pulumi.Float64Input `pulumi:"value"` +} + +func (GetDedicatedServerSpecificationsNetworkTrafficOutputQuotaSizeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDedicatedServerSpecificationsNetworkTrafficOutputQuotaSize)(nil)).Elem() +} + +func (i GetDedicatedServerSpecificationsNetworkTrafficOutputQuotaSizeArgs) ToGetDedicatedServerSpecificationsNetworkTrafficOutputQuotaSizeOutput() GetDedicatedServerSpecificationsNetworkTrafficOutputQuotaSizeOutput { + return i.ToGetDedicatedServerSpecificationsNetworkTrafficOutputQuotaSizeOutputWithContext(context.Background()) +} + +func (i GetDedicatedServerSpecificationsNetworkTrafficOutputQuotaSizeArgs) ToGetDedicatedServerSpecificationsNetworkTrafficOutputQuotaSizeOutputWithContext(ctx context.Context) GetDedicatedServerSpecificationsNetworkTrafficOutputQuotaSizeOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDedicatedServerSpecificationsNetworkTrafficOutputQuotaSizeOutput) +} + +type GetDedicatedServerSpecificationsNetworkTrafficOutputQuotaSizeOutput struct{ *pulumi.OutputState } + +func (GetDedicatedServerSpecificationsNetworkTrafficOutputQuotaSizeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDedicatedServerSpecificationsNetworkTrafficOutputQuotaSize)(nil)).Elem() +} + +func (o GetDedicatedServerSpecificationsNetworkTrafficOutputQuotaSizeOutput) ToGetDedicatedServerSpecificationsNetworkTrafficOutputQuotaSizeOutput() GetDedicatedServerSpecificationsNetworkTrafficOutputQuotaSizeOutput { + return o +} + +func (o GetDedicatedServerSpecificationsNetworkTrafficOutputQuotaSizeOutput) ToGetDedicatedServerSpecificationsNetworkTrafficOutputQuotaSizeOutputWithContext(ctx context.Context) GetDedicatedServerSpecificationsNetworkTrafficOutputQuotaSizeOutput { + return o +} + +func (o GetDedicatedServerSpecificationsNetworkTrafficOutputQuotaSizeOutput) Unit() pulumi.StringOutput { + return o.ApplyT(func(v GetDedicatedServerSpecificationsNetworkTrafficOutputQuotaSize) string { return v.Unit }).(pulumi.StringOutput) +} + +func (o GetDedicatedServerSpecificationsNetworkTrafficOutputQuotaSizeOutput) Value() pulumi.Float64Output { + return o.ApplyT(func(v GetDedicatedServerSpecificationsNetworkTrafficOutputQuotaSize) float64 { return v.Value }).(pulumi.Float64Output) +} + +type GetDedicatedServerSpecificationsNetworkTrafficOutputQuotaUsed struct { + Unit string `pulumi:"unit"` + Value float64 `pulumi:"value"` +} + +// GetDedicatedServerSpecificationsNetworkTrafficOutputQuotaUsedInput is an input type that accepts GetDedicatedServerSpecificationsNetworkTrafficOutputQuotaUsedArgs and GetDedicatedServerSpecificationsNetworkTrafficOutputQuotaUsedOutput values. +// You can construct a concrete instance of `GetDedicatedServerSpecificationsNetworkTrafficOutputQuotaUsedInput` via: +// +// GetDedicatedServerSpecificationsNetworkTrafficOutputQuotaUsedArgs{...} +type GetDedicatedServerSpecificationsNetworkTrafficOutputQuotaUsedInput interface { + pulumi.Input + + ToGetDedicatedServerSpecificationsNetworkTrafficOutputQuotaUsedOutput() GetDedicatedServerSpecificationsNetworkTrafficOutputQuotaUsedOutput + ToGetDedicatedServerSpecificationsNetworkTrafficOutputQuotaUsedOutputWithContext(context.Context) GetDedicatedServerSpecificationsNetworkTrafficOutputQuotaUsedOutput +} + +type GetDedicatedServerSpecificationsNetworkTrafficOutputQuotaUsedArgs struct { + Unit pulumi.StringInput `pulumi:"unit"` + Value pulumi.Float64Input `pulumi:"value"` +} + +func (GetDedicatedServerSpecificationsNetworkTrafficOutputQuotaUsedArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDedicatedServerSpecificationsNetworkTrafficOutputQuotaUsed)(nil)).Elem() +} + +func (i GetDedicatedServerSpecificationsNetworkTrafficOutputQuotaUsedArgs) ToGetDedicatedServerSpecificationsNetworkTrafficOutputQuotaUsedOutput() GetDedicatedServerSpecificationsNetworkTrafficOutputQuotaUsedOutput { + return i.ToGetDedicatedServerSpecificationsNetworkTrafficOutputQuotaUsedOutputWithContext(context.Background()) +} + +func (i GetDedicatedServerSpecificationsNetworkTrafficOutputQuotaUsedArgs) ToGetDedicatedServerSpecificationsNetworkTrafficOutputQuotaUsedOutputWithContext(ctx context.Context) GetDedicatedServerSpecificationsNetworkTrafficOutputQuotaUsedOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDedicatedServerSpecificationsNetworkTrafficOutputQuotaUsedOutput) +} + +type GetDedicatedServerSpecificationsNetworkTrafficOutputQuotaUsedOutput struct{ *pulumi.OutputState } + +func (GetDedicatedServerSpecificationsNetworkTrafficOutputQuotaUsedOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDedicatedServerSpecificationsNetworkTrafficOutputQuotaUsed)(nil)).Elem() +} + +func (o GetDedicatedServerSpecificationsNetworkTrafficOutputQuotaUsedOutput) ToGetDedicatedServerSpecificationsNetworkTrafficOutputQuotaUsedOutput() GetDedicatedServerSpecificationsNetworkTrafficOutputQuotaUsedOutput { + return o +} + +func (o GetDedicatedServerSpecificationsNetworkTrafficOutputQuotaUsedOutput) ToGetDedicatedServerSpecificationsNetworkTrafficOutputQuotaUsedOutputWithContext(ctx context.Context) GetDedicatedServerSpecificationsNetworkTrafficOutputQuotaUsedOutput { + return o +} + +func (o GetDedicatedServerSpecificationsNetworkTrafficOutputQuotaUsedOutput) Unit() pulumi.StringOutput { + return o.ApplyT(func(v GetDedicatedServerSpecificationsNetworkTrafficOutputQuotaUsed) string { return v.Unit }).(pulumi.StringOutput) +} + +func (o GetDedicatedServerSpecificationsNetworkTrafficOutputQuotaUsedOutput) Value() pulumi.Float64Output { + return o.ApplyT(func(v GetDedicatedServerSpecificationsNetworkTrafficOutputQuotaUsed) float64 { return v.Value }).(pulumi.Float64Output) +} + +type GetDedicatedServerSpecificationsNetworkVmac struct { + // Server is compatible vmac or not + Supported bool `pulumi:"supported"` +} + +// GetDedicatedServerSpecificationsNetworkVmacInput is an input type that accepts GetDedicatedServerSpecificationsNetworkVmacArgs and GetDedicatedServerSpecificationsNetworkVmacOutput values. +// You can construct a concrete instance of `GetDedicatedServerSpecificationsNetworkVmacInput` via: +// +// GetDedicatedServerSpecificationsNetworkVmacArgs{...} +type GetDedicatedServerSpecificationsNetworkVmacInput interface { + pulumi.Input + + ToGetDedicatedServerSpecificationsNetworkVmacOutput() GetDedicatedServerSpecificationsNetworkVmacOutput + ToGetDedicatedServerSpecificationsNetworkVmacOutputWithContext(context.Context) GetDedicatedServerSpecificationsNetworkVmacOutput +} + +type GetDedicatedServerSpecificationsNetworkVmacArgs struct { + // Server is compatible vmac or not + Supported pulumi.BoolInput `pulumi:"supported"` +} + +func (GetDedicatedServerSpecificationsNetworkVmacArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDedicatedServerSpecificationsNetworkVmac)(nil)).Elem() +} + +func (i GetDedicatedServerSpecificationsNetworkVmacArgs) ToGetDedicatedServerSpecificationsNetworkVmacOutput() GetDedicatedServerSpecificationsNetworkVmacOutput { + return i.ToGetDedicatedServerSpecificationsNetworkVmacOutputWithContext(context.Background()) +} + +func (i GetDedicatedServerSpecificationsNetworkVmacArgs) ToGetDedicatedServerSpecificationsNetworkVmacOutputWithContext(ctx context.Context) GetDedicatedServerSpecificationsNetworkVmacOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDedicatedServerSpecificationsNetworkVmacOutput) +} + +type GetDedicatedServerSpecificationsNetworkVmacOutput struct{ *pulumi.OutputState } + +func (GetDedicatedServerSpecificationsNetworkVmacOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDedicatedServerSpecificationsNetworkVmac)(nil)).Elem() +} + +func (o GetDedicatedServerSpecificationsNetworkVmacOutput) ToGetDedicatedServerSpecificationsNetworkVmacOutput() GetDedicatedServerSpecificationsNetworkVmacOutput { + return o +} + +func (o GetDedicatedServerSpecificationsNetworkVmacOutput) ToGetDedicatedServerSpecificationsNetworkVmacOutputWithContext(ctx context.Context) GetDedicatedServerSpecificationsNetworkVmacOutput { + return o +} + +// Server is compatible vmac or not +func (o GetDedicatedServerSpecificationsNetworkVmacOutput) Supported() pulumi.BoolOutput { + return o.ApplyT(func(v GetDedicatedServerSpecificationsNetworkVmac) bool { return v.Supported }).(pulumi.BoolOutput) +} + +type GetDedicatedServerSpecificationsNetworkVrack struct { + // vrack bandwidth limitation + Bandwidth GetDedicatedServerSpecificationsNetworkVrackBandwidth `pulumi:"bandwidth"` + // bandwidth offer type + Type string `pulumi:"type"` +} + +// GetDedicatedServerSpecificationsNetworkVrackInput is an input type that accepts GetDedicatedServerSpecificationsNetworkVrackArgs and GetDedicatedServerSpecificationsNetworkVrackOutput values. +// You can construct a concrete instance of `GetDedicatedServerSpecificationsNetworkVrackInput` via: +// +// GetDedicatedServerSpecificationsNetworkVrackArgs{...} +type GetDedicatedServerSpecificationsNetworkVrackInput interface { + pulumi.Input + + ToGetDedicatedServerSpecificationsNetworkVrackOutput() GetDedicatedServerSpecificationsNetworkVrackOutput + ToGetDedicatedServerSpecificationsNetworkVrackOutputWithContext(context.Context) GetDedicatedServerSpecificationsNetworkVrackOutput +} + +type GetDedicatedServerSpecificationsNetworkVrackArgs struct { + // vrack bandwidth limitation + Bandwidth GetDedicatedServerSpecificationsNetworkVrackBandwidthInput `pulumi:"bandwidth"` + // bandwidth offer type + Type pulumi.StringInput `pulumi:"type"` +} + +func (GetDedicatedServerSpecificationsNetworkVrackArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDedicatedServerSpecificationsNetworkVrack)(nil)).Elem() +} + +func (i GetDedicatedServerSpecificationsNetworkVrackArgs) ToGetDedicatedServerSpecificationsNetworkVrackOutput() GetDedicatedServerSpecificationsNetworkVrackOutput { + return i.ToGetDedicatedServerSpecificationsNetworkVrackOutputWithContext(context.Background()) +} + +func (i GetDedicatedServerSpecificationsNetworkVrackArgs) ToGetDedicatedServerSpecificationsNetworkVrackOutputWithContext(ctx context.Context) GetDedicatedServerSpecificationsNetworkVrackOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDedicatedServerSpecificationsNetworkVrackOutput) +} + +type GetDedicatedServerSpecificationsNetworkVrackOutput struct{ *pulumi.OutputState } + +func (GetDedicatedServerSpecificationsNetworkVrackOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDedicatedServerSpecificationsNetworkVrack)(nil)).Elem() +} + +func (o GetDedicatedServerSpecificationsNetworkVrackOutput) ToGetDedicatedServerSpecificationsNetworkVrackOutput() GetDedicatedServerSpecificationsNetworkVrackOutput { + return o +} + +func (o GetDedicatedServerSpecificationsNetworkVrackOutput) ToGetDedicatedServerSpecificationsNetworkVrackOutputWithContext(ctx context.Context) GetDedicatedServerSpecificationsNetworkVrackOutput { + return o +} + +// vrack bandwidth limitation +func (o GetDedicatedServerSpecificationsNetworkVrackOutput) Bandwidth() GetDedicatedServerSpecificationsNetworkVrackBandwidthOutput { + return o.ApplyT(func(v GetDedicatedServerSpecificationsNetworkVrack) GetDedicatedServerSpecificationsNetworkVrackBandwidth { + return v.Bandwidth + }).(GetDedicatedServerSpecificationsNetworkVrackBandwidthOutput) +} + +// bandwidth offer type +func (o GetDedicatedServerSpecificationsNetworkVrackOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v GetDedicatedServerSpecificationsNetworkVrack) string { return v.Type }).(pulumi.StringOutput) +} + +type GetDedicatedServerSpecificationsNetworkVrackBandwidth struct { + Unit string `pulumi:"unit"` + Value float64 `pulumi:"value"` +} + +// GetDedicatedServerSpecificationsNetworkVrackBandwidthInput is an input type that accepts GetDedicatedServerSpecificationsNetworkVrackBandwidthArgs and GetDedicatedServerSpecificationsNetworkVrackBandwidthOutput values. +// You can construct a concrete instance of `GetDedicatedServerSpecificationsNetworkVrackBandwidthInput` via: +// +// GetDedicatedServerSpecificationsNetworkVrackBandwidthArgs{...} +type GetDedicatedServerSpecificationsNetworkVrackBandwidthInput interface { + pulumi.Input + + ToGetDedicatedServerSpecificationsNetworkVrackBandwidthOutput() GetDedicatedServerSpecificationsNetworkVrackBandwidthOutput + ToGetDedicatedServerSpecificationsNetworkVrackBandwidthOutputWithContext(context.Context) GetDedicatedServerSpecificationsNetworkVrackBandwidthOutput +} + +type GetDedicatedServerSpecificationsNetworkVrackBandwidthArgs struct { + Unit pulumi.StringInput `pulumi:"unit"` + Value pulumi.Float64Input `pulumi:"value"` +} + +func (GetDedicatedServerSpecificationsNetworkVrackBandwidthArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDedicatedServerSpecificationsNetworkVrackBandwidth)(nil)).Elem() +} + +func (i GetDedicatedServerSpecificationsNetworkVrackBandwidthArgs) ToGetDedicatedServerSpecificationsNetworkVrackBandwidthOutput() GetDedicatedServerSpecificationsNetworkVrackBandwidthOutput { + return i.ToGetDedicatedServerSpecificationsNetworkVrackBandwidthOutputWithContext(context.Background()) +} + +func (i GetDedicatedServerSpecificationsNetworkVrackBandwidthArgs) ToGetDedicatedServerSpecificationsNetworkVrackBandwidthOutputWithContext(ctx context.Context) GetDedicatedServerSpecificationsNetworkVrackBandwidthOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDedicatedServerSpecificationsNetworkVrackBandwidthOutput) +} + +type GetDedicatedServerSpecificationsNetworkVrackBandwidthOutput struct{ *pulumi.OutputState } + +func (GetDedicatedServerSpecificationsNetworkVrackBandwidthOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDedicatedServerSpecificationsNetworkVrackBandwidth)(nil)).Elem() +} + +func (o GetDedicatedServerSpecificationsNetworkVrackBandwidthOutput) ToGetDedicatedServerSpecificationsNetworkVrackBandwidthOutput() GetDedicatedServerSpecificationsNetworkVrackBandwidthOutput { + return o +} + +func (o GetDedicatedServerSpecificationsNetworkVrackBandwidthOutput) ToGetDedicatedServerSpecificationsNetworkVrackBandwidthOutputWithContext(ctx context.Context) GetDedicatedServerSpecificationsNetworkVrackBandwidthOutput { + return o +} + +func (o GetDedicatedServerSpecificationsNetworkVrackBandwidthOutput) Unit() pulumi.StringOutput { + return o.ApplyT(func(v GetDedicatedServerSpecificationsNetworkVrackBandwidth) string { return v.Unit }).(pulumi.StringOutput) +} + +func (o GetDedicatedServerSpecificationsNetworkVrackBandwidthOutput) Value() pulumi.Float64Output { + return o.ApplyT(func(v GetDedicatedServerSpecificationsNetworkVrackBandwidth) float64 { return v.Value }).(pulumi.Float64Output) +} + +type GetDedicatedServerVni struct { + Enabled bool `pulumi:"enabled"` + Mode string `pulumi:"mode"` + Name string `pulumi:"name"` + Nics []string `pulumi:"nics"` + ServerName string `pulumi:"serverName"` + Uuid string `pulumi:"uuid"` + Vrack string `pulumi:"vrack"` +} + +// GetDedicatedServerVniInput is an input type that accepts GetDedicatedServerVniArgs and GetDedicatedServerVniOutput values. +// You can construct a concrete instance of `GetDedicatedServerVniInput` via: +// +// GetDedicatedServerVniArgs{...} +type GetDedicatedServerVniInput interface { + pulumi.Input + + ToGetDedicatedServerVniOutput() GetDedicatedServerVniOutput + ToGetDedicatedServerVniOutputWithContext(context.Context) GetDedicatedServerVniOutput +} + +type GetDedicatedServerVniArgs struct { + Enabled pulumi.BoolInput `pulumi:"enabled"` + Mode pulumi.StringInput `pulumi:"mode"` + Name pulumi.StringInput `pulumi:"name"` + Nics pulumi.StringArrayInput `pulumi:"nics"` + ServerName pulumi.StringInput `pulumi:"serverName"` + Uuid pulumi.StringInput `pulumi:"uuid"` + Vrack pulumi.StringInput `pulumi:"vrack"` +} + +func (GetDedicatedServerVniArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDedicatedServerVni)(nil)).Elem() +} + +func (i GetDedicatedServerVniArgs) ToGetDedicatedServerVniOutput() GetDedicatedServerVniOutput { + return i.ToGetDedicatedServerVniOutputWithContext(context.Background()) +} + +func (i GetDedicatedServerVniArgs) ToGetDedicatedServerVniOutputWithContext(ctx context.Context) GetDedicatedServerVniOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDedicatedServerVniOutput) +} + +// GetDedicatedServerVniArrayInput is an input type that accepts GetDedicatedServerVniArray and GetDedicatedServerVniArrayOutput values. +// You can construct a concrete instance of `GetDedicatedServerVniArrayInput` via: +// +// GetDedicatedServerVniArray{ GetDedicatedServerVniArgs{...} } +type GetDedicatedServerVniArrayInput interface { + pulumi.Input + + ToGetDedicatedServerVniArrayOutput() GetDedicatedServerVniArrayOutput + ToGetDedicatedServerVniArrayOutputWithContext(context.Context) GetDedicatedServerVniArrayOutput +} + +type GetDedicatedServerVniArray []GetDedicatedServerVniInput + +func (GetDedicatedServerVniArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDedicatedServerVni)(nil)).Elem() +} + +func (i GetDedicatedServerVniArray) ToGetDedicatedServerVniArrayOutput() GetDedicatedServerVniArrayOutput { + return i.ToGetDedicatedServerVniArrayOutputWithContext(context.Background()) +} + +func (i GetDedicatedServerVniArray) ToGetDedicatedServerVniArrayOutputWithContext(ctx context.Context) GetDedicatedServerVniArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDedicatedServerVniArrayOutput) +} + +type GetDedicatedServerVniOutput struct{ *pulumi.OutputState } + +func (GetDedicatedServerVniOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDedicatedServerVni)(nil)).Elem() +} + +func (o GetDedicatedServerVniOutput) ToGetDedicatedServerVniOutput() GetDedicatedServerVniOutput { + return o +} + +func (o GetDedicatedServerVniOutput) ToGetDedicatedServerVniOutputWithContext(ctx context.Context) GetDedicatedServerVniOutput { + return o +} + +func (o GetDedicatedServerVniOutput) Enabled() pulumi.BoolOutput { + return o.ApplyT(func(v GetDedicatedServerVni) bool { return v.Enabled }).(pulumi.BoolOutput) +} + +func (o GetDedicatedServerVniOutput) Mode() pulumi.StringOutput { + return o.ApplyT(func(v GetDedicatedServerVni) string { return v.Mode }).(pulumi.StringOutput) +} + +func (o GetDedicatedServerVniOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetDedicatedServerVni) string { return v.Name }).(pulumi.StringOutput) +} + +func (o GetDedicatedServerVniOutput) Nics() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetDedicatedServerVni) []string { return v.Nics }).(pulumi.StringArrayOutput) +} + +func (o GetDedicatedServerVniOutput) ServerName() pulumi.StringOutput { + return o.ApplyT(func(v GetDedicatedServerVni) string { return v.ServerName }).(pulumi.StringOutput) +} + +func (o GetDedicatedServerVniOutput) Uuid() pulumi.StringOutput { + return o.ApplyT(func(v GetDedicatedServerVni) string { return v.Uuid }).(pulumi.StringOutput) +} + +func (o GetDedicatedServerVniOutput) Vrack() pulumi.StringOutput { + return o.ApplyT(func(v GetDedicatedServerVni) string { return v.Vrack }).(pulumi.StringOutput) +} + +type GetDedicatedServerVniArrayOutput struct{ *pulumi.OutputState } + +func (GetDedicatedServerVniArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDedicatedServerVni)(nil)).Elem() +} + +func (o GetDedicatedServerVniArrayOutput) ToGetDedicatedServerVniArrayOutput() GetDedicatedServerVniArrayOutput { + return o +} + +func (o GetDedicatedServerVniArrayOutput) ToGetDedicatedServerVniArrayOutputWithContext(ctx context.Context) GetDedicatedServerVniArrayOutput { + return o +} + +func (o GetDedicatedServerVniArrayOutput) Index(i pulumi.IntInput) GetDedicatedServerVniOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDedicatedServerVni { + return vs[0].([]GetDedicatedServerVni)[vs[1].(int)] + }).(GetDedicatedServerVniOutput) +} + +type GetHostingPrivatedatabaseDatabaseUser struct { + GrantType string `pulumi:"grantType"` + UserName string `pulumi:"userName"` +} + +// GetHostingPrivatedatabaseDatabaseUserInput is an input type that accepts GetHostingPrivatedatabaseDatabaseUserArgs and GetHostingPrivatedatabaseDatabaseUserOutput values. +// You can construct a concrete instance of `GetHostingPrivatedatabaseDatabaseUserInput` via: +// +// GetHostingPrivatedatabaseDatabaseUserArgs{...} +type GetHostingPrivatedatabaseDatabaseUserInput interface { + pulumi.Input + + ToGetHostingPrivatedatabaseDatabaseUserOutput() GetHostingPrivatedatabaseDatabaseUserOutput + ToGetHostingPrivatedatabaseDatabaseUserOutputWithContext(context.Context) GetHostingPrivatedatabaseDatabaseUserOutput +} + +type GetHostingPrivatedatabaseDatabaseUserArgs struct { + GrantType pulumi.StringInput `pulumi:"grantType"` + UserName pulumi.StringInput `pulumi:"userName"` +} + +func (GetHostingPrivatedatabaseDatabaseUserArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetHostingPrivatedatabaseDatabaseUser)(nil)).Elem() +} + +func (i GetHostingPrivatedatabaseDatabaseUserArgs) ToGetHostingPrivatedatabaseDatabaseUserOutput() GetHostingPrivatedatabaseDatabaseUserOutput { + return i.ToGetHostingPrivatedatabaseDatabaseUserOutputWithContext(context.Background()) +} + +func (i GetHostingPrivatedatabaseDatabaseUserArgs) ToGetHostingPrivatedatabaseDatabaseUserOutputWithContext(ctx context.Context) GetHostingPrivatedatabaseDatabaseUserOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetHostingPrivatedatabaseDatabaseUserOutput) +} + +// GetHostingPrivatedatabaseDatabaseUserArrayInput is an input type that accepts GetHostingPrivatedatabaseDatabaseUserArray and GetHostingPrivatedatabaseDatabaseUserArrayOutput values. +// You can construct a concrete instance of `GetHostingPrivatedatabaseDatabaseUserArrayInput` via: +// +// GetHostingPrivatedatabaseDatabaseUserArray{ GetHostingPrivatedatabaseDatabaseUserArgs{...} } +type GetHostingPrivatedatabaseDatabaseUserArrayInput interface { + pulumi.Input + + ToGetHostingPrivatedatabaseDatabaseUserArrayOutput() GetHostingPrivatedatabaseDatabaseUserArrayOutput + ToGetHostingPrivatedatabaseDatabaseUserArrayOutputWithContext(context.Context) GetHostingPrivatedatabaseDatabaseUserArrayOutput +} + +type GetHostingPrivatedatabaseDatabaseUserArray []GetHostingPrivatedatabaseDatabaseUserInput + +func (GetHostingPrivatedatabaseDatabaseUserArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetHostingPrivatedatabaseDatabaseUser)(nil)).Elem() +} + +func (i GetHostingPrivatedatabaseDatabaseUserArray) ToGetHostingPrivatedatabaseDatabaseUserArrayOutput() GetHostingPrivatedatabaseDatabaseUserArrayOutput { + return i.ToGetHostingPrivatedatabaseDatabaseUserArrayOutputWithContext(context.Background()) +} + +func (i GetHostingPrivatedatabaseDatabaseUserArray) ToGetHostingPrivatedatabaseDatabaseUserArrayOutputWithContext(ctx context.Context) GetHostingPrivatedatabaseDatabaseUserArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetHostingPrivatedatabaseDatabaseUserArrayOutput) +} + +type GetHostingPrivatedatabaseDatabaseUserOutput struct{ *pulumi.OutputState } + +func (GetHostingPrivatedatabaseDatabaseUserOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetHostingPrivatedatabaseDatabaseUser)(nil)).Elem() +} + +func (o GetHostingPrivatedatabaseDatabaseUserOutput) ToGetHostingPrivatedatabaseDatabaseUserOutput() GetHostingPrivatedatabaseDatabaseUserOutput { + return o +} + +func (o GetHostingPrivatedatabaseDatabaseUserOutput) ToGetHostingPrivatedatabaseDatabaseUserOutputWithContext(ctx context.Context) GetHostingPrivatedatabaseDatabaseUserOutput { + return o +} + +func (o GetHostingPrivatedatabaseDatabaseUserOutput) GrantType() pulumi.StringOutput { + return o.ApplyT(func(v GetHostingPrivatedatabaseDatabaseUser) string { return v.GrantType }).(pulumi.StringOutput) +} + +func (o GetHostingPrivatedatabaseDatabaseUserOutput) UserName() pulumi.StringOutput { + return o.ApplyT(func(v GetHostingPrivatedatabaseDatabaseUser) string { return v.UserName }).(pulumi.StringOutput) +} + +type GetHostingPrivatedatabaseDatabaseUserArrayOutput struct{ *pulumi.OutputState } + +func (GetHostingPrivatedatabaseDatabaseUserArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetHostingPrivatedatabaseDatabaseUser)(nil)).Elem() +} + +func (o GetHostingPrivatedatabaseDatabaseUserArrayOutput) ToGetHostingPrivatedatabaseDatabaseUserArrayOutput() GetHostingPrivatedatabaseDatabaseUserArrayOutput { + return o +} + +func (o GetHostingPrivatedatabaseDatabaseUserArrayOutput) ToGetHostingPrivatedatabaseDatabaseUserArrayOutputWithContext(ctx context.Context) GetHostingPrivatedatabaseDatabaseUserArrayOutput { + return o +} + +func (o GetHostingPrivatedatabaseDatabaseUserArrayOutput) Index(i pulumi.IntInput) GetHostingPrivatedatabaseDatabaseUserOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetHostingPrivatedatabaseDatabaseUser { + return vs[0].([]GetHostingPrivatedatabaseDatabaseUser)[vs[1].(int)] + }).(GetHostingPrivatedatabaseDatabaseUserOutput) +} + +type GetHostingPrivatedatabaseUserDatabase struct { + DatabaseName string `pulumi:"databaseName"` + GrantType string `pulumi:"grantType"` +} + +// GetHostingPrivatedatabaseUserDatabaseInput is an input type that accepts GetHostingPrivatedatabaseUserDatabaseArgs and GetHostingPrivatedatabaseUserDatabaseOutput values. +// You can construct a concrete instance of `GetHostingPrivatedatabaseUserDatabaseInput` via: +// +// GetHostingPrivatedatabaseUserDatabaseArgs{...} +type GetHostingPrivatedatabaseUserDatabaseInput interface { + pulumi.Input + + ToGetHostingPrivatedatabaseUserDatabaseOutput() GetHostingPrivatedatabaseUserDatabaseOutput + ToGetHostingPrivatedatabaseUserDatabaseOutputWithContext(context.Context) GetHostingPrivatedatabaseUserDatabaseOutput +} + +type GetHostingPrivatedatabaseUserDatabaseArgs struct { + DatabaseName pulumi.StringInput `pulumi:"databaseName"` + GrantType pulumi.StringInput `pulumi:"grantType"` +} + +func (GetHostingPrivatedatabaseUserDatabaseArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetHostingPrivatedatabaseUserDatabase)(nil)).Elem() +} + +func (i GetHostingPrivatedatabaseUserDatabaseArgs) ToGetHostingPrivatedatabaseUserDatabaseOutput() GetHostingPrivatedatabaseUserDatabaseOutput { + return i.ToGetHostingPrivatedatabaseUserDatabaseOutputWithContext(context.Background()) +} + +func (i GetHostingPrivatedatabaseUserDatabaseArgs) ToGetHostingPrivatedatabaseUserDatabaseOutputWithContext(ctx context.Context) GetHostingPrivatedatabaseUserDatabaseOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetHostingPrivatedatabaseUserDatabaseOutput) +} + +// GetHostingPrivatedatabaseUserDatabaseArrayInput is an input type that accepts GetHostingPrivatedatabaseUserDatabaseArray and GetHostingPrivatedatabaseUserDatabaseArrayOutput values. +// You can construct a concrete instance of `GetHostingPrivatedatabaseUserDatabaseArrayInput` via: +// +// GetHostingPrivatedatabaseUserDatabaseArray{ GetHostingPrivatedatabaseUserDatabaseArgs{...} } +type GetHostingPrivatedatabaseUserDatabaseArrayInput interface { + pulumi.Input + + ToGetHostingPrivatedatabaseUserDatabaseArrayOutput() GetHostingPrivatedatabaseUserDatabaseArrayOutput + ToGetHostingPrivatedatabaseUserDatabaseArrayOutputWithContext(context.Context) GetHostingPrivatedatabaseUserDatabaseArrayOutput +} + +type GetHostingPrivatedatabaseUserDatabaseArray []GetHostingPrivatedatabaseUserDatabaseInput + +func (GetHostingPrivatedatabaseUserDatabaseArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetHostingPrivatedatabaseUserDatabase)(nil)).Elem() +} + +func (i GetHostingPrivatedatabaseUserDatabaseArray) ToGetHostingPrivatedatabaseUserDatabaseArrayOutput() GetHostingPrivatedatabaseUserDatabaseArrayOutput { + return i.ToGetHostingPrivatedatabaseUserDatabaseArrayOutputWithContext(context.Background()) +} + +func (i GetHostingPrivatedatabaseUserDatabaseArray) ToGetHostingPrivatedatabaseUserDatabaseArrayOutputWithContext(ctx context.Context) GetHostingPrivatedatabaseUserDatabaseArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetHostingPrivatedatabaseUserDatabaseArrayOutput) +} + +type GetHostingPrivatedatabaseUserDatabaseOutput struct{ *pulumi.OutputState } + +func (GetHostingPrivatedatabaseUserDatabaseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetHostingPrivatedatabaseUserDatabase)(nil)).Elem() +} + +func (o GetHostingPrivatedatabaseUserDatabaseOutput) ToGetHostingPrivatedatabaseUserDatabaseOutput() GetHostingPrivatedatabaseUserDatabaseOutput { + return o +} + +func (o GetHostingPrivatedatabaseUserDatabaseOutput) ToGetHostingPrivatedatabaseUserDatabaseOutputWithContext(ctx context.Context) GetHostingPrivatedatabaseUserDatabaseOutput { + return o +} + +func (o GetHostingPrivatedatabaseUserDatabaseOutput) DatabaseName() pulumi.StringOutput { + return o.ApplyT(func(v GetHostingPrivatedatabaseUserDatabase) string { return v.DatabaseName }).(pulumi.StringOutput) +} + +func (o GetHostingPrivatedatabaseUserDatabaseOutput) GrantType() pulumi.StringOutput { + return o.ApplyT(func(v GetHostingPrivatedatabaseUserDatabase) string { return v.GrantType }).(pulumi.StringOutput) +} + +type GetHostingPrivatedatabaseUserDatabaseArrayOutput struct{ *pulumi.OutputState } + +func (GetHostingPrivatedatabaseUserDatabaseArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetHostingPrivatedatabaseUserDatabase)(nil)).Elem() +} + +func (o GetHostingPrivatedatabaseUserDatabaseArrayOutput) ToGetHostingPrivatedatabaseUserDatabaseArrayOutput() GetHostingPrivatedatabaseUserDatabaseArrayOutput { + return o +} + +func (o GetHostingPrivatedatabaseUserDatabaseArrayOutput) ToGetHostingPrivatedatabaseUserDatabaseArrayOutputWithContext(ctx context.Context) GetHostingPrivatedatabaseUserDatabaseArrayOutput { + return o +} + +func (o GetHostingPrivatedatabaseUserDatabaseArrayOutput) Index(i pulumi.IntInput) GetHostingPrivatedatabaseUserDatabaseOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetHostingPrivatedatabaseUserDatabase { + return vs[0].([]GetHostingPrivatedatabaseUserDatabase)[vs[1].(int)] + }).(GetHostingPrivatedatabaseUserDatabaseOutput) +} + +type GetIamReferenceActionsAction struct { + Action string `pulumi:"action"` + Categories []string `pulumi:"categories"` + Description string `pulumi:"description"` + ResourceType string `pulumi:"resourceType"` +} + +// GetIamReferenceActionsActionInput is an input type that accepts GetIamReferenceActionsActionArgs and GetIamReferenceActionsActionOutput values. +// You can construct a concrete instance of `GetIamReferenceActionsActionInput` via: +// +// GetIamReferenceActionsActionArgs{...} +type GetIamReferenceActionsActionInput interface { + pulumi.Input + + ToGetIamReferenceActionsActionOutput() GetIamReferenceActionsActionOutput + ToGetIamReferenceActionsActionOutputWithContext(context.Context) GetIamReferenceActionsActionOutput +} + +type GetIamReferenceActionsActionArgs struct { + Action pulumi.StringInput `pulumi:"action"` + Categories pulumi.StringArrayInput `pulumi:"categories"` + Description pulumi.StringInput `pulumi:"description"` + ResourceType pulumi.StringInput `pulumi:"resourceType"` +} + +func (GetIamReferenceActionsActionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetIamReferenceActionsAction)(nil)).Elem() +} + +func (i GetIamReferenceActionsActionArgs) ToGetIamReferenceActionsActionOutput() GetIamReferenceActionsActionOutput { + return i.ToGetIamReferenceActionsActionOutputWithContext(context.Background()) +} + +func (i GetIamReferenceActionsActionArgs) ToGetIamReferenceActionsActionOutputWithContext(ctx context.Context) GetIamReferenceActionsActionOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetIamReferenceActionsActionOutput) +} + +// GetIamReferenceActionsActionArrayInput is an input type that accepts GetIamReferenceActionsActionArray and GetIamReferenceActionsActionArrayOutput values. +// You can construct a concrete instance of `GetIamReferenceActionsActionArrayInput` via: +// +// GetIamReferenceActionsActionArray{ GetIamReferenceActionsActionArgs{...} } +type GetIamReferenceActionsActionArrayInput interface { + pulumi.Input + + ToGetIamReferenceActionsActionArrayOutput() GetIamReferenceActionsActionArrayOutput + ToGetIamReferenceActionsActionArrayOutputWithContext(context.Context) GetIamReferenceActionsActionArrayOutput +} + +type GetIamReferenceActionsActionArray []GetIamReferenceActionsActionInput + +func (GetIamReferenceActionsActionArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetIamReferenceActionsAction)(nil)).Elem() +} + +func (i GetIamReferenceActionsActionArray) ToGetIamReferenceActionsActionArrayOutput() GetIamReferenceActionsActionArrayOutput { + return i.ToGetIamReferenceActionsActionArrayOutputWithContext(context.Background()) +} + +func (i GetIamReferenceActionsActionArray) ToGetIamReferenceActionsActionArrayOutputWithContext(ctx context.Context) GetIamReferenceActionsActionArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetIamReferenceActionsActionArrayOutput) +} + +type GetIamReferenceActionsActionOutput struct{ *pulumi.OutputState } + +func (GetIamReferenceActionsActionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetIamReferenceActionsAction)(nil)).Elem() +} + +func (o GetIamReferenceActionsActionOutput) ToGetIamReferenceActionsActionOutput() GetIamReferenceActionsActionOutput { + return o +} + +func (o GetIamReferenceActionsActionOutput) ToGetIamReferenceActionsActionOutputWithContext(ctx context.Context) GetIamReferenceActionsActionOutput { + return o +} + +func (o GetIamReferenceActionsActionOutput) Action() pulumi.StringOutput { + return o.ApplyT(func(v GetIamReferenceActionsAction) string { return v.Action }).(pulumi.StringOutput) +} + +func (o GetIamReferenceActionsActionOutput) Categories() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetIamReferenceActionsAction) []string { return v.Categories }).(pulumi.StringArrayOutput) +} + +func (o GetIamReferenceActionsActionOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v GetIamReferenceActionsAction) string { return v.Description }).(pulumi.StringOutput) +} + +func (o GetIamReferenceActionsActionOutput) ResourceType() pulumi.StringOutput { + return o.ApplyT(func(v GetIamReferenceActionsAction) string { return v.ResourceType }).(pulumi.StringOutput) +} + +type GetIamReferenceActionsActionArrayOutput struct{ *pulumi.OutputState } + +func (GetIamReferenceActionsActionArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetIamReferenceActionsAction)(nil)).Elem() +} + +func (o GetIamReferenceActionsActionArrayOutput) ToGetIamReferenceActionsActionArrayOutput() GetIamReferenceActionsActionArrayOutput { + return o +} + +func (o GetIamReferenceActionsActionArrayOutput) ToGetIamReferenceActionsActionArrayOutputWithContext(ctx context.Context) GetIamReferenceActionsActionArrayOutput { + return o +} + +func (o GetIamReferenceActionsActionArrayOutput) Index(i pulumi.IntInput) GetIamReferenceActionsActionOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetIamReferenceActionsAction { + return vs[0].([]GetIamReferenceActionsAction)[vs[1].(int)] + }).(GetIamReferenceActionsActionOutput) +} + +type GetIpServiceRoutedTo struct { + ServiceName string `pulumi:"serviceName"` +} + +// GetIpServiceRoutedToInput is an input type that accepts GetIpServiceRoutedToArgs and GetIpServiceRoutedToOutput values. +// You can construct a concrete instance of `GetIpServiceRoutedToInput` via: +// +// GetIpServiceRoutedToArgs{...} +type GetIpServiceRoutedToInput interface { + pulumi.Input + + ToGetIpServiceRoutedToOutput() GetIpServiceRoutedToOutput + ToGetIpServiceRoutedToOutputWithContext(context.Context) GetIpServiceRoutedToOutput +} + +type GetIpServiceRoutedToArgs struct { + ServiceName pulumi.StringInput `pulumi:"serviceName"` +} + +func (GetIpServiceRoutedToArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetIpServiceRoutedTo)(nil)).Elem() +} + +func (i GetIpServiceRoutedToArgs) ToGetIpServiceRoutedToOutput() GetIpServiceRoutedToOutput { + return i.ToGetIpServiceRoutedToOutputWithContext(context.Background()) +} + +func (i GetIpServiceRoutedToArgs) ToGetIpServiceRoutedToOutputWithContext(ctx context.Context) GetIpServiceRoutedToOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetIpServiceRoutedToOutput) +} + +// GetIpServiceRoutedToArrayInput is an input type that accepts GetIpServiceRoutedToArray and GetIpServiceRoutedToArrayOutput values. +// You can construct a concrete instance of `GetIpServiceRoutedToArrayInput` via: +// +// GetIpServiceRoutedToArray{ GetIpServiceRoutedToArgs{...} } +type GetIpServiceRoutedToArrayInput interface { + pulumi.Input + + ToGetIpServiceRoutedToArrayOutput() GetIpServiceRoutedToArrayOutput + ToGetIpServiceRoutedToArrayOutputWithContext(context.Context) GetIpServiceRoutedToArrayOutput +} + +type GetIpServiceRoutedToArray []GetIpServiceRoutedToInput + +func (GetIpServiceRoutedToArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetIpServiceRoutedTo)(nil)).Elem() +} + +func (i GetIpServiceRoutedToArray) ToGetIpServiceRoutedToArrayOutput() GetIpServiceRoutedToArrayOutput { + return i.ToGetIpServiceRoutedToArrayOutputWithContext(context.Background()) +} + +func (i GetIpServiceRoutedToArray) ToGetIpServiceRoutedToArrayOutputWithContext(ctx context.Context) GetIpServiceRoutedToArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetIpServiceRoutedToArrayOutput) +} + +type GetIpServiceRoutedToOutput struct{ *pulumi.OutputState } + +func (GetIpServiceRoutedToOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetIpServiceRoutedTo)(nil)).Elem() +} + +func (o GetIpServiceRoutedToOutput) ToGetIpServiceRoutedToOutput() GetIpServiceRoutedToOutput { + return o +} + +func (o GetIpServiceRoutedToOutput) ToGetIpServiceRoutedToOutputWithContext(ctx context.Context) GetIpServiceRoutedToOutput { + return o +} + +func (o GetIpServiceRoutedToOutput) ServiceName() pulumi.StringOutput { + return o.ApplyT(func(v GetIpServiceRoutedTo) string { return v.ServiceName }).(pulumi.StringOutput) +} + +type GetIpServiceRoutedToArrayOutput struct{ *pulumi.OutputState } + +func (GetIpServiceRoutedToArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetIpServiceRoutedTo)(nil)).Elem() +} + +func (o GetIpServiceRoutedToArrayOutput) ToGetIpServiceRoutedToArrayOutput() GetIpServiceRoutedToArrayOutput { + return o +} + +func (o GetIpServiceRoutedToArrayOutput) ToGetIpServiceRoutedToArrayOutputWithContext(ctx context.Context) GetIpServiceRoutedToArrayOutput { + return o +} + +func (o GetIpServiceRoutedToArrayOutput) Index(i pulumi.IntInput) GetIpServiceRoutedToOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetIpServiceRoutedTo { + return vs[0].([]GetIpServiceRoutedTo)[vs[1].(int)] + }).(GetIpServiceRoutedToOutput) +} + +type GetIploadbalancingOrderableZone struct { + Name string `pulumi:"name"` + PlanCode string `pulumi:"planCode"` +} + +// GetIploadbalancingOrderableZoneInput is an input type that accepts GetIploadbalancingOrderableZoneArgs and GetIploadbalancingOrderableZoneOutput values. +// You can construct a concrete instance of `GetIploadbalancingOrderableZoneInput` via: +// +// GetIploadbalancingOrderableZoneArgs{...} +type GetIploadbalancingOrderableZoneInput interface { + pulumi.Input + + ToGetIploadbalancingOrderableZoneOutput() GetIploadbalancingOrderableZoneOutput + ToGetIploadbalancingOrderableZoneOutputWithContext(context.Context) GetIploadbalancingOrderableZoneOutput +} + +type GetIploadbalancingOrderableZoneArgs struct { + Name pulumi.StringInput `pulumi:"name"` + PlanCode pulumi.StringInput `pulumi:"planCode"` +} + +func (GetIploadbalancingOrderableZoneArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetIploadbalancingOrderableZone)(nil)).Elem() +} + +func (i GetIploadbalancingOrderableZoneArgs) ToGetIploadbalancingOrderableZoneOutput() GetIploadbalancingOrderableZoneOutput { + return i.ToGetIploadbalancingOrderableZoneOutputWithContext(context.Background()) +} + +func (i GetIploadbalancingOrderableZoneArgs) ToGetIploadbalancingOrderableZoneOutputWithContext(ctx context.Context) GetIploadbalancingOrderableZoneOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetIploadbalancingOrderableZoneOutput) +} + +// GetIploadbalancingOrderableZoneArrayInput is an input type that accepts GetIploadbalancingOrderableZoneArray and GetIploadbalancingOrderableZoneArrayOutput values. +// You can construct a concrete instance of `GetIploadbalancingOrderableZoneArrayInput` via: +// +// GetIploadbalancingOrderableZoneArray{ GetIploadbalancingOrderableZoneArgs{...} } +type GetIploadbalancingOrderableZoneArrayInput interface { + pulumi.Input + + ToGetIploadbalancingOrderableZoneArrayOutput() GetIploadbalancingOrderableZoneArrayOutput + ToGetIploadbalancingOrderableZoneArrayOutputWithContext(context.Context) GetIploadbalancingOrderableZoneArrayOutput +} + +type GetIploadbalancingOrderableZoneArray []GetIploadbalancingOrderableZoneInput + +func (GetIploadbalancingOrderableZoneArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetIploadbalancingOrderableZone)(nil)).Elem() +} + +func (i GetIploadbalancingOrderableZoneArray) ToGetIploadbalancingOrderableZoneArrayOutput() GetIploadbalancingOrderableZoneArrayOutput { + return i.ToGetIploadbalancingOrderableZoneArrayOutputWithContext(context.Background()) +} + +func (i GetIploadbalancingOrderableZoneArray) ToGetIploadbalancingOrderableZoneArrayOutputWithContext(ctx context.Context) GetIploadbalancingOrderableZoneArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetIploadbalancingOrderableZoneArrayOutput) +} + +type GetIploadbalancingOrderableZoneOutput struct{ *pulumi.OutputState } + +func (GetIploadbalancingOrderableZoneOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetIploadbalancingOrderableZone)(nil)).Elem() +} + +func (o GetIploadbalancingOrderableZoneOutput) ToGetIploadbalancingOrderableZoneOutput() GetIploadbalancingOrderableZoneOutput { + return o +} + +func (o GetIploadbalancingOrderableZoneOutput) ToGetIploadbalancingOrderableZoneOutputWithContext(ctx context.Context) GetIploadbalancingOrderableZoneOutput { + return o +} + +func (o GetIploadbalancingOrderableZoneOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetIploadbalancingOrderableZone) string { return v.Name }).(pulumi.StringOutput) +} + +func (o GetIploadbalancingOrderableZoneOutput) PlanCode() pulumi.StringOutput { + return o.ApplyT(func(v GetIploadbalancingOrderableZone) string { return v.PlanCode }).(pulumi.StringOutput) +} + +type GetIploadbalancingOrderableZoneArrayOutput struct{ *pulumi.OutputState } + +func (GetIploadbalancingOrderableZoneArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetIploadbalancingOrderableZone)(nil)).Elem() +} + +func (o GetIploadbalancingOrderableZoneArrayOutput) ToGetIploadbalancingOrderableZoneArrayOutput() GetIploadbalancingOrderableZoneArrayOutput { + return o +} + +func (o GetIploadbalancingOrderableZoneArrayOutput) ToGetIploadbalancingOrderableZoneArrayOutputWithContext(ctx context.Context) GetIploadbalancingOrderableZoneArrayOutput { + return o +} + +func (o GetIploadbalancingOrderableZoneArrayOutput) Index(i pulumi.IntInput) GetIploadbalancingOrderableZoneOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetIploadbalancingOrderableZone { + return vs[0].([]GetIploadbalancingOrderableZone)[vs[1].(int)] + }).(GetIploadbalancingOrderableZoneOutput) +} + +type GetMeCurrency struct { + Code string `pulumi:"code"` + Symbol string `pulumi:"symbol"` +} + +// GetMeCurrencyInput is an input type that accepts GetMeCurrencyArgs and GetMeCurrencyOutput values. +// You can construct a concrete instance of `GetMeCurrencyInput` via: +// +// GetMeCurrencyArgs{...} +type GetMeCurrencyInput interface { + pulumi.Input + + ToGetMeCurrencyOutput() GetMeCurrencyOutput + ToGetMeCurrencyOutputWithContext(context.Context) GetMeCurrencyOutput +} + +type GetMeCurrencyArgs struct { + Code pulumi.StringInput `pulumi:"code"` + Symbol pulumi.StringInput `pulumi:"symbol"` +} + +func (GetMeCurrencyArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetMeCurrency)(nil)).Elem() +} + +func (i GetMeCurrencyArgs) ToGetMeCurrencyOutput() GetMeCurrencyOutput { + return i.ToGetMeCurrencyOutputWithContext(context.Background()) +} + +func (i GetMeCurrencyArgs) ToGetMeCurrencyOutputWithContext(ctx context.Context) GetMeCurrencyOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMeCurrencyOutput) +} + +// GetMeCurrencyArrayInput is an input type that accepts GetMeCurrencyArray and GetMeCurrencyArrayOutput values. +// You can construct a concrete instance of `GetMeCurrencyArrayInput` via: +// +// GetMeCurrencyArray{ GetMeCurrencyArgs{...} } +type GetMeCurrencyArrayInput interface { + pulumi.Input + + ToGetMeCurrencyArrayOutput() GetMeCurrencyArrayOutput + ToGetMeCurrencyArrayOutputWithContext(context.Context) GetMeCurrencyArrayOutput +} + +type GetMeCurrencyArray []GetMeCurrencyInput + +func (GetMeCurrencyArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMeCurrency)(nil)).Elem() +} + +func (i GetMeCurrencyArray) ToGetMeCurrencyArrayOutput() GetMeCurrencyArrayOutput { + return i.ToGetMeCurrencyArrayOutputWithContext(context.Background()) +} + +func (i GetMeCurrencyArray) ToGetMeCurrencyArrayOutputWithContext(ctx context.Context) GetMeCurrencyArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMeCurrencyArrayOutput) +} + +type GetMeCurrencyOutput struct{ *pulumi.OutputState } + +func (GetMeCurrencyOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetMeCurrency)(nil)).Elem() +} + +func (o GetMeCurrencyOutput) ToGetMeCurrencyOutput() GetMeCurrencyOutput { + return o +} + +func (o GetMeCurrencyOutput) ToGetMeCurrencyOutputWithContext(ctx context.Context) GetMeCurrencyOutput { + return o +} + +func (o GetMeCurrencyOutput) Code() pulumi.StringOutput { + return o.ApplyT(func(v GetMeCurrency) string { return v.Code }).(pulumi.StringOutput) +} + +func (o GetMeCurrencyOutput) Symbol() pulumi.StringOutput { + return o.ApplyT(func(v GetMeCurrency) string { return v.Symbol }).(pulumi.StringOutput) +} + +type GetMeCurrencyArrayOutput struct{ *pulumi.OutputState } + +func (GetMeCurrencyArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMeCurrency)(nil)).Elem() +} + +func (o GetMeCurrencyArrayOutput) ToGetMeCurrencyArrayOutput() GetMeCurrencyArrayOutput { + return o +} + +func (o GetMeCurrencyArrayOutput) ToGetMeCurrencyArrayOutputWithContext(ctx context.Context) GetMeCurrencyArrayOutput { + return o +} + +func (o GetMeCurrencyArrayOutput) Index(i pulumi.IntInput) GetMeCurrencyOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMeCurrency { + return vs[0].([]GetMeCurrency)[vs[1].(int)] + }).(GetMeCurrencyOutput) +} + +type GetMeInstallationTemplateCustomization struct { + CustomHostname string `pulumi:"customHostname"` + PostInstallationScriptLink string `pulumi:"postInstallationScriptLink"` + PostInstallationScriptReturn string `pulumi:"postInstallationScriptReturn"` +} + +// GetMeInstallationTemplateCustomizationInput is an input type that accepts GetMeInstallationTemplateCustomizationArgs and GetMeInstallationTemplateCustomizationOutput values. +// You can construct a concrete instance of `GetMeInstallationTemplateCustomizationInput` via: +// +// GetMeInstallationTemplateCustomizationArgs{...} +type GetMeInstallationTemplateCustomizationInput interface { + pulumi.Input + + ToGetMeInstallationTemplateCustomizationOutput() GetMeInstallationTemplateCustomizationOutput + ToGetMeInstallationTemplateCustomizationOutputWithContext(context.Context) GetMeInstallationTemplateCustomizationOutput +} + +type GetMeInstallationTemplateCustomizationArgs struct { + CustomHostname pulumi.StringInput `pulumi:"customHostname"` + PostInstallationScriptLink pulumi.StringInput `pulumi:"postInstallationScriptLink"` + PostInstallationScriptReturn pulumi.StringInput `pulumi:"postInstallationScriptReturn"` +} + +func (GetMeInstallationTemplateCustomizationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetMeInstallationTemplateCustomization)(nil)).Elem() +} + +func (i GetMeInstallationTemplateCustomizationArgs) ToGetMeInstallationTemplateCustomizationOutput() GetMeInstallationTemplateCustomizationOutput { + return i.ToGetMeInstallationTemplateCustomizationOutputWithContext(context.Background()) +} + +func (i GetMeInstallationTemplateCustomizationArgs) ToGetMeInstallationTemplateCustomizationOutputWithContext(ctx context.Context) GetMeInstallationTemplateCustomizationOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMeInstallationTemplateCustomizationOutput) +} + +// GetMeInstallationTemplateCustomizationArrayInput is an input type that accepts GetMeInstallationTemplateCustomizationArray and GetMeInstallationTemplateCustomizationArrayOutput values. +// You can construct a concrete instance of `GetMeInstallationTemplateCustomizationArrayInput` via: +// +// GetMeInstallationTemplateCustomizationArray{ GetMeInstallationTemplateCustomizationArgs{...} } +type GetMeInstallationTemplateCustomizationArrayInput interface { + pulumi.Input + + ToGetMeInstallationTemplateCustomizationArrayOutput() GetMeInstallationTemplateCustomizationArrayOutput + ToGetMeInstallationTemplateCustomizationArrayOutputWithContext(context.Context) GetMeInstallationTemplateCustomizationArrayOutput +} + +type GetMeInstallationTemplateCustomizationArray []GetMeInstallationTemplateCustomizationInput + +func (GetMeInstallationTemplateCustomizationArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMeInstallationTemplateCustomization)(nil)).Elem() +} + +func (i GetMeInstallationTemplateCustomizationArray) ToGetMeInstallationTemplateCustomizationArrayOutput() GetMeInstallationTemplateCustomizationArrayOutput { + return i.ToGetMeInstallationTemplateCustomizationArrayOutputWithContext(context.Background()) +} + +func (i GetMeInstallationTemplateCustomizationArray) ToGetMeInstallationTemplateCustomizationArrayOutputWithContext(ctx context.Context) GetMeInstallationTemplateCustomizationArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMeInstallationTemplateCustomizationArrayOutput) +} + +type GetMeInstallationTemplateCustomizationOutput struct{ *pulumi.OutputState } + +func (GetMeInstallationTemplateCustomizationOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetMeInstallationTemplateCustomization)(nil)).Elem() +} + +func (o GetMeInstallationTemplateCustomizationOutput) ToGetMeInstallationTemplateCustomizationOutput() GetMeInstallationTemplateCustomizationOutput { + return o +} + +func (o GetMeInstallationTemplateCustomizationOutput) ToGetMeInstallationTemplateCustomizationOutputWithContext(ctx context.Context) GetMeInstallationTemplateCustomizationOutput { + return o +} + +func (o GetMeInstallationTemplateCustomizationOutput) CustomHostname() pulumi.StringOutput { + return o.ApplyT(func(v GetMeInstallationTemplateCustomization) string { return v.CustomHostname }).(pulumi.StringOutput) +} + +func (o GetMeInstallationTemplateCustomizationOutput) PostInstallationScriptLink() pulumi.StringOutput { + return o.ApplyT(func(v GetMeInstallationTemplateCustomization) string { return v.PostInstallationScriptLink }).(pulumi.StringOutput) +} + +func (o GetMeInstallationTemplateCustomizationOutput) PostInstallationScriptReturn() pulumi.StringOutput { + return o.ApplyT(func(v GetMeInstallationTemplateCustomization) string { return v.PostInstallationScriptReturn }).(pulumi.StringOutput) +} + +type GetMeInstallationTemplateCustomizationArrayOutput struct{ *pulumi.OutputState } + +func (GetMeInstallationTemplateCustomizationArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMeInstallationTemplateCustomization)(nil)).Elem() +} + +func (o GetMeInstallationTemplateCustomizationArrayOutput) ToGetMeInstallationTemplateCustomizationArrayOutput() GetMeInstallationTemplateCustomizationArrayOutput { + return o +} + +func (o GetMeInstallationTemplateCustomizationArrayOutput) ToGetMeInstallationTemplateCustomizationArrayOutputWithContext(ctx context.Context) GetMeInstallationTemplateCustomizationArrayOutput { + return o +} + +func (o GetMeInstallationTemplateCustomizationArrayOutput) Index(i pulumi.IntInput) GetMeInstallationTemplateCustomizationOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMeInstallationTemplateCustomization { + return vs[0].([]GetMeInstallationTemplateCustomization)[vs[1].(int)] + }).(GetMeInstallationTemplateCustomizationOutput) +} + +type GetMeInstallationTemplateInput struct { + Default string `pulumi:"default"` + Description string `pulumi:"description"` + Enums []string `pulumi:"enums"` + Mandatory bool `pulumi:"mandatory"` + Name string `pulumi:"name"` + Type string `pulumi:"type"` +} + +// GetMeInstallationTemplateInputInput is an input type that accepts GetMeInstallationTemplateInputArgs and GetMeInstallationTemplateInputOutput values. +// You can construct a concrete instance of `GetMeInstallationTemplateInputInput` via: +// +// GetMeInstallationTemplateInputArgs{...} +type GetMeInstallationTemplateInputInput interface { + pulumi.Input + + ToGetMeInstallationTemplateInputOutput() GetMeInstallationTemplateInputOutput + ToGetMeInstallationTemplateInputOutputWithContext(context.Context) GetMeInstallationTemplateInputOutput +} + +type GetMeInstallationTemplateInputArgs struct { + Default pulumi.StringInput `pulumi:"default"` + Description pulumi.StringInput `pulumi:"description"` + Enums pulumi.StringArrayInput `pulumi:"enums"` + Mandatory pulumi.BoolInput `pulumi:"mandatory"` + Name pulumi.StringInput `pulumi:"name"` + Type pulumi.StringInput `pulumi:"type"` +} + +func (GetMeInstallationTemplateInputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetMeInstallationTemplateInput)(nil)).Elem() +} + +func (i GetMeInstallationTemplateInputArgs) ToGetMeInstallationTemplateInputOutput() GetMeInstallationTemplateInputOutput { + return i.ToGetMeInstallationTemplateInputOutputWithContext(context.Background()) +} + +func (i GetMeInstallationTemplateInputArgs) ToGetMeInstallationTemplateInputOutputWithContext(ctx context.Context) GetMeInstallationTemplateInputOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMeInstallationTemplateInputOutput) +} + +// GetMeInstallationTemplateInputArrayInput is an input type that accepts GetMeInstallationTemplateInputArray and GetMeInstallationTemplateInputArrayOutput values. +// You can construct a concrete instance of `GetMeInstallationTemplateInputArrayInput` via: +// +// GetMeInstallationTemplateInputArray{ GetMeInstallationTemplateInputArgs{...} } +type GetMeInstallationTemplateInputArrayInput interface { + pulumi.Input + + ToGetMeInstallationTemplateInputArrayOutput() GetMeInstallationTemplateInputArrayOutput + ToGetMeInstallationTemplateInputArrayOutputWithContext(context.Context) GetMeInstallationTemplateInputArrayOutput +} + +type GetMeInstallationTemplateInputArray []GetMeInstallationTemplateInputInput + +func (GetMeInstallationTemplateInputArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMeInstallationTemplateInput)(nil)).Elem() +} + +func (i GetMeInstallationTemplateInputArray) ToGetMeInstallationTemplateInputArrayOutput() GetMeInstallationTemplateInputArrayOutput { + return i.ToGetMeInstallationTemplateInputArrayOutputWithContext(context.Background()) +} + +func (i GetMeInstallationTemplateInputArray) ToGetMeInstallationTemplateInputArrayOutputWithContext(ctx context.Context) GetMeInstallationTemplateInputArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMeInstallationTemplateInputArrayOutput) +} + +type GetMeInstallationTemplateInputOutput struct{ *pulumi.OutputState } + +func (GetMeInstallationTemplateInputOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetMeInstallationTemplateInput)(nil)).Elem() +} + +func (o GetMeInstallationTemplateInputOutput) ToGetMeInstallationTemplateInputOutput() GetMeInstallationTemplateInputOutput { + return o +} + +func (o GetMeInstallationTemplateInputOutput) ToGetMeInstallationTemplateInputOutputWithContext(ctx context.Context) GetMeInstallationTemplateInputOutput { + return o +} + +func (o GetMeInstallationTemplateInputOutput) Default() pulumi.StringOutput { + return o.ApplyT(func(v GetMeInstallationTemplateInput) string { return v.Default }).(pulumi.StringOutput) +} + +func (o GetMeInstallationTemplateInputOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v GetMeInstallationTemplateInput) string { return v.Description }).(pulumi.StringOutput) +} + +func (o GetMeInstallationTemplateInputOutput) Enums() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetMeInstallationTemplateInput) []string { return v.Enums }).(pulumi.StringArrayOutput) +} + +func (o GetMeInstallationTemplateInputOutput) Mandatory() pulumi.BoolOutput { + return o.ApplyT(func(v GetMeInstallationTemplateInput) bool { return v.Mandatory }).(pulumi.BoolOutput) +} + +func (o GetMeInstallationTemplateInputOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetMeInstallationTemplateInput) string { return v.Name }).(pulumi.StringOutput) +} + +func (o GetMeInstallationTemplateInputOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v GetMeInstallationTemplateInput) string { return v.Type }).(pulumi.StringOutput) +} + +type GetMeInstallationTemplateInputArrayOutput struct{ *pulumi.OutputState } + +func (GetMeInstallationTemplateInputArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMeInstallationTemplateInput)(nil)).Elem() +} + +func (o GetMeInstallationTemplateInputArrayOutput) ToGetMeInstallationTemplateInputArrayOutput() GetMeInstallationTemplateInputArrayOutput { + return o +} + +func (o GetMeInstallationTemplateInputArrayOutput) ToGetMeInstallationTemplateInputArrayOutputWithContext(ctx context.Context) GetMeInstallationTemplateInputArrayOutput { + return o +} + +func (o GetMeInstallationTemplateInputArrayOutput) Index(i pulumi.IntInput) GetMeInstallationTemplateInputOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMeInstallationTemplateInput { + return vs[0].([]GetMeInstallationTemplateInput)[vs[1].(int)] + }).(GetMeInstallationTemplateInputOutput) +} + +type GetMeInstallationTemplatePartitionSchemeType struct { + HardwareRaids []GetMeInstallationTemplatePartitionSchemeHardwareRaidType `pulumi:"hardwareRaids"` + Name string `pulumi:"name"` + Partitions []GetMeInstallationTemplatePartitionSchemePartitionType `pulumi:"partitions"` + Priority float64 `pulumi:"priority"` +} + +// GetMeInstallationTemplatePartitionSchemeTypeInput is an input type that accepts GetMeInstallationTemplatePartitionSchemeTypeArgs and GetMeInstallationTemplatePartitionSchemeTypeOutput values. +// You can construct a concrete instance of `GetMeInstallationTemplatePartitionSchemeTypeInput` via: +// +// GetMeInstallationTemplatePartitionSchemeTypeArgs{...} +type GetMeInstallationTemplatePartitionSchemeTypeInput interface { + pulumi.Input + + ToGetMeInstallationTemplatePartitionSchemeTypeOutput() GetMeInstallationTemplatePartitionSchemeTypeOutput + ToGetMeInstallationTemplatePartitionSchemeTypeOutputWithContext(context.Context) GetMeInstallationTemplatePartitionSchemeTypeOutput +} + +type GetMeInstallationTemplatePartitionSchemeTypeArgs struct { + HardwareRaids GetMeInstallationTemplatePartitionSchemeHardwareRaidTypeArrayInput `pulumi:"hardwareRaids"` + Name pulumi.StringInput `pulumi:"name"` + Partitions GetMeInstallationTemplatePartitionSchemePartitionTypeArrayInput `pulumi:"partitions"` + Priority pulumi.Float64Input `pulumi:"priority"` +} + +func (GetMeInstallationTemplatePartitionSchemeTypeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetMeInstallationTemplatePartitionSchemeType)(nil)).Elem() +} + +func (i GetMeInstallationTemplatePartitionSchemeTypeArgs) ToGetMeInstallationTemplatePartitionSchemeTypeOutput() GetMeInstallationTemplatePartitionSchemeTypeOutput { + return i.ToGetMeInstallationTemplatePartitionSchemeTypeOutputWithContext(context.Background()) +} + +func (i GetMeInstallationTemplatePartitionSchemeTypeArgs) ToGetMeInstallationTemplatePartitionSchemeTypeOutputWithContext(ctx context.Context) GetMeInstallationTemplatePartitionSchemeTypeOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMeInstallationTemplatePartitionSchemeTypeOutput) +} + +// GetMeInstallationTemplatePartitionSchemeTypeArrayInput is an input type that accepts GetMeInstallationTemplatePartitionSchemeTypeArray and GetMeInstallationTemplatePartitionSchemeTypeArrayOutput values. +// You can construct a concrete instance of `GetMeInstallationTemplatePartitionSchemeTypeArrayInput` via: +// +// GetMeInstallationTemplatePartitionSchemeTypeArray{ GetMeInstallationTemplatePartitionSchemeTypeArgs{...} } +type GetMeInstallationTemplatePartitionSchemeTypeArrayInput interface { + pulumi.Input + + ToGetMeInstallationTemplatePartitionSchemeTypeArrayOutput() GetMeInstallationTemplatePartitionSchemeTypeArrayOutput + ToGetMeInstallationTemplatePartitionSchemeTypeArrayOutputWithContext(context.Context) GetMeInstallationTemplatePartitionSchemeTypeArrayOutput +} + +type GetMeInstallationTemplatePartitionSchemeTypeArray []GetMeInstallationTemplatePartitionSchemeTypeInput + +func (GetMeInstallationTemplatePartitionSchemeTypeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMeInstallationTemplatePartitionSchemeType)(nil)).Elem() +} + +func (i GetMeInstallationTemplatePartitionSchemeTypeArray) ToGetMeInstallationTemplatePartitionSchemeTypeArrayOutput() GetMeInstallationTemplatePartitionSchemeTypeArrayOutput { + return i.ToGetMeInstallationTemplatePartitionSchemeTypeArrayOutputWithContext(context.Background()) +} + +func (i GetMeInstallationTemplatePartitionSchemeTypeArray) ToGetMeInstallationTemplatePartitionSchemeTypeArrayOutputWithContext(ctx context.Context) GetMeInstallationTemplatePartitionSchemeTypeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMeInstallationTemplatePartitionSchemeTypeArrayOutput) +} + +type GetMeInstallationTemplatePartitionSchemeTypeOutput struct{ *pulumi.OutputState } + +func (GetMeInstallationTemplatePartitionSchemeTypeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetMeInstallationTemplatePartitionSchemeType)(nil)).Elem() +} + +func (o GetMeInstallationTemplatePartitionSchemeTypeOutput) ToGetMeInstallationTemplatePartitionSchemeTypeOutput() GetMeInstallationTemplatePartitionSchemeTypeOutput { + return o +} + +func (o GetMeInstallationTemplatePartitionSchemeTypeOutput) ToGetMeInstallationTemplatePartitionSchemeTypeOutputWithContext(ctx context.Context) GetMeInstallationTemplatePartitionSchemeTypeOutput { + return o +} + +func (o GetMeInstallationTemplatePartitionSchemeTypeOutput) HardwareRaids() GetMeInstallationTemplatePartitionSchemeHardwareRaidTypeArrayOutput { + return o.ApplyT(func(v GetMeInstallationTemplatePartitionSchemeType) []GetMeInstallationTemplatePartitionSchemeHardwareRaidType { + return v.HardwareRaids + }).(GetMeInstallationTemplatePartitionSchemeHardwareRaidTypeArrayOutput) +} + +func (o GetMeInstallationTemplatePartitionSchemeTypeOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetMeInstallationTemplatePartitionSchemeType) string { return v.Name }).(pulumi.StringOutput) +} + +func (o GetMeInstallationTemplatePartitionSchemeTypeOutput) Partitions() GetMeInstallationTemplatePartitionSchemePartitionTypeArrayOutput { + return o.ApplyT(func(v GetMeInstallationTemplatePartitionSchemeType) []GetMeInstallationTemplatePartitionSchemePartitionType { + return v.Partitions + }).(GetMeInstallationTemplatePartitionSchemePartitionTypeArrayOutput) +} + +func (o GetMeInstallationTemplatePartitionSchemeTypeOutput) Priority() pulumi.Float64Output { + return o.ApplyT(func(v GetMeInstallationTemplatePartitionSchemeType) float64 { return v.Priority }).(pulumi.Float64Output) +} + +type GetMeInstallationTemplatePartitionSchemeTypeArrayOutput struct{ *pulumi.OutputState } + +func (GetMeInstallationTemplatePartitionSchemeTypeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMeInstallationTemplatePartitionSchemeType)(nil)).Elem() +} + +func (o GetMeInstallationTemplatePartitionSchemeTypeArrayOutput) ToGetMeInstallationTemplatePartitionSchemeTypeArrayOutput() GetMeInstallationTemplatePartitionSchemeTypeArrayOutput { + return o +} + +func (o GetMeInstallationTemplatePartitionSchemeTypeArrayOutput) ToGetMeInstallationTemplatePartitionSchemeTypeArrayOutputWithContext(ctx context.Context) GetMeInstallationTemplatePartitionSchemeTypeArrayOutput { + return o +} + +func (o GetMeInstallationTemplatePartitionSchemeTypeArrayOutput) Index(i pulumi.IntInput) GetMeInstallationTemplatePartitionSchemeTypeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMeInstallationTemplatePartitionSchemeType { + return vs[0].([]GetMeInstallationTemplatePartitionSchemeType)[vs[1].(int)] + }).(GetMeInstallationTemplatePartitionSchemeTypeOutput) +} + +type GetMeInstallationTemplatePartitionSchemeHardwareRaidType struct { + Disks []string `pulumi:"disks"` + Mode string `pulumi:"mode"` + Name string `pulumi:"name"` + Step float64 `pulumi:"step"` +} + +// GetMeInstallationTemplatePartitionSchemeHardwareRaidTypeInput is an input type that accepts GetMeInstallationTemplatePartitionSchemeHardwareRaidTypeArgs and GetMeInstallationTemplatePartitionSchemeHardwareRaidTypeOutput values. +// You can construct a concrete instance of `GetMeInstallationTemplatePartitionSchemeHardwareRaidTypeInput` via: +// +// GetMeInstallationTemplatePartitionSchemeHardwareRaidTypeArgs{...} +type GetMeInstallationTemplatePartitionSchemeHardwareRaidTypeInput interface { + pulumi.Input + + ToGetMeInstallationTemplatePartitionSchemeHardwareRaidTypeOutput() GetMeInstallationTemplatePartitionSchemeHardwareRaidTypeOutput + ToGetMeInstallationTemplatePartitionSchemeHardwareRaidTypeOutputWithContext(context.Context) GetMeInstallationTemplatePartitionSchemeHardwareRaidTypeOutput +} + +type GetMeInstallationTemplatePartitionSchemeHardwareRaidTypeArgs struct { + Disks pulumi.StringArrayInput `pulumi:"disks"` + Mode pulumi.StringInput `pulumi:"mode"` + Name pulumi.StringInput `pulumi:"name"` + Step pulumi.Float64Input `pulumi:"step"` +} + +func (GetMeInstallationTemplatePartitionSchemeHardwareRaidTypeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetMeInstallationTemplatePartitionSchemeHardwareRaidType)(nil)).Elem() +} + +func (i GetMeInstallationTemplatePartitionSchemeHardwareRaidTypeArgs) ToGetMeInstallationTemplatePartitionSchemeHardwareRaidTypeOutput() GetMeInstallationTemplatePartitionSchemeHardwareRaidTypeOutput { + return i.ToGetMeInstallationTemplatePartitionSchemeHardwareRaidTypeOutputWithContext(context.Background()) +} + +func (i GetMeInstallationTemplatePartitionSchemeHardwareRaidTypeArgs) ToGetMeInstallationTemplatePartitionSchemeHardwareRaidTypeOutputWithContext(ctx context.Context) GetMeInstallationTemplatePartitionSchemeHardwareRaidTypeOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMeInstallationTemplatePartitionSchemeHardwareRaidTypeOutput) +} + +// GetMeInstallationTemplatePartitionSchemeHardwareRaidTypeArrayInput is an input type that accepts GetMeInstallationTemplatePartitionSchemeHardwareRaidTypeArray and GetMeInstallationTemplatePartitionSchemeHardwareRaidTypeArrayOutput values. +// You can construct a concrete instance of `GetMeInstallationTemplatePartitionSchemeHardwareRaidTypeArrayInput` via: +// +// GetMeInstallationTemplatePartitionSchemeHardwareRaidTypeArray{ GetMeInstallationTemplatePartitionSchemeHardwareRaidTypeArgs{...} } +type GetMeInstallationTemplatePartitionSchemeHardwareRaidTypeArrayInput interface { + pulumi.Input + + ToGetMeInstallationTemplatePartitionSchemeHardwareRaidTypeArrayOutput() GetMeInstallationTemplatePartitionSchemeHardwareRaidTypeArrayOutput + ToGetMeInstallationTemplatePartitionSchemeHardwareRaidTypeArrayOutputWithContext(context.Context) GetMeInstallationTemplatePartitionSchemeHardwareRaidTypeArrayOutput +} + +type GetMeInstallationTemplatePartitionSchemeHardwareRaidTypeArray []GetMeInstallationTemplatePartitionSchemeHardwareRaidTypeInput + +func (GetMeInstallationTemplatePartitionSchemeHardwareRaidTypeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMeInstallationTemplatePartitionSchemeHardwareRaidType)(nil)).Elem() +} + +func (i GetMeInstallationTemplatePartitionSchemeHardwareRaidTypeArray) ToGetMeInstallationTemplatePartitionSchemeHardwareRaidTypeArrayOutput() GetMeInstallationTemplatePartitionSchemeHardwareRaidTypeArrayOutput { + return i.ToGetMeInstallationTemplatePartitionSchemeHardwareRaidTypeArrayOutputWithContext(context.Background()) +} + +func (i GetMeInstallationTemplatePartitionSchemeHardwareRaidTypeArray) ToGetMeInstallationTemplatePartitionSchemeHardwareRaidTypeArrayOutputWithContext(ctx context.Context) GetMeInstallationTemplatePartitionSchemeHardwareRaidTypeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMeInstallationTemplatePartitionSchemeHardwareRaidTypeArrayOutput) +} + +type GetMeInstallationTemplatePartitionSchemeHardwareRaidTypeOutput struct{ *pulumi.OutputState } + +func (GetMeInstallationTemplatePartitionSchemeHardwareRaidTypeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetMeInstallationTemplatePartitionSchemeHardwareRaidType)(nil)).Elem() +} + +func (o GetMeInstallationTemplatePartitionSchemeHardwareRaidTypeOutput) ToGetMeInstallationTemplatePartitionSchemeHardwareRaidTypeOutput() GetMeInstallationTemplatePartitionSchemeHardwareRaidTypeOutput { + return o +} + +func (o GetMeInstallationTemplatePartitionSchemeHardwareRaidTypeOutput) ToGetMeInstallationTemplatePartitionSchemeHardwareRaidTypeOutputWithContext(ctx context.Context) GetMeInstallationTemplatePartitionSchemeHardwareRaidTypeOutput { + return o +} + +func (o GetMeInstallationTemplatePartitionSchemeHardwareRaidTypeOutput) Disks() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetMeInstallationTemplatePartitionSchemeHardwareRaidType) []string { return v.Disks }).(pulumi.StringArrayOutput) +} + +func (o GetMeInstallationTemplatePartitionSchemeHardwareRaidTypeOutput) Mode() pulumi.StringOutput { + return o.ApplyT(func(v GetMeInstallationTemplatePartitionSchemeHardwareRaidType) string { return v.Mode }).(pulumi.StringOutput) +} + +func (o GetMeInstallationTemplatePartitionSchemeHardwareRaidTypeOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetMeInstallationTemplatePartitionSchemeHardwareRaidType) string { return v.Name }).(pulumi.StringOutput) +} + +func (o GetMeInstallationTemplatePartitionSchemeHardwareRaidTypeOutput) Step() pulumi.Float64Output { + return o.ApplyT(func(v GetMeInstallationTemplatePartitionSchemeHardwareRaidType) float64 { return v.Step }).(pulumi.Float64Output) +} + +type GetMeInstallationTemplatePartitionSchemeHardwareRaidTypeArrayOutput struct{ *pulumi.OutputState } + +func (GetMeInstallationTemplatePartitionSchemeHardwareRaidTypeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMeInstallationTemplatePartitionSchemeHardwareRaidType)(nil)).Elem() +} + +func (o GetMeInstallationTemplatePartitionSchemeHardwareRaidTypeArrayOutput) ToGetMeInstallationTemplatePartitionSchemeHardwareRaidTypeArrayOutput() GetMeInstallationTemplatePartitionSchemeHardwareRaidTypeArrayOutput { + return o +} + +func (o GetMeInstallationTemplatePartitionSchemeHardwareRaidTypeArrayOutput) ToGetMeInstallationTemplatePartitionSchemeHardwareRaidTypeArrayOutputWithContext(ctx context.Context) GetMeInstallationTemplatePartitionSchemeHardwareRaidTypeArrayOutput { + return o +} + +func (o GetMeInstallationTemplatePartitionSchemeHardwareRaidTypeArrayOutput) Index(i pulumi.IntInput) GetMeInstallationTemplatePartitionSchemeHardwareRaidTypeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMeInstallationTemplatePartitionSchemeHardwareRaidType { + return vs[0].([]GetMeInstallationTemplatePartitionSchemeHardwareRaidType)[vs[1].(int)] + }).(GetMeInstallationTemplatePartitionSchemeHardwareRaidTypeOutput) +} + +type GetMeInstallationTemplatePartitionSchemePartitionType struct { + Filesystem string `pulumi:"filesystem"` + Mountpoint string `pulumi:"mountpoint"` + Order float64 `pulumi:"order"` + Raid string `pulumi:"raid"` + Size float64 `pulumi:"size"` + Type string `pulumi:"type"` + VolumeName string `pulumi:"volumeName"` +} + +// GetMeInstallationTemplatePartitionSchemePartitionTypeInput is an input type that accepts GetMeInstallationTemplatePartitionSchemePartitionTypeArgs and GetMeInstallationTemplatePartitionSchemePartitionTypeOutput values. +// You can construct a concrete instance of `GetMeInstallationTemplatePartitionSchemePartitionTypeInput` via: +// +// GetMeInstallationTemplatePartitionSchemePartitionTypeArgs{...} +type GetMeInstallationTemplatePartitionSchemePartitionTypeInput interface { + pulumi.Input + + ToGetMeInstallationTemplatePartitionSchemePartitionTypeOutput() GetMeInstallationTemplatePartitionSchemePartitionTypeOutput + ToGetMeInstallationTemplatePartitionSchemePartitionTypeOutputWithContext(context.Context) GetMeInstallationTemplatePartitionSchemePartitionTypeOutput +} + +type GetMeInstallationTemplatePartitionSchemePartitionTypeArgs struct { + Filesystem pulumi.StringInput `pulumi:"filesystem"` + Mountpoint pulumi.StringInput `pulumi:"mountpoint"` + Order pulumi.Float64Input `pulumi:"order"` + Raid pulumi.StringInput `pulumi:"raid"` + Size pulumi.Float64Input `pulumi:"size"` + Type pulumi.StringInput `pulumi:"type"` + VolumeName pulumi.StringInput `pulumi:"volumeName"` +} + +func (GetMeInstallationTemplatePartitionSchemePartitionTypeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetMeInstallationTemplatePartitionSchemePartitionType)(nil)).Elem() +} + +func (i GetMeInstallationTemplatePartitionSchemePartitionTypeArgs) ToGetMeInstallationTemplatePartitionSchemePartitionTypeOutput() GetMeInstallationTemplatePartitionSchemePartitionTypeOutput { + return i.ToGetMeInstallationTemplatePartitionSchemePartitionTypeOutputWithContext(context.Background()) +} + +func (i GetMeInstallationTemplatePartitionSchemePartitionTypeArgs) ToGetMeInstallationTemplatePartitionSchemePartitionTypeOutputWithContext(ctx context.Context) GetMeInstallationTemplatePartitionSchemePartitionTypeOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMeInstallationTemplatePartitionSchemePartitionTypeOutput) +} + +// GetMeInstallationTemplatePartitionSchemePartitionTypeArrayInput is an input type that accepts GetMeInstallationTemplatePartitionSchemePartitionTypeArray and GetMeInstallationTemplatePartitionSchemePartitionTypeArrayOutput values. +// You can construct a concrete instance of `GetMeInstallationTemplatePartitionSchemePartitionTypeArrayInput` via: +// +// GetMeInstallationTemplatePartitionSchemePartitionTypeArray{ GetMeInstallationTemplatePartitionSchemePartitionTypeArgs{...} } +type GetMeInstallationTemplatePartitionSchemePartitionTypeArrayInput interface { + pulumi.Input + + ToGetMeInstallationTemplatePartitionSchemePartitionTypeArrayOutput() GetMeInstallationTemplatePartitionSchemePartitionTypeArrayOutput + ToGetMeInstallationTemplatePartitionSchemePartitionTypeArrayOutputWithContext(context.Context) GetMeInstallationTemplatePartitionSchemePartitionTypeArrayOutput +} + +type GetMeInstallationTemplatePartitionSchemePartitionTypeArray []GetMeInstallationTemplatePartitionSchemePartitionTypeInput + +func (GetMeInstallationTemplatePartitionSchemePartitionTypeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMeInstallationTemplatePartitionSchemePartitionType)(nil)).Elem() +} + +func (i GetMeInstallationTemplatePartitionSchemePartitionTypeArray) ToGetMeInstallationTemplatePartitionSchemePartitionTypeArrayOutput() GetMeInstallationTemplatePartitionSchemePartitionTypeArrayOutput { + return i.ToGetMeInstallationTemplatePartitionSchemePartitionTypeArrayOutputWithContext(context.Background()) +} + +func (i GetMeInstallationTemplatePartitionSchemePartitionTypeArray) ToGetMeInstallationTemplatePartitionSchemePartitionTypeArrayOutputWithContext(ctx context.Context) GetMeInstallationTemplatePartitionSchemePartitionTypeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMeInstallationTemplatePartitionSchemePartitionTypeArrayOutput) +} + +type GetMeInstallationTemplatePartitionSchemePartitionTypeOutput struct{ *pulumi.OutputState } + +func (GetMeInstallationTemplatePartitionSchemePartitionTypeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetMeInstallationTemplatePartitionSchemePartitionType)(nil)).Elem() +} + +func (o GetMeInstallationTemplatePartitionSchemePartitionTypeOutput) ToGetMeInstallationTemplatePartitionSchemePartitionTypeOutput() GetMeInstallationTemplatePartitionSchemePartitionTypeOutput { + return o +} + +func (o GetMeInstallationTemplatePartitionSchemePartitionTypeOutput) ToGetMeInstallationTemplatePartitionSchemePartitionTypeOutputWithContext(ctx context.Context) GetMeInstallationTemplatePartitionSchemePartitionTypeOutput { + return o +} + +func (o GetMeInstallationTemplatePartitionSchemePartitionTypeOutput) Filesystem() pulumi.StringOutput { + return o.ApplyT(func(v GetMeInstallationTemplatePartitionSchemePartitionType) string { return v.Filesystem }).(pulumi.StringOutput) +} + +func (o GetMeInstallationTemplatePartitionSchemePartitionTypeOutput) Mountpoint() pulumi.StringOutput { + return o.ApplyT(func(v GetMeInstallationTemplatePartitionSchemePartitionType) string { return v.Mountpoint }).(pulumi.StringOutput) +} + +func (o GetMeInstallationTemplatePartitionSchemePartitionTypeOutput) Order() pulumi.Float64Output { + return o.ApplyT(func(v GetMeInstallationTemplatePartitionSchemePartitionType) float64 { return v.Order }).(pulumi.Float64Output) +} + +func (o GetMeInstallationTemplatePartitionSchemePartitionTypeOutput) Raid() pulumi.StringOutput { + return o.ApplyT(func(v GetMeInstallationTemplatePartitionSchemePartitionType) string { return v.Raid }).(pulumi.StringOutput) +} + +func (o GetMeInstallationTemplatePartitionSchemePartitionTypeOutput) Size() pulumi.Float64Output { + return o.ApplyT(func(v GetMeInstallationTemplatePartitionSchemePartitionType) float64 { return v.Size }).(pulumi.Float64Output) +} + +func (o GetMeInstallationTemplatePartitionSchemePartitionTypeOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v GetMeInstallationTemplatePartitionSchemePartitionType) string { return v.Type }).(pulumi.StringOutput) +} + +func (o GetMeInstallationTemplatePartitionSchemePartitionTypeOutput) VolumeName() pulumi.StringOutput { + return o.ApplyT(func(v GetMeInstallationTemplatePartitionSchemePartitionType) string { return v.VolumeName }).(pulumi.StringOutput) +} + +type GetMeInstallationTemplatePartitionSchemePartitionTypeArrayOutput struct{ *pulumi.OutputState } + +func (GetMeInstallationTemplatePartitionSchemePartitionTypeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMeInstallationTemplatePartitionSchemePartitionType)(nil)).Elem() +} + +func (o GetMeInstallationTemplatePartitionSchemePartitionTypeArrayOutput) ToGetMeInstallationTemplatePartitionSchemePartitionTypeArrayOutput() GetMeInstallationTemplatePartitionSchemePartitionTypeArrayOutput { + return o +} + +func (o GetMeInstallationTemplatePartitionSchemePartitionTypeArrayOutput) ToGetMeInstallationTemplatePartitionSchemePartitionTypeArrayOutputWithContext(ctx context.Context) GetMeInstallationTemplatePartitionSchemePartitionTypeArrayOutput { + return o +} + +func (o GetMeInstallationTemplatePartitionSchemePartitionTypeArrayOutput) Index(i pulumi.IntInput) GetMeInstallationTemplatePartitionSchemePartitionTypeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMeInstallationTemplatePartitionSchemePartitionType { + return vs[0].([]GetMeInstallationTemplatePartitionSchemePartitionType)[vs[1].(int)] + }).(GetMeInstallationTemplatePartitionSchemePartitionTypeOutput) +} + +type GetOrderCartProductOptionsPlanPrice struct { + Capacities []string `pulumi:"capacities"` + Description string `pulumi:"description"` + Duration string `pulumi:"duration"` + Interval float64 `pulumi:"interval"` + MaximumQuantity float64 `pulumi:"maximumQuantity"` + MaximumRepeat float64 `pulumi:"maximumRepeat"` + MinimumQuantity float64 `pulumi:"minimumQuantity"` + MinimumRepeat float64 `pulumi:"minimumRepeat"` + PriceInUcents float64 `pulumi:"priceInUcents"` + Prices []GetOrderCartProductOptionsPlanPricePrice `pulumi:"prices"` + PricingMode string `pulumi:"pricingMode"` + PricingType string `pulumi:"pricingType"` +} + +// GetOrderCartProductOptionsPlanPriceInput is an input type that accepts GetOrderCartProductOptionsPlanPriceArgs and GetOrderCartProductOptionsPlanPriceOutput values. +// You can construct a concrete instance of `GetOrderCartProductOptionsPlanPriceInput` via: +// +// GetOrderCartProductOptionsPlanPriceArgs{...} +type GetOrderCartProductOptionsPlanPriceInput interface { + pulumi.Input + + ToGetOrderCartProductOptionsPlanPriceOutput() GetOrderCartProductOptionsPlanPriceOutput + ToGetOrderCartProductOptionsPlanPriceOutputWithContext(context.Context) GetOrderCartProductOptionsPlanPriceOutput +} + +type GetOrderCartProductOptionsPlanPriceArgs struct { + Capacities pulumi.StringArrayInput `pulumi:"capacities"` + Description pulumi.StringInput `pulumi:"description"` + Duration pulumi.StringInput `pulumi:"duration"` + Interval pulumi.Float64Input `pulumi:"interval"` + MaximumQuantity pulumi.Float64Input `pulumi:"maximumQuantity"` + MaximumRepeat pulumi.Float64Input `pulumi:"maximumRepeat"` + MinimumQuantity pulumi.Float64Input `pulumi:"minimumQuantity"` + MinimumRepeat pulumi.Float64Input `pulumi:"minimumRepeat"` + PriceInUcents pulumi.Float64Input `pulumi:"priceInUcents"` + Prices GetOrderCartProductOptionsPlanPricePriceArrayInput `pulumi:"prices"` + PricingMode pulumi.StringInput `pulumi:"pricingMode"` + PricingType pulumi.StringInput `pulumi:"pricingType"` +} + +func (GetOrderCartProductOptionsPlanPriceArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetOrderCartProductOptionsPlanPrice)(nil)).Elem() +} + +func (i GetOrderCartProductOptionsPlanPriceArgs) ToGetOrderCartProductOptionsPlanPriceOutput() GetOrderCartProductOptionsPlanPriceOutput { + return i.ToGetOrderCartProductOptionsPlanPriceOutputWithContext(context.Background()) +} + +func (i GetOrderCartProductOptionsPlanPriceArgs) ToGetOrderCartProductOptionsPlanPriceOutputWithContext(ctx context.Context) GetOrderCartProductOptionsPlanPriceOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetOrderCartProductOptionsPlanPriceOutput) +} + +// GetOrderCartProductOptionsPlanPriceArrayInput is an input type that accepts GetOrderCartProductOptionsPlanPriceArray and GetOrderCartProductOptionsPlanPriceArrayOutput values. +// You can construct a concrete instance of `GetOrderCartProductOptionsPlanPriceArrayInput` via: +// +// GetOrderCartProductOptionsPlanPriceArray{ GetOrderCartProductOptionsPlanPriceArgs{...} } +type GetOrderCartProductOptionsPlanPriceArrayInput interface { + pulumi.Input + + ToGetOrderCartProductOptionsPlanPriceArrayOutput() GetOrderCartProductOptionsPlanPriceArrayOutput + ToGetOrderCartProductOptionsPlanPriceArrayOutputWithContext(context.Context) GetOrderCartProductOptionsPlanPriceArrayOutput +} + +type GetOrderCartProductOptionsPlanPriceArray []GetOrderCartProductOptionsPlanPriceInput + +func (GetOrderCartProductOptionsPlanPriceArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetOrderCartProductOptionsPlanPrice)(nil)).Elem() +} + +func (i GetOrderCartProductOptionsPlanPriceArray) ToGetOrderCartProductOptionsPlanPriceArrayOutput() GetOrderCartProductOptionsPlanPriceArrayOutput { + return i.ToGetOrderCartProductOptionsPlanPriceArrayOutputWithContext(context.Background()) +} + +func (i GetOrderCartProductOptionsPlanPriceArray) ToGetOrderCartProductOptionsPlanPriceArrayOutputWithContext(ctx context.Context) GetOrderCartProductOptionsPlanPriceArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetOrderCartProductOptionsPlanPriceArrayOutput) +} + +type GetOrderCartProductOptionsPlanPriceOutput struct{ *pulumi.OutputState } + +func (GetOrderCartProductOptionsPlanPriceOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetOrderCartProductOptionsPlanPrice)(nil)).Elem() +} + +func (o GetOrderCartProductOptionsPlanPriceOutput) ToGetOrderCartProductOptionsPlanPriceOutput() GetOrderCartProductOptionsPlanPriceOutput { + return o +} + +func (o GetOrderCartProductOptionsPlanPriceOutput) ToGetOrderCartProductOptionsPlanPriceOutputWithContext(ctx context.Context) GetOrderCartProductOptionsPlanPriceOutput { + return o +} + +func (o GetOrderCartProductOptionsPlanPriceOutput) Capacities() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetOrderCartProductOptionsPlanPrice) []string { return v.Capacities }).(pulumi.StringArrayOutput) +} + +func (o GetOrderCartProductOptionsPlanPriceOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v GetOrderCartProductOptionsPlanPrice) string { return v.Description }).(pulumi.StringOutput) +} + +func (o GetOrderCartProductOptionsPlanPriceOutput) Duration() pulumi.StringOutput { + return o.ApplyT(func(v GetOrderCartProductOptionsPlanPrice) string { return v.Duration }).(pulumi.StringOutput) +} + +func (o GetOrderCartProductOptionsPlanPriceOutput) Interval() pulumi.Float64Output { + return o.ApplyT(func(v GetOrderCartProductOptionsPlanPrice) float64 { return v.Interval }).(pulumi.Float64Output) +} + +func (o GetOrderCartProductOptionsPlanPriceOutput) MaximumQuantity() pulumi.Float64Output { + return o.ApplyT(func(v GetOrderCartProductOptionsPlanPrice) float64 { return v.MaximumQuantity }).(pulumi.Float64Output) +} + +func (o GetOrderCartProductOptionsPlanPriceOutput) MaximumRepeat() pulumi.Float64Output { + return o.ApplyT(func(v GetOrderCartProductOptionsPlanPrice) float64 { return v.MaximumRepeat }).(pulumi.Float64Output) +} + +func (o GetOrderCartProductOptionsPlanPriceOutput) MinimumQuantity() pulumi.Float64Output { + return o.ApplyT(func(v GetOrderCartProductOptionsPlanPrice) float64 { return v.MinimumQuantity }).(pulumi.Float64Output) +} + +func (o GetOrderCartProductOptionsPlanPriceOutput) MinimumRepeat() pulumi.Float64Output { + return o.ApplyT(func(v GetOrderCartProductOptionsPlanPrice) float64 { return v.MinimumRepeat }).(pulumi.Float64Output) +} + +func (o GetOrderCartProductOptionsPlanPriceOutput) PriceInUcents() pulumi.Float64Output { + return o.ApplyT(func(v GetOrderCartProductOptionsPlanPrice) float64 { return v.PriceInUcents }).(pulumi.Float64Output) +} + +func (o GetOrderCartProductOptionsPlanPriceOutput) Prices() GetOrderCartProductOptionsPlanPricePriceArrayOutput { + return o.ApplyT(func(v GetOrderCartProductOptionsPlanPrice) []GetOrderCartProductOptionsPlanPricePrice { + return v.Prices + }).(GetOrderCartProductOptionsPlanPricePriceArrayOutput) +} + +func (o GetOrderCartProductOptionsPlanPriceOutput) PricingMode() pulumi.StringOutput { + return o.ApplyT(func(v GetOrderCartProductOptionsPlanPrice) string { return v.PricingMode }).(pulumi.StringOutput) +} + +func (o GetOrderCartProductOptionsPlanPriceOutput) PricingType() pulumi.StringOutput { + return o.ApplyT(func(v GetOrderCartProductOptionsPlanPrice) string { return v.PricingType }).(pulumi.StringOutput) +} + +type GetOrderCartProductOptionsPlanPriceArrayOutput struct{ *pulumi.OutputState } + +func (GetOrderCartProductOptionsPlanPriceArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetOrderCartProductOptionsPlanPrice)(nil)).Elem() +} + +func (o GetOrderCartProductOptionsPlanPriceArrayOutput) ToGetOrderCartProductOptionsPlanPriceArrayOutput() GetOrderCartProductOptionsPlanPriceArrayOutput { + return o +} + +func (o GetOrderCartProductOptionsPlanPriceArrayOutput) ToGetOrderCartProductOptionsPlanPriceArrayOutputWithContext(ctx context.Context) GetOrderCartProductOptionsPlanPriceArrayOutput { + return o +} + +func (o GetOrderCartProductOptionsPlanPriceArrayOutput) Index(i pulumi.IntInput) GetOrderCartProductOptionsPlanPriceOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetOrderCartProductOptionsPlanPrice { + return vs[0].([]GetOrderCartProductOptionsPlanPrice)[vs[1].(int)] + }).(GetOrderCartProductOptionsPlanPriceOutput) +} + +type GetOrderCartProductOptionsPlanPricePrice struct { + CurrencyCode string `pulumi:"currencyCode"` + Text string `pulumi:"text"` + Value float64 `pulumi:"value"` +} + +// GetOrderCartProductOptionsPlanPricePriceInput is an input type that accepts GetOrderCartProductOptionsPlanPricePriceArgs and GetOrderCartProductOptionsPlanPricePriceOutput values. +// You can construct a concrete instance of `GetOrderCartProductOptionsPlanPricePriceInput` via: +// +// GetOrderCartProductOptionsPlanPricePriceArgs{...} +type GetOrderCartProductOptionsPlanPricePriceInput interface { + pulumi.Input + + ToGetOrderCartProductOptionsPlanPricePriceOutput() GetOrderCartProductOptionsPlanPricePriceOutput + ToGetOrderCartProductOptionsPlanPricePriceOutputWithContext(context.Context) GetOrderCartProductOptionsPlanPricePriceOutput +} + +type GetOrderCartProductOptionsPlanPricePriceArgs struct { + CurrencyCode pulumi.StringInput `pulumi:"currencyCode"` + Text pulumi.StringInput `pulumi:"text"` + Value pulumi.Float64Input `pulumi:"value"` +} + +func (GetOrderCartProductOptionsPlanPricePriceArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetOrderCartProductOptionsPlanPricePrice)(nil)).Elem() +} + +func (i GetOrderCartProductOptionsPlanPricePriceArgs) ToGetOrderCartProductOptionsPlanPricePriceOutput() GetOrderCartProductOptionsPlanPricePriceOutput { + return i.ToGetOrderCartProductOptionsPlanPricePriceOutputWithContext(context.Background()) +} + +func (i GetOrderCartProductOptionsPlanPricePriceArgs) ToGetOrderCartProductOptionsPlanPricePriceOutputWithContext(ctx context.Context) GetOrderCartProductOptionsPlanPricePriceOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetOrderCartProductOptionsPlanPricePriceOutput) +} + +// GetOrderCartProductOptionsPlanPricePriceArrayInput is an input type that accepts GetOrderCartProductOptionsPlanPricePriceArray and GetOrderCartProductOptionsPlanPricePriceArrayOutput values. +// You can construct a concrete instance of `GetOrderCartProductOptionsPlanPricePriceArrayInput` via: +// +// GetOrderCartProductOptionsPlanPricePriceArray{ GetOrderCartProductOptionsPlanPricePriceArgs{...} } +type GetOrderCartProductOptionsPlanPricePriceArrayInput interface { + pulumi.Input + + ToGetOrderCartProductOptionsPlanPricePriceArrayOutput() GetOrderCartProductOptionsPlanPricePriceArrayOutput + ToGetOrderCartProductOptionsPlanPricePriceArrayOutputWithContext(context.Context) GetOrderCartProductOptionsPlanPricePriceArrayOutput +} + +type GetOrderCartProductOptionsPlanPricePriceArray []GetOrderCartProductOptionsPlanPricePriceInput + +func (GetOrderCartProductOptionsPlanPricePriceArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetOrderCartProductOptionsPlanPricePrice)(nil)).Elem() +} + +func (i GetOrderCartProductOptionsPlanPricePriceArray) ToGetOrderCartProductOptionsPlanPricePriceArrayOutput() GetOrderCartProductOptionsPlanPricePriceArrayOutput { + return i.ToGetOrderCartProductOptionsPlanPricePriceArrayOutputWithContext(context.Background()) +} + +func (i GetOrderCartProductOptionsPlanPricePriceArray) ToGetOrderCartProductOptionsPlanPricePriceArrayOutputWithContext(ctx context.Context) GetOrderCartProductOptionsPlanPricePriceArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetOrderCartProductOptionsPlanPricePriceArrayOutput) +} + +type GetOrderCartProductOptionsPlanPricePriceOutput struct{ *pulumi.OutputState } + +func (GetOrderCartProductOptionsPlanPricePriceOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetOrderCartProductOptionsPlanPricePrice)(nil)).Elem() +} + +func (o GetOrderCartProductOptionsPlanPricePriceOutput) ToGetOrderCartProductOptionsPlanPricePriceOutput() GetOrderCartProductOptionsPlanPricePriceOutput { + return o +} + +func (o GetOrderCartProductOptionsPlanPricePriceOutput) ToGetOrderCartProductOptionsPlanPricePriceOutputWithContext(ctx context.Context) GetOrderCartProductOptionsPlanPricePriceOutput { + return o +} + +func (o GetOrderCartProductOptionsPlanPricePriceOutput) CurrencyCode() pulumi.StringOutput { + return o.ApplyT(func(v GetOrderCartProductOptionsPlanPricePrice) string { return v.CurrencyCode }).(pulumi.StringOutput) +} + +func (o GetOrderCartProductOptionsPlanPricePriceOutput) Text() pulumi.StringOutput { + return o.ApplyT(func(v GetOrderCartProductOptionsPlanPricePrice) string { return v.Text }).(pulumi.StringOutput) +} + +func (o GetOrderCartProductOptionsPlanPricePriceOutput) Value() pulumi.Float64Output { + return o.ApplyT(func(v GetOrderCartProductOptionsPlanPricePrice) float64 { return v.Value }).(pulumi.Float64Output) +} + +type GetOrderCartProductOptionsPlanPricePriceArrayOutput struct{ *pulumi.OutputState } + +func (GetOrderCartProductOptionsPlanPricePriceArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetOrderCartProductOptionsPlanPricePrice)(nil)).Elem() +} + +func (o GetOrderCartProductOptionsPlanPricePriceArrayOutput) ToGetOrderCartProductOptionsPlanPricePriceArrayOutput() GetOrderCartProductOptionsPlanPricePriceArrayOutput { + return o +} + +func (o GetOrderCartProductOptionsPlanPricePriceArrayOutput) ToGetOrderCartProductOptionsPlanPricePriceArrayOutputWithContext(ctx context.Context) GetOrderCartProductOptionsPlanPricePriceArrayOutput { + return o +} + +func (o GetOrderCartProductOptionsPlanPricePriceArrayOutput) Index(i pulumi.IntInput) GetOrderCartProductOptionsPlanPricePriceOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetOrderCartProductOptionsPlanPricePrice { + return vs[0].([]GetOrderCartProductOptionsPlanPricePrice)[vs[1].(int)] + }).(GetOrderCartProductOptionsPlanPricePriceOutput) +} + +type GetOrderCartProductOptionsPlanSelectedPrice struct { + Capacities []string `pulumi:"capacities"` + Description string `pulumi:"description"` + Duration string `pulumi:"duration"` + Interval float64 `pulumi:"interval"` + MaximumQuantity float64 `pulumi:"maximumQuantity"` + MaximumRepeat float64 `pulumi:"maximumRepeat"` + MinimumQuantity float64 `pulumi:"minimumQuantity"` + MinimumRepeat float64 `pulumi:"minimumRepeat"` + PriceInUcents float64 `pulumi:"priceInUcents"` + Prices []GetOrderCartProductOptionsPlanSelectedPricePrice `pulumi:"prices"` + PricingMode string `pulumi:"pricingMode"` + PricingType string `pulumi:"pricingType"` +} + +// GetOrderCartProductOptionsPlanSelectedPriceInput is an input type that accepts GetOrderCartProductOptionsPlanSelectedPriceArgs and GetOrderCartProductOptionsPlanSelectedPriceOutput values. +// You can construct a concrete instance of `GetOrderCartProductOptionsPlanSelectedPriceInput` via: +// +// GetOrderCartProductOptionsPlanSelectedPriceArgs{...} +type GetOrderCartProductOptionsPlanSelectedPriceInput interface { + pulumi.Input + + ToGetOrderCartProductOptionsPlanSelectedPriceOutput() GetOrderCartProductOptionsPlanSelectedPriceOutput + ToGetOrderCartProductOptionsPlanSelectedPriceOutputWithContext(context.Context) GetOrderCartProductOptionsPlanSelectedPriceOutput +} + +type GetOrderCartProductOptionsPlanSelectedPriceArgs struct { + Capacities pulumi.StringArrayInput `pulumi:"capacities"` + Description pulumi.StringInput `pulumi:"description"` + Duration pulumi.StringInput `pulumi:"duration"` + Interval pulumi.Float64Input `pulumi:"interval"` + MaximumQuantity pulumi.Float64Input `pulumi:"maximumQuantity"` + MaximumRepeat pulumi.Float64Input `pulumi:"maximumRepeat"` + MinimumQuantity pulumi.Float64Input `pulumi:"minimumQuantity"` + MinimumRepeat pulumi.Float64Input `pulumi:"minimumRepeat"` + PriceInUcents pulumi.Float64Input `pulumi:"priceInUcents"` + Prices GetOrderCartProductOptionsPlanSelectedPricePriceArrayInput `pulumi:"prices"` + PricingMode pulumi.StringInput `pulumi:"pricingMode"` + PricingType pulumi.StringInput `pulumi:"pricingType"` +} + +func (GetOrderCartProductOptionsPlanSelectedPriceArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetOrderCartProductOptionsPlanSelectedPrice)(nil)).Elem() +} + +func (i GetOrderCartProductOptionsPlanSelectedPriceArgs) ToGetOrderCartProductOptionsPlanSelectedPriceOutput() GetOrderCartProductOptionsPlanSelectedPriceOutput { + return i.ToGetOrderCartProductOptionsPlanSelectedPriceOutputWithContext(context.Background()) +} + +func (i GetOrderCartProductOptionsPlanSelectedPriceArgs) ToGetOrderCartProductOptionsPlanSelectedPriceOutputWithContext(ctx context.Context) GetOrderCartProductOptionsPlanSelectedPriceOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetOrderCartProductOptionsPlanSelectedPriceOutput) +} + +// GetOrderCartProductOptionsPlanSelectedPriceArrayInput is an input type that accepts GetOrderCartProductOptionsPlanSelectedPriceArray and GetOrderCartProductOptionsPlanSelectedPriceArrayOutput values. +// You can construct a concrete instance of `GetOrderCartProductOptionsPlanSelectedPriceArrayInput` via: +// +// GetOrderCartProductOptionsPlanSelectedPriceArray{ GetOrderCartProductOptionsPlanSelectedPriceArgs{...} } +type GetOrderCartProductOptionsPlanSelectedPriceArrayInput interface { + pulumi.Input + + ToGetOrderCartProductOptionsPlanSelectedPriceArrayOutput() GetOrderCartProductOptionsPlanSelectedPriceArrayOutput + ToGetOrderCartProductOptionsPlanSelectedPriceArrayOutputWithContext(context.Context) GetOrderCartProductOptionsPlanSelectedPriceArrayOutput +} + +type GetOrderCartProductOptionsPlanSelectedPriceArray []GetOrderCartProductOptionsPlanSelectedPriceInput + +func (GetOrderCartProductOptionsPlanSelectedPriceArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetOrderCartProductOptionsPlanSelectedPrice)(nil)).Elem() +} + +func (i GetOrderCartProductOptionsPlanSelectedPriceArray) ToGetOrderCartProductOptionsPlanSelectedPriceArrayOutput() GetOrderCartProductOptionsPlanSelectedPriceArrayOutput { + return i.ToGetOrderCartProductOptionsPlanSelectedPriceArrayOutputWithContext(context.Background()) +} + +func (i GetOrderCartProductOptionsPlanSelectedPriceArray) ToGetOrderCartProductOptionsPlanSelectedPriceArrayOutputWithContext(ctx context.Context) GetOrderCartProductOptionsPlanSelectedPriceArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetOrderCartProductOptionsPlanSelectedPriceArrayOutput) +} + +type GetOrderCartProductOptionsPlanSelectedPriceOutput struct{ *pulumi.OutputState } + +func (GetOrderCartProductOptionsPlanSelectedPriceOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetOrderCartProductOptionsPlanSelectedPrice)(nil)).Elem() +} + +func (o GetOrderCartProductOptionsPlanSelectedPriceOutput) ToGetOrderCartProductOptionsPlanSelectedPriceOutput() GetOrderCartProductOptionsPlanSelectedPriceOutput { + return o +} + +func (o GetOrderCartProductOptionsPlanSelectedPriceOutput) ToGetOrderCartProductOptionsPlanSelectedPriceOutputWithContext(ctx context.Context) GetOrderCartProductOptionsPlanSelectedPriceOutput { + return o +} + +func (o GetOrderCartProductOptionsPlanSelectedPriceOutput) Capacities() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetOrderCartProductOptionsPlanSelectedPrice) []string { return v.Capacities }).(pulumi.StringArrayOutput) +} + +func (o GetOrderCartProductOptionsPlanSelectedPriceOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v GetOrderCartProductOptionsPlanSelectedPrice) string { return v.Description }).(pulumi.StringOutput) +} + +func (o GetOrderCartProductOptionsPlanSelectedPriceOutput) Duration() pulumi.StringOutput { + return o.ApplyT(func(v GetOrderCartProductOptionsPlanSelectedPrice) string { return v.Duration }).(pulumi.StringOutput) +} + +func (o GetOrderCartProductOptionsPlanSelectedPriceOutput) Interval() pulumi.Float64Output { + return o.ApplyT(func(v GetOrderCartProductOptionsPlanSelectedPrice) float64 { return v.Interval }).(pulumi.Float64Output) +} + +func (o GetOrderCartProductOptionsPlanSelectedPriceOutput) MaximumQuantity() pulumi.Float64Output { + return o.ApplyT(func(v GetOrderCartProductOptionsPlanSelectedPrice) float64 { return v.MaximumQuantity }).(pulumi.Float64Output) +} + +func (o GetOrderCartProductOptionsPlanSelectedPriceOutput) MaximumRepeat() pulumi.Float64Output { + return o.ApplyT(func(v GetOrderCartProductOptionsPlanSelectedPrice) float64 { return v.MaximumRepeat }).(pulumi.Float64Output) +} + +func (o GetOrderCartProductOptionsPlanSelectedPriceOutput) MinimumQuantity() pulumi.Float64Output { + return o.ApplyT(func(v GetOrderCartProductOptionsPlanSelectedPrice) float64 { return v.MinimumQuantity }).(pulumi.Float64Output) +} + +func (o GetOrderCartProductOptionsPlanSelectedPriceOutput) MinimumRepeat() pulumi.Float64Output { + return o.ApplyT(func(v GetOrderCartProductOptionsPlanSelectedPrice) float64 { return v.MinimumRepeat }).(pulumi.Float64Output) +} + +func (o GetOrderCartProductOptionsPlanSelectedPriceOutput) PriceInUcents() pulumi.Float64Output { + return o.ApplyT(func(v GetOrderCartProductOptionsPlanSelectedPrice) float64 { return v.PriceInUcents }).(pulumi.Float64Output) +} + +func (o GetOrderCartProductOptionsPlanSelectedPriceOutput) Prices() GetOrderCartProductOptionsPlanSelectedPricePriceArrayOutput { + return o.ApplyT(func(v GetOrderCartProductOptionsPlanSelectedPrice) []GetOrderCartProductOptionsPlanSelectedPricePrice { + return v.Prices + }).(GetOrderCartProductOptionsPlanSelectedPricePriceArrayOutput) +} + +func (o GetOrderCartProductOptionsPlanSelectedPriceOutput) PricingMode() pulumi.StringOutput { + return o.ApplyT(func(v GetOrderCartProductOptionsPlanSelectedPrice) string { return v.PricingMode }).(pulumi.StringOutput) +} + +func (o GetOrderCartProductOptionsPlanSelectedPriceOutput) PricingType() pulumi.StringOutput { + return o.ApplyT(func(v GetOrderCartProductOptionsPlanSelectedPrice) string { return v.PricingType }).(pulumi.StringOutput) +} + +type GetOrderCartProductOptionsPlanSelectedPriceArrayOutput struct{ *pulumi.OutputState } + +func (GetOrderCartProductOptionsPlanSelectedPriceArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetOrderCartProductOptionsPlanSelectedPrice)(nil)).Elem() +} + +func (o GetOrderCartProductOptionsPlanSelectedPriceArrayOutput) ToGetOrderCartProductOptionsPlanSelectedPriceArrayOutput() GetOrderCartProductOptionsPlanSelectedPriceArrayOutput { + return o +} + +func (o GetOrderCartProductOptionsPlanSelectedPriceArrayOutput) ToGetOrderCartProductOptionsPlanSelectedPriceArrayOutputWithContext(ctx context.Context) GetOrderCartProductOptionsPlanSelectedPriceArrayOutput { + return o +} + +func (o GetOrderCartProductOptionsPlanSelectedPriceArrayOutput) Index(i pulumi.IntInput) GetOrderCartProductOptionsPlanSelectedPriceOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetOrderCartProductOptionsPlanSelectedPrice { + return vs[0].([]GetOrderCartProductOptionsPlanSelectedPrice)[vs[1].(int)] + }).(GetOrderCartProductOptionsPlanSelectedPriceOutput) +} + +type GetOrderCartProductOptionsPlanSelectedPricePrice struct { + CurrencyCode string `pulumi:"currencyCode"` + Text string `pulumi:"text"` + Value float64 `pulumi:"value"` +} + +// GetOrderCartProductOptionsPlanSelectedPricePriceInput is an input type that accepts GetOrderCartProductOptionsPlanSelectedPricePriceArgs and GetOrderCartProductOptionsPlanSelectedPricePriceOutput values. +// You can construct a concrete instance of `GetOrderCartProductOptionsPlanSelectedPricePriceInput` via: +// +// GetOrderCartProductOptionsPlanSelectedPricePriceArgs{...} +type GetOrderCartProductOptionsPlanSelectedPricePriceInput interface { + pulumi.Input + + ToGetOrderCartProductOptionsPlanSelectedPricePriceOutput() GetOrderCartProductOptionsPlanSelectedPricePriceOutput + ToGetOrderCartProductOptionsPlanSelectedPricePriceOutputWithContext(context.Context) GetOrderCartProductOptionsPlanSelectedPricePriceOutput +} + +type GetOrderCartProductOptionsPlanSelectedPricePriceArgs struct { + CurrencyCode pulumi.StringInput `pulumi:"currencyCode"` + Text pulumi.StringInput `pulumi:"text"` + Value pulumi.Float64Input `pulumi:"value"` +} + +func (GetOrderCartProductOptionsPlanSelectedPricePriceArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetOrderCartProductOptionsPlanSelectedPricePrice)(nil)).Elem() +} + +func (i GetOrderCartProductOptionsPlanSelectedPricePriceArgs) ToGetOrderCartProductOptionsPlanSelectedPricePriceOutput() GetOrderCartProductOptionsPlanSelectedPricePriceOutput { + return i.ToGetOrderCartProductOptionsPlanSelectedPricePriceOutputWithContext(context.Background()) +} + +func (i GetOrderCartProductOptionsPlanSelectedPricePriceArgs) ToGetOrderCartProductOptionsPlanSelectedPricePriceOutputWithContext(ctx context.Context) GetOrderCartProductOptionsPlanSelectedPricePriceOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetOrderCartProductOptionsPlanSelectedPricePriceOutput) +} + +// GetOrderCartProductOptionsPlanSelectedPricePriceArrayInput is an input type that accepts GetOrderCartProductOptionsPlanSelectedPricePriceArray and GetOrderCartProductOptionsPlanSelectedPricePriceArrayOutput values. +// You can construct a concrete instance of `GetOrderCartProductOptionsPlanSelectedPricePriceArrayInput` via: +// +// GetOrderCartProductOptionsPlanSelectedPricePriceArray{ GetOrderCartProductOptionsPlanSelectedPricePriceArgs{...} } +type GetOrderCartProductOptionsPlanSelectedPricePriceArrayInput interface { + pulumi.Input + + ToGetOrderCartProductOptionsPlanSelectedPricePriceArrayOutput() GetOrderCartProductOptionsPlanSelectedPricePriceArrayOutput + ToGetOrderCartProductOptionsPlanSelectedPricePriceArrayOutputWithContext(context.Context) GetOrderCartProductOptionsPlanSelectedPricePriceArrayOutput +} + +type GetOrderCartProductOptionsPlanSelectedPricePriceArray []GetOrderCartProductOptionsPlanSelectedPricePriceInput + +func (GetOrderCartProductOptionsPlanSelectedPricePriceArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetOrderCartProductOptionsPlanSelectedPricePrice)(nil)).Elem() +} + +func (i GetOrderCartProductOptionsPlanSelectedPricePriceArray) ToGetOrderCartProductOptionsPlanSelectedPricePriceArrayOutput() GetOrderCartProductOptionsPlanSelectedPricePriceArrayOutput { + return i.ToGetOrderCartProductOptionsPlanSelectedPricePriceArrayOutputWithContext(context.Background()) +} + +func (i GetOrderCartProductOptionsPlanSelectedPricePriceArray) ToGetOrderCartProductOptionsPlanSelectedPricePriceArrayOutputWithContext(ctx context.Context) GetOrderCartProductOptionsPlanSelectedPricePriceArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetOrderCartProductOptionsPlanSelectedPricePriceArrayOutput) +} + +type GetOrderCartProductOptionsPlanSelectedPricePriceOutput struct{ *pulumi.OutputState } + +func (GetOrderCartProductOptionsPlanSelectedPricePriceOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetOrderCartProductOptionsPlanSelectedPricePrice)(nil)).Elem() +} + +func (o GetOrderCartProductOptionsPlanSelectedPricePriceOutput) ToGetOrderCartProductOptionsPlanSelectedPricePriceOutput() GetOrderCartProductOptionsPlanSelectedPricePriceOutput { + return o +} + +func (o GetOrderCartProductOptionsPlanSelectedPricePriceOutput) ToGetOrderCartProductOptionsPlanSelectedPricePriceOutputWithContext(ctx context.Context) GetOrderCartProductOptionsPlanSelectedPricePriceOutput { + return o +} + +func (o GetOrderCartProductOptionsPlanSelectedPricePriceOutput) CurrencyCode() pulumi.StringOutput { + return o.ApplyT(func(v GetOrderCartProductOptionsPlanSelectedPricePrice) string { return v.CurrencyCode }).(pulumi.StringOutput) +} + +func (o GetOrderCartProductOptionsPlanSelectedPricePriceOutput) Text() pulumi.StringOutput { + return o.ApplyT(func(v GetOrderCartProductOptionsPlanSelectedPricePrice) string { return v.Text }).(pulumi.StringOutput) +} + +func (o GetOrderCartProductOptionsPlanSelectedPricePriceOutput) Value() pulumi.Float64Output { + return o.ApplyT(func(v GetOrderCartProductOptionsPlanSelectedPricePrice) float64 { return v.Value }).(pulumi.Float64Output) +} + +type GetOrderCartProductOptionsPlanSelectedPricePriceArrayOutput struct{ *pulumi.OutputState } + +func (GetOrderCartProductOptionsPlanSelectedPricePriceArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetOrderCartProductOptionsPlanSelectedPricePrice)(nil)).Elem() +} + +func (o GetOrderCartProductOptionsPlanSelectedPricePriceArrayOutput) ToGetOrderCartProductOptionsPlanSelectedPricePriceArrayOutput() GetOrderCartProductOptionsPlanSelectedPricePriceArrayOutput { + return o +} + +func (o GetOrderCartProductOptionsPlanSelectedPricePriceArrayOutput) ToGetOrderCartProductOptionsPlanSelectedPricePriceArrayOutputWithContext(ctx context.Context) GetOrderCartProductOptionsPlanSelectedPricePriceArrayOutput { + return o +} + +func (o GetOrderCartProductOptionsPlanSelectedPricePriceArrayOutput) Index(i pulumi.IntInput) GetOrderCartProductOptionsPlanSelectedPricePriceOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetOrderCartProductOptionsPlanSelectedPricePrice { + return vs[0].([]GetOrderCartProductOptionsPlanSelectedPricePrice)[vs[1].(int)] + }).(GetOrderCartProductOptionsPlanSelectedPricePriceOutput) +} + +type GetOrderCartProductOptionsResult struct { + Exclusive bool `pulumi:"exclusive"` + Family string `pulumi:"family"` + Mandatory bool `pulumi:"mandatory"` + PlanCode string `pulumi:"planCode"` + Prices []GetOrderCartProductOptionsResultPrice `pulumi:"prices"` + ProductName string `pulumi:"productName"` + ProductType string `pulumi:"productType"` +} + +// GetOrderCartProductOptionsResultInput is an input type that accepts GetOrderCartProductOptionsResultArgs and GetOrderCartProductOptionsResultOutput values. +// You can construct a concrete instance of `GetOrderCartProductOptionsResultInput` via: +// +// GetOrderCartProductOptionsResultArgs{...} +type GetOrderCartProductOptionsResultInput interface { + pulumi.Input + + ToGetOrderCartProductOptionsResultOutput() GetOrderCartProductOptionsResultOutput + ToGetOrderCartProductOptionsResultOutputWithContext(context.Context) GetOrderCartProductOptionsResultOutput +} + +type GetOrderCartProductOptionsResultArgs struct { + Exclusive pulumi.BoolInput `pulumi:"exclusive"` + Family pulumi.StringInput `pulumi:"family"` + Mandatory pulumi.BoolInput `pulumi:"mandatory"` + PlanCode pulumi.StringInput `pulumi:"planCode"` + Prices GetOrderCartProductOptionsResultPriceArrayInput `pulumi:"prices"` + ProductName pulumi.StringInput `pulumi:"productName"` + ProductType pulumi.StringInput `pulumi:"productType"` +} + +func (GetOrderCartProductOptionsResultArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetOrderCartProductOptionsResult)(nil)).Elem() +} + +func (i GetOrderCartProductOptionsResultArgs) ToGetOrderCartProductOptionsResultOutput() GetOrderCartProductOptionsResultOutput { + return i.ToGetOrderCartProductOptionsResultOutputWithContext(context.Background()) +} + +func (i GetOrderCartProductOptionsResultArgs) ToGetOrderCartProductOptionsResultOutputWithContext(ctx context.Context) GetOrderCartProductOptionsResultOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetOrderCartProductOptionsResultOutput) +} + +// GetOrderCartProductOptionsResultArrayInput is an input type that accepts GetOrderCartProductOptionsResultArray and GetOrderCartProductOptionsResultArrayOutput values. +// You can construct a concrete instance of `GetOrderCartProductOptionsResultArrayInput` via: +// +// GetOrderCartProductOptionsResultArray{ GetOrderCartProductOptionsResultArgs{...} } +type GetOrderCartProductOptionsResultArrayInput interface { + pulumi.Input + + ToGetOrderCartProductOptionsResultArrayOutput() GetOrderCartProductOptionsResultArrayOutput + ToGetOrderCartProductOptionsResultArrayOutputWithContext(context.Context) GetOrderCartProductOptionsResultArrayOutput +} + +type GetOrderCartProductOptionsResultArray []GetOrderCartProductOptionsResultInput + +func (GetOrderCartProductOptionsResultArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetOrderCartProductOptionsResult)(nil)).Elem() +} + +func (i GetOrderCartProductOptionsResultArray) ToGetOrderCartProductOptionsResultArrayOutput() GetOrderCartProductOptionsResultArrayOutput { + return i.ToGetOrderCartProductOptionsResultArrayOutputWithContext(context.Background()) +} + +func (i GetOrderCartProductOptionsResultArray) ToGetOrderCartProductOptionsResultArrayOutputWithContext(ctx context.Context) GetOrderCartProductOptionsResultArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetOrderCartProductOptionsResultArrayOutput) +} + +type GetOrderCartProductOptionsResultOutput struct{ *pulumi.OutputState } + +func (GetOrderCartProductOptionsResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetOrderCartProductOptionsResult)(nil)).Elem() +} + +func (o GetOrderCartProductOptionsResultOutput) ToGetOrderCartProductOptionsResultOutput() GetOrderCartProductOptionsResultOutput { + return o +} + +func (o GetOrderCartProductOptionsResultOutput) ToGetOrderCartProductOptionsResultOutputWithContext(ctx context.Context) GetOrderCartProductOptionsResultOutput { + return o +} + +func (o GetOrderCartProductOptionsResultOutput) Exclusive() pulumi.BoolOutput { + return o.ApplyT(func(v GetOrderCartProductOptionsResult) bool { return v.Exclusive }).(pulumi.BoolOutput) +} + +func (o GetOrderCartProductOptionsResultOutput) Family() pulumi.StringOutput { + return o.ApplyT(func(v GetOrderCartProductOptionsResult) string { return v.Family }).(pulumi.StringOutput) +} + +func (o GetOrderCartProductOptionsResultOutput) Mandatory() pulumi.BoolOutput { + return o.ApplyT(func(v GetOrderCartProductOptionsResult) bool { return v.Mandatory }).(pulumi.BoolOutput) +} + +func (o GetOrderCartProductOptionsResultOutput) PlanCode() pulumi.StringOutput { + return o.ApplyT(func(v GetOrderCartProductOptionsResult) string { return v.PlanCode }).(pulumi.StringOutput) +} + +func (o GetOrderCartProductOptionsResultOutput) Prices() GetOrderCartProductOptionsResultPriceArrayOutput { + return o.ApplyT(func(v GetOrderCartProductOptionsResult) []GetOrderCartProductOptionsResultPrice { return v.Prices }).(GetOrderCartProductOptionsResultPriceArrayOutput) +} + +func (o GetOrderCartProductOptionsResultOutput) ProductName() pulumi.StringOutput { + return o.ApplyT(func(v GetOrderCartProductOptionsResult) string { return v.ProductName }).(pulumi.StringOutput) +} + +func (o GetOrderCartProductOptionsResultOutput) ProductType() pulumi.StringOutput { + return o.ApplyT(func(v GetOrderCartProductOptionsResult) string { return v.ProductType }).(pulumi.StringOutput) +} + +type GetOrderCartProductOptionsResultArrayOutput struct{ *pulumi.OutputState } + +func (GetOrderCartProductOptionsResultArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetOrderCartProductOptionsResult)(nil)).Elem() +} + +func (o GetOrderCartProductOptionsResultArrayOutput) ToGetOrderCartProductOptionsResultArrayOutput() GetOrderCartProductOptionsResultArrayOutput { + return o +} + +func (o GetOrderCartProductOptionsResultArrayOutput) ToGetOrderCartProductOptionsResultArrayOutputWithContext(ctx context.Context) GetOrderCartProductOptionsResultArrayOutput { + return o +} + +func (o GetOrderCartProductOptionsResultArrayOutput) Index(i pulumi.IntInput) GetOrderCartProductOptionsResultOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetOrderCartProductOptionsResult { + return vs[0].([]GetOrderCartProductOptionsResult)[vs[1].(int)] + }).(GetOrderCartProductOptionsResultOutput) +} + +type GetOrderCartProductOptionsResultPrice struct { + Capacities []string `pulumi:"capacities"` + Description string `pulumi:"description"` + Duration string `pulumi:"duration"` + Interval float64 `pulumi:"interval"` + MaximumQuantity float64 `pulumi:"maximumQuantity"` + MaximumRepeat float64 `pulumi:"maximumRepeat"` + MinimumQuantity float64 `pulumi:"minimumQuantity"` + MinimumRepeat float64 `pulumi:"minimumRepeat"` + PriceInUcents float64 `pulumi:"priceInUcents"` + Prices []GetOrderCartProductOptionsResultPricePrice `pulumi:"prices"` + PricingMode string `pulumi:"pricingMode"` + PricingType string `pulumi:"pricingType"` +} + +// GetOrderCartProductOptionsResultPriceInput is an input type that accepts GetOrderCartProductOptionsResultPriceArgs and GetOrderCartProductOptionsResultPriceOutput values. +// You can construct a concrete instance of `GetOrderCartProductOptionsResultPriceInput` via: +// +// GetOrderCartProductOptionsResultPriceArgs{...} +type GetOrderCartProductOptionsResultPriceInput interface { + pulumi.Input + + ToGetOrderCartProductOptionsResultPriceOutput() GetOrderCartProductOptionsResultPriceOutput + ToGetOrderCartProductOptionsResultPriceOutputWithContext(context.Context) GetOrderCartProductOptionsResultPriceOutput +} + +type GetOrderCartProductOptionsResultPriceArgs struct { + Capacities pulumi.StringArrayInput `pulumi:"capacities"` + Description pulumi.StringInput `pulumi:"description"` + Duration pulumi.StringInput `pulumi:"duration"` + Interval pulumi.Float64Input `pulumi:"interval"` + MaximumQuantity pulumi.Float64Input `pulumi:"maximumQuantity"` + MaximumRepeat pulumi.Float64Input `pulumi:"maximumRepeat"` + MinimumQuantity pulumi.Float64Input `pulumi:"minimumQuantity"` + MinimumRepeat pulumi.Float64Input `pulumi:"minimumRepeat"` + PriceInUcents pulumi.Float64Input `pulumi:"priceInUcents"` + Prices GetOrderCartProductOptionsResultPricePriceArrayInput `pulumi:"prices"` + PricingMode pulumi.StringInput `pulumi:"pricingMode"` + PricingType pulumi.StringInput `pulumi:"pricingType"` +} + +func (GetOrderCartProductOptionsResultPriceArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetOrderCartProductOptionsResultPrice)(nil)).Elem() +} + +func (i GetOrderCartProductOptionsResultPriceArgs) ToGetOrderCartProductOptionsResultPriceOutput() GetOrderCartProductOptionsResultPriceOutput { + return i.ToGetOrderCartProductOptionsResultPriceOutputWithContext(context.Background()) +} + +func (i GetOrderCartProductOptionsResultPriceArgs) ToGetOrderCartProductOptionsResultPriceOutputWithContext(ctx context.Context) GetOrderCartProductOptionsResultPriceOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetOrderCartProductOptionsResultPriceOutput) +} + +// GetOrderCartProductOptionsResultPriceArrayInput is an input type that accepts GetOrderCartProductOptionsResultPriceArray and GetOrderCartProductOptionsResultPriceArrayOutput values. +// You can construct a concrete instance of `GetOrderCartProductOptionsResultPriceArrayInput` via: +// +// GetOrderCartProductOptionsResultPriceArray{ GetOrderCartProductOptionsResultPriceArgs{...} } +type GetOrderCartProductOptionsResultPriceArrayInput interface { + pulumi.Input + + ToGetOrderCartProductOptionsResultPriceArrayOutput() GetOrderCartProductOptionsResultPriceArrayOutput + ToGetOrderCartProductOptionsResultPriceArrayOutputWithContext(context.Context) GetOrderCartProductOptionsResultPriceArrayOutput +} + +type GetOrderCartProductOptionsResultPriceArray []GetOrderCartProductOptionsResultPriceInput + +func (GetOrderCartProductOptionsResultPriceArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetOrderCartProductOptionsResultPrice)(nil)).Elem() +} + +func (i GetOrderCartProductOptionsResultPriceArray) ToGetOrderCartProductOptionsResultPriceArrayOutput() GetOrderCartProductOptionsResultPriceArrayOutput { + return i.ToGetOrderCartProductOptionsResultPriceArrayOutputWithContext(context.Background()) +} + +func (i GetOrderCartProductOptionsResultPriceArray) ToGetOrderCartProductOptionsResultPriceArrayOutputWithContext(ctx context.Context) GetOrderCartProductOptionsResultPriceArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetOrderCartProductOptionsResultPriceArrayOutput) +} + +type GetOrderCartProductOptionsResultPriceOutput struct{ *pulumi.OutputState } + +func (GetOrderCartProductOptionsResultPriceOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetOrderCartProductOptionsResultPrice)(nil)).Elem() +} + +func (o GetOrderCartProductOptionsResultPriceOutput) ToGetOrderCartProductOptionsResultPriceOutput() GetOrderCartProductOptionsResultPriceOutput { + return o +} + +func (o GetOrderCartProductOptionsResultPriceOutput) ToGetOrderCartProductOptionsResultPriceOutputWithContext(ctx context.Context) GetOrderCartProductOptionsResultPriceOutput { + return o +} + +func (o GetOrderCartProductOptionsResultPriceOutput) Capacities() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetOrderCartProductOptionsResultPrice) []string { return v.Capacities }).(pulumi.StringArrayOutput) +} + +func (o GetOrderCartProductOptionsResultPriceOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v GetOrderCartProductOptionsResultPrice) string { return v.Description }).(pulumi.StringOutput) +} + +func (o GetOrderCartProductOptionsResultPriceOutput) Duration() pulumi.StringOutput { + return o.ApplyT(func(v GetOrderCartProductOptionsResultPrice) string { return v.Duration }).(pulumi.StringOutput) +} + +func (o GetOrderCartProductOptionsResultPriceOutput) Interval() pulumi.Float64Output { + return o.ApplyT(func(v GetOrderCartProductOptionsResultPrice) float64 { return v.Interval }).(pulumi.Float64Output) +} + +func (o GetOrderCartProductOptionsResultPriceOutput) MaximumQuantity() pulumi.Float64Output { + return o.ApplyT(func(v GetOrderCartProductOptionsResultPrice) float64 { return v.MaximumQuantity }).(pulumi.Float64Output) +} + +func (o GetOrderCartProductOptionsResultPriceOutput) MaximumRepeat() pulumi.Float64Output { + return o.ApplyT(func(v GetOrderCartProductOptionsResultPrice) float64 { return v.MaximumRepeat }).(pulumi.Float64Output) +} + +func (o GetOrderCartProductOptionsResultPriceOutput) MinimumQuantity() pulumi.Float64Output { + return o.ApplyT(func(v GetOrderCartProductOptionsResultPrice) float64 { return v.MinimumQuantity }).(pulumi.Float64Output) +} + +func (o GetOrderCartProductOptionsResultPriceOutput) MinimumRepeat() pulumi.Float64Output { + return o.ApplyT(func(v GetOrderCartProductOptionsResultPrice) float64 { return v.MinimumRepeat }).(pulumi.Float64Output) +} + +func (o GetOrderCartProductOptionsResultPriceOutput) PriceInUcents() pulumi.Float64Output { + return o.ApplyT(func(v GetOrderCartProductOptionsResultPrice) float64 { return v.PriceInUcents }).(pulumi.Float64Output) +} + +func (o GetOrderCartProductOptionsResultPriceOutput) Prices() GetOrderCartProductOptionsResultPricePriceArrayOutput { + return o.ApplyT(func(v GetOrderCartProductOptionsResultPrice) []GetOrderCartProductOptionsResultPricePrice { + return v.Prices + }).(GetOrderCartProductOptionsResultPricePriceArrayOutput) +} + +func (o GetOrderCartProductOptionsResultPriceOutput) PricingMode() pulumi.StringOutput { + return o.ApplyT(func(v GetOrderCartProductOptionsResultPrice) string { return v.PricingMode }).(pulumi.StringOutput) +} + +func (o GetOrderCartProductOptionsResultPriceOutput) PricingType() pulumi.StringOutput { + return o.ApplyT(func(v GetOrderCartProductOptionsResultPrice) string { return v.PricingType }).(pulumi.StringOutput) +} + +type GetOrderCartProductOptionsResultPriceArrayOutput struct{ *pulumi.OutputState } + +func (GetOrderCartProductOptionsResultPriceArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetOrderCartProductOptionsResultPrice)(nil)).Elem() +} + +func (o GetOrderCartProductOptionsResultPriceArrayOutput) ToGetOrderCartProductOptionsResultPriceArrayOutput() GetOrderCartProductOptionsResultPriceArrayOutput { + return o +} + +func (o GetOrderCartProductOptionsResultPriceArrayOutput) ToGetOrderCartProductOptionsResultPriceArrayOutputWithContext(ctx context.Context) GetOrderCartProductOptionsResultPriceArrayOutput { + return o +} + +func (o GetOrderCartProductOptionsResultPriceArrayOutput) Index(i pulumi.IntInput) GetOrderCartProductOptionsResultPriceOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetOrderCartProductOptionsResultPrice { + return vs[0].([]GetOrderCartProductOptionsResultPrice)[vs[1].(int)] + }).(GetOrderCartProductOptionsResultPriceOutput) +} + +type GetOrderCartProductOptionsResultPricePrice struct { + CurrencyCode string `pulumi:"currencyCode"` + Text string `pulumi:"text"` + Value float64 `pulumi:"value"` +} + +// GetOrderCartProductOptionsResultPricePriceInput is an input type that accepts GetOrderCartProductOptionsResultPricePriceArgs and GetOrderCartProductOptionsResultPricePriceOutput values. +// You can construct a concrete instance of `GetOrderCartProductOptionsResultPricePriceInput` via: +// +// GetOrderCartProductOptionsResultPricePriceArgs{...} +type GetOrderCartProductOptionsResultPricePriceInput interface { + pulumi.Input + + ToGetOrderCartProductOptionsResultPricePriceOutput() GetOrderCartProductOptionsResultPricePriceOutput + ToGetOrderCartProductOptionsResultPricePriceOutputWithContext(context.Context) GetOrderCartProductOptionsResultPricePriceOutput +} + +type GetOrderCartProductOptionsResultPricePriceArgs struct { + CurrencyCode pulumi.StringInput `pulumi:"currencyCode"` + Text pulumi.StringInput `pulumi:"text"` + Value pulumi.Float64Input `pulumi:"value"` +} + +func (GetOrderCartProductOptionsResultPricePriceArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetOrderCartProductOptionsResultPricePrice)(nil)).Elem() +} + +func (i GetOrderCartProductOptionsResultPricePriceArgs) ToGetOrderCartProductOptionsResultPricePriceOutput() GetOrderCartProductOptionsResultPricePriceOutput { + return i.ToGetOrderCartProductOptionsResultPricePriceOutputWithContext(context.Background()) +} + +func (i GetOrderCartProductOptionsResultPricePriceArgs) ToGetOrderCartProductOptionsResultPricePriceOutputWithContext(ctx context.Context) GetOrderCartProductOptionsResultPricePriceOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetOrderCartProductOptionsResultPricePriceOutput) +} + +// GetOrderCartProductOptionsResultPricePriceArrayInput is an input type that accepts GetOrderCartProductOptionsResultPricePriceArray and GetOrderCartProductOptionsResultPricePriceArrayOutput values. +// You can construct a concrete instance of `GetOrderCartProductOptionsResultPricePriceArrayInput` via: +// +// GetOrderCartProductOptionsResultPricePriceArray{ GetOrderCartProductOptionsResultPricePriceArgs{...} } +type GetOrderCartProductOptionsResultPricePriceArrayInput interface { + pulumi.Input + + ToGetOrderCartProductOptionsResultPricePriceArrayOutput() GetOrderCartProductOptionsResultPricePriceArrayOutput + ToGetOrderCartProductOptionsResultPricePriceArrayOutputWithContext(context.Context) GetOrderCartProductOptionsResultPricePriceArrayOutput +} + +type GetOrderCartProductOptionsResultPricePriceArray []GetOrderCartProductOptionsResultPricePriceInput + +func (GetOrderCartProductOptionsResultPricePriceArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetOrderCartProductOptionsResultPricePrice)(nil)).Elem() +} + +func (i GetOrderCartProductOptionsResultPricePriceArray) ToGetOrderCartProductOptionsResultPricePriceArrayOutput() GetOrderCartProductOptionsResultPricePriceArrayOutput { + return i.ToGetOrderCartProductOptionsResultPricePriceArrayOutputWithContext(context.Background()) +} + +func (i GetOrderCartProductOptionsResultPricePriceArray) ToGetOrderCartProductOptionsResultPricePriceArrayOutputWithContext(ctx context.Context) GetOrderCartProductOptionsResultPricePriceArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetOrderCartProductOptionsResultPricePriceArrayOutput) +} + +type GetOrderCartProductOptionsResultPricePriceOutput struct{ *pulumi.OutputState } + +func (GetOrderCartProductOptionsResultPricePriceOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetOrderCartProductOptionsResultPricePrice)(nil)).Elem() +} + +func (o GetOrderCartProductOptionsResultPricePriceOutput) ToGetOrderCartProductOptionsResultPricePriceOutput() GetOrderCartProductOptionsResultPricePriceOutput { + return o +} + +func (o GetOrderCartProductOptionsResultPricePriceOutput) ToGetOrderCartProductOptionsResultPricePriceOutputWithContext(ctx context.Context) GetOrderCartProductOptionsResultPricePriceOutput { + return o +} + +func (o GetOrderCartProductOptionsResultPricePriceOutput) CurrencyCode() pulumi.StringOutput { + return o.ApplyT(func(v GetOrderCartProductOptionsResultPricePrice) string { return v.CurrencyCode }).(pulumi.StringOutput) +} + +func (o GetOrderCartProductOptionsResultPricePriceOutput) Text() pulumi.StringOutput { + return o.ApplyT(func(v GetOrderCartProductOptionsResultPricePrice) string { return v.Text }).(pulumi.StringOutput) +} + +func (o GetOrderCartProductOptionsResultPricePriceOutput) Value() pulumi.Float64Output { + return o.ApplyT(func(v GetOrderCartProductOptionsResultPricePrice) float64 { return v.Value }).(pulumi.Float64Output) +} + +type GetOrderCartProductOptionsResultPricePriceArrayOutput struct{ *pulumi.OutputState } + +func (GetOrderCartProductOptionsResultPricePriceArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetOrderCartProductOptionsResultPricePrice)(nil)).Elem() +} + +func (o GetOrderCartProductOptionsResultPricePriceArrayOutput) ToGetOrderCartProductOptionsResultPricePriceArrayOutput() GetOrderCartProductOptionsResultPricePriceArrayOutput { + return o +} + +func (o GetOrderCartProductOptionsResultPricePriceArrayOutput) ToGetOrderCartProductOptionsResultPricePriceArrayOutputWithContext(ctx context.Context) GetOrderCartProductOptionsResultPricePriceArrayOutput { + return o +} + +func (o GetOrderCartProductOptionsResultPricePriceArrayOutput) Index(i pulumi.IntInput) GetOrderCartProductOptionsResultPricePriceOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetOrderCartProductOptionsResultPricePrice { + return vs[0].([]GetOrderCartProductOptionsResultPricePrice)[vs[1].(int)] + }).(GetOrderCartProductOptionsResultPricePriceOutput) +} + +type GetOrderCartProductPlanPrice struct { + Capacities []string `pulumi:"capacities"` + Description string `pulumi:"description"` + Duration string `pulumi:"duration"` + Interval float64 `pulumi:"interval"` + MaximumQuantity float64 `pulumi:"maximumQuantity"` + MaximumRepeat float64 `pulumi:"maximumRepeat"` + MinimumQuantity float64 `pulumi:"minimumQuantity"` + MinimumRepeat float64 `pulumi:"minimumRepeat"` + PriceInUcents float64 `pulumi:"priceInUcents"` + Prices []GetOrderCartProductPlanPricePrice `pulumi:"prices"` + PricingMode string `pulumi:"pricingMode"` + PricingType string `pulumi:"pricingType"` +} + +// GetOrderCartProductPlanPriceInput is an input type that accepts GetOrderCartProductPlanPriceArgs and GetOrderCartProductPlanPriceOutput values. +// You can construct a concrete instance of `GetOrderCartProductPlanPriceInput` via: +// +// GetOrderCartProductPlanPriceArgs{...} +type GetOrderCartProductPlanPriceInput interface { + pulumi.Input + + ToGetOrderCartProductPlanPriceOutput() GetOrderCartProductPlanPriceOutput + ToGetOrderCartProductPlanPriceOutputWithContext(context.Context) GetOrderCartProductPlanPriceOutput +} + +type GetOrderCartProductPlanPriceArgs struct { + Capacities pulumi.StringArrayInput `pulumi:"capacities"` + Description pulumi.StringInput `pulumi:"description"` + Duration pulumi.StringInput `pulumi:"duration"` + Interval pulumi.Float64Input `pulumi:"interval"` + MaximumQuantity pulumi.Float64Input `pulumi:"maximumQuantity"` + MaximumRepeat pulumi.Float64Input `pulumi:"maximumRepeat"` + MinimumQuantity pulumi.Float64Input `pulumi:"minimumQuantity"` + MinimumRepeat pulumi.Float64Input `pulumi:"minimumRepeat"` + PriceInUcents pulumi.Float64Input `pulumi:"priceInUcents"` + Prices GetOrderCartProductPlanPricePriceArrayInput `pulumi:"prices"` + PricingMode pulumi.StringInput `pulumi:"pricingMode"` + PricingType pulumi.StringInput `pulumi:"pricingType"` +} + +func (GetOrderCartProductPlanPriceArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetOrderCartProductPlanPrice)(nil)).Elem() +} + +func (i GetOrderCartProductPlanPriceArgs) ToGetOrderCartProductPlanPriceOutput() GetOrderCartProductPlanPriceOutput { + return i.ToGetOrderCartProductPlanPriceOutputWithContext(context.Background()) +} + +func (i GetOrderCartProductPlanPriceArgs) ToGetOrderCartProductPlanPriceOutputWithContext(ctx context.Context) GetOrderCartProductPlanPriceOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetOrderCartProductPlanPriceOutput) +} + +// GetOrderCartProductPlanPriceArrayInput is an input type that accepts GetOrderCartProductPlanPriceArray and GetOrderCartProductPlanPriceArrayOutput values. +// You can construct a concrete instance of `GetOrderCartProductPlanPriceArrayInput` via: +// +// GetOrderCartProductPlanPriceArray{ GetOrderCartProductPlanPriceArgs{...} } +type GetOrderCartProductPlanPriceArrayInput interface { + pulumi.Input + + ToGetOrderCartProductPlanPriceArrayOutput() GetOrderCartProductPlanPriceArrayOutput + ToGetOrderCartProductPlanPriceArrayOutputWithContext(context.Context) GetOrderCartProductPlanPriceArrayOutput +} + +type GetOrderCartProductPlanPriceArray []GetOrderCartProductPlanPriceInput + +func (GetOrderCartProductPlanPriceArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetOrderCartProductPlanPrice)(nil)).Elem() +} + +func (i GetOrderCartProductPlanPriceArray) ToGetOrderCartProductPlanPriceArrayOutput() GetOrderCartProductPlanPriceArrayOutput { + return i.ToGetOrderCartProductPlanPriceArrayOutputWithContext(context.Background()) +} + +func (i GetOrderCartProductPlanPriceArray) ToGetOrderCartProductPlanPriceArrayOutputWithContext(ctx context.Context) GetOrderCartProductPlanPriceArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetOrderCartProductPlanPriceArrayOutput) +} + +type GetOrderCartProductPlanPriceOutput struct{ *pulumi.OutputState } + +func (GetOrderCartProductPlanPriceOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetOrderCartProductPlanPrice)(nil)).Elem() +} + +func (o GetOrderCartProductPlanPriceOutput) ToGetOrderCartProductPlanPriceOutput() GetOrderCartProductPlanPriceOutput { + return o +} + +func (o GetOrderCartProductPlanPriceOutput) ToGetOrderCartProductPlanPriceOutputWithContext(ctx context.Context) GetOrderCartProductPlanPriceOutput { + return o +} + +func (o GetOrderCartProductPlanPriceOutput) Capacities() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetOrderCartProductPlanPrice) []string { return v.Capacities }).(pulumi.StringArrayOutput) +} + +func (o GetOrderCartProductPlanPriceOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v GetOrderCartProductPlanPrice) string { return v.Description }).(pulumi.StringOutput) +} + +func (o GetOrderCartProductPlanPriceOutput) Duration() pulumi.StringOutput { + return o.ApplyT(func(v GetOrderCartProductPlanPrice) string { return v.Duration }).(pulumi.StringOutput) +} + +func (o GetOrderCartProductPlanPriceOutput) Interval() pulumi.Float64Output { + return o.ApplyT(func(v GetOrderCartProductPlanPrice) float64 { return v.Interval }).(pulumi.Float64Output) +} + +func (o GetOrderCartProductPlanPriceOutput) MaximumQuantity() pulumi.Float64Output { + return o.ApplyT(func(v GetOrderCartProductPlanPrice) float64 { return v.MaximumQuantity }).(pulumi.Float64Output) +} + +func (o GetOrderCartProductPlanPriceOutput) MaximumRepeat() pulumi.Float64Output { + return o.ApplyT(func(v GetOrderCartProductPlanPrice) float64 { return v.MaximumRepeat }).(pulumi.Float64Output) +} + +func (o GetOrderCartProductPlanPriceOutput) MinimumQuantity() pulumi.Float64Output { + return o.ApplyT(func(v GetOrderCartProductPlanPrice) float64 { return v.MinimumQuantity }).(pulumi.Float64Output) +} + +func (o GetOrderCartProductPlanPriceOutput) MinimumRepeat() pulumi.Float64Output { + return o.ApplyT(func(v GetOrderCartProductPlanPrice) float64 { return v.MinimumRepeat }).(pulumi.Float64Output) +} + +func (o GetOrderCartProductPlanPriceOutput) PriceInUcents() pulumi.Float64Output { + return o.ApplyT(func(v GetOrderCartProductPlanPrice) float64 { return v.PriceInUcents }).(pulumi.Float64Output) +} + +func (o GetOrderCartProductPlanPriceOutput) Prices() GetOrderCartProductPlanPricePriceArrayOutput { + return o.ApplyT(func(v GetOrderCartProductPlanPrice) []GetOrderCartProductPlanPricePrice { return v.Prices }).(GetOrderCartProductPlanPricePriceArrayOutput) +} + +func (o GetOrderCartProductPlanPriceOutput) PricingMode() pulumi.StringOutput { + return o.ApplyT(func(v GetOrderCartProductPlanPrice) string { return v.PricingMode }).(pulumi.StringOutput) +} + +func (o GetOrderCartProductPlanPriceOutput) PricingType() pulumi.StringOutput { + return o.ApplyT(func(v GetOrderCartProductPlanPrice) string { return v.PricingType }).(pulumi.StringOutput) +} + +type GetOrderCartProductPlanPriceArrayOutput struct{ *pulumi.OutputState } + +func (GetOrderCartProductPlanPriceArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetOrderCartProductPlanPrice)(nil)).Elem() +} + +func (o GetOrderCartProductPlanPriceArrayOutput) ToGetOrderCartProductPlanPriceArrayOutput() GetOrderCartProductPlanPriceArrayOutput { + return o +} + +func (o GetOrderCartProductPlanPriceArrayOutput) ToGetOrderCartProductPlanPriceArrayOutputWithContext(ctx context.Context) GetOrderCartProductPlanPriceArrayOutput { + return o +} + +func (o GetOrderCartProductPlanPriceArrayOutput) Index(i pulumi.IntInput) GetOrderCartProductPlanPriceOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetOrderCartProductPlanPrice { + return vs[0].([]GetOrderCartProductPlanPrice)[vs[1].(int)] + }).(GetOrderCartProductPlanPriceOutput) +} + +type GetOrderCartProductPlanPricePrice struct { + CurrencyCode string `pulumi:"currencyCode"` + Text string `pulumi:"text"` + Value float64 `pulumi:"value"` +} + +// GetOrderCartProductPlanPricePriceInput is an input type that accepts GetOrderCartProductPlanPricePriceArgs and GetOrderCartProductPlanPricePriceOutput values. +// You can construct a concrete instance of `GetOrderCartProductPlanPricePriceInput` via: +// +// GetOrderCartProductPlanPricePriceArgs{...} +type GetOrderCartProductPlanPricePriceInput interface { + pulumi.Input + + ToGetOrderCartProductPlanPricePriceOutput() GetOrderCartProductPlanPricePriceOutput + ToGetOrderCartProductPlanPricePriceOutputWithContext(context.Context) GetOrderCartProductPlanPricePriceOutput +} + +type GetOrderCartProductPlanPricePriceArgs struct { + CurrencyCode pulumi.StringInput `pulumi:"currencyCode"` + Text pulumi.StringInput `pulumi:"text"` + Value pulumi.Float64Input `pulumi:"value"` +} + +func (GetOrderCartProductPlanPricePriceArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetOrderCartProductPlanPricePrice)(nil)).Elem() +} + +func (i GetOrderCartProductPlanPricePriceArgs) ToGetOrderCartProductPlanPricePriceOutput() GetOrderCartProductPlanPricePriceOutput { + return i.ToGetOrderCartProductPlanPricePriceOutputWithContext(context.Background()) +} + +func (i GetOrderCartProductPlanPricePriceArgs) ToGetOrderCartProductPlanPricePriceOutputWithContext(ctx context.Context) GetOrderCartProductPlanPricePriceOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetOrderCartProductPlanPricePriceOutput) +} + +// GetOrderCartProductPlanPricePriceArrayInput is an input type that accepts GetOrderCartProductPlanPricePriceArray and GetOrderCartProductPlanPricePriceArrayOutput values. +// You can construct a concrete instance of `GetOrderCartProductPlanPricePriceArrayInput` via: +// +// GetOrderCartProductPlanPricePriceArray{ GetOrderCartProductPlanPricePriceArgs{...} } +type GetOrderCartProductPlanPricePriceArrayInput interface { + pulumi.Input + + ToGetOrderCartProductPlanPricePriceArrayOutput() GetOrderCartProductPlanPricePriceArrayOutput + ToGetOrderCartProductPlanPricePriceArrayOutputWithContext(context.Context) GetOrderCartProductPlanPricePriceArrayOutput +} + +type GetOrderCartProductPlanPricePriceArray []GetOrderCartProductPlanPricePriceInput + +func (GetOrderCartProductPlanPricePriceArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetOrderCartProductPlanPricePrice)(nil)).Elem() +} + +func (i GetOrderCartProductPlanPricePriceArray) ToGetOrderCartProductPlanPricePriceArrayOutput() GetOrderCartProductPlanPricePriceArrayOutput { + return i.ToGetOrderCartProductPlanPricePriceArrayOutputWithContext(context.Background()) +} + +func (i GetOrderCartProductPlanPricePriceArray) ToGetOrderCartProductPlanPricePriceArrayOutputWithContext(ctx context.Context) GetOrderCartProductPlanPricePriceArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetOrderCartProductPlanPricePriceArrayOutput) +} + +type GetOrderCartProductPlanPricePriceOutput struct{ *pulumi.OutputState } + +func (GetOrderCartProductPlanPricePriceOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetOrderCartProductPlanPricePrice)(nil)).Elem() +} + +func (o GetOrderCartProductPlanPricePriceOutput) ToGetOrderCartProductPlanPricePriceOutput() GetOrderCartProductPlanPricePriceOutput { + return o +} + +func (o GetOrderCartProductPlanPricePriceOutput) ToGetOrderCartProductPlanPricePriceOutputWithContext(ctx context.Context) GetOrderCartProductPlanPricePriceOutput { + return o +} + +func (o GetOrderCartProductPlanPricePriceOutput) CurrencyCode() pulumi.StringOutput { + return o.ApplyT(func(v GetOrderCartProductPlanPricePrice) string { return v.CurrencyCode }).(pulumi.StringOutput) +} + +func (o GetOrderCartProductPlanPricePriceOutput) Text() pulumi.StringOutput { + return o.ApplyT(func(v GetOrderCartProductPlanPricePrice) string { return v.Text }).(pulumi.StringOutput) +} + +func (o GetOrderCartProductPlanPricePriceOutput) Value() pulumi.Float64Output { + return o.ApplyT(func(v GetOrderCartProductPlanPricePrice) float64 { return v.Value }).(pulumi.Float64Output) +} + +type GetOrderCartProductPlanPricePriceArrayOutput struct{ *pulumi.OutputState } + +func (GetOrderCartProductPlanPricePriceArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetOrderCartProductPlanPricePrice)(nil)).Elem() +} + +func (o GetOrderCartProductPlanPricePriceArrayOutput) ToGetOrderCartProductPlanPricePriceArrayOutput() GetOrderCartProductPlanPricePriceArrayOutput { + return o +} + +func (o GetOrderCartProductPlanPricePriceArrayOutput) ToGetOrderCartProductPlanPricePriceArrayOutputWithContext(ctx context.Context) GetOrderCartProductPlanPricePriceArrayOutput { + return o +} + +func (o GetOrderCartProductPlanPricePriceArrayOutput) Index(i pulumi.IntInput) GetOrderCartProductPlanPricePriceOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetOrderCartProductPlanPricePrice { + return vs[0].([]GetOrderCartProductPlanPricePrice)[vs[1].(int)] + }).(GetOrderCartProductPlanPricePriceOutput) +} + +type GetOrderCartProductPlanSelectedPrice struct { + Capacities []string `pulumi:"capacities"` + Description string `pulumi:"description"` + Duration string `pulumi:"duration"` + Interval float64 `pulumi:"interval"` + MaximumQuantity float64 `pulumi:"maximumQuantity"` + MaximumRepeat float64 `pulumi:"maximumRepeat"` + MinimumQuantity float64 `pulumi:"minimumQuantity"` + MinimumRepeat float64 `pulumi:"minimumRepeat"` + PriceInUcents float64 `pulumi:"priceInUcents"` + Prices []GetOrderCartProductPlanSelectedPricePrice `pulumi:"prices"` + PricingMode string `pulumi:"pricingMode"` + PricingType string `pulumi:"pricingType"` +} + +// GetOrderCartProductPlanSelectedPriceInput is an input type that accepts GetOrderCartProductPlanSelectedPriceArgs and GetOrderCartProductPlanSelectedPriceOutput values. +// You can construct a concrete instance of `GetOrderCartProductPlanSelectedPriceInput` via: +// +// GetOrderCartProductPlanSelectedPriceArgs{...} +type GetOrderCartProductPlanSelectedPriceInput interface { + pulumi.Input + + ToGetOrderCartProductPlanSelectedPriceOutput() GetOrderCartProductPlanSelectedPriceOutput + ToGetOrderCartProductPlanSelectedPriceOutputWithContext(context.Context) GetOrderCartProductPlanSelectedPriceOutput +} + +type GetOrderCartProductPlanSelectedPriceArgs struct { + Capacities pulumi.StringArrayInput `pulumi:"capacities"` + Description pulumi.StringInput `pulumi:"description"` + Duration pulumi.StringInput `pulumi:"duration"` + Interval pulumi.Float64Input `pulumi:"interval"` + MaximumQuantity pulumi.Float64Input `pulumi:"maximumQuantity"` + MaximumRepeat pulumi.Float64Input `pulumi:"maximumRepeat"` + MinimumQuantity pulumi.Float64Input `pulumi:"minimumQuantity"` + MinimumRepeat pulumi.Float64Input `pulumi:"minimumRepeat"` + PriceInUcents pulumi.Float64Input `pulumi:"priceInUcents"` + Prices GetOrderCartProductPlanSelectedPricePriceArrayInput `pulumi:"prices"` + PricingMode pulumi.StringInput `pulumi:"pricingMode"` + PricingType pulumi.StringInput `pulumi:"pricingType"` +} + +func (GetOrderCartProductPlanSelectedPriceArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetOrderCartProductPlanSelectedPrice)(nil)).Elem() +} + +func (i GetOrderCartProductPlanSelectedPriceArgs) ToGetOrderCartProductPlanSelectedPriceOutput() GetOrderCartProductPlanSelectedPriceOutput { + return i.ToGetOrderCartProductPlanSelectedPriceOutputWithContext(context.Background()) +} + +func (i GetOrderCartProductPlanSelectedPriceArgs) ToGetOrderCartProductPlanSelectedPriceOutputWithContext(ctx context.Context) GetOrderCartProductPlanSelectedPriceOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetOrderCartProductPlanSelectedPriceOutput) +} + +// GetOrderCartProductPlanSelectedPriceArrayInput is an input type that accepts GetOrderCartProductPlanSelectedPriceArray and GetOrderCartProductPlanSelectedPriceArrayOutput values. +// You can construct a concrete instance of `GetOrderCartProductPlanSelectedPriceArrayInput` via: +// +// GetOrderCartProductPlanSelectedPriceArray{ GetOrderCartProductPlanSelectedPriceArgs{...} } +type GetOrderCartProductPlanSelectedPriceArrayInput interface { + pulumi.Input + + ToGetOrderCartProductPlanSelectedPriceArrayOutput() GetOrderCartProductPlanSelectedPriceArrayOutput + ToGetOrderCartProductPlanSelectedPriceArrayOutputWithContext(context.Context) GetOrderCartProductPlanSelectedPriceArrayOutput +} + +type GetOrderCartProductPlanSelectedPriceArray []GetOrderCartProductPlanSelectedPriceInput + +func (GetOrderCartProductPlanSelectedPriceArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetOrderCartProductPlanSelectedPrice)(nil)).Elem() +} + +func (i GetOrderCartProductPlanSelectedPriceArray) ToGetOrderCartProductPlanSelectedPriceArrayOutput() GetOrderCartProductPlanSelectedPriceArrayOutput { + return i.ToGetOrderCartProductPlanSelectedPriceArrayOutputWithContext(context.Background()) +} + +func (i GetOrderCartProductPlanSelectedPriceArray) ToGetOrderCartProductPlanSelectedPriceArrayOutputWithContext(ctx context.Context) GetOrderCartProductPlanSelectedPriceArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetOrderCartProductPlanSelectedPriceArrayOutput) +} + +type GetOrderCartProductPlanSelectedPriceOutput struct{ *pulumi.OutputState } + +func (GetOrderCartProductPlanSelectedPriceOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetOrderCartProductPlanSelectedPrice)(nil)).Elem() +} + +func (o GetOrderCartProductPlanSelectedPriceOutput) ToGetOrderCartProductPlanSelectedPriceOutput() GetOrderCartProductPlanSelectedPriceOutput { + return o +} + +func (o GetOrderCartProductPlanSelectedPriceOutput) ToGetOrderCartProductPlanSelectedPriceOutputWithContext(ctx context.Context) GetOrderCartProductPlanSelectedPriceOutput { + return o +} + +func (o GetOrderCartProductPlanSelectedPriceOutput) Capacities() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetOrderCartProductPlanSelectedPrice) []string { return v.Capacities }).(pulumi.StringArrayOutput) +} + +func (o GetOrderCartProductPlanSelectedPriceOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v GetOrderCartProductPlanSelectedPrice) string { return v.Description }).(pulumi.StringOutput) +} + +func (o GetOrderCartProductPlanSelectedPriceOutput) Duration() pulumi.StringOutput { + return o.ApplyT(func(v GetOrderCartProductPlanSelectedPrice) string { return v.Duration }).(pulumi.StringOutput) +} + +func (o GetOrderCartProductPlanSelectedPriceOutput) Interval() pulumi.Float64Output { + return o.ApplyT(func(v GetOrderCartProductPlanSelectedPrice) float64 { return v.Interval }).(pulumi.Float64Output) +} + +func (o GetOrderCartProductPlanSelectedPriceOutput) MaximumQuantity() pulumi.Float64Output { + return o.ApplyT(func(v GetOrderCartProductPlanSelectedPrice) float64 { return v.MaximumQuantity }).(pulumi.Float64Output) +} + +func (o GetOrderCartProductPlanSelectedPriceOutput) MaximumRepeat() pulumi.Float64Output { + return o.ApplyT(func(v GetOrderCartProductPlanSelectedPrice) float64 { return v.MaximumRepeat }).(pulumi.Float64Output) +} + +func (o GetOrderCartProductPlanSelectedPriceOutput) MinimumQuantity() pulumi.Float64Output { + return o.ApplyT(func(v GetOrderCartProductPlanSelectedPrice) float64 { return v.MinimumQuantity }).(pulumi.Float64Output) +} + +func (o GetOrderCartProductPlanSelectedPriceOutput) MinimumRepeat() pulumi.Float64Output { + return o.ApplyT(func(v GetOrderCartProductPlanSelectedPrice) float64 { return v.MinimumRepeat }).(pulumi.Float64Output) +} + +func (o GetOrderCartProductPlanSelectedPriceOutput) PriceInUcents() pulumi.Float64Output { + return o.ApplyT(func(v GetOrderCartProductPlanSelectedPrice) float64 { return v.PriceInUcents }).(pulumi.Float64Output) +} + +func (o GetOrderCartProductPlanSelectedPriceOutput) Prices() GetOrderCartProductPlanSelectedPricePriceArrayOutput { + return o.ApplyT(func(v GetOrderCartProductPlanSelectedPrice) []GetOrderCartProductPlanSelectedPricePrice { + return v.Prices + }).(GetOrderCartProductPlanSelectedPricePriceArrayOutput) +} + +func (o GetOrderCartProductPlanSelectedPriceOutput) PricingMode() pulumi.StringOutput { + return o.ApplyT(func(v GetOrderCartProductPlanSelectedPrice) string { return v.PricingMode }).(pulumi.StringOutput) +} + +func (o GetOrderCartProductPlanSelectedPriceOutput) PricingType() pulumi.StringOutput { + return o.ApplyT(func(v GetOrderCartProductPlanSelectedPrice) string { return v.PricingType }).(pulumi.StringOutput) +} + +type GetOrderCartProductPlanSelectedPriceArrayOutput struct{ *pulumi.OutputState } + +func (GetOrderCartProductPlanSelectedPriceArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetOrderCartProductPlanSelectedPrice)(nil)).Elem() +} + +func (o GetOrderCartProductPlanSelectedPriceArrayOutput) ToGetOrderCartProductPlanSelectedPriceArrayOutput() GetOrderCartProductPlanSelectedPriceArrayOutput { + return o +} + +func (o GetOrderCartProductPlanSelectedPriceArrayOutput) ToGetOrderCartProductPlanSelectedPriceArrayOutputWithContext(ctx context.Context) GetOrderCartProductPlanSelectedPriceArrayOutput { + return o +} + +func (o GetOrderCartProductPlanSelectedPriceArrayOutput) Index(i pulumi.IntInput) GetOrderCartProductPlanSelectedPriceOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetOrderCartProductPlanSelectedPrice { + return vs[0].([]GetOrderCartProductPlanSelectedPrice)[vs[1].(int)] + }).(GetOrderCartProductPlanSelectedPriceOutput) +} + +type GetOrderCartProductPlanSelectedPricePrice struct { + CurrencyCode string `pulumi:"currencyCode"` + Text string `pulumi:"text"` + Value float64 `pulumi:"value"` +} + +// GetOrderCartProductPlanSelectedPricePriceInput is an input type that accepts GetOrderCartProductPlanSelectedPricePriceArgs and GetOrderCartProductPlanSelectedPricePriceOutput values. +// You can construct a concrete instance of `GetOrderCartProductPlanSelectedPricePriceInput` via: +// +// GetOrderCartProductPlanSelectedPricePriceArgs{...} +type GetOrderCartProductPlanSelectedPricePriceInput interface { + pulumi.Input + + ToGetOrderCartProductPlanSelectedPricePriceOutput() GetOrderCartProductPlanSelectedPricePriceOutput + ToGetOrderCartProductPlanSelectedPricePriceOutputWithContext(context.Context) GetOrderCartProductPlanSelectedPricePriceOutput +} + +type GetOrderCartProductPlanSelectedPricePriceArgs struct { + CurrencyCode pulumi.StringInput `pulumi:"currencyCode"` + Text pulumi.StringInput `pulumi:"text"` + Value pulumi.Float64Input `pulumi:"value"` +} + +func (GetOrderCartProductPlanSelectedPricePriceArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetOrderCartProductPlanSelectedPricePrice)(nil)).Elem() +} + +func (i GetOrderCartProductPlanSelectedPricePriceArgs) ToGetOrderCartProductPlanSelectedPricePriceOutput() GetOrderCartProductPlanSelectedPricePriceOutput { + return i.ToGetOrderCartProductPlanSelectedPricePriceOutputWithContext(context.Background()) +} + +func (i GetOrderCartProductPlanSelectedPricePriceArgs) ToGetOrderCartProductPlanSelectedPricePriceOutputWithContext(ctx context.Context) GetOrderCartProductPlanSelectedPricePriceOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetOrderCartProductPlanSelectedPricePriceOutput) +} + +// GetOrderCartProductPlanSelectedPricePriceArrayInput is an input type that accepts GetOrderCartProductPlanSelectedPricePriceArray and GetOrderCartProductPlanSelectedPricePriceArrayOutput values. +// You can construct a concrete instance of `GetOrderCartProductPlanSelectedPricePriceArrayInput` via: +// +// GetOrderCartProductPlanSelectedPricePriceArray{ GetOrderCartProductPlanSelectedPricePriceArgs{...} } +type GetOrderCartProductPlanSelectedPricePriceArrayInput interface { + pulumi.Input + + ToGetOrderCartProductPlanSelectedPricePriceArrayOutput() GetOrderCartProductPlanSelectedPricePriceArrayOutput + ToGetOrderCartProductPlanSelectedPricePriceArrayOutputWithContext(context.Context) GetOrderCartProductPlanSelectedPricePriceArrayOutput +} + +type GetOrderCartProductPlanSelectedPricePriceArray []GetOrderCartProductPlanSelectedPricePriceInput + +func (GetOrderCartProductPlanSelectedPricePriceArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetOrderCartProductPlanSelectedPricePrice)(nil)).Elem() +} + +func (i GetOrderCartProductPlanSelectedPricePriceArray) ToGetOrderCartProductPlanSelectedPricePriceArrayOutput() GetOrderCartProductPlanSelectedPricePriceArrayOutput { + return i.ToGetOrderCartProductPlanSelectedPricePriceArrayOutputWithContext(context.Background()) +} + +func (i GetOrderCartProductPlanSelectedPricePriceArray) ToGetOrderCartProductPlanSelectedPricePriceArrayOutputWithContext(ctx context.Context) GetOrderCartProductPlanSelectedPricePriceArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetOrderCartProductPlanSelectedPricePriceArrayOutput) +} + +type GetOrderCartProductPlanSelectedPricePriceOutput struct{ *pulumi.OutputState } + +func (GetOrderCartProductPlanSelectedPricePriceOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetOrderCartProductPlanSelectedPricePrice)(nil)).Elem() +} + +func (o GetOrderCartProductPlanSelectedPricePriceOutput) ToGetOrderCartProductPlanSelectedPricePriceOutput() GetOrderCartProductPlanSelectedPricePriceOutput { + return o +} + +func (o GetOrderCartProductPlanSelectedPricePriceOutput) ToGetOrderCartProductPlanSelectedPricePriceOutputWithContext(ctx context.Context) GetOrderCartProductPlanSelectedPricePriceOutput { + return o +} + +func (o GetOrderCartProductPlanSelectedPricePriceOutput) CurrencyCode() pulumi.StringOutput { + return o.ApplyT(func(v GetOrderCartProductPlanSelectedPricePrice) string { return v.CurrencyCode }).(pulumi.StringOutput) +} + +func (o GetOrderCartProductPlanSelectedPricePriceOutput) Text() pulumi.StringOutput { + return o.ApplyT(func(v GetOrderCartProductPlanSelectedPricePrice) string { return v.Text }).(pulumi.StringOutput) +} + +func (o GetOrderCartProductPlanSelectedPricePriceOutput) Value() pulumi.Float64Output { + return o.ApplyT(func(v GetOrderCartProductPlanSelectedPricePrice) float64 { return v.Value }).(pulumi.Float64Output) +} + +type GetOrderCartProductPlanSelectedPricePriceArrayOutput struct{ *pulumi.OutputState } + +func (GetOrderCartProductPlanSelectedPricePriceArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetOrderCartProductPlanSelectedPricePrice)(nil)).Elem() +} + +func (o GetOrderCartProductPlanSelectedPricePriceArrayOutput) ToGetOrderCartProductPlanSelectedPricePriceArrayOutput() GetOrderCartProductPlanSelectedPricePriceArrayOutput { + return o +} + +func (o GetOrderCartProductPlanSelectedPricePriceArrayOutput) ToGetOrderCartProductPlanSelectedPricePriceArrayOutputWithContext(ctx context.Context) GetOrderCartProductPlanSelectedPricePriceArrayOutput { + return o +} + +func (o GetOrderCartProductPlanSelectedPricePriceArrayOutput) Index(i pulumi.IntInput) GetOrderCartProductPlanSelectedPricePriceOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetOrderCartProductPlanSelectedPricePrice { + return vs[0].([]GetOrderCartProductPlanSelectedPricePrice)[vs[1].(int)] + }).(GetOrderCartProductPlanSelectedPricePriceOutput) +} + +type GetOrderCartProductResult struct { + PlanCode string `pulumi:"planCode"` + Prices []GetOrderCartProductResultPrice `pulumi:"prices"` + ProductName string `pulumi:"productName"` + ProductType string `pulumi:"productType"` +} + +// GetOrderCartProductResultInput is an input type that accepts GetOrderCartProductResultArgs and GetOrderCartProductResultOutput values. +// You can construct a concrete instance of `GetOrderCartProductResultInput` via: +// +// GetOrderCartProductResultArgs{...} +type GetOrderCartProductResultInput interface { + pulumi.Input + + ToGetOrderCartProductResultOutput() GetOrderCartProductResultOutput + ToGetOrderCartProductResultOutputWithContext(context.Context) GetOrderCartProductResultOutput +} + +type GetOrderCartProductResultArgs struct { + PlanCode pulumi.StringInput `pulumi:"planCode"` + Prices GetOrderCartProductResultPriceArrayInput `pulumi:"prices"` + ProductName pulumi.StringInput `pulumi:"productName"` + ProductType pulumi.StringInput `pulumi:"productType"` +} + +func (GetOrderCartProductResultArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetOrderCartProductResult)(nil)).Elem() +} + +func (i GetOrderCartProductResultArgs) ToGetOrderCartProductResultOutput() GetOrderCartProductResultOutput { + return i.ToGetOrderCartProductResultOutputWithContext(context.Background()) +} + +func (i GetOrderCartProductResultArgs) ToGetOrderCartProductResultOutputWithContext(ctx context.Context) GetOrderCartProductResultOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetOrderCartProductResultOutput) +} + +// GetOrderCartProductResultArrayInput is an input type that accepts GetOrderCartProductResultArray and GetOrderCartProductResultArrayOutput values. +// You can construct a concrete instance of `GetOrderCartProductResultArrayInput` via: +// +// GetOrderCartProductResultArray{ GetOrderCartProductResultArgs{...} } +type GetOrderCartProductResultArrayInput interface { + pulumi.Input + + ToGetOrderCartProductResultArrayOutput() GetOrderCartProductResultArrayOutput + ToGetOrderCartProductResultArrayOutputWithContext(context.Context) GetOrderCartProductResultArrayOutput +} + +type GetOrderCartProductResultArray []GetOrderCartProductResultInput + +func (GetOrderCartProductResultArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetOrderCartProductResult)(nil)).Elem() +} + +func (i GetOrderCartProductResultArray) ToGetOrderCartProductResultArrayOutput() GetOrderCartProductResultArrayOutput { + return i.ToGetOrderCartProductResultArrayOutputWithContext(context.Background()) +} + +func (i GetOrderCartProductResultArray) ToGetOrderCartProductResultArrayOutputWithContext(ctx context.Context) GetOrderCartProductResultArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetOrderCartProductResultArrayOutput) +} + +type GetOrderCartProductResultOutput struct{ *pulumi.OutputState } + +func (GetOrderCartProductResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetOrderCartProductResult)(nil)).Elem() +} + +func (o GetOrderCartProductResultOutput) ToGetOrderCartProductResultOutput() GetOrderCartProductResultOutput { + return o +} + +func (o GetOrderCartProductResultOutput) ToGetOrderCartProductResultOutputWithContext(ctx context.Context) GetOrderCartProductResultOutput { + return o +} + +func (o GetOrderCartProductResultOutput) PlanCode() pulumi.StringOutput { + return o.ApplyT(func(v GetOrderCartProductResult) string { return v.PlanCode }).(pulumi.StringOutput) +} + +func (o GetOrderCartProductResultOutput) Prices() GetOrderCartProductResultPriceArrayOutput { + return o.ApplyT(func(v GetOrderCartProductResult) []GetOrderCartProductResultPrice { return v.Prices }).(GetOrderCartProductResultPriceArrayOutput) +} + +func (o GetOrderCartProductResultOutput) ProductName() pulumi.StringOutput { + return o.ApplyT(func(v GetOrderCartProductResult) string { return v.ProductName }).(pulumi.StringOutput) +} + +func (o GetOrderCartProductResultOutput) ProductType() pulumi.StringOutput { + return o.ApplyT(func(v GetOrderCartProductResult) string { return v.ProductType }).(pulumi.StringOutput) +} + +type GetOrderCartProductResultArrayOutput struct{ *pulumi.OutputState } + +func (GetOrderCartProductResultArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetOrderCartProductResult)(nil)).Elem() +} + +func (o GetOrderCartProductResultArrayOutput) ToGetOrderCartProductResultArrayOutput() GetOrderCartProductResultArrayOutput { + return o +} + +func (o GetOrderCartProductResultArrayOutput) ToGetOrderCartProductResultArrayOutputWithContext(ctx context.Context) GetOrderCartProductResultArrayOutput { + return o +} + +func (o GetOrderCartProductResultArrayOutput) Index(i pulumi.IntInput) GetOrderCartProductResultOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetOrderCartProductResult { + return vs[0].([]GetOrderCartProductResult)[vs[1].(int)] + }).(GetOrderCartProductResultOutput) +} + +type GetOrderCartProductResultPrice struct { + Capacities []string `pulumi:"capacities"` + Description string `pulumi:"description"` + Duration string `pulumi:"duration"` + Interval float64 `pulumi:"interval"` + MaximumQuantity float64 `pulumi:"maximumQuantity"` + MaximumRepeat float64 `pulumi:"maximumRepeat"` + MinimumQuantity float64 `pulumi:"minimumQuantity"` + MinimumRepeat float64 `pulumi:"minimumRepeat"` + PriceInUcents float64 `pulumi:"priceInUcents"` + Prices []GetOrderCartProductResultPricePrice `pulumi:"prices"` + PricingMode string `pulumi:"pricingMode"` + PricingType string `pulumi:"pricingType"` +} + +// GetOrderCartProductResultPriceInput is an input type that accepts GetOrderCartProductResultPriceArgs and GetOrderCartProductResultPriceOutput values. +// You can construct a concrete instance of `GetOrderCartProductResultPriceInput` via: +// +// GetOrderCartProductResultPriceArgs{...} +type GetOrderCartProductResultPriceInput interface { + pulumi.Input + + ToGetOrderCartProductResultPriceOutput() GetOrderCartProductResultPriceOutput + ToGetOrderCartProductResultPriceOutputWithContext(context.Context) GetOrderCartProductResultPriceOutput +} + +type GetOrderCartProductResultPriceArgs struct { + Capacities pulumi.StringArrayInput `pulumi:"capacities"` + Description pulumi.StringInput `pulumi:"description"` + Duration pulumi.StringInput `pulumi:"duration"` + Interval pulumi.Float64Input `pulumi:"interval"` + MaximumQuantity pulumi.Float64Input `pulumi:"maximumQuantity"` + MaximumRepeat pulumi.Float64Input `pulumi:"maximumRepeat"` + MinimumQuantity pulumi.Float64Input `pulumi:"minimumQuantity"` + MinimumRepeat pulumi.Float64Input `pulumi:"minimumRepeat"` + PriceInUcents pulumi.Float64Input `pulumi:"priceInUcents"` + Prices GetOrderCartProductResultPricePriceArrayInput `pulumi:"prices"` + PricingMode pulumi.StringInput `pulumi:"pricingMode"` + PricingType pulumi.StringInput `pulumi:"pricingType"` +} + +func (GetOrderCartProductResultPriceArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetOrderCartProductResultPrice)(nil)).Elem() +} + +func (i GetOrderCartProductResultPriceArgs) ToGetOrderCartProductResultPriceOutput() GetOrderCartProductResultPriceOutput { + return i.ToGetOrderCartProductResultPriceOutputWithContext(context.Background()) +} + +func (i GetOrderCartProductResultPriceArgs) ToGetOrderCartProductResultPriceOutputWithContext(ctx context.Context) GetOrderCartProductResultPriceOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetOrderCartProductResultPriceOutput) +} + +// GetOrderCartProductResultPriceArrayInput is an input type that accepts GetOrderCartProductResultPriceArray and GetOrderCartProductResultPriceArrayOutput values. +// You can construct a concrete instance of `GetOrderCartProductResultPriceArrayInput` via: +// +// GetOrderCartProductResultPriceArray{ GetOrderCartProductResultPriceArgs{...} } +type GetOrderCartProductResultPriceArrayInput interface { + pulumi.Input + + ToGetOrderCartProductResultPriceArrayOutput() GetOrderCartProductResultPriceArrayOutput + ToGetOrderCartProductResultPriceArrayOutputWithContext(context.Context) GetOrderCartProductResultPriceArrayOutput +} + +type GetOrderCartProductResultPriceArray []GetOrderCartProductResultPriceInput + +func (GetOrderCartProductResultPriceArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetOrderCartProductResultPrice)(nil)).Elem() +} + +func (i GetOrderCartProductResultPriceArray) ToGetOrderCartProductResultPriceArrayOutput() GetOrderCartProductResultPriceArrayOutput { + return i.ToGetOrderCartProductResultPriceArrayOutputWithContext(context.Background()) +} + +func (i GetOrderCartProductResultPriceArray) ToGetOrderCartProductResultPriceArrayOutputWithContext(ctx context.Context) GetOrderCartProductResultPriceArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetOrderCartProductResultPriceArrayOutput) +} + +type GetOrderCartProductResultPriceOutput struct{ *pulumi.OutputState } + +func (GetOrderCartProductResultPriceOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetOrderCartProductResultPrice)(nil)).Elem() +} + +func (o GetOrderCartProductResultPriceOutput) ToGetOrderCartProductResultPriceOutput() GetOrderCartProductResultPriceOutput { + return o +} + +func (o GetOrderCartProductResultPriceOutput) ToGetOrderCartProductResultPriceOutputWithContext(ctx context.Context) GetOrderCartProductResultPriceOutput { + return o +} + +func (o GetOrderCartProductResultPriceOutput) Capacities() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetOrderCartProductResultPrice) []string { return v.Capacities }).(pulumi.StringArrayOutput) +} + +func (o GetOrderCartProductResultPriceOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v GetOrderCartProductResultPrice) string { return v.Description }).(pulumi.StringOutput) +} + +func (o GetOrderCartProductResultPriceOutput) Duration() pulumi.StringOutput { + return o.ApplyT(func(v GetOrderCartProductResultPrice) string { return v.Duration }).(pulumi.StringOutput) +} + +func (o GetOrderCartProductResultPriceOutput) Interval() pulumi.Float64Output { + return o.ApplyT(func(v GetOrderCartProductResultPrice) float64 { return v.Interval }).(pulumi.Float64Output) +} + +func (o GetOrderCartProductResultPriceOutput) MaximumQuantity() pulumi.Float64Output { + return o.ApplyT(func(v GetOrderCartProductResultPrice) float64 { return v.MaximumQuantity }).(pulumi.Float64Output) +} + +func (o GetOrderCartProductResultPriceOutput) MaximumRepeat() pulumi.Float64Output { + return o.ApplyT(func(v GetOrderCartProductResultPrice) float64 { return v.MaximumRepeat }).(pulumi.Float64Output) +} + +func (o GetOrderCartProductResultPriceOutput) MinimumQuantity() pulumi.Float64Output { + return o.ApplyT(func(v GetOrderCartProductResultPrice) float64 { return v.MinimumQuantity }).(pulumi.Float64Output) +} + +func (o GetOrderCartProductResultPriceOutput) MinimumRepeat() pulumi.Float64Output { + return o.ApplyT(func(v GetOrderCartProductResultPrice) float64 { return v.MinimumRepeat }).(pulumi.Float64Output) +} + +func (o GetOrderCartProductResultPriceOutput) PriceInUcents() pulumi.Float64Output { + return o.ApplyT(func(v GetOrderCartProductResultPrice) float64 { return v.PriceInUcents }).(pulumi.Float64Output) +} + +func (o GetOrderCartProductResultPriceOutput) Prices() GetOrderCartProductResultPricePriceArrayOutput { + return o.ApplyT(func(v GetOrderCartProductResultPrice) []GetOrderCartProductResultPricePrice { return v.Prices }).(GetOrderCartProductResultPricePriceArrayOutput) +} + +func (o GetOrderCartProductResultPriceOutput) PricingMode() pulumi.StringOutput { + return o.ApplyT(func(v GetOrderCartProductResultPrice) string { return v.PricingMode }).(pulumi.StringOutput) +} + +func (o GetOrderCartProductResultPriceOutput) PricingType() pulumi.StringOutput { + return o.ApplyT(func(v GetOrderCartProductResultPrice) string { return v.PricingType }).(pulumi.StringOutput) +} + +type GetOrderCartProductResultPriceArrayOutput struct{ *pulumi.OutputState } + +func (GetOrderCartProductResultPriceArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetOrderCartProductResultPrice)(nil)).Elem() +} + +func (o GetOrderCartProductResultPriceArrayOutput) ToGetOrderCartProductResultPriceArrayOutput() GetOrderCartProductResultPriceArrayOutput { + return o +} + +func (o GetOrderCartProductResultPriceArrayOutput) ToGetOrderCartProductResultPriceArrayOutputWithContext(ctx context.Context) GetOrderCartProductResultPriceArrayOutput { + return o +} + +func (o GetOrderCartProductResultPriceArrayOutput) Index(i pulumi.IntInput) GetOrderCartProductResultPriceOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetOrderCartProductResultPrice { + return vs[0].([]GetOrderCartProductResultPrice)[vs[1].(int)] + }).(GetOrderCartProductResultPriceOutput) +} + +type GetOrderCartProductResultPricePrice struct { + CurrencyCode string `pulumi:"currencyCode"` + Text string `pulumi:"text"` + Value float64 `pulumi:"value"` +} + +// GetOrderCartProductResultPricePriceInput is an input type that accepts GetOrderCartProductResultPricePriceArgs and GetOrderCartProductResultPricePriceOutput values. +// You can construct a concrete instance of `GetOrderCartProductResultPricePriceInput` via: +// +// GetOrderCartProductResultPricePriceArgs{...} +type GetOrderCartProductResultPricePriceInput interface { + pulumi.Input + + ToGetOrderCartProductResultPricePriceOutput() GetOrderCartProductResultPricePriceOutput + ToGetOrderCartProductResultPricePriceOutputWithContext(context.Context) GetOrderCartProductResultPricePriceOutput +} + +type GetOrderCartProductResultPricePriceArgs struct { + CurrencyCode pulumi.StringInput `pulumi:"currencyCode"` + Text pulumi.StringInput `pulumi:"text"` + Value pulumi.Float64Input `pulumi:"value"` +} + +func (GetOrderCartProductResultPricePriceArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetOrderCartProductResultPricePrice)(nil)).Elem() +} + +func (i GetOrderCartProductResultPricePriceArgs) ToGetOrderCartProductResultPricePriceOutput() GetOrderCartProductResultPricePriceOutput { + return i.ToGetOrderCartProductResultPricePriceOutputWithContext(context.Background()) +} + +func (i GetOrderCartProductResultPricePriceArgs) ToGetOrderCartProductResultPricePriceOutputWithContext(ctx context.Context) GetOrderCartProductResultPricePriceOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetOrderCartProductResultPricePriceOutput) +} + +// GetOrderCartProductResultPricePriceArrayInput is an input type that accepts GetOrderCartProductResultPricePriceArray and GetOrderCartProductResultPricePriceArrayOutput values. +// You can construct a concrete instance of `GetOrderCartProductResultPricePriceArrayInput` via: +// +// GetOrderCartProductResultPricePriceArray{ GetOrderCartProductResultPricePriceArgs{...} } +type GetOrderCartProductResultPricePriceArrayInput interface { + pulumi.Input + + ToGetOrderCartProductResultPricePriceArrayOutput() GetOrderCartProductResultPricePriceArrayOutput + ToGetOrderCartProductResultPricePriceArrayOutputWithContext(context.Context) GetOrderCartProductResultPricePriceArrayOutput +} + +type GetOrderCartProductResultPricePriceArray []GetOrderCartProductResultPricePriceInput + +func (GetOrderCartProductResultPricePriceArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetOrderCartProductResultPricePrice)(nil)).Elem() +} + +func (i GetOrderCartProductResultPricePriceArray) ToGetOrderCartProductResultPricePriceArrayOutput() GetOrderCartProductResultPricePriceArrayOutput { + return i.ToGetOrderCartProductResultPricePriceArrayOutputWithContext(context.Background()) +} + +func (i GetOrderCartProductResultPricePriceArray) ToGetOrderCartProductResultPricePriceArrayOutputWithContext(ctx context.Context) GetOrderCartProductResultPricePriceArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetOrderCartProductResultPricePriceArrayOutput) +} + +type GetOrderCartProductResultPricePriceOutput struct{ *pulumi.OutputState } + +func (GetOrderCartProductResultPricePriceOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetOrderCartProductResultPricePrice)(nil)).Elem() +} + +func (o GetOrderCartProductResultPricePriceOutput) ToGetOrderCartProductResultPricePriceOutput() GetOrderCartProductResultPricePriceOutput { + return o +} + +func (o GetOrderCartProductResultPricePriceOutput) ToGetOrderCartProductResultPricePriceOutputWithContext(ctx context.Context) GetOrderCartProductResultPricePriceOutput { + return o +} + +func (o GetOrderCartProductResultPricePriceOutput) CurrencyCode() pulumi.StringOutput { + return o.ApplyT(func(v GetOrderCartProductResultPricePrice) string { return v.CurrencyCode }).(pulumi.StringOutput) +} + +func (o GetOrderCartProductResultPricePriceOutput) Text() pulumi.StringOutput { + return o.ApplyT(func(v GetOrderCartProductResultPricePrice) string { return v.Text }).(pulumi.StringOutput) +} + +func (o GetOrderCartProductResultPricePriceOutput) Value() pulumi.Float64Output { + return o.ApplyT(func(v GetOrderCartProductResultPricePrice) float64 { return v.Value }).(pulumi.Float64Output) +} + +type GetOrderCartProductResultPricePriceArrayOutput struct{ *pulumi.OutputState } + +func (GetOrderCartProductResultPricePriceArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetOrderCartProductResultPricePrice)(nil)).Elem() +} + +func (o GetOrderCartProductResultPricePriceArrayOutput) ToGetOrderCartProductResultPricePriceArrayOutput() GetOrderCartProductResultPricePriceArrayOutput { + return o +} + +func (o GetOrderCartProductResultPricePriceArrayOutput) ToGetOrderCartProductResultPricePriceArrayOutputWithContext(ctx context.Context) GetOrderCartProductResultPricePriceArrayOutput { + return o +} + +func (o GetOrderCartProductResultPricePriceArrayOutput) Index(i pulumi.IntInput) GetOrderCartProductResultPricePriceOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetOrderCartProductResultPricePrice { + return vs[0].([]GetOrderCartProductResultPricePrice)[vs[1].(int)] + }).(GetOrderCartProductResultPricePriceOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*CloudProjectAlertingFormattedMonthlyThresholdInput)(nil)).Elem(), CloudProjectAlertingFormattedMonthlyThresholdArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*CloudProjectAlertingFormattedMonthlyThresholdPtrInput)(nil)).Elem(), CloudProjectAlertingFormattedMonthlyThresholdArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*CloudProjectContainerregistryOidcTimeoutsInput)(nil)).Elem(), CloudProjectContainerregistryOidcTimeoutsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*CloudProjectContainerregistryOidcTimeoutsPtrInput)(nil)).Elem(), CloudProjectContainerregistryOidcTimeoutsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*CloudProjectContainerregistryPlanInput)(nil)).Elem(), CloudProjectContainerregistryPlanArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*CloudProjectContainerregistryPlanArrayInput)(nil)).Elem(), CloudProjectContainerregistryPlanArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*CloudProjectContainerregistryPlanFeatureInput)(nil)).Elem(), CloudProjectContainerregistryPlanFeatureArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*CloudProjectContainerregistryPlanFeatureArrayInput)(nil)).Elem(), CloudProjectContainerregistryPlanFeatureArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*CloudProjectContainerregistryPlanRegistryLimitInput)(nil)).Elem(), CloudProjectContainerregistryPlanRegistryLimitArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*CloudProjectContainerregistryPlanRegistryLimitArrayInput)(nil)).Elem(), CloudProjectContainerregistryPlanRegistryLimitArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*CloudProjectDatabaseDatabaseTimeoutsInput)(nil)).Elem(), CloudProjectDatabaseDatabaseTimeoutsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*CloudProjectDatabaseDatabaseTimeoutsPtrInput)(nil)).Elem(), CloudProjectDatabaseDatabaseTimeoutsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*CloudProjectDatabaseEndpointInput)(nil)).Elem(), CloudProjectDatabaseEndpointArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*CloudProjectDatabaseEndpointArrayInput)(nil)).Elem(), CloudProjectDatabaseEndpointArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*CloudProjectDatabaseIntegrationTimeoutsInput)(nil)).Elem(), CloudProjectDatabaseIntegrationTimeoutsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*CloudProjectDatabaseIntegrationTimeoutsPtrInput)(nil)).Elem(), CloudProjectDatabaseIntegrationTimeoutsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*CloudProjectDatabaseIpRestrictionTypeInput)(nil)).Elem(), CloudProjectDatabaseIpRestrictionTypeArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*CloudProjectDatabaseIpRestrictionTypeArrayInput)(nil)).Elem(), CloudProjectDatabaseIpRestrictionTypeArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*CloudProjectDatabaseIpRestrictionTimeoutsInput)(nil)).Elem(), CloudProjectDatabaseIpRestrictionTimeoutsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*CloudProjectDatabaseIpRestrictionTimeoutsPtrInput)(nil)).Elem(), CloudProjectDatabaseIpRestrictionTimeoutsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*CloudProjectDatabaseKafkaAclTimeoutsInput)(nil)).Elem(), CloudProjectDatabaseKafkaAclTimeoutsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*CloudProjectDatabaseKafkaAclTimeoutsPtrInput)(nil)).Elem(), CloudProjectDatabaseKafkaAclTimeoutsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*CloudProjectDatabaseKafkaSchemaregistryaclTimeoutsInput)(nil)).Elem(), CloudProjectDatabaseKafkaSchemaregistryaclTimeoutsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*CloudProjectDatabaseKafkaSchemaregistryaclTimeoutsPtrInput)(nil)).Elem(), CloudProjectDatabaseKafkaSchemaregistryaclTimeoutsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*CloudProjectDatabaseKafkaTopicTimeoutsInput)(nil)).Elem(), CloudProjectDatabaseKafkaTopicTimeoutsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*CloudProjectDatabaseKafkaTopicTimeoutsPtrInput)(nil)).Elem(), CloudProjectDatabaseKafkaTopicTimeoutsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*CloudProjectDatabaseLogSubscriptionTimeoutsInput)(nil)).Elem(), CloudProjectDatabaseLogSubscriptionTimeoutsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*CloudProjectDatabaseLogSubscriptionTimeoutsPtrInput)(nil)).Elem(), CloudProjectDatabaseLogSubscriptionTimeoutsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*CloudProjectDatabaseM3dbNamespaceTimeoutsInput)(nil)).Elem(), CloudProjectDatabaseM3dbNamespaceTimeoutsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*CloudProjectDatabaseM3dbNamespaceTimeoutsPtrInput)(nil)).Elem(), CloudProjectDatabaseM3dbNamespaceTimeoutsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*CloudProjectDatabaseM3dbUserTimeoutsInput)(nil)).Elem(), CloudProjectDatabaseM3dbUserTimeoutsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*CloudProjectDatabaseM3dbUserTimeoutsPtrInput)(nil)).Elem(), CloudProjectDatabaseM3dbUserTimeoutsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*CloudProjectDatabaseMongodbUserTimeoutsInput)(nil)).Elem(), CloudProjectDatabaseMongodbUserTimeoutsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*CloudProjectDatabaseMongodbUserTimeoutsPtrInput)(nil)).Elem(), CloudProjectDatabaseMongodbUserTimeoutsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*CloudProjectDatabaseNodeInput)(nil)).Elem(), CloudProjectDatabaseNodeArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*CloudProjectDatabaseNodeArrayInput)(nil)).Elem(), CloudProjectDatabaseNodeArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*CloudProjectDatabaseOpensearchPatternTimeoutsInput)(nil)).Elem(), CloudProjectDatabaseOpensearchPatternTimeoutsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*CloudProjectDatabaseOpensearchPatternTimeoutsPtrInput)(nil)).Elem(), CloudProjectDatabaseOpensearchPatternTimeoutsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*CloudProjectDatabaseOpensearchUserAclInput)(nil)).Elem(), CloudProjectDatabaseOpensearchUserAclArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*CloudProjectDatabaseOpensearchUserAclArrayInput)(nil)).Elem(), CloudProjectDatabaseOpensearchUserAclArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*CloudProjectDatabaseOpensearchUserTimeoutsInput)(nil)).Elem(), CloudProjectDatabaseOpensearchUserTimeoutsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*CloudProjectDatabaseOpensearchUserTimeoutsPtrInput)(nil)).Elem(), CloudProjectDatabaseOpensearchUserTimeoutsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*CloudProjectDatabasePostgresqlConnectionPoolTimeoutsInput)(nil)).Elem(), CloudProjectDatabasePostgresqlConnectionPoolTimeoutsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*CloudProjectDatabasePostgresqlConnectionPoolTimeoutsPtrInput)(nil)).Elem(), CloudProjectDatabasePostgresqlConnectionPoolTimeoutsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*CloudProjectDatabasePostgresqlUserTimeoutsInput)(nil)).Elem(), CloudProjectDatabasePostgresqlUserTimeoutsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*CloudProjectDatabasePostgresqlUserTimeoutsPtrInput)(nil)).Elem(), CloudProjectDatabasePostgresqlUserTimeoutsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*CloudProjectDatabaseRedisUserTimeoutsInput)(nil)).Elem(), CloudProjectDatabaseRedisUserTimeoutsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*CloudProjectDatabaseRedisUserTimeoutsPtrInput)(nil)).Elem(), CloudProjectDatabaseRedisUserTimeoutsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*CloudProjectDatabaseTimeoutsInput)(nil)).Elem(), CloudProjectDatabaseTimeoutsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*CloudProjectDatabaseTimeoutsPtrInput)(nil)).Elem(), CloudProjectDatabaseTimeoutsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*CloudProjectDatabaseUserTimeoutsInput)(nil)).Elem(), CloudProjectDatabaseUserTimeoutsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*CloudProjectDatabaseUserTimeoutsPtrInput)(nil)).Elem(), CloudProjectDatabaseUserTimeoutsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*CloudProjectGatewayExternalInformationInput)(nil)).Elem(), CloudProjectGatewayExternalInformationArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*CloudProjectGatewayExternalInformationArrayInput)(nil)).Elem(), CloudProjectGatewayExternalInformationArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*CloudProjectGatewayExternalInformationIpInput)(nil)).Elem(), CloudProjectGatewayExternalInformationIpArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*CloudProjectGatewayExternalInformationIpArrayInput)(nil)).Elem(), CloudProjectGatewayExternalInformationIpArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*CloudProjectGatewayInterfaceTypeInput)(nil)).Elem(), CloudProjectGatewayInterfaceTypeArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*CloudProjectGatewayInterfaceTypeArrayInput)(nil)).Elem(), CloudProjectGatewayInterfaceTypeArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*CloudProjectKubeCustomizationInput)(nil)).Elem(), CloudProjectKubeCustomizationArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*CloudProjectKubeCustomizationArrayInput)(nil)).Elem(), CloudProjectKubeCustomizationArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*CloudProjectKubeCustomizationApiserverInput)(nil)).Elem(), CloudProjectKubeCustomizationApiserverArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*CloudProjectKubeCustomizationApiserverArrayInput)(nil)).Elem(), CloudProjectKubeCustomizationApiserverArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*CloudProjectKubeCustomizationApiserverAdmissionpluginInput)(nil)).Elem(), CloudProjectKubeCustomizationApiserverAdmissionpluginArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*CloudProjectKubeCustomizationApiserverAdmissionpluginArrayInput)(nil)).Elem(), CloudProjectKubeCustomizationApiserverAdmissionpluginArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*CloudProjectKubeCustomizationKubeProxyInput)(nil)).Elem(), CloudProjectKubeCustomizationKubeProxyArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*CloudProjectKubeCustomizationKubeProxyPtrInput)(nil)).Elem(), CloudProjectKubeCustomizationKubeProxyArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*CloudProjectKubeCustomizationKubeProxyIptablesInput)(nil)).Elem(), CloudProjectKubeCustomizationKubeProxyIptablesArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*CloudProjectKubeCustomizationKubeProxyIptablesPtrInput)(nil)).Elem(), CloudProjectKubeCustomizationKubeProxyIptablesArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*CloudProjectKubeCustomizationKubeProxyIpvsInput)(nil)).Elem(), CloudProjectKubeCustomizationKubeProxyIpvsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*CloudProjectKubeCustomizationKubeProxyIpvsPtrInput)(nil)).Elem(), CloudProjectKubeCustomizationKubeProxyIpvsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*CloudProjectKubeIprestrictionsTimeoutsInput)(nil)).Elem(), CloudProjectKubeIprestrictionsTimeoutsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*CloudProjectKubeIprestrictionsTimeoutsPtrInput)(nil)).Elem(), CloudProjectKubeIprestrictionsTimeoutsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*CloudProjectKubeKubeconfigAttributeInput)(nil)).Elem(), CloudProjectKubeKubeconfigAttributeArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*CloudProjectKubeKubeconfigAttributeArrayInput)(nil)).Elem(), CloudProjectKubeKubeconfigAttributeArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*CloudProjectKubeNodepoolTemplateInput)(nil)).Elem(), CloudProjectKubeNodepoolTemplateArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*CloudProjectKubeNodepoolTemplatePtrInput)(nil)).Elem(), CloudProjectKubeNodepoolTemplateArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*CloudProjectKubeNodepoolTemplateMetadataInput)(nil)).Elem(), CloudProjectKubeNodepoolTemplateMetadataArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*CloudProjectKubeNodepoolTemplateMetadataPtrInput)(nil)).Elem(), CloudProjectKubeNodepoolTemplateMetadataArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*CloudProjectKubeNodepoolTemplateSpecInput)(nil)).Elem(), CloudProjectKubeNodepoolTemplateSpecArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*CloudProjectKubeNodepoolTemplateSpecPtrInput)(nil)).Elem(), CloudProjectKubeNodepoolTemplateSpecArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*CloudProjectKubeNodepoolTimeoutsInput)(nil)).Elem(), CloudProjectKubeNodepoolTimeoutsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*CloudProjectKubeNodepoolTimeoutsPtrInput)(nil)).Elem(), CloudProjectKubeNodepoolTimeoutsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*CloudProjectKubeOidcTimeoutsInput)(nil)).Elem(), CloudProjectKubeOidcTimeoutsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*CloudProjectKubeOidcTimeoutsPtrInput)(nil)).Elem(), CloudProjectKubeOidcTimeoutsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*CloudProjectKubePrivateNetworkConfigurationInput)(nil)).Elem(), CloudProjectKubePrivateNetworkConfigurationArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*CloudProjectKubePrivateNetworkConfigurationPtrInput)(nil)).Elem(), CloudProjectKubePrivateNetworkConfigurationArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*CloudProjectKubeTimeoutsInput)(nil)).Elem(), CloudProjectKubeTimeoutsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*CloudProjectKubeTimeoutsPtrInput)(nil)).Elem(), CloudProjectKubeTimeoutsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*CloudProjectNetworkPrivateRegionsAttributeInput)(nil)).Elem(), CloudProjectNetworkPrivateRegionsAttributeArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*CloudProjectNetworkPrivateRegionsAttributeArrayInput)(nil)).Elem(), CloudProjectNetworkPrivateRegionsAttributeArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*CloudProjectNetworkPrivateRegionsStatusInput)(nil)).Elem(), CloudProjectNetworkPrivateRegionsStatusArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*CloudProjectNetworkPrivateRegionsStatusArrayInput)(nil)).Elem(), CloudProjectNetworkPrivateRegionsStatusArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*CloudProjectNetworkPrivateSubnetIpPoolInput)(nil)).Elem(), CloudProjectNetworkPrivateSubnetIpPoolArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*CloudProjectNetworkPrivateSubnetIpPoolArrayInput)(nil)).Elem(), CloudProjectNetworkPrivateSubnetIpPoolArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*CloudProjectOrderInput)(nil)).Elem(), CloudProjectOrderArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*CloudProjectOrderArrayInput)(nil)).Elem(), CloudProjectOrderArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*CloudProjectOrderDetailInput)(nil)).Elem(), CloudProjectOrderDetailArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*CloudProjectOrderDetailArrayInput)(nil)).Elem(), CloudProjectOrderDetailArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*CloudProjectPlanInput)(nil)).Elem(), CloudProjectPlanArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*CloudProjectPlanPtrInput)(nil)).Elem(), CloudProjectPlanArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*CloudProjectPlanConfigurationInput)(nil)).Elem(), CloudProjectPlanConfigurationArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*CloudProjectPlanConfigurationArrayInput)(nil)).Elem(), CloudProjectPlanConfigurationArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*CloudProjectPlanOptionInput)(nil)).Elem(), CloudProjectPlanOptionArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*CloudProjectPlanOptionArrayInput)(nil)).Elem(), CloudProjectPlanOptionArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*CloudProjectPlanOptionConfigurationInput)(nil)).Elem(), CloudProjectPlanOptionConfigurationArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*CloudProjectPlanOptionConfigurationArrayInput)(nil)).Elem(), CloudProjectPlanOptionConfigurationArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*CloudProjectUserRoleInput)(nil)).Elem(), CloudProjectUserRoleArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*CloudProjectUserRoleArrayInput)(nil)).Elem(), CloudProjectUserRoleArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*DbaasLogsInputConfigurationInput)(nil)).Elem(), DbaasLogsInputConfigurationArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DbaasLogsInputConfigurationPtrInput)(nil)).Elem(), DbaasLogsInputConfigurationArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DbaasLogsInputConfigurationFlowggerInput)(nil)).Elem(), DbaasLogsInputConfigurationFlowggerArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DbaasLogsInputConfigurationFlowggerPtrInput)(nil)).Elem(), DbaasLogsInputConfigurationFlowggerArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DbaasLogsInputConfigurationLogstashInput)(nil)).Elem(), DbaasLogsInputConfigurationLogstashArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DbaasLogsInputConfigurationLogstashPtrInput)(nil)).Elem(), DbaasLogsInputConfigurationLogstashArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DedicatedServerInstallTaskDetailsInput)(nil)).Elem(), DedicatedServerInstallTaskDetailsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DedicatedServerInstallTaskDetailsPtrInput)(nil)).Elem(), DedicatedServerInstallTaskDetailsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DedicatedServerInstallTaskTimeoutsInput)(nil)).Elem(), DedicatedServerInstallTaskTimeoutsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DedicatedServerInstallTaskTimeoutsPtrInput)(nil)).Elem(), DedicatedServerInstallTaskTimeoutsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DedicatedServerInstallTaskUserMetadataInput)(nil)).Elem(), DedicatedServerInstallTaskUserMetadataArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DedicatedServerInstallTaskUserMetadataArrayInput)(nil)).Elem(), DedicatedServerInstallTaskUserMetadataArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*DedicatedServerNetworkingInterfaceInput)(nil)).Elem(), DedicatedServerNetworkingInterfaceArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DedicatedServerNetworkingInterfaceArrayInput)(nil)).Elem(), DedicatedServerNetworkingInterfaceArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*DedicatedServerNetworkingTimeoutsInput)(nil)).Elem(), DedicatedServerNetworkingTimeoutsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DedicatedServerNetworkingTimeoutsPtrInput)(nil)).Elem(), DedicatedServerNetworkingTimeoutsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DomainZoneOrderInput)(nil)).Elem(), DomainZoneOrderArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DomainZoneOrderArrayInput)(nil)).Elem(), DomainZoneOrderArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*DomainZoneOrderDetailInput)(nil)).Elem(), DomainZoneOrderDetailArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DomainZoneOrderDetailArrayInput)(nil)).Elem(), DomainZoneOrderDetailArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*DomainZonePlanInput)(nil)).Elem(), DomainZonePlanArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DomainZonePlanPtrInput)(nil)).Elem(), DomainZonePlanArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DomainZonePlanConfigurationInput)(nil)).Elem(), DomainZonePlanConfigurationArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DomainZonePlanConfigurationArrayInput)(nil)).Elem(), DomainZonePlanConfigurationArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*DomainZonePlanOptionInput)(nil)).Elem(), DomainZonePlanOptionArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DomainZonePlanOptionArrayInput)(nil)).Elem(), DomainZonePlanOptionArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*DomainZonePlanOptionConfigurationInput)(nil)).Elem(), DomainZonePlanOptionConfigurationArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DomainZonePlanOptionConfigurationArrayInput)(nil)).Elem(), DomainZonePlanOptionConfigurationArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*HostingPrivatedatabaseOrderInput)(nil)).Elem(), HostingPrivatedatabaseOrderArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*HostingPrivatedatabaseOrderArrayInput)(nil)).Elem(), HostingPrivatedatabaseOrderArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*HostingPrivatedatabaseOrderDetailInput)(nil)).Elem(), HostingPrivatedatabaseOrderDetailArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*HostingPrivatedatabaseOrderDetailArrayInput)(nil)).Elem(), HostingPrivatedatabaseOrderDetailArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*HostingPrivatedatabasePlanInput)(nil)).Elem(), HostingPrivatedatabasePlanArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*HostingPrivatedatabasePlanPtrInput)(nil)).Elem(), HostingPrivatedatabasePlanArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*HostingPrivatedatabasePlanConfigurationInput)(nil)).Elem(), HostingPrivatedatabasePlanConfigurationArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*HostingPrivatedatabasePlanConfigurationArrayInput)(nil)).Elem(), HostingPrivatedatabasePlanConfigurationArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*HostingPrivatedatabasePlanOptionInput)(nil)).Elem(), HostingPrivatedatabasePlanOptionArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*HostingPrivatedatabasePlanOptionArrayInput)(nil)).Elem(), HostingPrivatedatabasePlanOptionArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*HostingPrivatedatabasePlanOptionConfigurationInput)(nil)).Elem(), HostingPrivatedatabasePlanOptionConfigurationArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*HostingPrivatedatabasePlanOptionConfigurationArrayInput)(nil)).Elem(), HostingPrivatedatabasePlanOptionConfigurationArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*IpMoveRoutedToInput)(nil)).Elem(), IpMoveRoutedToArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*IpMoveRoutedToPtrInput)(nil)).Elem(), IpMoveRoutedToArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*IpServiceOrderInput)(nil)).Elem(), IpServiceOrderArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*IpServiceOrderArrayInput)(nil)).Elem(), IpServiceOrderArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*IpServiceOrderDetailInput)(nil)).Elem(), IpServiceOrderDetailArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*IpServiceOrderDetailArrayInput)(nil)).Elem(), IpServiceOrderDetailArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*IpServicePlanInput)(nil)).Elem(), IpServicePlanArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*IpServicePlanPtrInput)(nil)).Elem(), IpServicePlanArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*IpServicePlanConfigurationInput)(nil)).Elem(), IpServicePlanConfigurationArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*IpServicePlanConfigurationArrayInput)(nil)).Elem(), IpServicePlanConfigurationArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*IpServicePlanOptionInput)(nil)).Elem(), IpServicePlanOptionArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*IpServicePlanOptionArrayInput)(nil)).Elem(), IpServicePlanOptionArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*IpServicePlanOptionConfigurationInput)(nil)).Elem(), IpServicePlanOptionConfigurationArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*IpServicePlanOptionConfigurationArrayInput)(nil)).Elem(), IpServicePlanOptionConfigurationArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*IpServiceRoutedToInput)(nil)).Elem(), IpServiceRoutedToArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*IpServiceRoutedToArrayInput)(nil)).Elem(), IpServiceRoutedToArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*IploadbalancingHttpFarmProbeInput)(nil)).Elem(), IploadbalancingHttpFarmProbeArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*IploadbalancingHttpFarmProbePtrInput)(nil)).Elem(), IploadbalancingHttpFarmProbeArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*IploadbalancingHttpRouteActionInput)(nil)).Elem(), IploadbalancingHttpRouteActionArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*IploadbalancingHttpRouteActionPtrInput)(nil)).Elem(), IploadbalancingHttpRouteActionArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*IploadbalancingHttpRouteRuleTypeInput)(nil)).Elem(), IploadbalancingHttpRouteRuleTypeArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*IploadbalancingHttpRouteRuleTypeArrayInput)(nil)).Elem(), IploadbalancingHttpRouteRuleTypeArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*IploadbalancingOrderInput)(nil)).Elem(), IploadbalancingOrderArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*IploadbalancingOrderArrayInput)(nil)).Elem(), IploadbalancingOrderArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*IploadbalancingOrderDetailInput)(nil)).Elem(), IploadbalancingOrderDetailArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*IploadbalancingOrderDetailArrayInput)(nil)).Elem(), IploadbalancingOrderDetailArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*IploadbalancingOrderableZoneInput)(nil)).Elem(), IploadbalancingOrderableZoneArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*IploadbalancingOrderableZoneArrayInput)(nil)).Elem(), IploadbalancingOrderableZoneArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*IploadbalancingPlanInput)(nil)).Elem(), IploadbalancingPlanArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*IploadbalancingPlanPtrInput)(nil)).Elem(), IploadbalancingPlanArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*IploadbalancingPlanConfigurationInput)(nil)).Elem(), IploadbalancingPlanConfigurationArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*IploadbalancingPlanConfigurationArrayInput)(nil)).Elem(), IploadbalancingPlanConfigurationArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*IploadbalancingPlanOptionInput)(nil)).Elem(), IploadbalancingPlanOptionArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*IploadbalancingPlanOptionArrayInput)(nil)).Elem(), IploadbalancingPlanOptionArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*IploadbalancingPlanOptionConfigurationInput)(nil)).Elem(), IploadbalancingPlanOptionConfigurationArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*IploadbalancingPlanOptionConfigurationArrayInput)(nil)).Elem(), IploadbalancingPlanOptionConfigurationArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*IploadbalancingTcpFarmProbeInput)(nil)).Elem(), IploadbalancingTcpFarmProbeArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*IploadbalancingTcpFarmProbePtrInput)(nil)).Elem(), IploadbalancingTcpFarmProbeArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*IploadbalancingTcpRouteActionInput)(nil)).Elem(), IploadbalancingTcpRouteActionArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*IploadbalancingTcpRouteActionPtrInput)(nil)).Elem(), IploadbalancingTcpRouteActionArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*IploadbalancingTcpRouteRuleTypeInput)(nil)).Elem(), IploadbalancingTcpRouteRuleTypeArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*IploadbalancingTcpRouteRuleTypeArrayInput)(nil)).Elem(), IploadbalancingTcpRouteRuleTypeArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*MeInstallationTemplateCustomizationInput)(nil)).Elem(), MeInstallationTemplateCustomizationArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*MeInstallationTemplateCustomizationPtrInput)(nil)).Elem(), MeInstallationTemplateCustomizationArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*MeInstallationTemplateInputTypeInput)(nil)).Elem(), MeInstallationTemplateInputTypeArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*MeInstallationTemplateInputTypeArrayInput)(nil)).Elem(), MeInstallationTemplateInputTypeArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*VpsIamInput)(nil)).Elem(), VpsIamArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*VpsIamPtrInput)(nil)).Elem(), VpsIamArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*VpsModelInput)(nil)).Elem(), VpsModelArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*VpsModelPtrInput)(nil)).Elem(), VpsModelArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*VpsOrderInput)(nil)).Elem(), VpsOrderArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*VpsOrderPtrInput)(nil)).Elem(), VpsOrderArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*VpsOrderDetailInput)(nil)).Elem(), VpsOrderDetailArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*VpsOrderDetailArrayInput)(nil)).Elem(), VpsOrderDetailArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*VpsPlanInput)(nil)).Elem(), VpsPlanArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*VpsPlanArrayInput)(nil)).Elem(), VpsPlanArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*VpsPlanConfigurationInput)(nil)).Elem(), VpsPlanConfigurationArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*VpsPlanConfigurationArrayInput)(nil)).Elem(), VpsPlanConfigurationArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*VpsPlanOptionInput)(nil)).Elem(), VpsPlanOptionArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*VpsPlanOptionArrayInput)(nil)).Elem(), VpsPlanOptionArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*VpsPlanOptionConfigurationInput)(nil)).Elem(), VpsPlanOptionConfigurationArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*VpsPlanOptionConfigurationArrayInput)(nil)).Elem(), VpsPlanOptionConfigurationArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*VrackOrderInput)(nil)).Elem(), VrackOrderArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*VrackOrderArrayInput)(nil)).Elem(), VrackOrderArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*VrackOrderDetailInput)(nil)).Elem(), VrackOrderDetailArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*VrackOrderDetailArrayInput)(nil)).Elem(), VrackOrderDetailArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*VrackPlanInput)(nil)).Elem(), VrackPlanArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*VrackPlanPtrInput)(nil)).Elem(), VrackPlanArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*VrackPlanConfigurationInput)(nil)).Elem(), VrackPlanConfigurationArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*VrackPlanConfigurationArrayInput)(nil)).Elem(), VrackPlanConfigurationArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*VrackPlanOptionInput)(nil)).Elem(), VrackPlanOptionArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*VrackPlanOptionArrayInput)(nil)).Elem(), VrackPlanOptionArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*VrackPlanOptionConfigurationInput)(nil)).Elem(), VrackPlanOptionConfigurationArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*VrackPlanOptionConfigurationArrayInput)(nil)).Elem(), VrackPlanOptionConfigurationArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetCloudProjectCapabilitiesContainerregistryFilterFeatureInput)(nil)).Elem(), GetCloudProjectCapabilitiesContainerregistryFilterFeatureArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetCloudProjectCapabilitiesContainerregistryFilterFeatureArrayInput)(nil)).Elem(), GetCloudProjectCapabilitiesContainerregistryFilterFeatureArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetCloudProjectCapabilitiesContainerregistryFilterRegistryLimitInput)(nil)).Elem(), GetCloudProjectCapabilitiesContainerregistryFilterRegistryLimitArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetCloudProjectCapabilitiesContainerregistryFilterRegistryLimitArrayInput)(nil)).Elem(), GetCloudProjectCapabilitiesContainerregistryFilterRegistryLimitArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetCloudProjectCapabilitiesContainerregistryResultInput)(nil)).Elem(), GetCloudProjectCapabilitiesContainerregistryResultArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetCloudProjectCapabilitiesContainerregistryResultArrayInput)(nil)).Elem(), GetCloudProjectCapabilitiesContainerregistryResultArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetCloudProjectCapabilitiesContainerregistryResultPlanInput)(nil)).Elem(), GetCloudProjectCapabilitiesContainerregistryResultPlanArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetCloudProjectCapabilitiesContainerregistryResultPlanArrayInput)(nil)).Elem(), GetCloudProjectCapabilitiesContainerregistryResultPlanArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetCloudProjectCapabilitiesContainerregistryResultPlanFeatureInput)(nil)).Elem(), GetCloudProjectCapabilitiesContainerregistryResultPlanFeatureArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetCloudProjectCapabilitiesContainerregistryResultPlanFeatureArrayInput)(nil)).Elem(), GetCloudProjectCapabilitiesContainerregistryResultPlanFeatureArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetCloudProjectCapabilitiesContainerregistryResultPlanRegistryLimitInput)(nil)).Elem(), GetCloudProjectCapabilitiesContainerregistryResultPlanRegistryLimitArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetCloudProjectCapabilitiesContainerregistryResultPlanRegistryLimitArrayInput)(nil)).Elem(), GetCloudProjectCapabilitiesContainerregistryResultPlanRegistryLimitArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetCloudProjectContainerregistriesResultInput)(nil)).Elem(), GetCloudProjectContainerregistriesResultArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetCloudProjectContainerregistriesResultArrayInput)(nil)).Elem(), GetCloudProjectContainerregistriesResultArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetCloudProjectContainerregistryUsersResultInput)(nil)).Elem(), GetCloudProjectContainerregistryUsersResultArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetCloudProjectContainerregistryUsersResultArrayInput)(nil)).Elem(), GetCloudProjectContainerregistryUsersResultArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetCloudProjectDatabaseCapabilitiesEngineInput)(nil)).Elem(), GetCloudProjectDatabaseCapabilitiesEngineArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetCloudProjectDatabaseCapabilitiesEngineArrayInput)(nil)).Elem(), GetCloudProjectDatabaseCapabilitiesEngineArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetCloudProjectDatabaseCapabilitiesFlavorInput)(nil)).Elem(), GetCloudProjectDatabaseCapabilitiesFlavorArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetCloudProjectDatabaseCapabilitiesFlavorArrayInput)(nil)).Elem(), GetCloudProjectDatabaseCapabilitiesFlavorArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetCloudProjectDatabaseCapabilitiesOptionInput)(nil)).Elem(), GetCloudProjectDatabaseCapabilitiesOptionArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetCloudProjectDatabaseCapabilitiesOptionArrayInput)(nil)).Elem(), GetCloudProjectDatabaseCapabilitiesOptionArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetCloudProjectDatabaseCapabilitiesPlanInput)(nil)).Elem(), GetCloudProjectDatabaseCapabilitiesPlanArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetCloudProjectDatabaseCapabilitiesPlanArrayInput)(nil)).Elem(), GetCloudProjectDatabaseCapabilitiesPlanArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetCloudProjectDatabaseEndpointInput)(nil)).Elem(), GetCloudProjectDatabaseEndpointArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetCloudProjectDatabaseEndpointArrayInput)(nil)).Elem(), GetCloudProjectDatabaseEndpointArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetCloudProjectDatabaseIpRestrictionTypeInput)(nil)).Elem(), GetCloudProjectDatabaseIpRestrictionTypeArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetCloudProjectDatabaseIpRestrictionTypeArrayInput)(nil)).Elem(), GetCloudProjectDatabaseIpRestrictionTypeArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetCloudProjectDatabaseNodeInput)(nil)).Elem(), GetCloudProjectDatabaseNodeArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetCloudProjectDatabaseNodeArrayInput)(nil)).Elem(), GetCloudProjectDatabaseNodeArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetCloudProjectDatabaseOpensearchUserAclInput)(nil)).Elem(), GetCloudProjectDatabaseOpensearchUserAclArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetCloudProjectDatabaseOpensearchUserAclArrayInput)(nil)).Elem(), GetCloudProjectDatabaseOpensearchUserAclArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetCloudProjectIamInput)(nil)).Elem(), GetCloudProjectIamArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetCloudProjectKubeCustomizationInput)(nil)).Elem(), GetCloudProjectKubeCustomizationArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetCloudProjectKubeCustomizationArrayInput)(nil)).Elem(), GetCloudProjectKubeCustomizationArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetCloudProjectKubeCustomizationApiserverInput)(nil)).Elem(), GetCloudProjectKubeCustomizationApiserverArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetCloudProjectKubeCustomizationApiserverArrayInput)(nil)).Elem(), GetCloudProjectKubeCustomizationApiserverArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetCloudProjectKubeCustomizationApiserverAdmissionpluginInput)(nil)).Elem(), GetCloudProjectKubeCustomizationApiserverAdmissionpluginArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetCloudProjectKubeCustomizationApiserverAdmissionpluginArrayInput)(nil)).Elem(), GetCloudProjectKubeCustomizationApiserverAdmissionpluginArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetCloudProjectKubeCustomizationKubeProxyInput)(nil)).Elem(), GetCloudProjectKubeCustomizationKubeProxyArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetCloudProjectKubeCustomizationKubeProxyPtrInput)(nil)).Elem(), GetCloudProjectKubeCustomizationKubeProxyArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetCloudProjectKubeCustomizationKubeProxyIptablesInput)(nil)).Elem(), GetCloudProjectKubeCustomizationKubeProxyIptablesArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetCloudProjectKubeCustomizationKubeProxyIptablesPtrInput)(nil)).Elem(), GetCloudProjectKubeCustomizationKubeProxyIptablesArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetCloudProjectKubeCustomizationKubeProxyIpvsInput)(nil)).Elem(), GetCloudProjectKubeCustomizationKubeProxyIpvsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetCloudProjectKubeCustomizationKubeProxyIpvsPtrInput)(nil)).Elem(), GetCloudProjectKubeCustomizationKubeProxyIpvsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetCloudProjectKubeNodepoolNodesNodeInput)(nil)).Elem(), GetCloudProjectKubeNodepoolNodesNodeArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetCloudProjectKubeNodepoolNodesNodeArrayInput)(nil)).Elem(), GetCloudProjectKubeNodepoolNodesNodeArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetCloudProjectKubeNodepoolTemplateInput)(nil)).Elem(), GetCloudProjectKubeNodepoolTemplateArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetCloudProjectKubeNodepoolTemplatePtrInput)(nil)).Elem(), GetCloudProjectKubeNodepoolTemplateArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetCloudProjectKubeNodepoolTemplateMetadataInput)(nil)).Elem(), GetCloudProjectKubeNodepoolTemplateMetadataArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetCloudProjectKubeNodepoolTemplateMetadataPtrInput)(nil)).Elem(), GetCloudProjectKubeNodepoolTemplateMetadataArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetCloudProjectKubeNodepoolTemplateSpecInput)(nil)).Elem(), GetCloudProjectKubeNodepoolTemplateSpecArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetCloudProjectKubeNodepoolTemplateSpecPtrInput)(nil)).Elem(), GetCloudProjectKubeNodepoolTemplateSpecArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetCloudProjectKubeNodesNodeInput)(nil)).Elem(), GetCloudProjectKubeNodesNodeArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetCloudProjectKubeNodesNodeArrayInput)(nil)).Elem(), GetCloudProjectKubeNodesNodeArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetCloudProjectLoadbalancerFloatingIpInput)(nil)).Elem(), GetCloudProjectLoadbalancerFloatingIpArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetCloudProjectLoadbalancersLoadbalancerInput)(nil)).Elem(), GetCloudProjectLoadbalancersLoadbalancerArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetCloudProjectLoadbalancersLoadbalancerArrayInput)(nil)).Elem(), GetCloudProjectLoadbalancersLoadbalancerArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetCloudProjectLoadbalancersLoadbalancerFloatingIpInput)(nil)).Elem(), GetCloudProjectLoadbalancersLoadbalancerFloatingIpArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetCloudProjectRegionServiceInput)(nil)).Elem(), GetCloudProjectRegionServiceArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetCloudProjectRegionServiceArrayInput)(nil)).Elem(), GetCloudProjectRegionServiceArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetCloudProjectUserRoleInput)(nil)).Elem(), GetCloudProjectUserRoleArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetCloudProjectUserRoleArrayInput)(nil)).Elem(), GetCloudProjectUserRoleArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetCloudProjectUsersUserInput)(nil)).Elem(), GetCloudProjectUsersUserArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetCloudProjectUsersUserArrayInput)(nil)).Elem(), GetCloudProjectUsersUserArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetCloudProjectUsersUserRoleInput)(nil)).Elem(), GetCloudProjectUsersUserRoleArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetCloudProjectUsersUserRoleArrayInput)(nil)).Elem(), GetCloudProjectUsersUserRoleArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetCloudProjectsProjectInput)(nil)).Elem(), GetCloudProjectsProjectArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetCloudProjectsProjectArrayInput)(nil)).Elem(), GetCloudProjectsProjectArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetCloudProjectsProjectIamInput)(nil)).Elem(), GetCloudProjectsProjectIamArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDedicatedInstallationTemplateInputInput)(nil)).Elem(), GetDedicatedInstallationTemplateInputArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDedicatedInstallationTemplateInputArrayInput)(nil)).Elem(), GetDedicatedInstallationTemplateInputArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDedicatedInstallationTemplateLicenseInput)(nil)).Elem(), GetDedicatedInstallationTemplateLicenseArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDedicatedInstallationTemplateLicenseArrayInput)(nil)).Elem(), GetDedicatedInstallationTemplateLicenseArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDedicatedInstallationTemplateLicenseOInput)(nil)).Elem(), GetDedicatedInstallationTemplateLicenseOArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDedicatedInstallationTemplateLicenseOArrayInput)(nil)).Elem(), GetDedicatedInstallationTemplateLicenseOArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDedicatedInstallationTemplateLicenseUsageInput)(nil)).Elem(), GetDedicatedInstallationTemplateLicenseUsageArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDedicatedInstallationTemplateLicenseUsageArrayInput)(nil)).Elem(), GetDedicatedInstallationTemplateLicenseUsageArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDedicatedInstallationTemplateProjectInput)(nil)).Elem(), GetDedicatedInstallationTemplateProjectArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDedicatedInstallationTemplateProjectArrayInput)(nil)).Elem(), GetDedicatedInstallationTemplateProjectArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDedicatedInstallationTemplateProjectOInput)(nil)).Elem(), GetDedicatedInstallationTemplateProjectOArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDedicatedInstallationTemplateProjectOArrayInput)(nil)).Elem(), GetDedicatedInstallationTemplateProjectOArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDedicatedInstallationTemplateProjectUsageInput)(nil)).Elem(), GetDedicatedInstallationTemplateProjectUsageArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDedicatedInstallationTemplateProjectUsageArrayInput)(nil)).Elem(), GetDedicatedInstallationTemplateProjectUsageArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDedicatedServerSpecificationsHardwareDefaultHardwareRaidSizeInput)(nil)).Elem(), GetDedicatedServerSpecificationsHardwareDefaultHardwareRaidSizeArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDedicatedServerSpecificationsHardwareDiskGroupInput)(nil)).Elem(), GetDedicatedServerSpecificationsHardwareDiskGroupArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDedicatedServerSpecificationsHardwareDiskGroupArrayInput)(nil)).Elem(), GetDedicatedServerSpecificationsHardwareDiskGroupArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDedicatedServerSpecificationsHardwareDiskGroupDefaultHardwareRaidSizeInput)(nil)).Elem(), GetDedicatedServerSpecificationsHardwareDiskGroupDefaultHardwareRaidSizeArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDedicatedServerSpecificationsHardwareDiskGroupDiskSizeInput)(nil)).Elem(), GetDedicatedServerSpecificationsHardwareDiskGroupDiskSizeArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDedicatedServerSpecificationsHardwareExpansionCardInput)(nil)).Elem(), GetDedicatedServerSpecificationsHardwareExpansionCardArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDedicatedServerSpecificationsHardwareExpansionCardArrayInput)(nil)).Elem(), GetDedicatedServerSpecificationsHardwareExpansionCardArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDedicatedServerSpecificationsHardwareMemorySizeInput)(nil)).Elem(), GetDedicatedServerSpecificationsHardwareMemorySizeArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDedicatedServerSpecificationsHardwareUsbKeyInput)(nil)).Elem(), GetDedicatedServerSpecificationsHardwareUsbKeyArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDedicatedServerSpecificationsHardwareUsbKeyArrayInput)(nil)).Elem(), GetDedicatedServerSpecificationsHardwareUsbKeyArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDedicatedServerSpecificationsNetworkBandwidthInput)(nil)).Elem(), GetDedicatedServerSpecificationsNetworkBandwidthArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDedicatedServerSpecificationsNetworkBandwidthInternetToOvhInput)(nil)).Elem(), GetDedicatedServerSpecificationsNetworkBandwidthInternetToOvhArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDedicatedServerSpecificationsNetworkBandwidthOvhToInternetInput)(nil)).Elem(), GetDedicatedServerSpecificationsNetworkBandwidthOvhToInternetArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDedicatedServerSpecificationsNetworkBandwidthOvhToOvhInput)(nil)).Elem(), GetDedicatedServerSpecificationsNetworkBandwidthOvhToOvhArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDedicatedServerSpecificationsNetworkConnectionValInput)(nil)).Elem(), GetDedicatedServerSpecificationsNetworkConnectionValArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDedicatedServerSpecificationsNetworkOlaInput)(nil)).Elem(), GetDedicatedServerSpecificationsNetworkOlaArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDedicatedServerSpecificationsNetworkOlaAvailableModeInput)(nil)).Elem(), GetDedicatedServerSpecificationsNetworkOlaAvailableModeArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDedicatedServerSpecificationsNetworkOlaAvailableModeArrayInput)(nil)).Elem(), GetDedicatedServerSpecificationsNetworkOlaAvailableModeArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDedicatedServerSpecificationsNetworkOlaAvailableModeInterfaceInput)(nil)).Elem(), GetDedicatedServerSpecificationsNetworkOlaAvailableModeInterfaceArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDedicatedServerSpecificationsNetworkOlaAvailableModeInterfaceArrayInput)(nil)).Elem(), GetDedicatedServerSpecificationsNetworkOlaAvailableModeInterfaceArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDedicatedServerSpecificationsNetworkRoutingInput)(nil)).Elem(), GetDedicatedServerSpecificationsNetworkRoutingArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDedicatedServerSpecificationsNetworkRoutingIpv4Input)(nil)).Elem(), GetDedicatedServerSpecificationsNetworkRoutingIpv4Args{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDedicatedServerSpecificationsNetworkRoutingIpv6Input)(nil)).Elem(), GetDedicatedServerSpecificationsNetworkRoutingIpv6Args{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDedicatedServerSpecificationsNetworkSwitchingInput)(nil)).Elem(), GetDedicatedServerSpecificationsNetworkSwitchingArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDedicatedServerSpecificationsNetworkTrafficInput)(nil)).Elem(), GetDedicatedServerSpecificationsNetworkTrafficArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDedicatedServerSpecificationsNetworkTrafficInputQuotaSizeInput)(nil)).Elem(), GetDedicatedServerSpecificationsNetworkTrafficInputQuotaSizeArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDedicatedServerSpecificationsNetworkTrafficInputQuotaUsedInput)(nil)).Elem(), GetDedicatedServerSpecificationsNetworkTrafficInputQuotaUsedArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDedicatedServerSpecificationsNetworkTrafficOutputQuotaSizeInput)(nil)).Elem(), GetDedicatedServerSpecificationsNetworkTrafficOutputQuotaSizeArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDedicatedServerSpecificationsNetworkTrafficOutputQuotaUsedInput)(nil)).Elem(), GetDedicatedServerSpecificationsNetworkTrafficOutputQuotaUsedArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDedicatedServerSpecificationsNetworkVmacInput)(nil)).Elem(), GetDedicatedServerSpecificationsNetworkVmacArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDedicatedServerSpecificationsNetworkVrackInput)(nil)).Elem(), GetDedicatedServerSpecificationsNetworkVrackArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDedicatedServerSpecificationsNetworkVrackBandwidthInput)(nil)).Elem(), GetDedicatedServerSpecificationsNetworkVrackBandwidthArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDedicatedServerVniInput)(nil)).Elem(), GetDedicatedServerVniArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDedicatedServerVniArrayInput)(nil)).Elem(), GetDedicatedServerVniArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetHostingPrivatedatabaseDatabaseUserInput)(nil)).Elem(), GetHostingPrivatedatabaseDatabaseUserArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetHostingPrivatedatabaseDatabaseUserArrayInput)(nil)).Elem(), GetHostingPrivatedatabaseDatabaseUserArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetHostingPrivatedatabaseUserDatabaseInput)(nil)).Elem(), GetHostingPrivatedatabaseUserDatabaseArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetHostingPrivatedatabaseUserDatabaseArrayInput)(nil)).Elem(), GetHostingPrivatedatabaseUserDatabaseArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetIamReferenceActionsActionInput)(nil)).Elem(), GetIamReferenceActionsActionArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetIamReferenceActionsActionArrayInput)(nil)).Elem(), GetIamReferenceActionsActionArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetIpServiceRoutedToInput)(nil)).Elem(), GetIpServiceRoutedToArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetIpServiceRoutedToArrayInput)(nil)).Elem(), GetIpServiceRoutedToArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetIploadbalancingOrderableZoneInput)(nil)).Elem(), GetIploadbalancingOrderableZoneArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetIploadbalancingOrderableZoneArrayInput)(nil)).Elem(), GetIploadbalancingOrderableZoneArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetMeCurrencyInput)(nil)).Elem(), GetMeCurrencyArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetMeCurrencyArrayInput)(nil)).Elem(), GetMeCurrencyArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetMeInstallationTemplateCustomizationInput)(nil)).Elem(), GetMeInstallationTemplateCustomizationArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetMeInstallationTemplateCustomizationArrayInput)(nil)).Elem(), GetMeInstallationTemplateCustomizationArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetMeInstallationTemplateInputInput)(nil)).Elem(), GetMeInstallationTemplateInputArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetMeInstallationTemplateInputArrayInput)(nil)).Elem(), GetMeInstallationTemplateInputArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetMeInstallationTemplatePartitionSchemeTypeInput)(nil)).Elem(), GetMeInstallationTemplatePartitionSchemeTypeArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetMeInstallationTemplatePartitionSchemeTypeArrayInput)(nil)).Elem(), GetMeInstallationTemplatePartitionSchemeTypeArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetMeInstallationTemplatePartitionSchemeHardwareRaidTypeInput)(nil)).Elem(), GetMeInstallationTemplatePartitionSchemeHardwareRaidTypeArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetMeInstallationTemplatePartitionSchemeHardwareRaidTypeArrayInput)(nil)).Elem(), GetMeInstallationTemplatePartitionSchemeHardwareRaidTypeArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetMeInstallationTemplatePartitionSchemePartitionTypeInput)(nil)).Elem(), GetMeInstallationTemplatePartitionSchemePartitionTypeArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetMeInstallationTemplatePartitionSchemePartitionTypeArrayInput)(nil)).Elem(), GetMeInstallationTemplatePartitionSchemePartitionTypeArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetOrderCartProductOptionsPlanPriceInput)(nil)).Elem(), GetOrderCartProductOptionsPlanPriceArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetOrderCartProductOptionsPlanPriceArrayInput)(nil)).Elem(), GetOrderCartProductOptionsPlanPriceArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetOrderCartProductOptionsPlanPricePriceInput)(nil)).Elem(), GetOrderCartProductOptionsPlanPricePriceArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetOrderCartProductOptionsPlanPricePriceArrayInput)(nil)).Elem(), GetOrderCartProductOptionsPlanPricePriceArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetOrderCartProductOptionsPlanSelectedPriceInput)(nil)).Elem(), GetOrderCartProductOptionsPlanSelectedPriceArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetOrderCartProductOptionsPlanSelectedPriceArrayInput)(nil)).Elem(), GetOrderCartProductOptionsPlanSelectedPriceArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetOrderCartProductOptionsPlanSelectedPricePriceInput)(nil)).Elem(), GetOrderCartProductOptionsPlanSelectedPricePriceArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetOrderCartProductOptionsPlanSelectedPricePriceArrayInput)(nil)).Elem(), GetOrderCartProductOptionsPlanSelectedPricePriceArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetOrderCartProductOptionsResultInput)(nil)).Elem(), GetOrderCartProductOptionsResultArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetOrderCartProductOptionsResultArrayInput)(nil)).Elem(), GetOrderCartProductOptionsResultArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetOrderCartProductOptionsResultPriceInput)(nil)).Elem(), GetOrderCartProductOptionsResultPriceArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetOrderCartProductOptionsResultPriceArrayInput)(nil)).Elem(), GetOrderCartProductOptionsResultPriceArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetOrderCartProductOptionsResultPricePriceInput)(nil)).Elem(), GetOrderCartProductOptionsResultPricePriceArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetOrderCartProductOptionsResultPricePriceArrayInput)(nil)).Elem(), GetOrderCartProductOptionsResultPricePriceArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetOrderCartProductPlanPriceInput)(nil)).Elem(), GetOrderCartProductPlanPriceArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetOrderCartProductPlanPriceArrayInput)(nil)).Elem(), GetOrderCartProductPlanPriceArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetOrderCartProductPlanPricePriceInput)(nil)).Elem(), GetOrderCartProductPlanPricePriceArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetOrderCartProductPlanPricePriceArrayInput)(nil)).Elem(), GetOrderCartProductPlanPricePriceArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetOrderCartProductPlanSelectedPriceInput)(nil)).Elem(), GetOrderCartProductPlanSelectedPriceArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetOrderCartProductPlanSelectedPriceArrayInput)(nil)).Elem(), GetOrderCartProductPlanSelectedPriceArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetOrderCartProductPlanSelectedPricePriceInput)(nil)).Elem(), GetOrderCartProductPlanSelectedPricePriceArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetOrderCartProductPlanSelectedPricePriceArrayInput)(nil)).Elem(), GetOrderCartProductPlanSelectedPricePriceArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetOrderCartProductResultInput)(nil)).Elem(), GetOrderCartProductResultArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetOrderCartProductResultArrayInput)(nil)).Elem(), GetOrderCartProductResultArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetOrderCartProductResultPriceInput)(nil)).Elem(), GetOrderCartProductResultPriceArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetOrderCartProductResultPriceArrayInput)(nil)).Elem(), GetOrderCartProductResultPriceArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetOrderCartProductResultPricePriceInput)(nil)).Elem(), GetOrderCartProductResultPricePriceArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetOrderCartProductResultPricePriceArrayInput)(nil)).Elem(), GetOrderCartProductResultPricePriceArray{}) + pulumi.RegisterOutputType(CloudProjectAlertingFormattedMonthlyThresholdOutput{}) + pulumi.RegisterOutputType(CloudProjectAlertingFormattedMonthlyThresholdPtrOutput{}) + pulumi.RegisterOutputType(CloudProjectContainerregistryOidcTimeoutsOutput{}) + pulumi.RegisterOutputType(CloudProjectContainerregistryOidcTimeoutsPtrOutput{}) + pulumi.RegisterOutputType(CloudProjectContainerregistryPlanOutput{}) + pulumi.RegisterOutputType(CloudProjectContainerregistryPlanArrayOutput{}) + pulumi.RegisterOutputType(CloudProjectContainerregistryPlanFeatureOutput{}) + pulumi.RegisterOutputType(CloudProjectContainerregistryPlanFeatureArrayOutput{}) + pulumi.RegisterOutputType(CloudProjectContainerregistryPlanRegistryLimitOutput{}) + pulumi.RegisterOutputType(CloudProjectContainerregistryPlanRegistryLimitArrayOutput{}) + pulumi.RegisterOutputType(CloudProjectDatabaseDatabaseTimeoutsOutput{}) + pulumi.RegisterOutputType(CloudProjectDatabaseDatabaseTimeoutsPtrOutput{}) + pulumi.RegisterOutputType(CloudProjectDatabaseEndpointOutput{}) + pulumi.RegisterOutputType(CloudProjectDatabaseEndpointArrayOutput{}) + pulumi.RegisterOutputType(CloudProjectDatabaseIntegrationTimeoutsOutput{}) + pulumi.RegisterOutputType(CloudProjectDatabaseIntegrationTimeoutsPtrOutput{}) + pulumi.RegisterOutputType(CloudProjectDatabaseIpRestrictionTypeOutput{}) + pulumi.RegisterOutputType(CloudProjectDatabaseIpRestrictionTypeArrayOutput{}) + pulumi.RegisterOutputType(CloudProjectDatabaseIpRestrictionTimeoutsOutput{}) + pulumi.RegisterOutputType(CloudProjectDatabaseIpRestrictionTimeoutsPtrOutput{}) + pulumi.RegisterOutputType(CloudProjectDatabaseKafkaAclTimeoutsOutput{}) + pulumi.RegisterOutputType(CloudProjectDatabaseKafkaAclTimeoutsPtrOutput{}) + pulumi.RegisterOutputType(CloudProjectDatabaseKafkaSchemaregistryaclTimeoutsOutput{}) + pulumi.RegisterOutputType(CloudProjectDatabaseKafkaSchemaregistryaclTimeoutsPtrOutput{}) + pulumi.RegisterOutputType(CloudProjectDatabaseKafkaTopicTimeoutsOutput{}) + pulumi.RegisterOutputType(CloudProjectDatabaseKafkaTopicTimeoutsPtrOutput{}) + pulumi.RegisterOutputType(CloudProjectDatabaseLogSubscriptionTimeoutsOutput{}) + pulumi.RegisterOutputType(CloudProjectDatabaseLogSubscriptionTimeoutsPtrOutput{}) + pulumi.RegisterOutputType(CloudProjectDatabaseM3dbNamespaceTimeoutsOutput{}) + pulumi.RegisterOutputType(CloudProjectDatabaseM3dbNamespaceTimeoutsPtrOutput{}) + pulumi.RegisterOutputType(CloudProjectDatabaseM3dbUserTimeoutsOutput{}) + pulumi.RegisterOutputType(CloudProjectDatabaseM3dbUserTimeoutsPtrOutput{}) + pulumi.RegisterOutputType(CloudProjectDatabaseMongodbUserTimeoutsOutput{}) + pulumi.RegisterOutputType(CloudProjectDatabaseMongodbUserTimeoutsPtrOutput{}) + pulumi.RegisterOutputType(CloudProjectDatabaseNodeOutput{}) + pulumi.RegisterOutputType(CloudProjectDatabaseNodeArrayOutput{}) + pulumi.RegisterOutputType(CloudProjectDatabaseOpensearchPatternTimeoutsOutput{}) + pulumi.RegisterOutputType(CloudProjectDatabaseOpensearchPatternTimeoutsPtrOutput{}) + pulumi.RegisterOutputType(CloudProjectDatabaseOpensearchUserAclOutput{}) + pulumi.RegisterOutputType(CloudProjectDatabaseOpensearchUserAclArrayOutput{}) + pulumi.RegisterOutputType(CloudProjectDatabaseOpensearchUserTimeoutsOutput{}) + pulumi.RegisterOutputType(CloudProjectDatabaseOpensearchUserTimeoutsPtrOutput{}) + pulumi.RegisterOutputType(CloudProjectDatabasePostgresqlConnectionPoolTimeoutsOutput{}) + pulumi.RegisterOutputType(CloudProjectDatabasePostgresqlConnectionPoolTimeoutsPtrOutput{}) + pulumi.RegisterOutputType(CloudProjectDatabasePostgresqlUserTimeoutsOutput{}) + pulumi.RegisterOutputType(CloudProjectDatabasePostgresqlUserTimeoutsPtrOutput{}) + pulumi.RegisterOutputType(CloudProjectDatabaseRedisUserTimeoutsOutput{}) + pulumi.RegisterOutputType(CloudProjectDatabaseRedisUserTimeoutsPtrOutput{}) + pulumi.RegisterOutputType(CloudProjectDatabaseTimeoutsOutput{}) + pulumi.RegisterOutputType(CloudProjectDatabaseTimeoutsPtrOutput{}) + pulumi.RegisterOutputType(CloudProjectDatabaseUserTimeoutsOutput{}) + pulumi.RegisterOutputType(CloudProjectDatabaseUserTimeoutsPtrOutput{}) + pulumi.RegisterOutputType(CloudProjectGatewayExternalInformationOutput{}) + pulumi.RegisterOutputType(CloudProjectGatewayExternalInformationArrayOutput{}) + pulumi.RegisterOutputType(CloudProjectGatewayExternalInformationIpOutput{}) + pulumi.RegisterOutputType(CloudProjectGatewayExternalInformationIpArrayOutput{}) + pulumi.RegisterOutputType(CloudProjectGatewayInterfaceTypeOutput{}) + pulumi.RegisterOutputType(CloudProjectGatewayInterfaceTypeArrayOutput{}) + pulumi.RegisterOutputType(CloudProjectKubeCustomizationOutput{}) + pulumi.RegisterOutputType(CloudProjectKubeCustomizationArrayOutput{}) + pulumi.RegisterOutputType(CloudProjectKubeCustomizationApiserverOutput{}) + pulumi.RegisterOutputType(CloudProjectKubeCustomizationApiserverArrayOutput{}) + pulumi.RegisterOutputType(CloudProjectKubeCustomizationApiserverAdmissionpluginOutput{}) + pulumi.RegisterOutputType(CloudProjectKubeCustomizationApiserverAdmissionpluginArrayOutput{}) + pulumi.RegisterOutputType(CloudProjectKubeCustomizationKubeProxyOutput{}) + pulumi.RegisterOutputType(CloudProjectKubeCustomizationKubeProxyPtrOutput{}) + pulumi.RegisterOutputType(CloudProjectKubeCustomizationKubeProxyIptablesOutput{}) + pulumi.RegisterOutputType(CloudProjectKubeCustomizationKubeProxyIptablesPtrOutput{}) + pulumi.RegisterOutputType(CloudProjectKubeCustomizationKubeProxyIpvsOutput{}) + pulumi.RegisterOutputType(CloudProjectKubeCustomizationKubeProxyIpvsPtrOutput{}) + pulumi.RegisterOutputType(CloudProjectKubeIprestrictionsTimeoutsOutput{}) + pulumi.RegisterOutputType(CloudProjectKubeIprestrictionsTimeoutsPtrOutput{}) + pulumi.RegisterOutputType(CloudProjectKubeKubeconfigAttributeOutput{}) + pulumi.RegisterOutputType(CloudProjectKubeKubeconfigAttributeArrayOutput{}) + pulumi.RegisterOutputType(CloudProjectKubeNodepoolTemplateOutput{}) + pulumi.RegisterOutputType(CloudProjectKubeNodepoolTemplatePtrOutput{}) + pulumi.RegisterOutputType(CloudProjectKubeNodepoolTemplateMetadataOutput{}) + pulumi.RegisterOutputType(CloudProjectKubeNodepoolTemplateMetadataPtrOutput{}) + pulumi.RegisterOutputType(CloudProjectKubeNodepoolTemplateSpecOutput{}) + pulumi.RegisterOutputType(CloudProjectKubeNodepoolTemplateSpecPtrOutput{}) + pulumi.RegisterOutputType(CloudProjectKubeNodepoolTimeoutsOutput{}) + pulumi.RegisterOutputType(CloudProjectKubeNodepoolTimeoutsPtrOutput{}) + pulumi.RegisterOutputType(CloudProjectKubeOidcTimeoutsOutput{}) + pulumi.RegisterOutputType(CloudProjectKubeOidcTimeoutsPtrOutput{}) + pulumi.RegisterOutputType(CloudProjectKubePrivateNetworkConfigurationOutput{}) + pulumi.RegisterOutputType(CloudProjectKubePrivateNetworkConfigurationPtrOutput{}) + pulumi.RegisterOutputType(CloudProjectKubeTimeoutsOutput{}) + pulumi.RegisterOutputType(CloudProjectKubeTimeoutsPtrOutput{}) + pulumi.RegisterOutputType(CloudProjectNetworkPrivateRegionsAttributeOutput{}) + pulumi.RegisterOutputType(CloudProjectNetworkPrivateRegionsAttributeArrayOutput{}) + pulumi.RegisterOutputType(CloudProjectNetworkPrivateRegionsStatusOutput{}) + pulumi.RegisterOutputType(CloudProjectNetworkPrivateRegionsStatusArrayOutput{}) + pulumi.RegisterOutputType(CloudProjectNetworkPrivateSubnetIpPoolOutput{}) + pulumi.RegisterOutputType(CloudProjectNetworkPrivateSubnetIpPoolArrayOutput{}) + pulumi.RegisterOutputType(CloudProjectOrderOutput{}) + pulumi.RegisterOutputType(CloudProjectOrderArrayOutput{}) + pulumi.RegisterOutputType(CloudProjectOrderDetailOutput{}) + pulumi.RegisterOutputType(CloudProjectOrderDetailArrayOutput{}) + pulumi.RegisterOutputType(CloudProjectPlanOutput{}) + pulumi.RegisterOutputType(CloudProjectPlanPtrOutput{}) + pulumi.RegisterOutputType(CloudProjectPlanConfigurationOutput{}) + pulumi.RegisterOutputType(CloudProjectPlanConfigurationArrayOutput{}) + pulumi.RegisterOutputType(CloudProjectPlanOptionOutput{}) + pulumi.RegisterOutputType(CloudProjectPlanOptionArrayOutput{}) + pulumi.RegisterOutputType(CloudProjectPlanOptionConfigurationOutput{}) + pulumi.RegisterOutputType(CloudProjectPlanOptionConfigurationArrayOutput{}) + pulumi.RegisterOutputType(CloudProjectUserRoleOutput{}) + pulumi.RegisterOutputType(CloudProjectUserRoleArrayOutput{}) + pulumi.RegisterOutputType(DbaasLogsInputConfigurationOutput{}) + pulumi.RegisterOutputType(DbaasLogsInputConfigurationPtrOutput{}) + pulumi.RegisterOutputType(DbaasLogsInputConfigurationFlowggerOutput{}) + pulumi.RegisterOutputType(DbaasLogsInputConfigurationFlowggerPtrOutput{}) + pulumi.RegisterOutputType(DbaasLogsInputConfigurationLogstashOutput{}) + pulumi.RegisterOutputType(DbaasLogsInputConfigurationLogstashPtrOutput{}) + pulumi.RegisterOutputType(DedicatedServerInstallTaskDetailsOutput{}) + pulumi.RegisterOutputType(DedicatedServerInstallTaskDetailsPtrOutput{}) + pulumi.RegisterOutputType(DedicatedServerInstallTaskTimeoutsOutput{}) + pulumi.RegisterOutputType(DedicatedServerInstallTaskTimeoutsPtrOutput{}) + pulumi.RegisterOutputType(DedicatedServerInstallTaskUserMetadataOutput{}) + pulumi.RegisterOutputType(DedicatedServerInstallTaskUserMetadataArrayOutput{}) + pulumi.RegisterOutputType(DedicatedServerNetworkingInterfaceOutput{}) + pulumi.RegisterOutputType(DedicatedServerNetworkingInterfaceArrayOutput{}) + pulumi.RegisterOutputType(DedicatedServerNetworkingTimeoutsOutput{}) + pulumi.RegisterOutputType(DedicatedServerNetworkingTimeoutsPtrOutput{}) + pulumi.RegisterOutputType(DomainZoneOrderOutput{}) + pulumi.RegisterOutputType(DomainZoneOrderArrayOutput{}) + pulumi.RegisterOutputType(DomainZoneOrderDetailOutput{}) + pulumi.RegisterOutputType(DomainZoneOrderDetailArrayOutput{}) + pulumi.RegisterOutputType(DomainZonePlanOutput{}) + pulumi.RegisterOutputType(DomainZonePlanPtrOutput{}) + pulumi.RegisterOutputType(DomainZonePlanConfigurationOutput{}) + pulumi.RegisterOutputType(DomainZonePlanConfigurationArrayOutput{}) + pulumi.RegisterOutputType(DomainZonePlanOptionOutput{}) + pulumi.RegisterOutputType(DomainZonePlanOptionArrayOutput{}) + pulumi.RegisterOutputType(DomainZonePlanOptionConfigurationOutput{}) + pulumi.RegisterOutputType(DomainZonePlanOptionConfigurationArrayOutput{}) + pulumi.RegisterOutputType(HostingPrivatedatabaseOrderOutput{}) + pulumi.RegisterOutputType(HostingPrivatedatabaseOrderArrayOutput{}) + pulumi.RegisterOutputType(HostingPrivatedatabaseOrderDetailOutput{}) + pulumi.RegisterOutputType(HostingPrivatedatabaseOrderDetailArrayOutput{}) + pulumi.RegisterOutputType(HostingPrivatedatabasePlanOutput{}) + pulumi.RegisterOutputType(HostingPrivatedatabasePlanPtrOutput{}) + pulumi.RegisterOutputType(HostingPrivatedatabasePlanConfigurationOutput{}) + pulumi.RegisterOutputType(HostingPrivatedatabasePlanConfigurationArrayOutput{}) + pulumi.RegisterOutputType(HostingPrivatedatabasePlanOptionOutput{}) + pulumi.RegisterOutputType(HostingPrivatedatabasePlanOptionArrayOutput{}) + pulumi.RegisterOutputType(HostingPrivatedatabasePlanOptionConfigurationOutput{}) + pulumi.RegisterOutputType(HostingPrivatedatabasePlanOptionConfigurationArrayOutput{}) + pulumi.RegisterOutputType(IpMoveRoutedToOutput{}) + pulumi.RegisterOutputType(IpMoveRoutedToPtrOutput{}) + pulumi.RegisterOutputType(IpServiceOrderOutput{}) + pulumi.RegisterOutputType(IpServiceOrderArrayOutput{}) + pulumi.RegisterOutputType(IpServiceOrderDetailOutput{}) + pulumi.RegisterOutputType(IpServiceOrderDetailArrayOutput{}) + pulumi.RegisterOutputType(IpServicePlanOutput{}) + pulumi.RegisterOutputType(IpServicePlanPtrOutput{}) + pulumi.RegisterOutputType(IpServicePlanConfigurationOutput{}) + pulumi.RegisterOutputType(IpServicePlanConfigurationArrayOutput{}) + pulumi.RegisterOutputType(IpServicePlanOptionOutput{}) + pulumi.RegisterOutputType(IpServicePlanOptionArrayOutput{}) + pulumi.RegisterOutputType(IpServicePlanOptionConfigurationOutput{}) + pulumi.RegisterOutputType(IpServicePlanOptionConfigurationArrayOutput{}) + pulumi.RegisterOutputType(IpServiceRoutedToOutput{}) + pulumi.RegisterOutputType(IpServiceRoutedToArrayOutput{}) + pulumi.RegisterOutputType(IploadbalancingHttpFarmProbeOutput{}) + pulumi.RegisterOutputType(IploadbalancingHttpFarmProbePtrOutput{}) + pulumi.RegisterOutputType(IploadbalancingHttpRouteActionOutput{}) + pulumi.RegisterOutputType(IploadbalancingHttpRouteActionPtrOutput{}) + pulumi.RegisterOutputType(IploadbalancingHttpRouteRuleTypeOutput{}) + pulumi.RegisterOutputType(IploadbalancingHttpRouteRuleTypeArrayOutput{}) + pulumi.RegisterOutputType(IploadbalancingOrderOutput{}) + pulumi.RegisterOutputType(IploadbalancingOrderArrayOutput{}) + pulumi.RegisterOutputType(IploadbalancingOrderDetailOutput{}) + pulumi.RegisterOutputType(IploadbalancingOrderDetailArrayOutput{}) + pulumi.RegisterOutputType(IploadbalancingOrderableZoneOutput{}) + pulumi.RegisterOutputType(IploadbalancingOrderableZoneArrayOutput{}) + pulumi.RegisterOutputType(IploadbalancingPlanOutput{}) + pulumi.RegisterOutputType(IploadbalancingPlanPtrOutput{}) + pulumi.RegisterOutputType(IploadbalancingPlanConfigurationOutput{}) + pulumi.RegisterOutputType(IploadbalancingPlanConfigurationArrayOutput{}) + pulumi.RegisterOutputType(IploadbalancingPlanOptionOutput{}) + pulumi.RegisterOutputType(IploadbalancingPlanOptionArrayOutput{}) + pulumi.RegisterOutputType(IploadbalancingPlanOptionConfigurationOutput{}) + pulumi.RegisterOutputType(IploadbalancingPlanOptionConfigurationArrayOutput{}) + pulumi.RegisterOutputType(IploadbalancingTcpFarmProbeOutput{}) + pulumi.RegisterOutputType(IploadbalancingTcpFarmProbePtrOutput{}) + pulumi.RegisterOutputType(IploadbalancingTcpRouteActionOutput{}) + pulumi.RegisterOutputType(IploadbalancingTcpRouteActionPtrOutput{}) + pulumi.RegisterOutputType(IploadbalancingTcpRouteRuleTypeOutput{}) + pulumi.RegisterOutputType(IploadbalancingTcpRouteRuleTypeArrayOutput{}) + pulumi.RegisterOutputType(MeInstallationTemplateCustomizationOutput{}) + pulumi.RegisterOutputType(MeInstallationTemplateCustomizationPtrOutput{}) + pulumi.RegisterOutputType(MeInstallationTemplateInputTypeOutput{}) + pulumi.RegisterOutputType(MeInstallationTemplateInputTypeArrayOutput{}) + pulumi.RegisterOutputType(VpsIamOutput{}) + pulumi.RegisterOutputType(VpsIamPtrOutput{}) + pulumi.RegisterOutputType(VpsModelOutput{}) + pulumi.RegisterOutputType(VpsModelPtrOutput{}) + pulumi.RegisterOutputType(VpsOrderOutput{}) + pulumi.RegisterOutputType(VpsOrderPtrOutput{}) + pulumi.RegisterOutputType(VpsOrderDetailOutput{}) + pulumi.RegisterOutputType(VpsOrderDetailArrayOutput{}) + pulumi.RegisterOutputType(VpsPlanOutput{}) + pulumi.RegisterOutputType(VpsPlanArrayOutput{}) + pulumi.RegisterOutputType(VpsPlanConfigurationOutput{}) + pulumi.RegisterOutputType(VpsPlanConfigurationArrayOutput{}) + pulumi.RegisterOutputType(VpsPlanOptionOutput{}) + pulumi.RegisterOutputType(VpsPlanOptionArrayOutput{}) + pulumi.RegisterOutputType(VpsPlanOptionConfigurationOutput{}) + pulumi.RegisterOutputType(VpsPlanOptionConfigurationArrayOutput{}) + pulumi.RegisterOutputType(VrackOrderOutput{}) + pulumi.RegisterOutputType(VrackOrderArrayOutput{}) + pulumi.RegisterOutputType(VrackOrderDetailOutput{}) + pulumi.RegisterOutputType(VrackOrderDetailArrayOutput{}) + pulumi.RegisterOutputType(VrackPlanOutput{}) + pulumi.RegisterOutputType(VrackPlanPtrOutput{}) + pulumi.RegisterOutputType(VrackPlanConfigurationOutput{}) + pulumi.RegisterOutputType(VrackPlanConfigurationArrayOutput{}) + pulumi.RegisterOutputType(VrackPlanOptionOutput{}) + pulumi.RegisterOutputType(VrackPlanOptionArrayOutput{}) + pulumi.RegisterOutputType(VrackPlanOptionConfigurationOutput{}) + pulumi.RegisterOutputType(VrackPlanOptionConfigurationArrayOutput{}) + pulumi.RegisterOutputType(GetCloudProjectCapabilitiesContainerregistryFilterFeatureOutput{}) + pulumi.RegisterOutputType(GetCloudProjectCapabilitiesContainerregistryFilterFeatureArrayOutput{}) + pulumi.RegisterOutputType(GetCloudProjectCapabilitiesContainerregistryFilterRegistryLimitOutput{}) + pulumi.RegisterOutputType(GetCloudProjectCapabilitiesContainerregistryFilterRegistryLimitArrayOutput{}) + pulumi.RegisterOutputType(GetCloudProjectCapabilitiesContainerregistryResultOutput{}) + pulumi.RegisterOutputType(GetCloudProjectCapabilitiesContainerregistryResultArrayOutput{}) + pulumi.RegisterOutputType(GetCloudProjectCapabilitiesContainerregistryResultPlanOutput{}) + pulumi.RegisterOutputType(GetCloudProjectCapabilitiesContainerregistryResultPlanArrayOutput{}) + pulumi.RegisterOutputType(GetCloudProjectCapabilitiesContainerregistryResultPlanFeatureOutput{}) + pulumi.RegisterOutputType(GetCloudProjectCapabilitiesContainerregistryResultPlanFeatureArrayOutput{}) + pulumi.RegisterOutputType(GetCloudProjectCapabilitiesContainerregistryResultPlanRegistryLimitOutput{}) + pulumi.RegisterOutputType(GetCloudProjectCapabilitiesContainerregistryResultPlanRegistryLimitArrayOutput{}) + pulumi.RegisterOutputType(GetCloudProjectContainerregistriesResultOutput{}) + pulumi.RegisterOutputType(GetCloudProjectContainerregistriesResultArrayOutput{}) + pulumi.RegisterOutputType(GetCloudProjectContainerregistryUsersResultOutput{}) + pulumi.RegisterOutputType(GetCloudProjectContainerregistryUsersResultArrayOutput{}) + pulumi.RegisterOutputType(GetCloudProjectDatabaseCapabilitiesEngineOutput{}) + pulumi.RegisterOutputType(GetCloudProjectDatabaseCapabilitiesEngineArrayOutput{}) + pulumi.RegisterOutputType(GetCloudProjectDatabaseCapabilitiesFlavorOutput{}) + pulumi.RegisterOutputType(GetCloudProjectDatabaseCapabilitiesFlavorArrayOutput{}) + pulumi.RegisterOutputType(GetCloudProjectDatabaseCapabilitiesOptionOutput{}) + pulumi.RegisterOutputType(GetCloudProjectDatabaseCapabilitiesOptionArrayOutput{}) + pulumi.RegisterOutputType(GetCloudProjectDatabaseCapabilitiesPlanOutput{}) + pulumi.RegisterOutputType(GetCloudProjectDatabaseCapabilitiesPlanArrayOutput{}) + pulumi.RegisterOutputType(GetCloudProjectDatabaseEndpointOutput{}) + pulumi.RegisterOutputType(GetCloudProjectDatabaseEndpointArrayOutput{}) + pulumi.RegisterOutputType(GetCloudProjectDatabaseIpRestrictionTypeOutput{}) + pulumi.RegisterOutputType(GetCloudProjectDatabaseIpRestrictionTypeArrayOutput{}) + pulumi.RegisterOutputType(GetCloudProjectDatabaseNodeOutput{}) + pulumi.RegisterOutputType(GetCloudProjectDatabaseNodeArrayOutput{}) + pulumi.RegisterOutputType(GetCloudProjectDatabaseOpensearchUserAclOutput{}) + pulumi.RegisterOutputType(GetCloudProjectDatabaseOpensearchUserAclArrayOutput{}) + pulumi.RegisterOutputType(GetCloudProjectIamOutput{}) + pulumi.RegisterOutputType(GetCloudProjectKubeCustomizationOutput{}) + pulumi.RegisterOutputType(GetCloudProjectKubeCustomizationArrayOutput{}) + pulumi.RegisterOutputType(GetCloudProjectKubeCustomizationApiserverOutput{}) + pulumi.RegisterOutputType(GetCloudProjectKubeCustomizationApiserverArrayOutput{}) + pulumi.RegisterOutputType(GetCloudProjectKubeCustomizationApiserverAdmissionpluginOutput{}) + pulumi.RegisterOutputType(GetCloudProjectKubeCustomizationApiserverAdmissionpluginArrayOutput{}) + pulumi.RegisterOutputType(GetCloudProjectKubeCustomizationKubeProxyOutput{}) + pulumi.RegisterOutputType(GetCloudProjectKubeCustomizationKubeProxyPtrOutput{}) + pulumi.RegisterOutputType(GetCloudProjectKubeCustomizationKubeProxyIptablesOutput{}) + pulumi.RegisterOutputType(GetCloudProjectKubeCustomizationKubeProxyIptablesPtrOutput{}) + pulumi.RegisterOutputType(GetCloudProjectKubeCustomizationKubeProxyIpvsOutput{}) + pulumi.RegisterOutputType(GetCloudProjectKubeCustomizationKubeProxyIpvsPtrOutput{}) + pulumi.RegisterOutputType(GetCloudProjectKubeNodepoolNodesNodeOutput{}) + pulumi.RegisterOutputType(GetCloudProjectKubeNodepoolNodesNodeArrayOutput{}) + pulumi.RegisterOutputType(GetCloudProjectKubeNodepoolTemplateOutput{}) + pulumi.RegisterOutputType(GetCloudProjectKubeNodepoolTemplatePtrOutput{}) + pulumi.RegisterOutputType(GetCloudProjectKubeNodepoolTemplateMetadataOutput{}) + pulumi.RegisterOutputType(GetCloudProjectKubeNodepoolTemplateMetadataPtrOutput{}) + pulumi.RegisterOutputType(GetCloudProjectKubeNodepoolTemplateSpecOutput{}) + pulumi.RegisterOutputType(GetCloudProjectKubeNodepoolTemplateSpecPtrOutput{}) + pulumi.RegisterOutputType(GetCloudProjectKubeNodesNodeOutput{}) + pulumi.RegisterOutputType(GetCloudProjectKubeNodesNodeArrayOutput{}) + pulumi.RegisterOutputType(GetCloudProjectLoadbalancerFloatingIpOutput{}) + pulumi.RegisterOutputType(GetCloudProjectLoadbalancersLoadbalancerOutput{}) + pulumi.RegisterOutputType(GetCloudProjectLoadbalancersLoadbalancerArrayOutput{}) + pulumi.RegisterOutputType(GetCloudProjectLoadbalancersLoadbalancerFloatingIpOutput{}) + pulumi.RegisterOutputType(GetCloudProjectRegionServiceOutput{}) + pulumi.RegisterOutputType(GetCloudProjectRegionServiceArrayOutput{}) + pulumi.RegisterOutputType(GetCloudProjectUserRoleOutput{}) + pulumi.RegisterOutputType(GetCloudProjectUserRoleArrayOutput{}) + pulumi.RegisterOutputType(GetCloudProjectUsersUserOutput{}) + pulumi.RegisterOutputType(GetCloudProjectUsersUserArrayOutput{}) + pulumi.RegisterOutputType(GetCloudProjectUsersUserRoleOutput{}) + pulumi.RegisterOutputType(GetCloudProjectUsersUserRoleArrayOutput{}) + pulumi.RegisterOutputType(GetCloudProjectsProjectOutput{}) + pulumi.RegisterOutputType(GetCloudProjectsProjectArrayOutput{}) + pulumi.RegisterOutputType(GetCloudProjectsProjectIamOutput{}) + pulumi.RegisterOutputType(GetDedicatedInstallationTemplateInputOutput{}) + pulumi.RegisterOutputType(GetDedicatedInstallationTemplateInputArrayOutput{}) + pulumi.RegisterOutputType(GetDedicatedInstallationTemplateLicenseOutput{}) + pulumi.RegisterOutputType(GetDedicatedInstallationTemplateLicenseArrayOutput{}) + pulumi.RegisterOutputType(GetDedicatedInstallationTemplateLicenseOOutput{}) + pulumi.RegisterOutputType(GetDedicatedInstallationTemplateLicenseOArrayOutput{}) + pulumi.RegisterOutputType(GetDedicatedInstallationTemplateLicenseUsageOutput{}) + pulumi.RegisterOutputType(GetDedicatedInstallationTemplateLicenseUsageArrayOutput{}) + pulumi.RegisterOutputType(GetDedicatedInstallationTemplateProjectOutput{}) + pulumi.RegisterOutputType(GetDedicatedInstallationTemplateProjectArrayOutput{}) + pulumi.RegisterOutputType(GetDedicatedInstallationTemplateProjectOOutput{}) + pulumi.RegisterOutputType(GetDedicatedInstallationTemplateProjectOArrayOutput{}) + pulumi.RegisterOutputType(GetDedicatedInstallationTemplateProjectUsageOutput{}) + pulumi.RegisterOutputType(GetDedicatedInstallationTemplateProjectUsageArrayOutput{}) + pulumi.RegisterOutputType(GetDedicatedServerSpecificationsHardwareDefaultHardwareRaidSizeOutput{}) + pulumi.RegisterOutputType(GetDedicatedServerSpecificationsHardwareDiskGroupOutput{}) + pulumi.RegisterOutputType(GetDedicatedServerSpecificationsHardwareDiskGroupArrayOutput{}) + pulumi.RegisterOutputType(GetDedicatedServerSpecificationsHardwareDiskGroupDefaultHardwareRaidSizeOutput{}) + pulumi.RegisterOutputType(GetDedicatedServerSpecificationsHardwareDiskGroupDiskSizeOutput{}) + pulumi.RegisterOutputType(GetDedicatedServerSpecificationsHardwareExpansionCardOutput{}) + pulumi.RegisterOutputType(GetDedicatedServerSpecificationsHardwareExpansionCardArrayOutput{}) + pulumi.RegisterOutputType(GetDedicatedServerSpecificationsHardwareMemorySizeOutput{}) + pulumi.RegisterOutputType(GetDedicatedServerSpecificationsHardwareUsbKeyOutput{}) + pulumi.RegisterOutputType(GetDedicatedServerSpecificationsHardwareUsbKeyArrayOutput{}) + pulumi.RegisterOutputType(GetDedicatedServerSpecificationsNetworkBandwidthOutput{}) + pulumi.RegisterOutputType(GetDedicatedServerSpecificationsNetworkBandwidthInternetToOvhOutput{}) + pulumi.RegisterOutputType(GetDedicatedServerSpecificationsNetworkBandwidthOvhToInternetOutput{}) + pulumi.RegisterOutputType(GetDedicatedServerSpecificationsNetworkBandwidthOvhToOvhOutput{}) + pulumi.RegisterOutputType(GetDedicatedServerSpecificationsNetworkConnectionValOutput{}) + pulumi.RegisterOutputType(GetDedicatedServerSpecificationsNetworkOlaOutput{}) + pulumi.RegisterOutputType(GetDedicatedServerSpecificationsNetworkOlaAvailableModeOutput{}) + pulumi.RegisterOutputType(GetDedicatedServerSpecificationsNetworkOlaAvailableModeArrayOutput{}) + pulumi.RegisterOutputType(GetDedicatedServerSpecificationsNetworkOlaAvailableModeInterfaceOutput{}) + pulumi.RegisterOutputType(GetDedicatedServerSpecificationsNetworkOlaAvailableModeInterfaceArrayOutput{}) + pulumi.RegisterOutputType(GetDedicatedServerSpecificationsNetworkRoutingOutput{}) + pulumi.RegisterOutputType(GetDedicatedServerSpecificationsNetworkRoutingIpv4Output{}) + pulumi.RegisterOutputType(GetDedicatedServerSpecificationsNetworkRoutingIpv6Output{}) + pulumi.RegisterOutputType(GetDedicatedServerSpecificationsNetworkSwitchingOutput{}) + pulumi.RegisterOutputType(GetDedicatedServerSpecificationsNetworkTrafficOutput{}) + pulumi.RegisterOutputType(GetDedicatedServerSpecificationsNetworkTrafficInputQuotaSizeOutput{}) + pulumi.RegisterOutputType(GetDedicatedServerSpecificationsNetworkTrafficInputQuotaUsedOutput{}) + pulumi.RegisterOutputType(GetDedicatedServerSpecificationsNetworkTrafficOutputQuotaSizeOutput{}) + pulumi.RegisterOutputType(GetDedicatedServerSpecificationsNetworkTrafficOutputQuotaUsedOutput{}) + pulumi.RegisterOutputType(GetDedicatedServerSpecificationsNetworkVmacOutput{}) + pulumi.RegisterOutputType(GetDedicatedServerSpecificationsNetworkVrackOutput{}) + pulumi.RegisterOutputType(GetDedicatedServerSpecificationsNetworkVrackBandwidthOutput{}) + pulumi.RegisterOutputType(GetDedicatedServerVniOutput{}) + pulumi.RegisterOutputType(GetDedicatedServerVniArrayOutput{}) + pulumi.RegisterOutputType(GetHostingPrivatedatabaseDatabaseUserOutput{}) + pulumi.RegisterOutputType(GetHostingPrivatedatabaseDatabaseUserArrayOutput{}) + pulumi.RegisterOutputType(GetHostingPrivatedatabaseUserDatabaseOutput{}) + pulumi.RegisterOutputType(GetHostingPrivatedatabaseUserDatabaseArrayOutput{}) + pulumi.RegisterOutputType(GetIamReferenceActionsActionOutput{}) + pulumi.RegisterOutputType(GetIamReferenceActionsActionArrayOutput{}) + pulumi.RegisterOutputType(GetIpServiceRoutedToOutput{}) + pulumi.RegisterOutputType(GetIpServiceRoutedToArrayOutput{}) + pulumi.RegisterOutputType(GetIploadbalancingOrderableZoneOutput{}) + pulumi.RegisterOutputType(GetIploadbalancingOrderableZoneArrayOutput{}) + pulumi.RegisterOutputType(GetMeCurrencyOutput{}) + pulumi.RegisterOutputType(GetMeCurrencyArrayOutput{}) + pulumi.RegisterOutputType(GetMeInstallationTemplateCustomizationOutput{}) + pulumi.RegisterOutputType(GetMeInstallationTemplateCustomizationArrayOutput{}) + pulumi.RegisterOutputType(GetMeInstallationTemplateInputOutput{}) + pulumi.RegisterOutputType(GetMeInstallationTemplateInputArrayOutput{}) + pulumi.RegisterOutputType(GetMeInstallationTemplatePartitionSchemeTypeOutput{}) + pulumi.RegisterOutputType(GetMeInstallationTemplatePartitionSchemeTypeArrayOutput{}) + pulumi.RegisterOutputType(GetMeInstallationTemplatePartitionSchemeHardwareRaidTypeOutput{}) + pulumi.RegisterOutputType(GetMeInstallationTemplatePartitionSchemeHardwareRaidTypeArrayOutput{}) + pulumi.RegisterOutputType(GetMeInstallationTemplatePartitionSchemePartitionTypeOutput{}) + pulumi.RegisterOutputType(GetMeInstallationTemplatePartitionSchemePartitionTypeArrayOutput{}) + pulumi.RegisterOutputType(GetOrderCartProductOptionsPlanPriceOutput{}) + pulumi.RegisterOutputType(GetOrderCartProductOptionsPlanPriceArrayOutput{}) + pulumi.RegisterOutputType(GetOrderCartProductOptionsPlanPricePriceOutput{}) + pulumi.RegisterOutputType(GetOrderCartProductOptionsPlanPricePriceArrayOutput{}) + pulumi.RegisterOutputType(GetOrderCartProductOptionsPlanSelectedPriceOutput{}) + pulumi.RegisterOutputType(GetOrderCartProductOptionsPlanSelectedPriceArrayOutput{}) + pulumi.RegisterOutputType(GetOrderCartProductOptionsPlanSelectedPricePriceOutput{}) + pulumi.RegisterOutputType(GetOrderCartProductOptionsPlanSelectedPricePriceArrayOutput{}) + pulumi.RegisterOutputType(GetOrderCartProductOptionsResultOutput{}) + pulumi.RegisterOutputType(GetOrderCartProductOptionsResultArrayOutput{}) + pulumi.RegisterOutputType(GetOrderCartProductOptionsResultPriceOutput{}) + pulumi.RegisterOutputType(GetOrderCartProductOptionsResultPriceArrayOutput{}) + pulumi.RegisterOutputType(GetOrderCartProductOptionsResultPricePriceOutput{}) + pulumi.RegisterOutputType(GetOrderCartProductOptionsResultPricePriceArrayOutput{}) + pulumi.RegisterOutputType(GetOrderCartProductPlanPriceOutput{}) + pulumi.RegisterOutputType(GetOrderCartProductPlanPriceArrayOutput{}) + pulumi.RegisterOutputType(GetOrderCartProductPlanPricePriceOutput{}) + pulumi.RegisterOutputType(GetOrderCartProductPlanPricePriceArrayOutput{}) + pulumi.RegisterOutputType(GetOrderCartProductPlanSelectedPriceOutput{}) + pulumi.RegisterOutputType(GetOrderCartProductPlanSelectedPriceArrayOutput{}) + pulumi.RegisterOutputType(GetOrderCartProductPlanSelectedPricePriceOutput{}) + pulumi.RegisterOutputType(GetOrderCartProductPlanSelectedPricePriceArrayOutput{}) + pulumi.RegisterOutputType(GetOrderCartProductResultOutput{}) + pulumi.RegisterOutputType(GetOrderCartProductResultArrayOutput{}) + pulumi.RegisterOutputType(GetOrderCartProductResultPriceOutput{}) + pulumi.RegisterOutputType(GetOrderCartProductResultPriceArrayOutput{}) + pulumi.RegisterOutputType(GetOrderCartProductResultPricePriceOutput{}) + pulumi.RegisterOutputType(GetOrderCartProductResultPricePriceArrayOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/vps.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/vps.go new file mode 100644 index 00000000..28d3f065 --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/vps.go @@ -0,0 +1,340 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type Vps struct { + pulumi.CustomResourceState + + Cluster pulumi.StringOutput `pulumi:"cluster"` + // Set the name displayed in Manager for your VPS (max 50 chars) + DisplayName pulumi.StringOutput `pulumi:"displayName"` + // IAM resource metadata + Iam VpsIamOutput `pulumi:"iam"` + // KVM keyboard layout on VPS Cloud + Keymap pulumi.StringOutput `pulumi:"keymap"` + MemoryLimit pulumi.Float64Output `pulumi:"memoryLimit"` + // A structure describing characteristics of a VPS model + Model VpsModelOutput `pulumi:"model"` + // Ip blocks for OVH monitoring servers + MonitoringIpBlocks pulumi.StringArrayOutput `pulumi:"monitoringIpBlocks"` + Name pulumi.StringOutput `pulumi:"name"` + // All values a VPS netboot mode can be in + NetbootMode pulumi.StringOutput `pulumi:"netbootMode"` + // All offers a VPS can have + OfferType pulumi.StringOutput `pulumi:"offerType"` + // Details about an Order + Order VpsOrderOutput `pulumi:"order"` + // OVH subsidiaries + OvhSubsidiary pulumi.StringOutput `pulumi:"ovhSubsidiary"` + PlanOptions VpsPlanOptionArrayOutput `pulumi:"planOptions"` + Plans VpsPlanArrayOutput `pulumi:"plans"` + // The internal name of your VPS offer + ServiceName pulumi.StringOutput `pulumi:"serviceName"` + SlaMonitoring pulumi.BoolOutput `pulumi:"slaMonitoring"` + // All states a VPS can be in + State pulumi.StringOutput `pulumi:"state"` + Vcore pulumi.Float64Output `pulumi:"vcore"` + Zone pulumi.StringOutput `pulumi:"zone"` +} + +// NewVps registers a new resource with the given unique name, arguments, and options. +func NewVps(ctx *pulumi.Context, + name string, args *VpsArgs, opts ...pulumi.ResourceOption) (*Vps, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.OvhSubsidiary == nil { + return nil, errors.New("invalid value for required argument 'OvhSubsidiary'") + } + opts = internal.PkgResourceDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var resource Vps + err = ctx.RegisterPackageResource("ovh:index/vps:Vps", name, args, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetVps gets an existing Vps resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetVps(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *VpsState, opts ...pulumi.ResourceOption) (*Vps, error) { + var resource Vps + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + err = ctx.ReadPackageResource("ovh:index/vps:Vps", name, id, state, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering Vps resources. +type vpsState struct { + Cluster *string `pulumi:"cluster"` + // Set the name displayed in Manager for your VPS (max 50 chars) + DisplayName *string `pulumi:"displayName"` + // IAM resource metadata + Iam *VpsIam `pulumi:"iam"` + // KVM keyboard layout on VPS Cloud + Keymap *string `pulumi:"keymap"` + MemoryLimit *float64 `pulumi:"memoryLimit"` + // A structure describing characteristics of a VPS model + Model *VpsModel `pulumi:"model"` + // Ip blocks for OVH monitoring servers + MonitoringIpBlocks []string `pulumi:"monitoringIpBlocks"` + Name *string `pulumi:"name"` + // All values a VPS netboot mode can be in + NetbootMode *string `pulumi:"netbootMode"` + // All offers a VPS can have + OfferType *string `pulumi:"offerType"` + // Details about an Order + Order *VpsOrder `pulumi:"order"` + // OVH subsidiaries + OvhSubsidiary *string `pulumi:"ovhSubsidiary"` + PlanOptions []VpsPlanOption `pulumi:"planOptions"` + Plans []VpsPlan `pulumi:"plans"` + // The internal name of your VPS offer + ServiceName *string `pulumi:"serviceName"` + SlaMonitoring *bool `pulumi:"slaMonitoring"` + // All states a VPS can be in + State *string `pulumi:"state"` + Vcore *float64 `pulumi:"vcore"` + Zone *string `pulumi:"zone"` +} + +type VpsState struct { + Cluster pulumi.StringPtrInput + // Set the name displayed in Manager for your VPS (max 50 chars) + DisplayName pulumi.StringPtrInput + // IAM resource metadata + Iam VpsIamPtrInput + // KVM keyboard layout on VPS Cloud + Keymap pulumi.StringPtrInput + MemoryLimit pulumi.Float64PtrInput + // A structure describing characteristics of a VPS model + Model VpsModelPtrInput + // Ip blocks for OVH monitoring servers + MonitoringIpBlocks pulumi.StringArrayInput + Name pulumi.StringPtrInput + // All values a VPS netboot mode can be in + NetbootMode pulumi.StringPtrInput + // All offers a VPS can have + OfferType pulumi.StringPtrInput + // Details about an Order + Order VpsOrderPtrInput + // OVH subsidiaries + OvhSubsidiary pulumi.StringPtrInput + PlanOptions VpsPlanOptionArrayInput + Plans VpsPlanArrayInput + // The internal name of your VPS offer + ServiceName pulumi.StringPtrInput + SlaMonitoring pulumi.BoolPtrInput + // All states a VPS can be in + State pulumi.StringPtrInput + Vcore pulumi.Float64PtrInput + Zone pulumi.StringPtrInput +} + +func (VpsState) ElementType() reflect.Type { + return reflect.TypeOf((*vpsState)(nil)).Elem() +} + +type vpsArgs struct { + // Set the name displayed in Manager for your VPS (max 50 chars) + DisplayName *string `pulumi:"displayName"` + // KVM keyboard layout on VPS Cloud + Keymap *string `pulumi:"keymap"` + MemoryLimit *float64 `pulumi:"memoryLimit"` + // A structure describing characteristics of a VPS model + Model *VpsModel `pulumi:"model"` + // Ip blocks for OVH monitoring servers + MonitoringIpBlocks []string `pulumi:"monitoringIpBlocks"` + Name *string `pulumi:"name"` + // All values a VPS netboot mode can be in + NetbootMode *string `pulumi:"netbootMode"` + // All offers a VPS can have + OfferType *string `pulumi:"offerType"` + // OVH subsidiaries + OvhSubsidiary string `pulumi:"ovhSubsidiary"` + PlanOptions []VpsPlanOption `pulumi:"planOptions"` + Plans []VpsPlan `pulumi:"plans"` + SlaMonitoring *bool `pulumi:"slaMonitoring"` + // All states a VPS can be in + State *string `pulumi:"state"` + Vcore *float64 `pulumi:"vcore"` + Zone *string `pulumi:"zone"` +} + +// The set of arguments for constructing a Vps resource. +type VpsArgs struct { + // Set the name displayed in Manager for your VPS (max 50 chars) + DisplayName pulumi.StringPtrInput + // KVM keyboard layout on VPS Cloud + Keymap pulumi.StringPtrInput + MemoryLimit pulumi.Float64PtrInput + // A structure describing characteristics of a VPS model + Model VpsModelPtrInput + // Ip blocks for OVH monitoring servers + MonitoringIpBlocks pulumi.StringArrayInput + Name pulumi.StringPtrInput + // All values a VPS netboot mode can be in + NetbootMode pulumi.StringPtrInput + // All offers a VPS can have + OfferType pulumi.StringPtrInput + // OVH subsidiaries + OvhSubsidiary pulumi.StringInput + PlanOptions VpsPlanOptionArrayInput + Plans VpsPlanArrayInput + SlaMonitoring pulumi.BoolPtrInput + // All states a VPS can be in + State pulumi.StringPtrInput + Vcore pulumi.Float64PtrInput + Zone pulumi.StringPtrInput +} + +func (VpsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*vpsArgs)(nil)).Elem() +} + +type VpsInput interface { + pulumi.Input + + ToVpsOutput() VpsOutput + ToVpsOutputWithContext(ctx context.Context) VpsOutput +} + +func (*Vps) ElementType() reflect.Type { + return reflect.TypeOf((**Vps)(nil)).Elem() +} + +func (i *Vps) ToVpsOutput() VpsOutput { + return i.ToVpsOutputWithContext(context.Background()) +} + +func (i *Vps) ToVpsOutputWithContext(ctx context.Context) VpsOutput { + return pulumi.ToOutputWithContext(ctx, i).(VpsOutput) +} + +type VpsOutput struct{ *pulumi.OutputState } + +func (VpsOutput) ElementType() reflect.Type { + return reflect.TypeOf((**Vps)(nil)).Elem() +} + +func (o VpsOutput) ToVpsOutput() VpsOutput { + return o +} + +func (o VpsOutput) ToVpsOutputWithContext(ctx context.Context) VpsOutput { + return o +} + +func (o VpsOutput) Cluster() pulumi.StringOutput { + return o.ApplyT(func(v *Vps) pulumi.StringOutput { return v.Cluster }).(pulumi.StringOutput) +} + +// Set the name displayed in Manager for your VPS (max 50 chars) +func (o VpsOutput) DisplayName() pulumi.StringOutput { + return o.ApplyT(func(v *Vps) pulumi.StringOutput { return v.DisplayName }).(pulumi.StringOutput) +} + +// IAM resource metadata +func (o VpsOutput) Iam() VpsIamOutput { + return o.ApplyT(func(v *Vps) VpsIamOutput { return v.Iam }).(VpsIamOutput) +} + +// KVM keyboard layout on VPS Cloud +func (o VpsOutput) Keymap() pulumi.StringOutput { + return o.ApplyT(func(v *Vps) pulumi.StringOutput { return v.Keymap }).(pulumi.StringOutput) +} + +func (o VpsOutput) MemoryLimit() pulumi.Float64Output { + return o.ApplyT(func(v *Vps) pulumi.Float64Output { return v.MemoryLimit }).(pulumi.Float64Output) +} + +// A structure describing characteristics of a VPS model +func (o VpsOutput) Model() VpsModelOutput { + return o.ApplyT(func(v *Vps) VpsModelOutput { return v.Model }).(VpsModelOutput) +} + +// Ip blocks for OVH monitoring servers +func (o VpsOutput) MonitoringIpBlocks() pulumi.StringArrayOutput { + return o.ApplyT(func(v *Vps) pulumi.StringArrayOutput { return v.MonitoringIpBlocks }).(pulumi.StringArrayOutput) +} + +func (o VpsOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *Vps) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +// All values a VPS netboot mode can be in +func (o VpsOutput) NetbootMode() pulumi.StringOutput { + return o.ApplyT(func(v *Vps) pulumi.StringOutput { return v.NetbootMode }).(pulumi.StringOutput) +} + +// All offers a VPS can have +func (o VpsOutput) OfferType() pulumi.StringOutput { + return o.ApplyT(func(v *Vps) pulumi.StringOutput { return v.OfferType }).(pulumi.StringOutput) +} + +// Details about an Order +func (o VpsOutput) Order() VpsOrderOutput { + return o.ApplyT(func(v *Vps) VpsOrderOutput { return v.Order }).(VpsOrderOutput) +} + +// OVH subsidiaries +func (o VpsOutput) OvhSubsidiary() pulumi.StringOutput { + return o.ApplyT(func(v *Vps) pulumi.StringOutput { return v.OvhSubsidiary }).(pulumi.StringOutput) +} + +func (o VpsOutput) PlanOptions() VpsPlanOptionArrayOutput { + return o.ApplyT(func(v *Vps) VpsPlanOptionArrayOutput { return v.PlanOptions }).(VpsPlanOptionArrayOutput) +} + +func (o VpsOutput) Plans() VpsPlanArrayOutput { + return o.ApplyT(func(v *Vps) VpsPlanArrayOutput { return v.Plans }).(VpsPlanArrayOutput) +} + +// The internal name of your VPS offer +func (o VpsOutput) ServiceName() pulumi.StringOutput { + return o.ApplyT(func(v *Vps) pulumi.StringOutput { return v.ServiceName }).(pulumi.StringOutput) +} + +func (o VpsOutput) SlaMonitoring() pulumi.BoolOutput { + return o.ApplyT(func(v *Vps) pulumi.BoolOutput { return v.SlaMonitoring }).(pulumi.BoolOutput) +} + +// All states a VPS can be in +func (o VpsOutput) State() pulumi.StringOutput { + return o.ApplyT(func(v *Vps) pulumi.StringOutput { return v.State }).(pulumi.StringOutput) +} + +func (o VpsOutput) Vcore() pulumi.Float64Output { + return o.ApplyT(func(v *Vps) pulumi.Float64Output { return v.Vcore }).(pulumi.Float64Output) +} + +func (o VpsOutput) Zone() pulumi.StringOutput { + return o.ApplyT(func(v *Vps) pulumi.StringOutput { return v.Zone }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*VpsInput)(nil)).Elem(), &Vps{}) + pulumi.RegisterOutputType(VpsOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/vrack.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/vrack.go new file mode 100644 index 00000000..05ed430e --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/vrack.go @@ -0,0 +1,255 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type Vrack struct { + pulumi.CustomResourceState + + // yourvrackdescription + Description pulumi.StringOutput `pulumi:"description"` + // yourvrackname + Name pulumi.StringOutput `pulumi:"name"` + // Details about an Order + Orders VrackOrderArrayOutput `pulumi:"orders"` + // Ovh Subsidiary + OvhSubsidiary pulumi.StringOutput `pulumi:"ovhSubsidiary"` + OvhUrn pulumi.StringOutput `pulumi:"ovhUrn"` + // Ovh payment mode + // + // Deprecated: Deprecated + PaymentMean pulumi.StringPtrOutput `pulumi:"paymentMean"` + // Product Plan to order + Plan VrackPlanOutput `pulumi:"plan"` + // Product Plan to order + PlanOptions VrackPlanOptionArrayOutput `pulumi:"planOptions"` + // The internal name of your vrack + ServiceName pulumi.StringOutput `pulumi:"serviceName"` +} + +// NewVrack registers a new resource with the given unique name, arguments, and options. +func NewVrack(ctx *pulumi.Context, + name string, args *VrackArgs, opts ...pulumi.ResourceOption) (*Vrack, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.OvhSubsidiary == nil { + return nil, errors.New("invalid value for required argument 'OvhSubsidiary'") + } + if args.Plan == nil { + return nil, errors.New("invalid value for required argument 'Plan'") + } + opts = internal.PkgResourceDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var resource Vrack + err = ctx.RegisterPackageResource("ovh:index/vrack:Vrack", name, args, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetVrack gets an existing Vrack resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetVrack(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *VrackState, opts ...pulumi.ResourceOption) (*Vrack, error) { + var resource Vrack + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + err = ctx.ReadPackageResource("ovh:index/vrack:Vrack", name, id, state, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering Vrack resources. +type vrackState struct { + // yourvrackdescription + Description *string `pulumi:"description"` + // yourvrackname + Name *string `pulumi:"name"` + // Details about an Order + Orders []VrackOrder `pulumi:"orders"` + // Ovh Subsidiary + OvhSubsidiary *string `pulumi:"ovhSubsidiary"` + OvhUrn *string `pulumi:"ovhUrn"` + // Ovh payment mode + // + // Deprecated: Deprecated + PaymentMean *string `pulumi:"paymentMean"` + // Product Plan to order + Plan *VrackPlan `pulumi:"plan"` + // Product Plan to order + PlanOptions []VrackPlanOption `pulumi:"planOptions"` + // The internal name of your vrack + ServiceName *string `pulumi:"serviceName"` +} + +type VrackState struct { + // yourvrackdescription + Description pulumi.StringPtrInput + // yourvrackname + Name pulumi.StringPtrInput + // Details about an Order + Orders VrackOrderArrayInput + // Ovh Subsidiary + OvhSubsidiary pulumi.StringPtrInput + OvhUrn pulumi.StringPtrInput + // Ovh payment mode + // + // Deprecated: Deprecated + PaymentMean pulumi.StringPtrInput + // Product Plan to order + Plan VrackPlanPtrInput + // Product Plan to order + PlanOptions VrackPlanOptionArrayInput + // The internal name of your vrack + ServiceName pulumi.StringPtrInput +} + +func (VrackState) ElementType() reflect.Type { + return reflect.TypeOf((*vrackState)(nil)).Elem() +} + +type vrackArgs struct { + // yourvrackdescription + Description *string `pulumi:"description"` + // yourvrackname + Name *string `pulumi:"name"` + // Details about an Order + Orders []VrackOrder `pulumi:"orders"` + // Ovh Subsidiary + OvhSubsidiary string `pulumi:"ovhSubsidiary"` + // Ovh payment mode + // + // Deprecated: Deprecated + PaymentMean *string `pulumi:"paymentMean"` + // Product Plan to order + Plan VrackPlan `pulumi:"plan"` + // Product Plan to order + PlanOptions []VrackPlanOption `pulumi:"planOptions"` +} + +// The set of arguments for constructing a Vrack resource. +type VrackArgs struct { + // yourvrackdescription + Description pulumi.StringPtrInput + // yourvrackname + Name pulumi.StringPtrInput + // Details about an Order + Orders VrackOrderArrayInput + // Ovh Subsidiary + OvhSubsidiary pulumi.StringInput + // Ovh payment mode + // + // Deprecated: Deprecated + PaymentMean pulumi.StringPtrInput + // Product Plan to order + Plan VrackPlanInput + // Product Plan to order + PlanOptions VrackPlanOptionArrayInput +} + +func (VrackArgs) ElementType() reflect.Type { + return reflect.TypeOf((*vrackArgs)(nil)).Elem() +} + +type VrackInput interface { + pulumi.Input + + ToVrackOutput() VrackOutput + ToVrackOutputWithContext(ctx context.Context) VrackOutput +} + +func (*Vrack) ElementType() reflect.Type { + return reflect.TypeOf((**Vrack)(nil)).Elem() +} + +func (i *Vrack) ToVrackOutput() VrackOutput { + return i.ToVrackOutputWithContext(context.Background()) +} + +func (i *Vrack) ToVrackOutputWithContext(ctx context.Context) VrackOutput { + return pulumi.ToOutputWithContext(ctx, i).(VrackOutput) +} + +type VrackOutput struct{ *pulumi.OutputState } + +func (VrackOutput) ElementType() reflect.Type { + return reflect.TypeOf((**Vrack)(nil)).Elem() +} + +func (o VrackOutput) ToVrackOutput() VrackOutput { + return o +} + +func (o VrackOutput) ToVrackOutputWithContext(ctx context.Context) VrackOutput { + return o +} + +// yourvrackdescription +func (o VrackOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v *Vrack) pulumi.StringOutput { return v.Description }).(pulumi.StringOutput) +} + +// yourvrackname +func (o VrackOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *Vrack) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +// Details about an Order +func (o VrackOutput) Orders() VrackOrderArrayOutput { + return o.ApplyT(func(v *Vrack) VrackOrderArrayOutput { return v.Orders }).(VrackOrderArrayOutput) +} + +// Ovh Subsidiary +func (o VrackOutput) OvhSubsidiary() pulumi.StringOutput { + return o.ApplyT(func(v *Vrack) pulumi.StringOutput { return v.OvhSubsidiary }).(pulumi.StringOutput) +} + +func (o VrackOutput) OvhUrn() pulumi.StringOutput { + return o.ApplyT(func(v *Vrack) pulumi.StringOutput { return v.OvhUrn }).(pulumi.StringOutput) +} + +// Ovh payment mode +// +// Deprecated: Deprecated +func (o VrackOutput) PaymentMean() pulumi.StringPtrOutput { + return o.ApplyT(func(v *Vrack) pulumi.StringPtrOutput { return v.PaymentMean }).(pulumi.StringPtrOutput) +} + +// Product Plan to order +func (o VrackOutput) Plan() VrackPlanOutput { + return o.ApplyT(func(v *Vrack) VrackPlanOutput { return v.Plan }).(VrackPlanOutput) +} + +// Product Plan to order +func (o VrackOutput) PlanOptions() VrackPlanOptionArrayOutput { + return o.ApplyT(func(v *Vrack) VrackPlanOptionArrayOutput { return v.PlanOptions }).(VrackPlanOptionArrayOutput) +} + +// The internal name of your vrack +func (o VrackOutput) ServiceName() pulumi.StringOutput { + return o.ApplyT(func(v *Vrack) pulumi.StringOutput { return v.ServiceName }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*VrackInput)(nil)).Elem(), &Vrack{}) + pulumi.RegisterOutputType(VrackOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/vrackCloudproject.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/vrackCloudproject.go new file mode 100644 index 00000000..361b6944 --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/vrackCloudproject.go @@ -0,0 +1,141 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type VrackCloudproject struct { + pulumi.CustomResourceState + + ProjectId pulumi.StringPtrOutput `pulumi:"projectId"` + // Service name of the vrack resource. + ServiceName pulumi.StringOutput `pulumi:"serviceName"` +} + +// NewVrackCloudproject registers a new resource with the given unique name, arguments, and options. +func NewVrackCloudproject(ctx *pulumi.Context, + name string, args *VrackCloudprojectArgs, opts ...pulumi.ResourceOption) (*VrackCloudproject, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.ServiceName == nil { + return nil, errors.New("invalid value for required argument 'ServiceName'") + } + opts = internal.PkgResourceDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var resource VrackCloudproject + err = ctx.RegisterPackageResource("ovh:index/vrackCloudproject:VrackCloudproject", name, args, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetVrackCloudproject gets an existing VrackCloudproject resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetVrackCloudproject(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *VrackCloudprojectState, opts ...pulumi.ResourceOption) (*VrackCloudproject, error) { + var resource VrackCloudproject + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + err = ctx.ReadPackageResource("ovh:index/vrackCloudproject:VrackCloudproject", name, id, state, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering VrackCloudproject resources. +type vrackCloudprojectState struct { + ProjectId *string `pulumi:"projectId"` + // Service name of the vrack resource. + ServiceName *string `pulumi:"serviceName"` +} + +type VrackCloudprojectState struct { + ProjectId pulumi.StringPtrInput + // Service name of the vrack resource. + ServiceName pulumi.StringPtrInput +} + +func (VrackCloudprojectState) ElementType() reflect.Type { + return reflect.TypeOf((*vrackCloudprojectState)(nil)).Elem() +} + +type vrackCloudprojectArgs struct { + ProjectId *string `pulumi:"projectId"` + // Service name of the vrack resource. + ServiceName string `pulumi:"serviceName"` +} + +// The set of arguments for constructing a VrackCloudproject resource. +type VrackCloudprojectArgs struct { + ProjectId pulumi.StringPtrInput + // Service name of the vrack resource. + ServiceName pulumi.StringInput +} + +func (VrackCloudprojectArgs) ElementType() reflect.Type { + return reflect.TypeOf((*vrackCloudprojectArgs)(nil)).Elem() +} + +type VrackCloudprojectInput interface { + pulumi.Input + + ToVrackCloudprojectOutput() VrackCloudprojectOutput + ToVrackCloudprojectOutputWithContext(ctx context.Context) VrackCloudprojectOutput +} + +func (*VrackCloudproject) ElementType() reflect.Type { + return reflect.TypeOf((**VrackCloudproject)(nil)).Elem() +} + +func (i *VrackCloudproject) ToVrackCloudprojectOutput() VrackCloudprojectOutput { + return i.ToVrackCloudprojectOutputWithContext(context.Background()) +} + +func (i *VrackCloudproject) ToVrackCloudprojectOutputWithContext(ctx context.Context) VrackCloudprojectOutput { + return pulumi.ToOutputWithContext(ctx, i).(VrackCloudprojectOutput) +} + +type VrackCloudprojectOutput struct{ *pulumi.OutputState } + +func (VrackCloudprojectOutput) ElementType() reflect.Type { + return reflect.TypeOf((**VrackCloudproject)(nil)).Elem() +} + +func (o VrackCloudprojectOutput) ToVrackCloudprojectOutput() VrackCloudprojectOutput { + return o +} + +func (o VrackCloudprojectOutput) ToVrackCloudprojectOutputWithContext(ctx context.Context) VrackCloudprojectOutput { + return o +} + +func (o VrackCloudprojectOutput) ProjectId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *VrackCloudproject) pulumi.StringPtrOutput { return v.ProjectId }).(pulumi.StringPtrOutput) +} + +// Service name of the vrack resource. +func (o VrackCloudprojectOutput) ServiceName() pulumi.StringOutput { + return o.ApplyT(func(v *VrackCloudproject) pulumi.StringOutput { return v.ServiceName }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*VrackCloudprojectInput)(nil)).Elem(), &VrackCloudproject{}) + pulumi.RegisterOutputType(VrackCloudprojectOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/vrackDedicatedServer.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/vrackDedicatedServer.go new file mode 100644 index 00000000..679e25f6 --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/vrackDedicatedServer.go @@ -0,0 +1,144 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type VrackDedicatedServer struct { + pulumi.CustomResourceState + + ServerId pulumi.StringOutput `pulumi:"serverId"` + // Service name of the resource representing the id of the cloud project. + ServiceName pulumi.StringOutput `pulumi:"serviceName"` +} + +// NewVrackDedicatedServer registers a new resource with the given unique name, arguments, and options. +func NewVrackDedicatedServer(ctx *pulumi.Context, + name string, args *VrackDedicatedServerArgs, opts ...pulumi.ResourceOption) (*VrackDedicatedServer, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.ServerId == nil { + return nil, errors.New("invalid value for required argument 'ServerId'") + } + if args.ServiceName == nil { + return nil, errors.New("invalid value for required argument 'ServiceName'") + } + opts = internal.PkgResourceDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var resource VrackDedicatedServer + err = ctx.RegisterPackageResource("ovh:index/vrackDedicatedServer:VrackDedicatedServer", name, args, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetVrackDedicatedServer gets an existing VrackDedicatedServer resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetVrackDedicatedServer(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *VrackDedicatedServerState, opts ...pulumi.ResourceOption) (*VrackDedicatedServer, error) { + var resource VrackDedicatedServer + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + err = ctx.ReadPackageResource("ovh:index/vrackDedicatedServer:VrackDedicatedServer", name, id, state, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering VrackDedicatedServer resources. +type vrackDedicatedServerState struct { + ServerId *string `pulumi:"serverId"` + // Service name of the resource representing the id of the cloud project. + ServiceName *string `pulumi:"serviceName"` +} + +type VrackDedicatedServerState struct { + ServerId pulumi.StringPtrInput + // Service name of the resource representing the id of the cloud project. + ServiceName pulumi.StringPtrInput +} + +func (VrackDedicatedServerState) ElementType() reflect.Type { + return reflect.TypeOf((*vrackDedicatedServerState)(nil)).Elem() +} + +type vrackDedicatedServerArgs struct { + ServerId string `pulumi:"serverId"` + // Service name of the resource representing the id of the cloud project. + ServiceName string `pulumi:"serviceName"` +} + +// The set of arguments for constructing a VrackDedicatedServer resource. +type VrackDedicatedServerArgs struct { + ServerId pulumi.StringInput + // Service name of the resource representing the id of the cloud project. + ServiceName pulumi.StringInput +} + +func (VrackDedicatedServerArgs) ElementType() reflect.Type { + return reflect.TypeOf((*vrackDedicatedServerArgs)(nil)).Elem() +} + +type VrackDedicatedServerInput interface { + pulumi.Input + + ToVrackDedicatedServerOutput() VrackDedicatedServerOutput + ToVrackDedicatedServerOutputWithContext(ctx context.Context) VrackDedicatedServerOutput +} + +func (*VrackDedicatedServer) ElementType() reflect.Type { + return reflect.TypeOf((**VrackDedicatedServer)(nil)).Elem() +} + +func (i *VrackDedicatedServer) ToVrackDedicatedServerOutput() VrackDedicatedServerOutput { + return i.ToVrackDedicatedServerOutputWithContext(context.Background()) +} + +func (i *VrackDedicatedServer) ToVrackDedicatedServerOutputWithContext(ctx context.Context) VrackDedicatedServerOutput { + return pulumi.ToOutputWithContext(ctx, i).(VrackDedicatedServerOutput) +} + +type VrackDedicatedServerOutput struct{ *pulumi.OutputState } + +func (VrackDedicatedServerOutput) ElementType() reflect.Type { + return reflect.TypeOf((**VrackDedicatedServer)(nil)).Elem() +} + +func (o VrackDedicatedServerOutput) ToVrackDedicatedServerOutput() VrackDedicatedServerOutput { + return o +} + +func (o VrackDedicatedServerOutput) ToVrackDedicatedServerOutputWithContext(ctx context.Context) VrackDedicatedServerOutput { + return o +} + +func (o VrackDedicatedServerOutput) ServerId() pulumi.StringOutput { + return o.ApplyT(func(v *VrackDedicatedServer) pulumi.StringOutput { return v.ServerId }).(pulumi.StringOutput) +} + +// Service name of the resource representing the id of the cloud project. +func (o VrackDedicatedServerOutput) ServiceName() pulumi.StringOutput { + return o.ApplyT(func(v *VrackDedicatedServer) pulumi.StringOutput { return v.ServiceName }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*VrackDedicatedServerInput)(nil)).Elem(), &VrackDedicatedServer{}) + pulumi.RegisterOutputType(VrackDedicatedServerOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/vrackDedicatedServerInterface.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/vrackDedicatedServerInterface.go new file mode 100644 index 00000000..baa4a87c --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/vrackDedicatedServerInterface.go @@ -0,0 +1,144 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type VrackDedicatedServerInterface struct { + pulumi.CustomResourceState + + InterfaceId pulumi.StringOutput `pulumi:"interfaceId"` + // Service name of the vrack resource. + ServiceName pulumi.StringOutput `pulumi:"serviceName"` +} + +// NewVrackDedicatedServerInterface registers a new resource with the given unique name, arguments, and options. +func NewVrackDedicatedServerInterface(ctx *pulumi.Context, + name string, args *VrackDedicatedServerInterfaceArgs, opts ...pulumi.ResourceOption) (*VrackDedicatedServerInterface, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.InterfaceId == nil { + return nil, errors.New("invalid value for required argument 'InterfaceId'") + } + if args.ServiceName == nil { + return nil, errors.New("invalid value for required argument 'ServiceName'") + } + opts = internal.PkgResourceDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var resource VrackDedicatedServerInterface + err = ctx.RegisterPackageResource("ovh:index/vrackDedicatedServerInterface:VrackDedicatedServerInterface", name, args, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetVrackDedicatedServerInterface gets an existing VrackDedicatedServerInterface resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetVrackDedicatedServerInterface(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *VrackDedicatedServerInterfaceState, opts ...pulumi.ResourceOption) (*VrackDedicatedServerInterface, error) { + var resource VrackDedicatedServerInterface + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + err = ctx.ReadPackageResource("ovh:index/vrackDedicatedServerInterface:VrackDedicatedServerInterface", name, id, state, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering VrackDedicatedServerInterface resources. +type vrackDedicatedServerInterfaceState struct { + InterfaceId *string `pulumi:"interfaceId"` + // Service name of the vrack resource. + ServiceName *string `pulumi:"serviceName"` +} + +type VrackDedicatedServerInterfaceState struct { + InterfaceId pulumi.StringPtrInput + // Service name of the vrack resource. + ServiceName pulumi.StringPtrInput +} + +func (VrackDedicatedServerInterfaceState) ElementType() reflect.Type { + return reflect.TypeOf((*vrackDedicatedServerInterfaceState)(nil)).Elem() +} + +type vrackDedicatedServerInterfaceArgs struct { + InterfaceId string `pulumi:"interfaceId"` + // Service name of the vrack resource. + ServiceName string `pulumi:"serviceName"` +} + +// The set of arguments for constructing a VrackDedicatedServerInterface resource. +type VrackDedicatedServerInterfaceArgs struct { + InterfaceId pulumi.StringInput + // Service name of the vrack resource. + ServiceName pulumi.StringInput +} + +func (VrackDedicatedServerInterfaceArgs) ElementType() reflect.Type { + return reflect.TypeOf((*vrackDedicatedServerInterfaceArgs)(nil)).Elem() +} + +type VrackDedicatedServerInterfaceInput interface { + pulumi.Input + + ToVrackDedicatedServerInterfaceOutput() VrackDedicatedServerInterfaceOutput + ToVrackDedicatedServerInterfaceOutputWithContext(ctx context.Context) VrackDedicatedServerInterfaceOutput +} + +func (*VrackDedicatedServerInterface) ElementType() reflect.Type { + return reflect.TypeOf((**VrackDedicatedServerInterface)(nil)).Elem() +} + +func (i *VrackDedicatedServerInterface) ToVrackDedicatedServerInterfaceOutput() VrackDedicatedServerInterfaceOutput { + return i.ToVrackDedicatedServerInterfaceOutputWithContext(context.Background()) +} + +func (i *VrackDedicatedServerInterface) ToVrackDedicatedServerInterfaceOutputWithContext(ctx context.Context) VrackDedicatedServerInterfaceOutput { + return pulumi.ToOutputWithContext(ctx, i).(VrackDedicatedServerInterfaceOutput) +} + +type VrackDedicatedServerInterfaceOutput struct{ *pulumi.OutputState } + +func (VrackDedicatedServerInterfaceOutput) ElementType() reflect.Type { + return reflect.TypeOf((**VrackDedicatedServerInterface)(nil)).Elem() +} + +func (o VrackDedicatedServerInterfaceOutput) ToVrackDedicatedServerInterfaceOutput() VrackDedicatedServerInterfaceOutput { + return o +} + +func (o VrackDedicatedServerInterfaceOutput) ToVrackDedicatedServerInterfaceOutputWithContext(ctx context.Context) VrackDedicatedServerInterfaceOutput { + return o +} + +func (o VrackDedicatedServerInterfaceOutput) InterfaceId() pulumi.StringOutput { + return o.ApplyT(func(v *VrackDedicatedServerInterface) pulumi.StringOutput { return v.InterfaceId }).(pulumi.StringOutput) +} + +// Service name of the vrack resource. +func (o VrackDedicatedServerInterfaceOutput) ServiceName() pulumi.StringOutput { + return o.ApplyT(func(v *VrackDedicatedServerInterface) pulumi.StringOutput { return v.ServiceName }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*VrackDedicatedServerInterfaceInput)(nil)).Elem(), &VrackDedicatedServerInterface{}) + pulumi.RegisterOutputType(VrackDedicatedServerInterfaceOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/vrackIp.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/vrackIp.go new file mode 100644 index 00000000..1d0e6af1 --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/vrackIp.go @@ -0,0 +1,183 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type VrackIp struct { + pulumi.CustomResourceState + + // Your IP block. + Block pulumi.StringOutput `pulumi:"block"` + // Your gateway + Gateway pulumi.StringOutput `pulumi:"gateway"` + // Your IP block + Ip pulumi.StringOutput `pulumi:"ip"` + // The internal name of your vrack + ServiceName pulumi.StringOutput `pulumi:"serviceName"` + // Where you want your block announced on the network + Zone pulumi.StringOutput `pulumi:"zone"` +} + +// NewVrackIp registers a new resource with the given unique name, arguments, and options. +func NewVrackIp(ctx *pulumi.Context, + name string, args *VrackIpArgs, opts ...pulumi.ResourceOption) (*VrackIp, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.Block == nil { + return nil, errors.New("invalid value for required argument 'Block'") + } + if args.ServiceName == nil { + return nil, errors.New("invalid value for required argument 'ServiceName'") + } + opts = internal.PkgResourceDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var resource VrackIp + err = ctx.RegisterPackageResource("ovh:index/vrackIp:VrackIp", name, args, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetVrackIp gets an existing VrackIp resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetVrackIp(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *VrackIpState, opts ...pulumi.ResourceOption) (*VrackIp, error) { + var resource VrackIp + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + err = ctx.ReadPackageResource("ovh:index/vrackIp:VrackIp", name, id, state, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering VrackIp resources. +type vrackIpState struct { + // Your IP block. + Block *string `pulumi:"block"` + // Your gateway + Gateway *string `pulumi:"gateway"` + // Your IP block + Ip *string `pulumi:"ip"` + // The internal name of your vrack + ServiceName *string `pulumi:"serviceName"` + // Where you want your block announced on the network + Zone *string `pulumi:"zone"` +} + +type VrackIpState struct { + // Your IP block. + Block pulumi.StringPtrInput + // Your gateway + Gateway pulumi.StringPtrInput + // Your IP block + Ip pulumi.StringPtrInput + // The internal name of your vrack + ServiceName pulumi.StringPtrInput + // Where you want your block announced on the network + Zone pulumi.StringPtrInput +} + +func (VrackIpState) ElementType() reflect.Type { + return reflect.TypeOf((*vrackIpState)(nil)).Elem() +} + +type vrackIpArgs struct { + // Your IP block. + Block string `pulumi:"block"` + // The internal name of your vrack + ServiceName string `pulumi:"serviceName"` +} + +// The set of arguments for constructing a VrackIp resource. +type VrackIpArgs struct { + // Your IP block. + Block pulumi.StringInput + // The internal name of your vrack + ServiceName pulumi.StringInput +} + +func (VrackIpArgs) ElementType() reflect.Type { + return reflect.TypeOf((*vrackIpArgs)(nil)).Elem() +} + +type VrackIpInput interface { + pulumi.Input + + ToVrackIpOutput() VrackIpOutput + ToVrackIpOutputWithContext(ctx context.Context) VrackIpOutput +} + +func (*VrackIp) ElementType() reflect.Type { + return reflect.TypeOf((**VrackIp)(nil)).Elem() +} + +func (i *VrackIp) ToVrackIpOutput() VrackIpOutput { + return i.ToVrackIpOutputWithContext(context.Background()) +} + +func (i *VrackIp) ToVrackIpOutputWithContext(ctx context.Context) VrackIpOutput { + return pulumi.ToOutputWithContext(ctx, i).(VrackIpOutput) +} + +type VrackIpOutput struct{ *pulumi.OutputState } + +func (VrackIpOutput) ElementType() reflect.Type { + return reflect.TypeOf((**VrackIp)(nil)).Elem() +} + +func (o VrackIpOutput) ToVrackIpOutput() VrackIpOutput { + return o +} + +func (o VrackIpOutput) ToVrackIpOutputWithContext(ctx context.Context) VrackIpOutput { + return o +} + +// Your IP block. +func (o VrackIpOutput) Block() pulumi.StringOutput { + return o.ApplyT(func(v *VrackIp) pulumi.StringOutput { return v.Block }).(pulumi.StringOutput) +} + +// Your gateway +func (o VrackIpOutput) Gateway() pulumi.StringOutput { + return o.ApplyT(func(v *VrackIp) pulumi.StringOutput { return v.Gateway }).(pulumi.StringOutput) +} + +// Your IP block +func (o VrackIpOutput) Ip() pulumi.StringOutput { + return o.ApplyT(func(v *VrackIp) pulumi.StringOutput { return v.Ip }).(pulumi.StringOutput) +} + +// The internal name of your vrack +func (o VrackIpOutput) ServiceName() pulumi.StringOutput { + return o.ApplyT(func(v *VrackIp) pulumi.StringOutput { return v.ServiceName }).(pulumi.StringOutput) +} + +// Where you want your block announced on the network +func (o VrackIpOutput) Zone() pulumi.StringOutput { + return o.ApplyT(func(v *VrackIp) pulumi.StringOutput { return v.Zone }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*VrackIpInput)(nil)).Elem(), &VrackIp{}) + pulumi.RegisterOutputType(VrackIpOutput{}) +} diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/vrackIploadbalancing.go b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/vrackIploadbalancing.go new file mode 100644 index 00000000..dbca3db3 --- /dev/null +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/sdks/ovh/vrackIploadbalancing.go @@ -0,0 +1,150 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ovh + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type VrackIploadbalancing struct { + pulumi.CustomResourceState + + // Your ipLoadbalancing + IpLoadbalancing pulumi.StringOutput `pulumi:"ipLoadbalancing"` + // The internal name of your vrack + ServiceName pulumi.StringOutput `pulumi:"serviceName"` +} + +// NewVrackIploadbalancing registers a new resource with the given unique name, arguments, and options. +func NewVrackIploadbalancing(ctx *pulumi.Context, + name string, args *VrackIploadbalancingArgs, opts ...pulumi.ResourceOption) (*VrackIploadbalancing, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.IpLoadbalancing == nil { + return nil, errors.New("invalid value for required argument 'IpLoadbalancing'") + } + if args.ServiceName == nil { + return nil, errors.New("invalid value for required argument 'ServiceName'") + } + opts = internal.PkgResourceDefaultOpts(opts) + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + var resource VrackIploadbalancing + err = ctx.RegisterPackageResource("ovh:index/vrackIploadbalancing:VrackIploadbalancing", name, args, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetVrackIploadbalancing gets an existing VrackIploadbalancing resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetVrackIploadbalancing(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *VrackIploadbalancingState, opts ...pulumi.ResourceOption) (*VrackIploadbalancing, error) { + var resource VrackIploadbalancing + ref, err := internal.PkgGetPackageRef(ctx) + if err != nil { + return nil, err + } + err = ctx.ReadPackageResource("ovh:index/vrackIploadbalancing:VrackIploadbalancing", name, id, state, &resource, ref, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering VrackIploadbalancing resources. +type vrackIploadbalancingState struct { + // Your ipLoadbalancing + IpLoadbalancing *string `pulumi:"ipLoadbalancing"` + // The internal name of your vrack + ServiceName *string `pulumi:"serviceName"` +} + +type VrackIploadbalancingState struct { + // Your ipLoadbalancing + IpLoadbalancing pulumi.StringPtrInput + // The internal name of your vrack + ServiceName pulumi.StringPtrInput +} + +func (VrackIploadbalancingState) ElementType() reflect.Type { + return reflect.TypeOf((*vrackIploadbalancingState)(nil)).Elem() +} + +type vrackIploadbalancingArgs struct { + // Your ipLoadbalancing + IpLoadbalancing string `pulumi:"ipLoadbalancing"` + // The internal name of your vrack + ServiceName string `pulumi:"serviceName"` +} + +// The set of arguments for constructing a VrackIploadbalancing resource. +type VrackIploadbalancingArgs struct { + // Your ipLoadbalancing + IpLoadbalancing pulumi.StringInput + // The internal name of your vrack + ServiceName pulumi.StringInput +} + +func (VrackIploadbalancingArgs) ElementType() reflect.Type { + return reflect.TypeOf((*vrackIploadbalancingArgs)(nil)).Elem() +} + +type VrackIploadbalancingInput interface { + pulumi.Input + + ToVrackIploadbalancingOutput() VrackIploadbalancingOutput + ToVrackIploadbalancingOutputWithContext(ctx context.Context) VrackIploadbalancingOutput +} + +func (*VrackIploadbalancing) ElementType() reflect.Type { + return reflect.TypeOf((**VrackIploadbalancing)(nil)).Elem() +} + +func (i *VrackIploadbalancing) ToVrackIploadbalancingOutput() VrackIploadbalancingOutput { + return i.ToVrackIploadbalancingOutputWithContext(context.Background()) +} + +func (i *VrackIploadbalancing) ToVrackIploadbalancingOutputWithContext(ctx context.Context) VrackIploadbalancingOutput { + return pulumi.ToOutputWithContext(ctx, i).(VrackIploadbalancingOutput) +} + +type VrackIploadbalancingOutput struct{ *pulumi.OutputState } + +func (VrackIploadbalancingOutput) ElementType() reflect.Type { + return reflect.TypeOf((**VrackIploadbalancing)(nil)).Elem() +} + +func (o VrackIploadbalancingOutput) ToVrackIploadbalancingOutput() VrackIploadbalancingOutput { + return o +} + +func (o VrackIploadbalancingOutput) ToVrackIploadbalancingOutputWithContext(ctx context.Context) VrackIploadbalancingOutput { + return o +} + +// Your ipLoadbalancing +func (o VrackIploadbalancingOutput) IpLoadbalancing() pulumi.StringOutput { + return o.ApplyT(func(v *VrackIploadbalancing) pulumi.StringOutput { return v.IpLoadbalancing }).(pulumi.StringOutput) +} + +// The internal name of your vrack +func (o VrackIploadbalancingOutput) ServiceName() pulumi.StringOutput { + return o.ApplyT(func(v *VrackIploadbalancing) pulumi.StringOutput { return v.ServiceName }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*VrackIploadbalancingInput)(nil)).Elem(), &VrackIploadbalancing{}) + pulumi.RegisterOutputType(VrackIploadbalancingOutput{}) +} From f51516ecdb1c2b30fea91ffee62ef451fd7ad8c1 Mon Sep 17 00:00:00 2001 From: scraly Date: Mon, 2 Sep 2024 20:13:33 +0200 Subject: [PATCH 2/4] fix: wrong module name --- .../create-registry-with-pulumi/ovhcloud-tf-registry-go/go.mod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/go.mod b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/go.mod index e0fe88d6..134bca93 100644 --- a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/go.mod +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/go.mod @@ -1,4 +1,4 @@ -module test-pulumi +module ovhcloud-tf-registry-go go 1.21 From 8fda8001fee810eb6e91305ef494a4d4c85cd178 Mon Sep 17 00:00:00 2001 From: scraly Date: Tue, 3 Sep 2024 09:25:21 +0200 Subject: [PATCH 3/4] feat: improve the working example --- .gitignore | 3 +- .../ovhcloud-tf-registry-go/README.md | 36 +++++++++++-------- 2 files changed, 24 insertions(+), 15 deletions(-) diff --git a/.gitignore b/.gitignore index a1343852..4f72a69f 100644 --- a/.gitignore +++ b/.gitignore @@ -22,6 +22,7 @@ containers-orchestration/managed-kubernetes/create-cluster-with-cdktf-and-go/kub containers-orchestration/managed-kubernetes/create-cluster-with-cdktf-and-go/generated containers-orchestration/managed-kubernetes/create-cluster-with-cdktf-and-go/cdktf.out .vscode/settings.json +containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/Pulumi.dev.yaml # Python venv/ @@ -40,4 +41,4 @@ ai/ai-endpoints/java-langchain4j-chatbot/target/test-classes/com/ovhcloud/exampl # IDEs .idea/ -.vscode/ \ No newline at end of file +.vscode/ diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/README.md b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/README.md index 8935cf2e..111289db 100644 --- a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/README.md +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/README.md @@ -4,29 +4,27 @@ This project uses the existing OVHcloud Terraform provider and allows you to dep ### Project creation +Initialize a Go project for Pulumi: + ```bash $ pulumi new go -y +``` + +Generate the Pulumi SDK for the existing OVHcloud TF provider: +```bash $ pulumi package add terraform-provider ovh/ovh $ go mod edit -replace github.com/pulumi/pulumi-terraform-provider/sdks/go/ovh=./sdks/ovh - -# edit main.go with your code - -$ go mod tidy - -$ pulumi up - -## Project execution - -$ pulumi login --local - -$ pulumi up ``` -TODO: xxx +Edit the `main.go` file with your code. +Get the dependencies: +```bash +$ go mod tidy +``` ### Set up - Install the [Pulumi CLI](https://www.pulumi.com/docs/install/) @@ -48,8 +46,14 @@ export OVH_APPLICATION_KEY="xxx" export OVH_APPLICATION_SECRET="xxx" export OVH_CONSUMER_KEY="xxx" export OVH_CLOUD_PROJECT_SERVICE="xxx" + +export PULUMI_CONFIG_PASSPHRASE= ``` + - set the Pulumi passphrase to protect and unlock your configuration values and secrets + +`export PULUMI_CONFIG_PASSPHRASE=` + - set the serviceName in Pulumi stack configuration `pulumi config set serviceName $(echo $OVH_CLOUD_PROJECT_SERVICE)` @@ -57,7 +61,11 @@ export OVH_CLOUD_PROJECT_SERVICE="xxx" - use the [main.go](main.go) file to define the resources to create - create a registry with a user and a project (~ 7-8 mins) -`pulumi up` + +```bash +pulumi login --local +pulumi up +``` - display the registry URL, login and password and save them in environment variables (you will use) From 875d1a940fa1f4881af77f8c13e52c7211d6ce6f Mon Sep 17 00:00:00 2001 From: Aurelie Vache Date: Thu, 19 Sep 2024 06:38:56 +0000 Subject: [PATCH 4/4] feat: add go installation step --- .../ovhcloud-tf-registry-go/README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/README.md b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/README.md index 111289db..ec79a8c1 100644 --- a/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/README.md +++ b/containers-orchestration/managed-private-registry/create-registry-with-pulumi/ovhcloud-tf-registry-go/README.md @@ -28,6 +28,7 @@ $ go mod tidy ### Set up - Install the [Pulumi CLI](https://www.pulumi.com/docs/install/) + - Install [Go](https://go.dev/doc/install) - An account in [Pulumi](https://www.pulumi.com/) - A [Pulumi access token](https://app.pulumi.com/account/tokens) - Get the credentials from the OVHCloud Public Cloud project: